idjc-0.8.15/0000755000175000017500000000000012556740340007525 500000000000000idjc-0.8.15/INSTALL0000644000175000017500000003660512252457145010511 00000000000000Installation Instructions ************************* Copyright (C) 1994-1996, 1999-2002, 2004-2013 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.15/missing0000755000175000017500000001533112252457145011050 00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2012-06-26.16; # UTC # Copyright (C) 1996-2013 Free Software Foundation, Inc. # Originally written 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 case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man 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 # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=http://www.perl.org/ flex_URL=http://flex.sourceforge.net/ gnu_software_URL=http://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'automa4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # 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.15/NEWS0000644000175000017500000000203412220016613010126 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.15/idjc.desktop.in.in0000644000175000017500000000153112220016605012747 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.15/doc/0000755000175000017500000000000012556740341010273 500000000000000idjc-0.8.15/doc/tutorials.html0000644000175000017500000001167112555350735013140 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Help for the less obvious things

idjc-0.8.15/doc/install_first_run.html0000644000175000017500000002146712555350735014657 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.15/doc/favicon.png0000644000175000017500000000133412555350736012353 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.15/doc/tutorials_shoutcast.html0000644000175000017500000001777112555350735015244 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.

Setting up Shoutcast

Having downloaded the version of Shoutcast that's right for your platform and extracted it from the archive you should locate the Shoutcast executable called sc_serv. This needs to be run with a suitable confirguration file. There are some examples of these in the source tree as well as a configuration builder. For the sake of simplicity a minimalist configuration will be used for this demonstration.

Let's use a basic configuration file that we shall call sc_serv.conf which allows IDJC and listener clients to connect to/from localhost merely for test purposes and contains the following text:

logfile=logs/sc_serv.log
w3clog=logs/sc_w3c.log
banfile=control/sc_serv.ban
ripfile=control/sc_serv.rip
password=changeme
adminpassword=protected

Let's run this with the following command.

$ ./sc_serv sc_serv.conf

Assuming you were not dumped back to a console prompt the server is now running.

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 open the Output window from the View menu. 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 MPEG and click the right arrow repeatedly until all the option boxes appear.

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.15/doc/tour_output.html0000644000175000017500000001247112555350735013522 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.15/doc/prefs-bindings.png0000644000175000017500000075617112555350736013660 00000000000000PNG  IHDRӒgAMA a cHRMz&u0`:pQ<bKGDtIME  4;]4IDATxiga6ٴ.["Yeɒed !N81@M,1ට$BIrlҔ%0^-oFΌv>sy޿}7.)~" "#!1(Lղ=ShoyXl͝7_#I$I$!vvM*+$9NI@rc4 2BD[@f=1lGP8v_۲yӷnrwJ)*Nzs4^ׯB&GDD@@@D@D @ Mji!@dZ˖,R*@\uޅLO\B1F Z|R@mҕqc{Xj=E=+c^__>?gͻrӏoذ.3Si!s'o4rL:+M;z9t|*1F ͎eh5:1$$Ͷ2 "1j:iI&#MijlF& bijٺ /_ >K\n\6نc'X2eu*s53nܰN++F #'N^hzJy WL\> X%(FBNsvv:=EN3#g?>ǧvi$FB4|ܯ~UJB וֹ\syz 12;:WzFuFd1ʽz9ڜi1SԽ`R.5?_D!1ӥۯܕvZ*Sj$$4&{(2B DAAie7;''\"D(F bEHHQA@H@DQsf'ضmrWt:ѱӣ tzJW&=qv*jy" P*:nj`ajÑli ޞl&1WK ],_ƚU+Lּ3aWwn|Ooo>$It:Iv,pNJ?ö[HЙuesCm}pMZ7tjZ,e8<|;gzSڤyO4ݝ5zfj2N++ QufJ-yfN\rv6Z1ثz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ǽuq$h"jqYm %tEXtdate:create2013-09-23T11:52:59+01:000I#9%tEXtdate:modify2013-09-23T11:52:59+01:00AtEXtSoftwaregnome-screenshot>IENDB`idjc-0.8.15/doc/code.html0000644000175000017500000001103112555350735012012 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Some relevant code modules

idjc-0.8.15/doc/tutorials_icecast.html0000644000175000017500000004306412555350735014634 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 MPEG and click the right arrow repeatedly until all the option boxes appear.

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.15/doc/Makefile.in0000644000175000017500000003556712555351751012302 00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 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__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) 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@ target_triplet = @target@ subdir = doc DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am 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_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = 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__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 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@ DYLIB_EXT = @DYLIB_EXT@ 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@ GIT_PROG_EXISTS = @GIT_PROG_EXISTS@ 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_SWRESAMPLE = @HAVE_SWRESAMPLE@ 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@ LIBSWRESAMPLE_CFLAGS = @LIBSWRESAMPLE_CFLAGS@ LIBSWRESAMPLE_LIBS = @LIBSWRESAMPLE_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@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ 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@ idjcpkgpythondir = @idjcpkgpythondir@ idjcpythondir = @idjcpythondir@ 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 = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ 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 tutorials_jack_ports_demystified.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: 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 \ cscopelist-am ctags-am 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 \ tags-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.15/doc/tour_main.html0000644000175000017500000001400612555350735013102 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.15/doc/prefs-jack-ports.png0000644000175000017500000064225412555350736014134 00000000000000PNG  IHDRӒgAMA a cHRMz&u0`:pQ<bKGDtIME  4;]4IDATxiga6ٴ.["Yeɒed !N81@M,1ට$BIrlҔ%0^-oFΌv>sy޿}7.)~" "#!1(Lղ=ShoyXl͝7_#I$I$!vvM*+$9NI@rc4 2BD[@f=1lGP8v_۲yӷnrwJ)*Nzs4^ׯB&GDD@@@D@D @ Mji!@dZ˖,R*@\uޅLO\B1F Z|R@mҕqc{Xj=E=+c^__>?gͻrӏoذ.3Si!s'o4rL:+M;z9t|*1F ͎eh5:1$$Ͷ2 "1j:iI&#MijlF& bijٺ /_ >K\n\6نc'X2eu*s53nܰN++F #'N^hzJy WL\> X%(FBNsvv:=EN3#g?>ǧvi$FB4|ܯ~UJB וֹ\syz 12;:WzFuFd1ʽz9ڜi1SԽ`R.5?_D!1ӥۯܕvZ*Sj$$4&{(2B DAAie7;''\"D(F bEHHQA@H@DQsf'ضmrWt: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ohB￯ EaEjjkrrnMsJ%P(ohh>bQz=U*g͛44 gw6})ST*^goF]~oID9|+/s櫩BГ56Q*@C!!|^{:aqe[b޵SbHD׾NLV]}r bz{z=zѨQm=aus'9r$4M:t`ƏC+&Ld7xCmmNeBzr9\Ʀ9J(tth" ko_']:lk_,ݻvj7_LSI)ɪW.T*|pT\f=Z6){;<А$5j37ceYשOUU?aƌDAO.'4GTBޞs[y넵kVǕmmEc{Ni I]:e2Yu2?ApUzyZZfgRBg87s9Bhiڕ֍1;.c2}"B4L$3l[Vw-_oi拜4Mc> "|ruu/^n`l."D}e5 2ɱ#9M?Kwww "|^n`l."D}e5 2ɱ#9Mu{s@}gw-l?a(E߯jmtzrHNڛ7?GDO.޽w=~ׯ`l."D}e5 2ɱ#9M?}2D4}`l."D}e5 2ɱ#9M "4M#"@fIfl?a(E߯jmtzrHNa(6RZ].X+L'4l?a(E߯jmtzrHNa(6RZ].X+L'f=~a(E߯jm£Ǐܻ2_>~~^a(E߯jm<nwwnoo\{䩧Ϟ0brѶZL 72]O=SM0brѶZȔa(E߯jm0brѶZ@DJkZvh[c " X-\VRZ].X+C)~-V.mkD}e5 8A ҘD"w Zy5r~_I@-6UeV%tEXtdate:create2013-09-23T11:52:59+01:000I#9%tEXtdate:modify2013-09-23T11:52:59+01:00AtEXtSoftwaregnome-screenshot>IENDB`idjc-0.8.15/doc/install_build.html0000644000175000017500000002675712555350735013752 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+Recommended—for mp2/mp3 playback
TwoLAME0.3+Recommended—for streaming/recording in the mp2 format
Lame3.97+Recommended—for streaming/recording in the mp3 format
FFmpeg's libav…0.10/0.8+Recommended—for mp4/m4a, ape, mpc, aac(+)
FLAC1.1.3+Recommended—for FLAC playback, recording, and streaming
Speex1.2rc1+Recommended—for Speex playback and streaming
Opus1.0+Recommended—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.15/doc/jingles-window.png0000644000175000017500000215302612555350735013675 00000000000000PNG  IHDROegAMA a cHRMz&u0`:pQ<bKGDtIME }tIDATxwga6egfloQAZIHa6;vʵ&yb_)`bSlKjLg̩}ߐYwc6JD)TJ@D@D@@k[$D@@$ I`zvARU7/.Ko}wٍ_fRҩ $ʵ:$IV]%," eZCdRU#F(U5-,W4%!7JWߨ?˧s.~3 +QS6%2X"s>x?laa[7Iw_% g1-j@iB\%(" 1h(BS,oo0:SДMiɥ,V@ȑO?G[*.[3Lr. A#!ЕϚ+V@+%Ǐ:W F6 *d@83)~#cc.[*dգ$%3zS"B 6F>cͰ}2FsN-nՅ򊱱)'-Wt6ځvm D" z$J$,-8|r^ P)-:pxT1fM>rh&Se`nbҁS)]v R@-/9px\ֵ= @$ ꕒc-mo>f~=M)! 4~bB@lrĤ:ݽvV%DB@ltb^;v+"!Q%D*#!FŹ)u Zۙ-NظTަCY 'sn9edCdn񲁑F@CqvSSA--ĨZkH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 B0;3cOШT*҉:;Fa|W )%ShbAN]ywRrqg/s K!%#G;$%e+}^[ssBBf-,.:zFb.788hxn''ux齚ؘܻ }&.;x 6@A\v¸'O(uzf|^{=Z0;7Gƣ[~υ/;ۿbgW-\_^c+/zooYX|byeElڴjC)6Ͼ%qLzܛ B0;3c^zI^jՅyI@0/WeY 6~,(8o!1xႁ-wRrqg's 7nZwI @ܷWǷE 2W|Q9x9!!3xFb&  ޵I]=yZyӻąqay!(ޟɓ:J^?k‚{SwVjy|^tdݨ~RcR!SSӖ-6nw~ţtXV]൯ý{?==vR!D!DPZ]]_xhZ{{>J͛RJ,3n߾eyi1F!ܽ{׉_֨dYkWbpyѱL[]]lLZZ?ZQYլ'_&6z_ë礡{oF?{`m謹/O9Fj8;O]۩[\AZ @ѝ)EL~>7oM1Ǐ-}ݞ}"voџ]kj?G|ɂ O,// !Z?m[9,>084dm>3!BB0{ٻ<#hZ>۷ocϯ|k5?allLOm m '>4}Պ$!h/mٲŶ'RJBb $@ )!  ohȳjٻf(HrBc y5Gj5@bo o:>bCIENDB`idjc-0.8.15/doc/Makefile.am0000644000175000017500000000104712555350736012255 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 tutorials_jack_ports_demystified.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.15/doc/style.css0000644000175000017500000000476512555350736012105 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:834px; overflow-x:auto; } pre.inset{ width:auto; } pre.reduced{ width:98%; } pre.big-code{ height:300px; overflow-y:auto; } strong{ white-space:nowrap; } 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 } #jackports-table{ border:1px solid; width:100%; } #jackports-table td{ border:1px solid #d3d3d3; } #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:854px; padding-bottom:6px; } #top-titlebar{ background-color:#ccc; } #top-titlebar h2{ padding-left:10px; } #signature{ font-size:11px; } idjc-0.8.15/doc/site-logo.png0000644000175000017500000010102312555350736012624 00000000000000PNG  IHDRsRGB pHYs  tIME  !!iTXtCommentCreated with The GIMPm IDATx^yeUu/c}>tuNUPX%XFͻנߍ/nrj|=MMg0ņ&B*n9c5u{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so4ں9DDվ8kt^R 9WNyK)@D\:C껶nNe.so4ں9DDվ8kt^R 9WNuݼZCD9}ۦqHe.Ds^ݏ㐾eonnnB@qwwg?{2UU7Y.1%tEXtdate:create2013-09-23T11:52:59+01:000I#9%tEXtdate:modify2013-09-23T11:52:59+01:00AtEXtSoftwaregnome-screenshot>IENDB`idjc-0.8.15/doc/tutorials_voip.html0000644000175000017500000002166112555350735014175 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/Pulseaudio configuration

Lots of messing about ever since Skype forced the use of Pulseaudio. Official JACK documentation here. Once you have Pulseaudio ports in JACK they will require connection to the IDJC VoIP JACK ports.

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.15/doc/tour_preferences.html0000644000175000017500000001502412555350735014460 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.15/doc/tour_jingles.html0000644000175000017500000001160412555350735013612 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.15/doc/code_idjcmon.html0000644000175000017500000001462212555350735013526 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/python2.7

"""idjcmon.py demo code

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

Requires IDJC 0.8.11 or higher.
Takes the profile you wish to monitor as the command line parameter.
"""

import sys

import gobject
from idjcmonitor import *

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 effect_started_handler(monitor, title, pathname, player):
    print "Effect player %d is playing %s" % (player, title)

def effect_stopped_handler(monitor, player):
    print "Effect player %d has stopped" % player

try:
    profile = sys.argv[1]
except IndexError:
    profile = "default"

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)
monitor.connect("effect-started", effect_started_handler)
monitor.connect("effect-stopped", effect_stopped_handler)

gobject.MainLoop().run()
idjc-0.8.15/doc/contact.html0000644000175000017500000001131212555350735012535 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.15/doc/main-window.png0000644000175000017500000202017412555350735013163 00000000000000PNG  IHDROegAMA a cHRMz&u0`:pQ<bKGDtIME }tIDATxw%awlw5 BnIl'yQy'ʼn#ŎKHHD3E&IJmvwL/w;3[7_sѿhkdB@D6N&E@@$BR@"A @"0=;oZh4K|G/kzKfIdJ$,B$1 !굲(% l:Zo1L*/4c$b! ||KIь~Uw<SKQ.T&MB@87mw>fimCmV2FӖ1PӈD@@@@HDH@HD@@@DH@@HDD@HH@@D@@DH@@H@D@@_{BMQ[>EJ!H&n͘" ִZA{._ _1:( I*dfJU1r>9}¼F%+/umfŪ5b$2j%Ol4/0=:5 &+]¶Ur$ KEضWG&f N6 m\mmgFP[.;~7'D@T+eg/L:? [ךV"!FSSJ! bT.N;2RұjкTrqց}њF$ *s5LKoz'΍9va^-r-}y1bçWضC.I@@uQLmtB$2?q^hOM)V++ب;?hE![4M9p7hv$"G7lu hHJ%F)H'ى u].I@BӒ=6$X.>>jzJRب=7 t5;SԺrЖv$1K E'L/յڶGg6DdpvɉI" bajlܑY͖;7'-WJ}Àl"! FK s_aS_A:A@h6LM82R64hMZ\`5}-@$"hvLomkz$E#3.kRގRU@[!%`RzMA*H1DӞ1Y\#ZBiN*!H1T,/VrD"5mqa1؝TE@.PȦ̔!C~̉BH!Hn]?L}Otv(2j@BY]ڬ?׹~thF!1F!@qrT=K׮p|W7VUFRwGhٍ_,{z;VQ3F1!4zfTs˦߼qV$QQ"ĉI`kʾ53AQň@"!D1c# P/;5Vnj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[[]g^R.oZO{?ѣ.>akPzo߮\ };tw+8V13=hɿXwoBB}Q(d-V.|YO/ާVo+~=-/!M6:8ZZY^r< `ٷ7NIo{SAfgf?x:Jb{^:qBg:h4B CV*m@ ?(~ b?o``RJ.N\yBy7pu,skk~N@EGר@х 䤮O?Wy{ӻąqay!(.^wINPՌϣG f@wW hzm_syyIר7X]AJ ܞ ؼiwoxkժ^7ܻwyka)%@BBŻ7w5w*.k6sfn۶7H)JRJ,oݲ1F!޽+hBbxtˏe~Wj? ]KZ{l_- O,!M6:8ZZY^r< `ٷ7NIo{S׽ 5IDATAfgf?xK/iZp=/k6vxPwU4to?z])H gk;uw+8V13=hO>)1p1S?o۳O-k~Um~G:|h>YCӟzV_`e!͛76EZ1y@bo o:>bޝq}ǎhjjbNٹ4 WP(Fj!(((vctq-[޵[Jʼn yV<h5 ˄b,4u?' `fzڣG^~W_Esڽ@+@!$ Rbppw=zLwOj_{uݿ@ B ϛZ3!jՍdYfdSoYY^6:vD@9wff8yRcהWVbpyѱLk6~\_ )sRG*UƩ3so/69wyY%^ıǕ:Fab|ܡÇV+غm;|lݶ }&`BBf5;{ב_cVG~`v<32`'/ںm[h4<|D͛ݼq]߿֭^x,W5ucpy#ϛ3m=[) BBbCʲϯ\q&;veQJT+U_\Y޽j\KUFU*@rwf‚(dj{{fDwOH)y0ݙ;w BK~yMl߱CE)!lܹEnݼaxn6mBZݭ74 ό(u3uPT|q^"h6s}##JHj/ !3Jϯ\-=R"B bC@bo o:>bC@bo o:>bC c0绡$&B \K[6*zi0t.BڋE $*`=r_1S*^%|*nzT< D>/0>dBJ2V$MZGGi/ %tEXtdate:create2013-10-21T08:08:22+01:00x*7%tEXtdate:modify2013-10-21T08:08:22+01:00 tEXtSoftwaregnome-screenshot>IENDB`idjc-0.8.15/doc/install.html0000644000175000017500000001231112555350735012550 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.15/doc/prefs-channels.png0000644000175000017500000100037712555350736013645 00000000000000PNG  IHDR4ugAMA a cHRMz&u0`:pQ<bKGDtIME  4;]4IDATxyua ~'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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(@JT 1 I Iصk-7[fvRRB&''sVYI)}{h6/OM1ڽsL[b6mz…S+ϥVer򐔒VEJjǵwtVj/Y* `^78Q0>l4@JɶC-_!1VAmlTgWURQ!mm^zE}^zŋZqժK !! n6 O5 RmeWHEbjc:+ePUUTE`rrSOѳ;∹ڦMj<'xZ< ǟ`޼NB02l4@JɶC-_!1VAmlTgWURQ"%>kZB`vM\VT6!#CzzdYFɲLJ ۻG4A|j @;L/e<ciӃ.\d^g|jJQl4@JɶCN_~hبήnJFuvU+EQh:xW^~YHBJYc( e'2)%cof=)1Fw0vw@ѣfsV1cTZV2yVzn޾>G̝k{fBBu Ӻ~Fl:d@6jrݦڭ\(Z-<՗_v!RJ&߷ϡCp|(֡-N;Ye`',2)%cw͆7djj @Ѯ;T=VW^1mT)+9sT$EjTRJͦ͆niK7 ֧uH)yblTemm;:J%0^kP*@J/d)% y{+W/\hkkBkj-ˊB/img͒kf&Yf9un޽N9U@xnppa`}Z߯hx?x1)J$B RJ$ DB DJDBRJ$ DB RJ$@"R*DIJD);QGBu Ӻ~F@Q?{CHJ#:#c!†i]f  Bu Ӻ~F7 ֧u! n6 O5 M08C*2%BbDa<:N2$[S!Υ ޚZٷu.8IzȾs)9HCmK)1@5o\ʇsIzkj=g[=:>9o7E޻8pNF%tEXtdate:create2013-09-23T11:52:59+01:000I#9%tEXtdate:modify2013-09-23T11:52:59+01:00AtEXtSoftwaregnome-screenshot>IENDB`idjc-0.8.15/doc/tutorials_streaming_aac.html0000644000175000017500000001414112555350735016010 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.15/doc/prefs-general.png0000644000175000017500000101261012555350736013460 00000000000000PNG  IHDR/gAMA a cHRMz&u0`:pQ<bKGDtIME  4;]4IDATxyua ~'In@$,A֪-nSXRHT9g=ǜ(ڪC fI}Oٓo_W7nܰ6m|wOr)ʳNx͵ 45]֮]j!ޭB&GD@D@@@D@D @ M c#i!@pJ.P*@\⥋'!Ö,YTP\vˣb{-[`oQo)qőυ}76S !S2rT:'M;z9e6r1F ͎$jubBd2f-D>E$Fv[;LF>Hӎf#D.Infb&&CË t@LUS'nZT.ٚcZ8ҒE tզ4k3֭]++ #'gŲzKyF+M\=k1V`ժzڝѓg];ɯ<5=ߟFb$$Ky2rT޹oּ~QV+K D2#d24{u絪sffĤK<\4;3ѨID.]}rNKyzJV2$c"z*3B DAAiuoY+''y}J{hHO."Q#B1"BB@$bBB@$( bbBB@$bB D(Fbؘk6oKwW@'36rM[ NL9w;*ͨ՛T,.;|`[6l24lȁ}6l͒C*՚z[6+ׄg߿ϒe+\Tlۯ=?}PBlԼ֞$IH }|v|L/F?s Itw|w8g[X:=E?S ɖ?z]/xI힬scLEUFSځBTfK N^qn6ZOܨ_%ߝ7;1lТVJ3 )9/7<{]2t; 1Wk>iiv BYhP1tNϘLNReڔJ;uӓO5*eUNP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ٞ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-09-23T11:52:59+01:000I#9%tEXtdate:modify2013-09-23T11:52:59+01:00AtEXtSoftwaregnome-screenshot>IENDB`idjc-0.8.15/doc/install_standard.html0000644000175000017500000001237512555350735014442 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.15/doc/tutorials_jack_ports_demystified.html0000644000175000017500000001536712555350735017753 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Aims

To inform the reader of possible uses and reasons for the existence of the JACK ports generated by IDJC.

Context

The JACK audio connection kit homepage.

What is a JACK port?

It's a unidirectional (input or output) data connection point that can be for the transmission of time sensitive single channel audio or MIDI information.

An audio output port can be connected to multiple input ports and an input port can take connection from multiple output ports. When two ports are connected audio data passes from the output port to the input port. An input port will mix together the audio of all connected output ports. The audio routing of IDJC to the soundcard happens via JACK ports.

Ports available

In the IDJC main application window main menu under JACK Ports are the classifications referred to in the table below and in their submenu the ports concerned.

Channels

General purpose audio input channels e.g. for mic and aux connections.

Players

For player audio procesing or for injecting player audio from another application e.g. Mixxx.

The default audio routing is player output port to player input port.

plr_l is the left player, plr_r is the right, plr_i for the background tracks player, plr_e refers to the effects players.

VoIP

Voice over IP ports. See the VoIP tutorial for more info.

DSP

These ports are for routing the audio to a compressor/equalizer prior to going to the stream mix.

The DSP button on the main panel must be activated to use this feature.

Mix

The mixed audio.

This consists of the DJ mix and the stream mix.

Output

The output module which handles streaming and recording.

Misc

The MIDI port can be connected to ports of MIDI devices to use them to control IDJC.

The DJ alarm port produces an audible tone when playlists are about to end.

idjc-0.8.15/doc/tour.html0000644000175000017500000001224712555350735012103 00000000000000 Internet DJ Console Homepage

Internet DJ Console Homepage IDJC

website logo

Screenshots and commentary

External links

idjc-0.8.15/doc/style_ie.css0000644000175000017500000000014512555350736012546 00000000000000 pre.ie6-one-line-pre{ height:32px; } #sidebar-menu{ margin-left:0px; margin-bottom:0px; } idjc-0.8.15/doc/index.html0000644000175000017500000001365512555350735012225 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.15/m4/0000755000175000017500000000000012556740336010052 500000000000000idjc-0.8.15/m4/intlmacosx.m40000644000175000017500000000457512461430153012414 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.15/m4/gettext.m40000644000175000017500000003513212461430152011707 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.15/m4/ltsugar.m40000644000175000017500000001044012514014631011676 00000000000000# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007-2008, 2011-2015 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.15/m4/lt~obsolete.m40000644000175000017500000001377412514014631012604 00000000000000# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 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.15/m4/po.m40000644000175000017500000004461612461430153010651 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.15/m4/lib-prefix.m40000644000175000017500000002042212461430153012261 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.15/m4/ltoptions.m40000644000175000017500000003426212514014631012260 00000000000000# Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004-2005, 2007-2009, 2011-2015 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 8 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option '$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl 'shared' nor 'disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) ]) ])# _LT_SET_OPTIONS ## --------------------------------- ## ## Macros to handle LT_INIT options. ## ## --------------------------------- ## # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [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_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) # _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@<:@=PKGS@:>@], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac], [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.15/m4/progtest.m40000644000175000017500000000557312461430153012101 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.15/m4/ChangeLog0000644000175000017500000000063512220016611011524 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.15/m4/libtool.m40000644000175000017500000112570012514014631011670 00000000000000# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996-2001, 2003-2015 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) 2014 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 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 this program. If not, see . ]) # serial 58 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.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK 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_PREPARE_CC_BASENAME # ----------------------- m4_defun([_LT_PREPARE_CC_BASENAME], [ # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in @S|@*""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } ])# _LT_PREPARE_CC_BASENAME # _LT_CC_BASENAME(CC) # ------------------- # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, # but that macro is also expanded into generated libtool script, which # arranges for $SED and $ECHO to be set by different means. m4_defun([_LT_CC_BASENAME], [m4_require([_LT_PREPARE_CC_BASENAME])dnl AC_REQUIRE([_LT_DECL_SED])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl func_cc_basename $1 cc_basename=$func_cc_basename_result ]) # _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([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl 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 m4_require([_LT_CMD_TRUNCATE])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options that 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 set != "${COLLECT_NAMES+set}"; 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\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) 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\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) 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 0 = "$lt_write_fail" && 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) 2011 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 yes = "$silent" && 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 that 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 # Generated automatically by $as_me ($PACKAGE) $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. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 _LT_COPYING _LT_LIBTOOL_TAGS # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### BEGIN LIBTOOL CONFIG _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG _LT_EOF cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE _LT_PREPARE_MUNGE_PATH_LIST _LT_PREPARE_CC_BASENAME # ### END FUNCTIONS SHARED WITH CONFIGURE _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 set != "${COLLECT_NAMES+set}"; 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) 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' 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)], [Go], [_LT_LANG(GO)], [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 m4_ifndef([AC_PROG_GO], [ ############################################################ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_GO. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # ############################################################ m4_defun([AC_PROG_GO], [AC_LANG_PUSH(Go)dnl AC_ARG_VAR([GOC], [Go compiler command])dnl AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl _AC_ARG_VAR_LDFLAGS()dnl AC_CHECK_TOOL(GOC, gccgo) if test -z "$GOC"; then if test -n "$ac_tool_prefix"; then AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) fi fi if test -z "$GOC"; then AC_CHECK_PROG(GOC, gccgo, gccgo, false) fi ])#m4_defun ])#m4_ifndef # _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([AC_PROG_GO], [LT_LANG(GO)], [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) 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 there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test 0 = "$_lt_result"; 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 -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; 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 yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi if test yes = "$lt_cv_ld_exported_symbols_list"; 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 no = "$lt_cv_ld_force_load"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ]) # _LT_DARWIN_LINKER_FEATURES([TAG]) # --------------------------------- # 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 yes = "$lt_cv_ld_force_load"; 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\"`' m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) 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*|nagfor*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test yes = "$_lt_dar_can_shared"; 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 yes != "$lt_cv_apple_cc_single_mod"; 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 set = "${lt_cv_aix_libpath+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 that will find a shell with a builtin # printf (that 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], [AS_HELP_STRING([--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 yes = "$GCC"; 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 where 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 no = "$enable_libtool_lock" || 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 what ABI is being produced by ac_compile, and set mode # options accordingly. 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 what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test yes = "$lt_cv_prog_gnu_ld"; 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* ;; mips64*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then emul=elf case `/usr/bin/file conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; *64-bit*) emul="${emul}64" ;; esac case `/usr/bin/file conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; *LSB*) emul="${emul}ltsmip" ;; esac case `/usr/bin/file conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; esac LD="${LD-ld} -m $emul" fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when # doing 32-bit compilation for a host where ld defaults to 64-bit, or # vice versa); the common cases where no linker options are needed do # not appear in the list. 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*) case `/usr/bin/file conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; *) LD="${LD-ld} -m elf_i386" ;; esac ;; powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; 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" ;; powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; 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 yes != "$lt_cv_cc_needs_belf"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS=$SAVE_CFLAGS fi ;; *-*solaris*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. 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*) case $host in i?86-*-solaris*|x86_64-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD=${LD-ld}_sol2 fi ;; *) 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 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a AC_TRY_EVAL([lt_ar_try]) if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a ]) ]) if test no = "$lt_cv_ar_at_file"; 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 bitrig* | openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_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" ## exclude from sc_useless_quotes_in_assignment # 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 yes = "[$]$2"; 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 yes = "[$]$2"; 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; ;; bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) # 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 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; 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" && \ test undefined != "$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`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test 17 != "$i" # 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 yes = "$cross_compiling"; 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 -fvisibility=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 yes != "$enable_dlopen"; 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 ]) ;; tpf*) # Don't try to run any link tests for TPF. We know it's impossible # because TPF is a cross-compiler, and we know how we open DSOs. lt_cv_dlopen=dlopen lt_cv_dlopen_libs= lt_cv_dlopen_self=no ;; *) 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 no = "$lt_cv_dlopen"; then enable_dlopen=no else enable_dlopen=yes fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS=$CPPFLAGS test yes = "$ac_cv_header_dlfcn_h" && 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 yes = "$lt_cv_dlopen_self"; 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 no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; 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 no = "$hard_links"; 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 where 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 yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then # We can hardcode non-existent directories. if test no != "$_LT_TAGVAR(hardcode_direct, $1)" && # 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 no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" && test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; 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 relink = "$_LT_TAGVAR(hardcode_action, $1)" || test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then # Fast installation is not supported enable_fast_install=no elif test yes = "$shlibpath_overrides_runpath" || test no = "$enable_shared"; 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_PREPARE_MUNGE_PATH_LIST # --------------------------- # Make sure func_munge_path_list() is defined correctly. m4_defun([_LT_PREPARE_MUNGE_PATH_LIST], [[# func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x@S|@2 in x) ;; *:) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" ;; x:*) eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; *::*) eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" ;; *) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; esac } ]])# _LT_PREPARE_PATH_LIST # _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 m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ if test yes = "$GCC"; 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` # ...but if some path component already ends with the multilib dir we assume # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). case "$lt_multi_os_dir; $lt_search_path_spec " in "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) lt_multi_os_dir= ;; esac 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" elif test -n "$lt_multi_os_dir"; then 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 AC_ARG_VAR([LT_SYS_LIBRARY_PATH], [User-defined run-time library search path.]) case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor 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 # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test ia64 = "$host_cpu"; 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 # Using Import Files as archive members, it is possible to support # filename-based versioning of shared library archives on AIX. While # this would work for both with and without runtime linking, it will # prevent static linking of such archives. So we do filename-based # shared library versioning with .so extension only, which is used # when both runtime linking and shared linking is enabled. # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the # archive as well as the shared archive member, telling the # bitwidth (32 or 64) of that shared object, and providing the # list of exported symbols of that shared object, eventually # decorated with the 'weak' keyword # *) the shared object with the F_LOADONLY flag set, to really avoid # it being seen by the linker. # At run time we better use the real file rather than another symlink, # but for link time we create the symlink libNAME.so -> libNAME.so.V case $with_aix_soname,$aix_use_runtimelinking in # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. aix,yes) # traditional libtool dynamic_linker='AIX unversionable lib.so' # 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' ;; aix,no) # traditional AIX only dynamic_linker='AIX lib.a[(]lib.so.V[)]' # 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' ;; svr4,*) # full svr4 only dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,yes) # both, prefer svr4 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # unpreferred sharedlib libNAME.a needs extra handling postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,no) # both, prefer aix dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' ;; esac 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%'\''`; $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 # correct to gnu/linux during the next big refactor 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 # correct to gnu/linux during the next big refactor 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 ;; 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[[23]].*) 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$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' 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 ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor 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=no 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 32 = "$HPUX_IA64_MODE"; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" sys_lib_dlsearch_path_spec=/usr/lib/hpux32 else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" sys_lib_dlsearch_path_spec=/usr/lib/hpux64 fi ;; 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 # correct to gnu/linux during the next big refactor 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 yes = "$lt_cv_prog_gnu_ld"; then version_type=linux # correct to gnu/linux during the next big refactor 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 ;; linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # 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 dynamic_linker='Android linker' # Don't embed -rpath directories since the linker doesn't support them. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor 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 # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, # even though it is searched at run-time. Try to do the best guess by # appending ld.so.conf contents (and includes) 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 # correct to gnu/linux during the next big refactor 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* | bitrig*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then need_version=no else need_version=yes fi 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 shlibpath_overrides_runpath=yes ;; os2*) libname_spec='$name' version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no # OS/2 can only load a DLL with a base name of 8 characters or less. soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; v=$($ECHO $release$versuffix | tr -d .-); n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); $ECHO $n$v`$shared_ext' library_names_spec='${libname}_dll.$libext' dynamic_linker='OS/2 ld.exe' shlibpath_var=BEGINLIBPATH sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 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' ;; 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 # correct to gnu/linux during the next big refactor 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 yes = "$with_gnu_ld"; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor 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 # correct to gnu/linux during the next big refactor 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=sco 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 yes = "$with_gnu_ld"; 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 # correct to gnu/linux during the next big refactor 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 # correct to gnu/linux during the next big refactor 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 no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test yes = "$GCC"; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec fi if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec fi # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH _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], [configure_time_dlsearch_path], [2], [Detected run-time system search path for libraries]) _LT_DECL([], [configure_time_lt_sys_library_path], [2], [Explicit LT_SYS_LIBRARY_PATH set during ./configure time]) ])# _LT_SYS_DYNAMIC_LINKER # _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- # find a file program that 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 that 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 no = "$withval" || with_gnu_ld=yes], [with_gnu_ld=no])dnl ac_prog=ld if test yes = "$GCC"; 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 yes = "$with_gnu_ld"; 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 conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd], [if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: fi]) rm -f conftest.i conftest2.i conftest.out]) ])# _LT_PATH_DD # _LT_CMD_TRUNCATE # ---------------- # find command to truncate a binary pipe m4_defun([_LT_CMD_TRUNCATE], [m4_require([_LT_PATH_DD]) AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin], [printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" fi rm -f conftest.i conftest2.i conftest.out test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"]) _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1], [Command to truncate a binary pipe]) ])# _LT_CMD_TRUNCATE # _LT_CHECK_MAGIC_METHOD # ---------------------- # how to check for library dependencies # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_MAGIC_METHOD], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) AC_CACHE_CHECK([how to recognize dependent libraries], lt_cv_deplibs_check_method, [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 # that 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. if ( 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 ;; 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 glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | 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* | bitrig*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; 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 ;; os2*) 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 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in mingw*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 ;; *) 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 no != "$lt_cv_path_NM"; 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 -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) 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 one 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 yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl ])# _LT_PATH_MANIFEST_TOOL # _LT_DLL_DEF_P([FILE]) # --------------------- # True iff FILE is a Windows DLL '.def' file. # Keep in sync with func_dll_def_p in the libtool script AC_DEFUN([_LT_DLL_DEF_P], [dnl test DEF = "`$SED -n dnl -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl -e q dnl Only consider the first "real" line $1`" dnl ])# _LT_DLL_DEF_P # 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 yes = "$GCC"; 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 ia64 = "$host_cpu"; 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 if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" lt_c_name_lib_hook="\ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" else # Disable hooks by default. lt_cv_sys_global_symbol_to_import= lt_cdecl_hook= lt_c_name_hook= lt_c_name_lib_hook= fi # 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"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$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"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/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, # D for any global variable and I for any imported 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};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print f,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 can'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* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$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 yes = "$pipe_works"; 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_import], [lt_cv_sys_global_symbol_to_import], [1], [Transform the output of nm into a list of symbols to manually relocate]) _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_interface], [lt_cv_nm_interface], [1], [The name lister interface]) _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 yes = "$GXX"; 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 ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; 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']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; 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 ia64 = "$host_cpu"; 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 ia64 != "$host_cpu"; 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 | 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 yes = "$GCC"; 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 ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; 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']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; 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 ' if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" fi ;; 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 ia64 = "$host_cpu"; 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 ;; 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' case $cc_basename in 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' ;; esac ;; 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']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; 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 | 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' ;; tcc*) # Fabrice Bellard et al's Tiny 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)='-static' ;; 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\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) # 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\ F* | *Sun*Fortran*) _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 ' ;; *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,' ;; *Intel*\ [[CF]]*Compiler*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; *Portland\ Group*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; 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 that 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 GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. 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) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds ;; cygwin* | mingw* | cegcc*) case $cc_basename in cl*) _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' ;; *) _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_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 yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd* | bitrig*) 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 yes = "$with_gnu_ld"; 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 yes = "$lt_use_gnu_ld_interface"; 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 | $SED -e 's/([^)]\+)\s\+//' 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 ia64 != "$host_cpu"; 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, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); 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 ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $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 linux-dietlibc = "$host_os"; 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 no = "$tmp_diet" 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' ;; nagfor*) # NAGFOR 5.3 tmp_sharedflag='-Wl,-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 yes = "$supports_anon_versioning"; 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 tcc*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic' ;; 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)='$wl-rpath $wl$libdir' _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; 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 cannot *** 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 no = "$_LT_TAGVAR(ld_shlibs, $1)"; 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 yes = "$GCC" && 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 ia64 = "$host_cpu"; 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 GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. 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) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | 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 # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then aix_use_runtimelinking=yes break fi done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; 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,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # traditional, no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GCC"; 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 yes = "$aix_use_runtimelinking"; then shared_flag="$shared_flag "'$wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; 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 yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' 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,yes = "$with_aix_soname,$aix_use_runtimelinking"; 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 -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; 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 yes = "$with_gnu_ld"; 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 _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' 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,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $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(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' _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 ;; # 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 yes = "$GCC"; 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 "x$output_objdir/$soname" = "x$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 "x$output_objdir/$soname" = "x$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 yes,no = "$GCC,$with_gnu_ld"; 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 no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$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 yes,no = "$GCC,$with_gnu_ld"; 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 no = "$with_gnu_ld"; 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 yes = "$GCC"; 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 yes = "$lt_cv_irix_exported_symbol"; 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 ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(ld_shlibs, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; 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* | bitrig*) 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__`"; 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 _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' 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 shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; osf3*) if test yes = "$GCC"; 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 yes = "$GCC"; 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 yes = "$GCC"; 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 yes = "$GCC"; 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 sequent = "$host_vendor"; 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 yes = "$GCC"; 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 CANNOT 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 yes = "$GCC"; 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 sni = "$host_vendor"; 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 no = "$_LT_TAGVAR(ld_shlibs, $1)" && 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 yes,yes = "$GCC,$enable_shared"; 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_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 what 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 no = "$can_build_shared" && 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 yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac 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 yes = "$enable_shared" || 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 no != "$CXX" && ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || (test g++ != "$CXX"))); 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_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 yes != "$_lt_caught_CXX_error"; 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 yes = "$GXX"; 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 yes = "$GXX"; 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 yes = "$with_gnu_ld"; 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 ia64 = "$host_cpu"; 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 # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive 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 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; 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,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GXX"; 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 yes = "$aix_use_runtimelinking"; then shared_flag=$shared_flag' $wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; 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 yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' 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,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. # The "-G" linker flag allows undefined symbols. _LT_TAGVAR(no_undefined_flag, $1)='-bernotok' # 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 -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; 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 yes = "$with_gnu_ld"; 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 _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' 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,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $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, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); 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) ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; 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 ;; freebsd2.*) # 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 ;; 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 "x$output_objdir/$soname" = "x$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 yes = "$GXX"; 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 "x$output_objdir/$soname" = "x$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 no = "$with_gnu_ld"; 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 yes = "$GXX"; then if test no = "$with_gnu_ld"; 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 yes = "$GXX"; then if test no = "$with_gnu_ld"; 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 | 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 yes = "$supports_anon_versioning"; 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 ;; openbsd* | bitrig*) 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__`"; 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 yes,no = "$GXX,$with_gnu_ld"; 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 yes,no = "$GXX,$with_gnu_ld"; 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 $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 $wl-h $wl$soname -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 $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 $wl-h $wl$soname -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 CANNOT 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 no = "$_LT_TAGVAR(ld_shlibs, $1)" && 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 yes != "$_lt_caught_CXX_error" 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 @S|@2 in .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;; *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@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 ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF package foo func foo() { } _LT_EOF ]) _lt_libdeps_save_CFLAGS=$CFLAGS case "$CC $CFLAGS " in #( *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 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 x-L = "$p" || test x-R = "$p"; 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 no = "$pre_test_object_deps_done"; 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 no = "$pre_test_object_deps_done"; 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)= ;; 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 no = "$F77"; 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_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 yes != "$_lt_disable_F77"; 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 no = "$can_build_shared" && 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 yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac 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 yes = "$enable_shared" || 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 yes != "$_lt_disable_F77" 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 no = "$FC"; 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_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 yes != "$_lt_disable_FC"; 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 no = "$can_build_shared" && 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 yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac 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 yes = "$enable_shared" || 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 yes != "$_lt_disable_FC" 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_GO_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Go compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_GO_CONFIG], [AC_REQUIRE([LT_PROG_GO])dnl AC_LANG_SAVE # Source file extension for Go test sources. ac_ext=go # Object file extension for compiled Go test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="package main; func main() { }" # Code to be used in simple link tests lt_simple_link_test_code='package main; func main() { }' # 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=${GOC-"gccgo"} CFLAGS=$GOFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)=$LD _LT_CC_BASENAME([$compiler]) # Go 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_GO_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 set = "${GCJFLAGS+set}" || 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_GO # ---------- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) ]) # 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 10 -lt "$lt_ac_count" && 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], [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_PATH_CONVERSION_FUNCTIONS # ----------------------------- # Determine what 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.15/m4/lib-ld.m40000644000175000017500000000660312461430153011370 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.15/m4/lib-link.m40000644000175000017500000010020212461430153011714 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.15/m4/iconv.m40000644000175000017500000001653712461430152011351 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.15/m4/ltversion.m40000644000175000017500000000127312514014631012246 00000000000000# ltversion.m4 -- version numbers -*- Autoconf -*- # # Copyright (C) 2004, 2011-2015 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. # @configure_input@ # serial 4179 ltversion.m4 # This file is part of GNU Libtool m4_define([LT_PACKAGE_VERSION], [2.4.6]) m4_define([LT_PACKAGE_REVISION], [2.4.6]) AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6' macro_revision='2.4.6' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) idjc-0.8.15/config.rpath0000755000175000017500000004401212461430152011746 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=/' <&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.15/py-compile0000755000175000017500000001107612252457145011457 00000000000000#!/bin/sh # py-compile - Compile a Python program scriptversion=2011-06-08.12; # UTC # Copyright (C) 2000-2013 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.15/ABOUT-NLS0000644000175000017500000026713312220016605010674 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.15/AUTHORS0000644000175000017500000000042412220016605010501 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.15/config.h.in0000644000175000017500000001230312555351761011473 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 you have the header file. */ #undef HAVE_LIBAVUTIL_CHANNEL_LAYOUT_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 /* Set if libswresample was found */ #undef HAVE_SWRESAMPLE /* 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 where 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 /* Set if libswresample allows format conversion */ #undef USE_SWRESAMPLE /* 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 #if defined(HAVE_AVCODEC) && defined(HAVE_AVFORMAT) && defined(HAVE_AVUTIL) #define HAVE_LIBAV 1 #endif idjc-0.8.15/configure0000755000175000017500000223100512555351752011363 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for idjc 0.8.15. # # 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.15' PACKAGE_STRING='idjc 0.8.15' 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 DYLIB_EXT 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 LIBSWRESAMPLE_LIBS LIBSWRESAMPLE_CFLAGS HAVE_SWRESAMPLE LIBAVUTIL_LIBS LIBAVUTIL_CFLAGS HAVE_AVUTIL LIBAVFORMAT_LIBS LIBAVFORMAT_CFLAGS HAVE_AVFORMAT LIBAVCODEC_LIBS LIBAVCODEC_CFLAGS HAVE_AVCODEC GIT_VERSION_CONTROL_FALSE GIT_VERSION_CONTROL_TRUE GIT_PROG_EXISTS 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 LT_SYS_LIBRARY_PATH 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 LIBTOOL idjcpkgpythondir idjcpythondir pkgpyexecdir pyexecdir pkgpythondir pythondir PYTHON_PLATFORM PYTHON_EXEC_PREFIX PYTHON_PREFIX PYTHON_VERSION PYTHON AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V 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 target_os target_vendor target_cpu target host_os host_vendor host_cpu host build_os build_vendor build_cpu build 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_silent_rules enable_static enable_shared with_pic enable_fast_install with_aix_soname 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 LT_SYS_LIBRARY_PATH 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 LIBSWRESAMPLE_CFLAGS LIBSWRESAMPLE_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.15 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] --target=TARGET configure for building compilers for TARGET [HOST] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of idjc 0.8.15:";; 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-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --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[=PKGS] try to use only PIC/non-PIC objects [default=use both] --with-aix-soname=aix|svr4|both shared library versioning (aka "SONAME") variant to provide on AIX, [default=aix]. --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 LT_SYS_LIBRARY_PATH User-defined run-time library search path. 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 LIBSWRESAMPLE_CFLAGS C compiler flags for LIBSWRESAMPLE, overriding pkg-config LIBSWRESAMPLE_LIBS linker flags for LIBSWRESAMPLE, 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.15 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.15, 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=2015 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. # 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 $as_echo_n "checking target system type... " >&6; } if ${ac_cv_target+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$target_alias" = x; then ac_cv_target=$ac_cv_host else ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 $as_echo "$ac_cv_target" >&6; } case $ac_cv_target in *-*-*) ;; *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; esac target=$ac_cv_target ac_save_IFS=$IFS; IFS='-' set x $ac_cv_target shift target_cpu=$1 target_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: target_os=$* IFS=$ac_save_IFS case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac # The aliases save the names the user supplied, while $host etc. # will get canonicalized. test -n "$target_alias" && test "$program_prefix$program_suffix$program_transform_name" = \ NONENONEs,x,x, && program_prefix=${target_alias}- am__api_version='1.13' # 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 --is-lightweight"; then am_missing_run="$MISSING " 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 # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' 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.15' 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}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' 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 idjcpythondir=\${pkglibdir}/site-packages idjcpkgpythondir=\${pkglibdir}/site-packages/idjc # 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.6' macro_revision='2.4.6' ltmain=$ac_aux_dir/ltmain.sh # 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 no = "$withval" || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test yes = "$GCC"; 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 yes = "$with_gnu_ld"; 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 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in mingw*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 ;; *) 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 no != "$lt_cv_path_NM"; 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 -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) 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; ;; bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) # 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 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; 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" && \ test undefined != "$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`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test 17 != "$i" # 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"} 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 yes != "$GCC"; then reload_cmds=false fi ;; darwin*) if test yes = "$GCC"; 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 # that 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. if ( 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 ;; 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 glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | 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* | bitrig*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; 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 ;; os2*) 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 one 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 0 -eq "$ac_status"; 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 0 -ne "$ac_status"; 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 no = "$lt_cv_ar_at_file"; 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 bitrig* | openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_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 ia64 = "$host_cpu"; 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 if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" lt_c_name_lib_hook="\ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" else # Disable hooks by default. lt_cv_sys_global_symbol_to_import= lt_cdecl_hook= lt_c_name_hook= lt_c_name_lib_hook= fi # 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"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$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"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/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, # D for any global variable and I for any imported 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};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print f,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 can'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* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$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 yes = "$pipe_works"; 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 yes = "$GCC"; 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; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 $as_echo_n "checking for a working dd... " >&6; } if ${ac_cv_path_lt_DD+:} false; then : $as_echo_n "(cached) " >&6 else printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} if test -z "$lt_DD"; then ac_path_lt_DD_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 dd; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_lt_DD" || continue if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: fi $ac_path_lt_DD_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_lt_DD"; then : fi else ac_cv_path_lt_DD=$lt_DD fi rm -f conftest.i conftest2.i conftest.out fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 $as_echo "$ac_cv_path_lt_DD" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 $as_echo_n "checking how to truncate binary pipes... " >&6; } if ${lt_cv_truncate_bin+:} false; then : $as_echo_n "(cached) " >&6 else printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" fi rm -f conftest.i conftest2.i conftest.out test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 $as_echo "$lt_cv_truncate_bin" >&6; } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then : enableval=$enable_libtool_lock; fi test no = "$enable_libtool_lock" || 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 what ABI is being produced by ac_compile, and set mode # options accordingly. 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 what ABI is being produced by ac_compile, and set linker # options accordingly. 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 yes = "$lt_cv_prog_gnu_ld"; 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* ;; mips64*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. 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 emul=elf case `/usr/bin/file conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; *64-bit*) emul="${emul}64" ;; esac case `/usr/bin/file conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; *LSB*) emul="${emul}ltsmip" ;; esac case `/usr/bin/file conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; esac LD="${LD-ld} -m $emul" fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when # doing 32-bit compilation for a host where ld defaults to 64-bit, or # vice versa); the common cases where no linker options are needed do # not appear in the list. 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*) case `/usr/bin/file conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; *) LD="${LD-ld} -m elf_i386" ;; esac ;; powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; 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" ;; powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; 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 yes != "$lt_cv_cc_needs_belf"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS=$SAVE_CFLAGS fi ;; *-*solaris*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. 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*) case $host in i?86-*-solaris*|x86_64-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD=${LD-ld}_sol2 fi ;; *) 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 yes != "$lt_cv_path_mainfest_tool"; 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 there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&5 # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test 0 = "$_lt_result"; 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 -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&5 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; 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 yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi if test yes = "$lt_cv_ld_exported_symbols_list"; 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 no = "$lt_cv_ld_force_load"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac # func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; 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; lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac else pic_mode=default fi # 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 shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[5-9]*,yes) { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; } # Check whether --with-aix-soname was given. if test "${with_aix_soname+set}" = set; then : withval=$with_aix_soname; case $withval in aix|svr4|both) ;; *) as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 ;; esac lt_cv_with_aix_soname=$with_aix_soname else if ${lt_cv_with_aix_soname+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_with_aix_soname=aix fi with_aix_soname=$lt_cv_with_aix_soname fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 $as_echo "$with_aix_soname" >&6; } if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac # 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 set != "${COLLECT_NAMES+set}"; 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 func_cc_basename $compiler cc_basename=$func_cc_basename_result # 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 yes = "$GCC"; 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" ## exclude from sc_useless_quotes_in_assignment # 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 yes = "$lt_cv_prog_compiler_rtti_exceptions"; 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 yes = "$GCC"; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi lt_prog_compiler_pic='-fPIC' ;; 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' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; 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 ' if test -n "$lt_prog_compiler_pic"; then lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" fi ;; 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 ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' case $cc_basename in nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; esac ;; 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' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; 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 | 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' ;; tcc*) # Fabrice Bellard et al's Tiny C Compiler lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; 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\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) # 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\ F* | *Sun*Fortran*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Intel*\ [CF]*Compiler*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; *Portland\ Group*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; 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 that 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" ## exclude from sc_useless_quotes_in_assignment # 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 yes = "$lt_cv_prog_compiler_pic_works"; 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 yes = "$lt_cv_prog_compiler_static_works"; 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 no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; 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 no = "$hard_links"; 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_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 yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd* | bitrig*) 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 yes = "$with_gnu_ld"; 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 yes = "$lt_use_gnu_ld_interface"; 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 | $SED -e 's/(^)\+)\s\+//' 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 ia64 != "$host_cpu"; 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, use it as # is; otherwise, prepend EXPORTS... archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; 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 ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=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 linux-dietlibc = "$host_os"; 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 no = "$tmp_diet" 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' ;; nagfor*) # NAGFOR 5.3 tmp_sharedflag='-Wl,-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 yes = "$supports_anon_versioning"; 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 tcc*) export_dynamic_flag_spec='-rdynamic' ;; 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='$wl-rpath $wl$libdir' archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; 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 cannot *** 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 no = "$ld_shlibs"; 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 yes = "$GCC" && 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 ia64 = "$host_cpu"; 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 GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. 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) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | 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 # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then aix_use_runtimelinking=yes break fi done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; 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,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # traditional, no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. hardcode_direct=no hardcode_direct_absolute=no ;; esac if test yes = "$GCC"; 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 yes = "$aix_use_runtimelinking"; then shared_flag="$shared_flag "'$wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; 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 yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' 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,yes = "$with_aix_soname,$aix_use_runtimelinking"; 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 set = "${lt_cv_aix_libpath+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 -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; 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 set = "${lt_cv_aix_libpath+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 yes = "$with_gnu_ld"; 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 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 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,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $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 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 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 yes = "$lt_cv_ld_force_load"; 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*|nagfor*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test yes = "$_lt_dar_can_shared"; 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 ;; # 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 yes = "$GCC"; 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 "x$output_objdir/$soname" = "x$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 "x$output_objdir/$soname" = "x$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 yes,no = "$GCC,$with_gnu_ld"; 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 no = "$with_gnu_ld"; then hardcode_libdir_flag_spec='$wl+b $wl$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 yes,no = "$GCC,$with_gnu_ld"; 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 yes = "$lt_cv_prog_compiler__b"; 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 no = "$with_gnu_ld"; 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 yes = "$GCC"; 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 yes = "$lt_cv_irix_exported_symbol"; 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 ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler ld_shlibs=yes archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; 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* | bitrig*) 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__`"; 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 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='$wl-rpath,$libdir' fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes ;; osf3*) if test yes = "$GCC"; 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 yes = "$GCC"; 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 yes = "$GCC"; 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 yes = "$GCC"; 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 sequent = "$host_vendor"; 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 yes = "$GCC"; 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 CANNOT 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 yes = "$GCC"; 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 sni = "$host_vendor"; 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 no = "$ld_shlibs" && 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 yes,yes = "$GCC,$enable_shared"; 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 yes = "$GCC"; 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` # ...but if some path component already ends with the multilib dir we assume # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). case "$lt_multi_os_dir; $lt_search_path_spec " in "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) lt_multi_os_dir= ;; esac 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" elif test -n "$lt_multi_os_dir"; then 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 # correct to gnu/linux during the next big refactor 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 # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test ia64 = "$host_cpu"; 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 # Using Import Files as archive members, it is possible to support # filename-based versioning of shared library archives on AIX. While # this would work for both with and without runtime linking, it will # prevent static linking of such archives. So we do filename-based # shared library versioning with .so extension only, which is used # when both runtime linking and shared linking is enabled. # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the # archive as well as the shared archive member, telling the # bitwidth (32 or 64) of that shared object, and providing the # list of exported symbols of that shared object, eventually # decorated with the 'weak' keyword # *) the shared object with the F_LOADONLY flag set, to really avoid # it being seen by the linker. # At run time we better use the real file rather than another symlink, # but for link time we create the symlink libNAME.so -> libNAME.so.V case $with_aix_soname,$aix_use_runtimelinking in # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. aix,yes) # traditional libtool dynamic_linker='AIX unversionable lib.so' # 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' ;; aix,no) # traditional AIX only dynamic_linker='AIX lib.a(lib.so.V)' # 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' ;; svr4,*) # full svr4 only dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,yes) # both, prefer svr4 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # unpreferred sharedlib libNAME.a needs extra handling postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,no) # both, prefer aix dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' ;; esac 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%'\''`; $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 # correct to gnu/linux during the next big refactor 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 # correct to gnu/linux during the next big refactor 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 ;; 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[23].*) 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$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' 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 ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor 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=no 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 32 = "$HPUX_IA64_MODE"; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" sys_lib_dlsearch_path_spec=/usr/lib/hpux32 else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" sys_lib_dlsearch_path_spec=/usr/lib/hpux64 fi ;; 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 # correct to gnu/linux during the next big refactor 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 yes = "$lt_cv_prog_gnu_ld"; then version_type=linux # correct to gnu/linux during the next big refactor 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 ;; linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # 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 dynamic_linker='Android linker' # Don't embed -rpath directories since the linker doesn't support them. hardcode_libdir_flag_spec='-L$libdir' ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor 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 # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, # even though it is searched at run-time. Try to do the best guess by # appending ld.so.conf contents (and includes) 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 # correct to gnu/linux during the next big refactor 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* | bitrig*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then need_version=no else need_version=yes fi 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 shlibpath_overrides_runpath=yes ;; os2*) libname_spec='$name' version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no # OS/2 can only load a DLL with a base name of 8 characters or less. soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; v=$($ECHO $release$versuffix | tr -d .-); n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); $ECHO $n$v`$shared_ext' library_names_spec='${libname}_dll.$libext' dynamic_linker='OS/2 ld.exe' shlibpath_var=BEGINLIBPATH sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 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' ;; 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 # correct to gnu/linux during the next big refactor 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 yes = "$with_gnu_ld"; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor 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 # correct to gnu/linux during the next big refactor 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=sco 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 yes = "$with_gnu_ld"; 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 # correct to gnu/linux during the next big refactor 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 # correct to gnu/linux during the next big refactor 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 no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test yes = "$GCC"; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec fi if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec fi # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH { $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 yes = "$hardcode_automatic"; then # We can hardcode non-existent directories. if test no != "$hardcode_direct" && # 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 no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && test no != "$hardcode_minus_L"; 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 relink = "$hardcode_action" || test yes = "$inherit_rpath"; then # Fast installation is not supported enable_fast_install=no elif test yes = "$shlibpath_overrides_runpath" || test no = "$enable_shared"; then # Fast installation is not necessary enable_fast_install=needless fi if test yes != "$enable_dlopen"; 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 ;; tpf*) # Don't try to run any link tests for TPF. We know it's impossible # because TPF is a cross-compiler, and we know how we open DSOs. lt_cv_dlopen=dlopen lt_cv_dlopen_libs= lt_cv_dlopen_self=no ;; *) 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 no = "$lt_cv_dlopen"; then enable_dlopen=no else enable_dlopen=yes fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS=$CPPFLAGS test yes = "$ac_cv_header_dlfcn_h" && 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 yes = "$cross_compiling"; 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 -fvisibility=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 yes = "$lt_cv_dlopen_self"; 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 yes = "$cross_compiling"; 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 -fvisibility=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 what 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 no = "$can_build_shared" && 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 yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[4-9]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac 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 yes = "$enable_shared" || 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 # Determine if git is installed and a repository is present in source root dir. # Extract the first word of "git", so it can be a program name with args. set dummy git; 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_GIT_PROG_EXISTS+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$GIT_PROG_EXISTS"; then ac_cv_prog_GIT_PROG_EXISTS="$GIT_PROG_EXISTS" # 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_GIT_PROG_EXISTS="yes" $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_prog_GIT_PROG_EXISTS" && ac_cv_prog_GIT_PROG_EXISTS="no" fi fi GIT_PROG_EXISTS=$ac_cv_prog_GIT_PROG_EXISTS if test -n "$GIT_PROG_EXISTS"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT_PROG_EXISTS" >&5 $as_echo "$GIT_PROG_EXISTS" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test ${GIT_PROG_EXISTS} = "yes" ; then # Determine if a repository exists right here in the build directory. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for git repository in source tree root" >&5 $as_echo_n "checking for git repository in source tree root... " >&6; } if test $(git rev-parse --git-dir) = ".git" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } git_repo = 1 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test x$git_repo = x; then GIT_VERSION_CONTROL_TRUE= GIT_VERSION_CONTROL_FALSE='#' else GIT_VERSION_CONTROL_TRUE='#' GIT_VERSION_CONTROL_FALSE= 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 pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSWRESAMPLE" >&5 $as_echo_n "checking for LIBSWRESAMPLE... " >&6; } if test -n "$LIBSWRESAMPLE_CFLAGS"; then pkg_cv_LIBSWRESAMPLE_CFLAGS="$LIBSWRESAMPLE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswresample\""; } >&5 ($PKG_CONFIG --exists --print-errors "libswresample") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSWRESAMPLE_CFLAGS=`$PKG_CONFIG --cflags "libswresample" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBSWRESAMPLE_LIBS"; then pkg_cv_LIBSWRESAMPLE_LIBS="$LIBSWRESAMPLE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswresample\""; } >&5 ($PKG_CONFIG --exists --print-errors "libswresample") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSWRESAMPLE_LIBS=`$PKG_CONFIG --libs "libswresample" 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 LIBSWRESAMPLE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libswresample" 2>&1` else LIBSWRESAMPLE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libswresample" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBSWRESAMPLE_PKG_ERRORS" >&5 HAVE_SWRESAMPLE=0 if test $makelibav = "yes" ; then as_fn_error $? "libswresample not detected but specifically requested in configure options (libav)" "$LINENO" 5 fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } HAVE_SWRESAMPLE=0 if test $makelibav = "yes" ; then as_fn_error $? "libswresample not detected but specifically requested in configure options (libav)" "$LINENO" 5 fi else LIBSWRESAMPLE_CFLAGS=$pkg_cv_LIBSWRESAMPLE_CFLAGS LIBSWRESAMPLE_LIBS=$pkg_cv_LIBSWRESAMPLE_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_SWRESAMPLE 1" >>confdefs.h HAVE_SWRESAMPLE=1 fi else HAVE_AVCODEC=0 HAVE_AVFORMAT=0 HAVE_AVUTIL=0 HAVE_SWRESAMPLE=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_opt_set_sample_fmt in -lavutil" >&5 $as_echo_n "checking for av_opt_set_sample_fmt in -lavutil... " >&6; } if ${ac_cv_lib_avutil_av_opt_set_sample_fmt+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lavutil $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 av_opt_set_sample_fmt (); int main () { return av_opt_set_sample_fmt (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_avutil_av_opt_set_sample_fmt=yes else ac_cv_lib_avutil_av_opt_set_sample_fmt=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_avutil_av_opt_set_sample_fmt" >&5 $as_echo "$ac_cv_lib_avutil_av_opt_set_sample_fmt" >&6; } if test "x$ac_cv_lib_avutil_av_opt_set_sample_fmt" = xyes; then : $as_echo "#define USE_SWRESAMPLE 1" >>confdefs.h 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} -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 libavutil/channel_layout.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 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg_stream_flush_fill in -logg" >&5 $as_echo_n "checking for ogg_stream_flush_fill in -logg... " >&6; } if ${ac_cv_lib_ogg_ogg_stream_flush_fill+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-logg $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 ogg_stream_flush_fill (); int main () { return ogg_stream_flush_fill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_ogg_ogg_stream_flush_fill=yes else ac_cv_lib_ogg_ogg_stream_flush_fill=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_ogg_ogg_stream_flush_fill" >&5 $as_echo "$ac_cv_lib_ogg_ogg_stream_flush_fill" >&6; } if test "x$ac_cv_lib_ogg_ogg_stream_flush_fill" = xyes; then : 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 else if test $makeopus = "yes" ; then as_fn_error $? "specifically requested opus support requires newer libogg" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: opus streaming requires newer libogg" >&5 $as_echo "$as_me: WARNING: opus streaming requires newer libogg" >&2;} 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 # Darwin based OS has different file extension for dynamic libs. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic library file extension" >&5 $as_echo_n "checking dynamic library file extension... " >&6; } case ${host} in *-*-darwin*) ext=".dylib" ;; *) ext=".so" ;; esac DYLIB_EXT=${ext} { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ext}" >&5 $as_echo "${ext}" >&6; } ac_config_files="$ac_config_files Makefile po/Makefile.in c/Makefile python/Makefile python/prelims/Makefile artwork/Makefile man/Makefile man/fr/Makefile doc/Makefile python/__init__.py.in idjc.in idjc.desktop.in idjc.appdata.xml.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= 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 if test -z "${GIT_VERSION_CONTROL_TRUE}" && test -z "${GIT_VERSION_CONTROL_FALSE}"; then as_fn_error $? "conditional \"GIT_VERSION_CONTROL\" 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.15, 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.15 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"`' shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $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_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $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"`' lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $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"`' lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $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_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"`' configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $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 \ PATH_SEPARATOR \ 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_import \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ lt_cv_nm_interface \ nm_file_list_spec \ lt_cv_truncate_bin \ 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_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\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) 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 \ configure_time_dlsearch_path \ configure_time_lt_sys_library_path; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done ac_aux_dir='$ac_aux_dir' # See if we are running on zsh, and set the options that 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' 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" ;; "man/fr/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr/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" ;; "idjc.appdata.xml.in") CONFIG_FILES="$CONFIG_FILES idjc.appdata.xml.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"" || { # Older Autoconf 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 that 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 # Generated automatically by $as_me ($PACKAGE) $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. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 # Copyright (C) 2014 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 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 this program. If not, see . # The names of the tagged configurations supported by this script. available_tags='' # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### 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 # Shared archive member basename,for filename based shared library versioning on AIX. shared_archive_member_spec=$shared_archive_member_spec # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # An echo program that protects backslashes. ECHO=$lt_ECHO # The PATH separator for the build system. PATH_SEPARATOR=$lt_PATH_SEPARATOR # 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 into a list of symbols to manually relocate. global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import # 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 # The name lister interface. nm_interface=$lt_lt_cv_nm_interface # 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 where our libraries should be installed. lt_sysroot=$lt_sysroot # Command to truncate a binary pipe. lt_truncate_bin=$lt_lt_cv_truncate_bin # 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 # Detected run-time system search path for libraries. sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path # 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 # 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 cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE # func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; esac } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } # ### END FUNCTIONS SHARED WITH CONFIGURE _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 set != "${COLLECT_NAMES+set}"; 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) 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.15/compile0000755000175000017500000001624512252457145011034 00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2013 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.15/idjc.in.in0000644000175000017500000000202412256572734011320 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, """@idjcpythondir@""") try: import idjc except ImportError: print "failed to import the idjc package" else: exit(idjc.main()) idjc-0.8.15/ChangeLog0000644000175000017500000020300712555344611011221 00000000000000* Changes in version 0.8.15 * Documentation update for VoIP. Support for more signals by the IDJCMonitor class. Support for latest version of python-irc. Added full support for ITU-R BS.1770 / EBU R128 tags. Fixed saving of announcement text in .xspf playlists. The announcement text now appears in the playlist allowing the DJ to pre-read the announcements. Updated copyright year to 2015 Internationalisation mostly of format.py which was missing from POTFILES. Git commit hash and build date appears in the 'About' page. Improved song database connectivity. Fixes and enhancements to last DJ played. Patch: B Millham. Added wrappers to all glib timeout_add, idle_add, and source_remove calls. Documentation update. French language translation update. Song title database credentials now exportable with DBus. 'Last Played' column added to song title database viewer. This includes a scalable cooldown bar. Fix for IRC metadata so that Stream Info metadata updates are tied to stream connection, not song title changes. IDJC now reports server connect/disconnect to IRC in a formalised manner and in messages %U can be used for the source URI. Added an AppData file. Added support for generating m3u8 playlist files and added support for file URI's in m3u files. Fixed metadata to icecast servers now sent with latin1 encoding when streaming mpeg formats. User can now select latin1 encoding for fixed metadata to shoutcast servers. Fix for stream metadata character encoding: applied to extant metadata also. Can now read ReplayGain info from ID3 TXXX tags. Has priority over RVAD/RVA2 tags. Build system now handles problem with a too old libogg breaking Opus support. Can now obtain listener stats from Shoutcast 2 servers. Applied patches for libav 9 and 10 build and build warnings, courtesy: Sebastian Ramacher Build fix for older ffmpeg dependency. * Changes in version 0.8.14 * Fix for playlist controls having an overly dark background. Improved reliability for 'Fade Over' playlist mode and 'Crossfade' playlist control when using the silence killer. Song title database browse mode setting is now saved/restored. Added Ampache music catalogs support. Fine tuned the suppression of key bindings when using the database "Search" tab. Fixed regression of save/restore database column widths. Enabled drag and drop to effects from music database and file managers. Added an optional fade feature for timer disconnected streams. Fixed a bug where stream timer could trigger a disconnection and disconnection dialog when not connected. The timed server connection Begin/End time format is now hh:mm[:ss]. Fix for Prokyon 3 database access. Song title database browse window now populates much more quickly. Song title database browse window has new alphabetic top level e.g. all artists beginning with S under S. (patch: bmillham) * Changes in version 0.8.13 * IRC support now comes from python-irc. Improved metadata expiry. Metadata is expired on mid cross on both players when metadata source = crossfader. Fixed regression in stream auto reconnection dialog. Fix for PyGTK SpinButton value not being set or displayed. IRC using manual server connect mode no longer periodically disconnects from the IRC server. Fix for a bug that affected the use of password protected IRC channels. Added a binding for the playlist advance button. Code cleanup. Removed possibly problematic gtk main_iteration() calls. Added support for SSL-hobbled python-irclib. Added individual track album name support for cue sheets with REM ALBUM tag. Fixed regression in supported media formats. Was showing libav only formats when built with --disable-libav. Fixed build with ./configure --disable-libav. In cue sheet mode chapter metadata is now ignored. * Changes in version 0.8.12 * Fix for plural forms in translation files. * Changes in version 0.8.11 * Example code idjcmon.py from the docs now uses the idjcmonitor module. IDJC monitoring class originally from docs is now importable as idjcmonitor. Python package installs to ${pkglibdir}/site-packages. Added detection of dynamic lib file extension by host. Backend installs to ${pkglibdir} DSP button now hidden in 'Basic Streamer' mode. Added new 'flush' player mode to ensure every last bit of audio data from a track plays. Re-added libav compatibility for 1 or 2 channel audio only. Improved memory leak situation of avcodecdecode.c. * Changes in version 0.8.10 * Fix for dynamic metadata bug in the background tracks player. Added french translation and man page. Added D-Bus binding for setting metadata. Added documentation of JACK ports. Fix for effects filechooser location box text. Increased player buffer run-out warning to 0.3 seconds. Fixes gapless playback. Microphones in DJ audio are now panned. Added VoIP panning facility. Added pan presets for quick pan setting changes. Includes key/midi/dbus bindings. Updated to fix audio decoding with ffmpeg version 1.2 libav... libraries. New dependency libswresample from ffmpeg. * 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.15/config.sub0000755000175000017500000010674512555760642011453 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2015 Free Software Foundation, Inc. timestamp='2015-03-08' # 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 3 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. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches to . # # 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 1992-2015 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* | netbsd*-eabi* | \ 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 | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ | be32 | be64 \ | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx | dvp \ | e2k | epiphany \ | fido | fr30 | frv | ft32 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | k1om \ | 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 \ | mipsisa32r6 | mipsisa32r6el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64r6 | mipsisa64r6el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 | or1k | or1knd | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | riscv32 | riscv64 \ | 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 \ | visium \ | 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 ;; leon|leon[3-9]) basic_machine=sparc-$basic_machine ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | 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-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | e2k-* | 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-* \ | k1om-* \ | 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-* \ | mipsisa32r6-* | mipsisa32r6el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64r6-* | mipsisa64r6el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | or1k*-* \ | 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-* \ | visium-* \ | 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 ;; asmjs) basic_machine=asmjs-unknown ;; 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 ;; leon-*|leon[3-9]-*) basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` ;; 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=i686-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 ;; moxiebox) basic_machine=moxie-unknown os=-moxiebox ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i686-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 | rdos64) basic_machine=x86_64-pc os=-rdos ;; rdos32) 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* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* | -cloudabi* \ | -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* | -moxiebox* \ | -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* | -tirtos*) # 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 ;; -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 ;; c8051-*) os=-elf ;; 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.15/README0000644000175000017500000000152112220016605010310 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.15/ltmain.sh0000644000175000017500000117077112514014631011272 00000000000000#! /bin/sh ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in ## by inline-source v2014-01-03.01 # libtool (GNU libtool) 2.4.6 # Provide generalized library-building support services. # Written by Gordon Matzigkeit , 1996 # Copyright (C) 1996-2015 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 this program. If not, see . PROGRAM=libtool PACKAGE=libtool VERSION=2.4.6 package_revision=2.4.6 ## ------ ## ## Usage. ## ## ------ ## # Run './libtool --help' for help with using this script from the # command line. ## ------------------------------- ## ## User overridable command paths. ## ## ------------------------------- ## # After configure completes, it has a better idea of some of the # shell tools we need than the defaults used by the functions shared # with bootstrap, so set those here where they can still be over- # ridden by the user, but otherwise take precedence. : ${AUTOCONF="autoconf"} : ${AUTOMAKE="automake"} ## -------------------------- ## ## Source external libraries. ## ## -------------------------- ## # Much of our low-level functionality needs to be sourced from external # libraries, which are installed to $pkgauxdir. # Set a version string for this script. scriptversion=2015-01-20.17; # UTC # General shell script boiler plate, and helper functions. # Written by Gary V. Vaughan, 2004 # Copyright (C) 2004-2015 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. # 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 3 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. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNES 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 . # Please report bugs or propose patches to gary@gnu.org. ## ------ ## ## Usage. ## ## ------ ## # Evaluate this file near the top of your script to gain access to # the functions and variables defined here: # # . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh # # If you need to override any of the default environment variable # settings, do that before evaluating this file. ## -------------------- ## ## Shell normalisation. ## ## -------------------- ## # Some shells need a little help to be as Bourne compatible as possible. # Before doing anything else, make sure all that help has been provided! 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 # NLS nuisances: We save the old values in case they are required later. _G_user_locale= _G_safe_locale= for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test set = \"\${$_G_var+set}\"; then save_$_G_var=\$$_G_var $_G_var=C export $_G_var _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\" _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\" fi" done # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Make sure IFS has a sensible default sp=' ' nl=' ' IFS="$sp $nl" # There are apparently some retarded systems that use ';' as a PATH separator! 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 ## ------------------------- ## ## Locate command utilities. ## ## ------------------------- ## # func_executable_p FILE # ---------------------- # Check that FILE is an executable regular file. func_executable_p () { test -f "$1" && test -x "$1" } # func_path_progs PROGS_LIST CHECK_FUNC [PATH] # -------------------------------------------- # Search for either a program that responds to --version with output # containing "GNU", or else returned by CHECK_FUNC otherwise, by # trying all the directories in PATH with each of the elements of # PROGS_LIST. # # CHECK_FUNC should accept the path to a candidate program, and # set $func_check_prog_result if it truncates its output less than # $_G_path_prog_max characters. func_path_progs () { _G_progs_list=$1 _G_check_func=$2 _G_PATH=${3-"$PATH"} _G_path_prog_max=0 _G_path_prog_found=false _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:} for _G_dir in $_G_PATH; do IFS=$_G_save_IFS test -z "$_G_dir" && _G_dir=. for _G_prog_name in $_G_progs_list; do for _exeext in '' .EXE; do _G_path_prog=$_G_dir/$_G_prog_name$_exeext func_executable_p "$_G_path_prog" || continue case `"$_G_path_prog" --version 2>&1` in *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;; *) $_G_check_func $_G_path_prog func_path_progs_result=$func_check_prog_result ;; esac $_G_path_prog_found && break 3 done done done IFS=$_G_save_IFS test -z "$func_path_progs_result" && { echo "no acceptable sed could be found in \$PATH" >&2 exit 1 } } # We want to be able to use the functions in this file before configure # has figured out where the best binaries are kept, which means we have # to search for them ourselves - except when the results are already set # where we skip the searches. # Unless the user overrides by setting SED, search the path for either GNU # sed, or the sed that truncates its output the least. test -z "$SED" && { _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for _G_i in 1 2 3 4 5 6 7; do _G_sed_script=$_G_sed_script$nl$_G_sed_script done echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed _G_sed_script= func_check_prog_sed () { _G_path_prog=$1 _G_count=0 printf 0123456789 >conftest.in while : do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo '' >> conftest.nl "$_G_path_prog" -f conftest.sed conftest.out 2>/dev/null || break diff conftest.out conftest.nl >/dev/null 2>&1 || break _G_count=`expr $_G_count + 1` if test "$_G_count" -gt "$_G_path_prog_max"; then # Best one so far, save it but keep looking for a better one func_check_prog_result=$_G_path_prog _G_path_prog_max=$_G_count fi # 10*(2^10) chars as input seems more than enough test 10 -lt "$_G_count" && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out } func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin rm -f conftest.sed SED=$func_path_progs_result } # Unless the user overrides by setting GREP, search the path for either GNU # grep, or the grep that truncates its output the least. test -z "$GREP" && { func_check_prog_grep () { _G_path_prog=$1 _G_count=0 _G_path_prog_max=0 printf 0123456789 >conftest.in while : do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo 'GREP' >> conftest.nl "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' conftest.out 2>/dev/null || break diff conftest.out conftest.nl >/dev/null 2>&1 || break _G_count=`expr $_G_count + 1` if test "$_G_count" -gt "$_G_path_prog_max"; then # Best one so far, save it but keep looking for a better one func_check_prog_result=$_G_path_prog _G_path_prog_max=$_G_count fi # 10*(2^10) chars as input seems more than enough test 10 -lt "$_G_count" && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out } func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin GREP=$func_path_progs_result } ## ------------------------------- ## ## User overridable command paths. ## ## ------------------------------- ## # All uppercase variable names are used for environment variables. These # variables can be overridden by the user before calling a script that # uses them if a suitable command of that name is not already available # in the command search PATH. : ${CP="cp -f"} : ${ECHO="printf %s\n"} : ${EGREP="$GREP -E"} : ${FGREP="$GREP -F"} : ${LN_S="ln -s"} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} ## -------------------- ## ## Useful sed snippets. ## ## -------------------- ## sed_dirname='s|/[^/]*$||' sed_basename='s|^.*/||' # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='s|\([`"$\\]\)|\\\1|g' # Same as above, but do not quote variable references. sed_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 # that contains forward slashes, into one that contains # (escaped) backslashes. A very naive implementation. sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # Re-'\' parameter expansions in output of sed_double_quote_subst that # were '\'-ed in input to the same. If an odd number of '\' preceded a # '$' in input to sed_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 '$'. _G_bs='\\' _G_bs2='\\\\' _G_bs4='\\\\\\\\' _G_dollar='\$' sed_double_backslash="\ s/$_G_bs4/&\\ /g s/^$_G_bs2$_G_dollar/$_G_bs&/ s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g s/\n//g" ## ----------------- ## ## Global variables. ## ## ----------------- ## # Except for the global variables explicitly listed below, the following # functions in the '^func_' namespace, and the '^require_' namespace # variables initialised in the 'Resource management' section, sourcing # this file will not pollute your global namespace with anything # else. There's no portable way to scope variables in Bourne shell # though, so actually running these functions will sometimes place # results into a variable named after the function, and often use # temporary variables in the '^_G_' namespace. If you are careful to # avoid using those namespaces casually in your sourcing script, things # should continue to work as you expect. And, of course, you can freely # overwrite any of the functions or variables defined here before # calling anything to customize them. 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. # Allow overriding, eg assuming that you follow the convention of # putting '$debug_cmd' at the start of all your functions, you can get # bash to show function call trace with: # # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name debug_cmd=${debug_cmd-":"} exit_cmd=: # By convention, finish your script with: # # exit $exit_status # # so that you can set exit_status to non-zero if you want to indicate # something went wrong during execution without actually bailing out at # the point of failure. exit_status=$EXIT_SUCCESS # 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 # The name of this program. progname=`$ECHO "$progpath" |$SED "$sed_basename"` # Make sure we have an absolute progpath for reexecution: case $progpath in [\\/]*|[A-Za-z]:\\*) ;; *[\\/]*) progdir=`$ECHO "$progpath" |$SED "$sed_dirname"` progdir=`cd "$progdir" && pwd` progpath=$progdir/$progname ;; *) _G_IFS=$IFS IFS=${PATH_SEPARATOR-:} for progdir in $PATH; do IFS=$_G_IFS test -x "$progdir/$progname" && break done IFS=$_G_IFS test -n "$progdir" || progdir=`pwd` progpath=$progdir/$progname ;; esac ## ----------------- ## ## Standard options. ## ## ----------------- ## # The following options affect the operation of the functions defined # below, and should be set appropriately depending on run-time para- # meters passed on the command line. opt_dry_run=false opt_quiet=false opt_verbose=false # Categories 'all' and 'none' are always available. Append any others # you will pass as the first argument to func_warning from your own # code. warning_categories= # By default, display warnings according to 'opt_warning_types'. Set # 'warning_func' to ':' to elide all warnings, or func_fatal_error to # treat the next displayed warning as a fatal error. warning_func=func_warn_and_continue # Set to 'all' to display all warnings, 'none' to suppress all # warnings, or a space delimited list of some subset of # 'warning_categories' to display only the listed warnings. opt_warning_types=all ## -------------------- ## ## Resource management. ## ## -------------------- ## # This section contains definitions for functions that each ensure a # particular resource (a file, or a non-empty configuration variable for # example) is available, and if appropriate to extract default values # from pertinent package files. Call them using their associated # 'require_*' variable to ensure that they are executed, at most, once. # # It's entirely deliberate that calling these functions can set # variables that don't obey the namespace limitations obeyed by the rest # of this file, in order that that they be as useful as possible to # callers. # require_term_colors # ------------------- # Allow display of bold text on terminals that support it. require_term_colors=func_require_term_colors func_require_term_colors () { $debug_cmd test -t 1 && { # COLORTERM and USE_ANSI_COLORS environment variables take # precedence, because most terminfo databases neglect to describe # whether color sequences are supported. test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"} if test 1 = "$USE_ANSI_COLORS"; then # Standard ANSI escape sequences tc_reset='' tc_bold=''; tc_standout='' tc_red=''; tc_green='' tc_blue=''; tc_cyan='' else # Otherwise trust the terminfo database after all. test -n "`tput sgr0 2>/dev/null`" && { tc_reset=`tput sgr0` test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold` tc_standout=$tc_bold test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso` test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1` test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2` test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4` test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5` } fi } require_term_colors=: } ## ----------------- ## ## Function library. ## ## ----------------- ## # This section contains a variety of useful functions to call in your # scripts. Take note of the portable wrappers for features provided by # some modern shells, which will fall back to slower equivalents on # less featureful shells. # func_append VAR VALUE # --------------------- # Append VALUE onto the existing contents of VAR. # We should try to minimise forks, especially on Windows where they are # unreasonably slow, so skip the feature probes when bash or zsh are # being used: if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then : ${_G_HAVE_ARITH_OP="yes"} : ${_G_HAVE_XSI_OPS="yes"} # The += operator was introduced in bash 3.1 case $BASH_VERSION in [12].* | 3.0 | 3.0*) ;; *) : ${_G_HAVE_PLUSEQ_OP="yes"} ;; esac fi # _G_HAVE_PLUSEQ_OP # Can be empty, in which case the shell is probed, "yes" if += is # useable or anything else if it does not work. test -z "$_G_HAVE_PLUSEQ_OP" \ && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \ && _G_HAVE_PLUSEQ_OP=yes if test yes = "$_G_HAVE_PLUSEQ_OP" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_append () { $debug_cmd eval "$1+=\$2" }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_append () { $debug_cmd eval "$1=\$$1\$2" } fi # func_append_quoted VAR VALUE # ---------------------------- # Quote VALUE and append to the end of shell variable VAR, separated # by a space. if test yes = "$_G_HAVE_PLUSEQ_OP"; then eval 'func_append_quoted () { $debug_cmd func_quote_for_eval "$2" eval "$1+=\\ \$func_quote_for_eval_result" }' else func_append_quoted () { $debug_cmd func_quote_for_eval "$2" eval "$1=\$$1\\ \$func_quote_for_eval_result" } fi # func_append_uniq VAR VALUE # -------------------------- # Append unique VALUE onto the existing contents of VAR, assuming # entries are delimited by the first character of VALUE. For example: # # func_append_uniq options " --another-option option-argument" # # will only append to $options if " --another-option option-argument " # is not already present somewhere in $options already (note spaces at # each end implied by leading space in second argument). func_append_uniq () { $debug_cmd eval _G_current_value='`$ECHO $'$1'`' _G_delim=`expr "$2" : '\(.\)'` case $_G_delim$_G_current_value$_G_delim in *"$2$_G_delim"*) ;; *) func_append "$@" ;; esac } # func_arith TERM... # ------------------ # Set func_arith_result to the result of evaluating TERMs. test -z "$_G_HAVE_ARITH_OP" \ && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \ && _G_HAVE_ARITH_OP=yes if test yes = "$_G_HAVE_ARITH_OP"; then eval 'func_arith () { $debug_cmd func_arith_result=$(( $* )) }' else func_arith () { $debug_cmd func_arith_result=`expr "$@"` } fi # func_basename FILE # ------------------ # Set func_basename_result to FILE with everything up to and including # the last / stripped. if test yes = "$_G_HAVE_XSI_OPS"; then # If this shell supports suffix pattern removal, then use it to avoid # forking. Hide the definitions single quotes in case the shell chokes # on unsupported syntax... _b='func_basename_result=${1##*/}' _d='case $1 in */*) func_dirname_result=${1%/*}$2 ;; * ) func_dirname_result=$3 ;; esac' else # ...otherwise fall back to using sed. _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`' _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"` if test "X$func_dirname_result" = "X$1"; then func_dirname_result=$3 else func_append func_dirname_result "$2" fi' fi eval 'func_basename () { $debug_cmd '"$_b"' }' # func_dirname FILE APPEND NONDIR_REPLACEMENT # ------------------------------------------- # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. eval 'func_dirname () { $debug_cmd '"$_d"' }' # 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" # For efficiency, we do not delegate to the functions above but instead # duplicate the functionality here. eval 'func_dirname_and_basename () { $debug_cmd '"$_b"' '"$_d"' }' # func_echo ARG... # ---------------- # Echo program name prefixed message. func_echo () { $debug_cmd _G_message=$* func_echo_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_IFS $ECHO "$progname: $_G_line" done IFS=$func_echo_IFS } # func_echo_all ARG... # -------------------- # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } # func_echo_infix_1 INFIX ARG... # ------------------------------ # Echo program name, followed by INFIX on the first line, with any # additional lines not showing INFIX. func_echo_infix_1 () { $debug_cmd $require_term_colors _G_infix=$1; shift _G_indent=$_G_infix _G_prefix="$progname: $_G_infix: " _G_message=$* # Strip color escape sequences before counting printable length for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan" do test -n "$_G_tc" && { _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"` _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"` } done _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes func_echo_infix_1_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_infix_1_IFS $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2 _G_prefix=$_G_indent done IFS=$func_echo_infix_1_IFS } # func_error ARG... # ----------------- # Echo program name prefixed message to standard error. func_error () { $debug_cmd $require_term_colors func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2 } # func_fatal_error ARG... # ----------------------- # Echo program name prefixed message to standard error, and exit. func_fatal_error () { $debug_cmd func_error "$*" exit $EXIT_FAILURE } # func_grep EXPRESSION FILENAME # ----------------------------- # Check whether EXPRESSION matches any line of FILENAME, without output. func_grep () { $debug_cmd $GREP "$1" "$2" >/dev/null 2>&1 } # func_len STRING # --------------- # Set func_len_result to the length of STRING. STRING may not # start with a hyphen. test -z "$_G_HAVE_XSI_OPS" \ && (eval 'x=a/b/c; test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ && _G_HAVE_XSI_OPS=yes if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_len () { $debug_cmd func_len_result=${#1} }' else func_len () { $debug_cmd func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` } fi # func_mkdir_p DIRECTORY-PATH # --------------------------- # Make sure the entire path to DIRECTORY-PATH is available. func_mkdir_p () { $debug_cmd _G_directory_path=$1 _G_dir_list= if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then # Protect directory names starting with '-' case $_G_directory_path in -*) _G_directory_path=./$_G_directory_path ;; esac # While some portion of DIR does not yet exist... while test ! -d "$_G_directory_path"; do # ...make a list in topmost first order. Use a colon delimited # list incase some portion of path contains whitespace. _G_dir_list=$_G_directory_path:$_G_dir_list # If the last portion added has no slash in it, the list is done case $_G_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"` done _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'` func_mkdir_p_IFS=$IFS; IFS=: for _G_dir in $_G_dir_list; do IFS=$func_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 "$_G_dir" 2>/dev/null || : done IFS=$func_mkdir_p_IFS # Bail out if we (or some other process) failed to create a directory. test -d "$_G_directory_path" || \ func_fatal_error "Failed to create '$1'" fi } # func_mktempdir [BASENAME] # ------------------------- # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, BASENAME is the basename for that directory. func_mktempdir () { $debug_cmd _G_template=${TMPDIR-/tmp}/${1-$progname} if test : = "$opt_dry_run"; then # Return a directory name, but don't create it in dry-run mode _G_tmpdir=$_G_template-$$ else # If mktemp works, use that first and foremost _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null` if test ! -d "$_G_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race _G_tmpdir=$_G_template-${RANDOM-0}$$ func_mktempdir_umask=`umask` umask 0077 $MKDIR "$_G_tmpdir" umask $func_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$_G_tmpdir" || \ func_fatal_error "cannot create temporary directory '$_G_tmpdir'" fi $ECHO "$_G_tmpdir" } # 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. func_normal_abspath () { $debug_cmd # These SED scripts presuppose an absolute path with a trailing slash. _G_pathcar='s|^/\([^/]*\).*$|\1|' _G_pathcdr='s|^/[^/]*||' _G_removedotparts=':dotsl s|/\./|/|g t dotsl s|/\.$|/|' _G_collapseslashes='s|/\{1,\}|/|g' _G_finalslash='s|/*$|/|' # 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 "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_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 "$_G_pathcar"` func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_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_append 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_notquiet ARG... # -------------------- # Echo program name prefixed message only when not in quiet mode. func_notquiet () { $debug_cmd $opt_quiet || 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_relative_path SRCDIR DSTDIR # -------------------------------- # Set func_relative_path_result to the relative path from SRCDIR to DSTDIR. func_relative_path () { $debug_cmd 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 -z "$func_relative_path_tlibdir"; 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 -n "$func_stripname_result"; then func_append func_relative_path_result "/$func_stripname_result" fi # Normalisation. If bindir is libdir, return '.' else relative path. if test -n "$func_relative_path_result"; then func_stripname './' '' "$func_relative_path_result" func_relative_path_result=$func_stripname_result fi test -n "$func_relative_path_result" || func_relative_path_result=. : } # func_quote_for_eval ARG... # -------------------------- # Aesthetically quote ARGs to be evaled later. # This function returns two values: # i) func_quote_for_eval_result # double-quoted, suitable for a subsequent eval # ii) func_quote_for_eval_unquoted_result # has all characters that are still active within double # quotes backslashified. func_quote_for_eval () { $debug_cmd func_quote_for_eval_unquoted_result= func_quote_for_eval_result= while test 0 -lt $#; do case $1 in *[\\\`\"\$]*) _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;; *) _G_unquoted_arg=$1 ;; esac if test -n "$func_quote_for_eval_unquoted_result"; then func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg" else func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg" fi case $_G_unquoted_arg in # Double-quote args containing shell metacharacters to delay # word splitting, command substitution and variable expansion # for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") _G_quoted_arg=\"$_G_unquoted_arg\" ;; *) _G_quoted_arg=$_G_unquoted_arg ;; esac if test -n "$func_quote_for_eval_result"; then func_append func_quote_for_eval_result " $_G_quoted_arg" else func_append func_quote_for_eval_result "$_G_quoted_arg" fi shift done } # 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 () { $debug_cmd case $1 in *[\\\`\"]*) _G_arg=`$ECHO "$1" | $SED \ -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;; *) _G_arg=$1 ;; esac case $_G_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. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") _G_arg=\"$_G_arg\" ;; esac func_quote_for_expand_result=$_G_arg } # func_stripname PREFIX SUFFIX NAME # --------------------------------- # strip PREFIX and SUFFIX from NAME, and store in func_stripname_result. # 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). if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_stripname () { $debug_cmd # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary variable first. func_stripname_result=$3 func_stripname_result=${func_stripname_result#"$1"} func_stripname_result=${func_stripname_result%"$2"} }' else func_stripname () { $debug_cmd case $2 in .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;; *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;; esac } fi # func_show_eval CMD [FAIL_EXP] # ----------------------------- # Unless opt_quiet 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 () { $debug_cmd _G_cmd=$1 _G_fail_exp=${2-':'} func_quote_for_expand "$_G_cmd" eval "func_notquiet $func_quote_for_expand_result" $opt_dry_run || { eval "$_G_cmd" _G_status=$? if test 0 -ne "$_G_status"; then eval "(exit $_G_status); $_G_fail_exp" fi } } # func_show_eval_locale CMD [FAIL_EXP] # ------------------------------------ # Unless opt_quiet 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 () { $debug_cmd _G_cmd=$1 _G_fail_exp=${2-':'} $opt_quiet || { func_quote_for_expand "$_G_cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || { eval "$_G_user_locale $_G_cmd" _G_status=$? eval "$_G_safe_locale" if test 0 -ne "$_G_status"; then eval "(exit $_G_status); $_G_fail_exp" 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 () { $debug_cmd case $1 in [0-9]* | *[!a-zA-Z0-9_]*) func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'` ;; * ) func_tr_sh_result=$1 ;; esac } # func_verbose ARG... # ------------------- # Echo program name prefixed message in verbose mode only. func_verbose () { $debug_cmd $opt_verbose && func_echo "$*" : } # func_warn_and_continue ARG... # ----------------------------- # Echo program name prefixed warning message to standard error. func_warn_and_continue () { $debug_cmd $require_term_colors func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2 } # func_warning CATEGORY ARG... # ---------------------------- # Echo program name prefixed warning message to standard error. Warning # messages can be filtered according to CATEGORY, where this function # elides messages where CATEGORY is not listed in the global variable # 'opt_warning_types'. func_warning () { $debug_cmd # CATEGORY must be in the warning_categories list! case " $warning_categories " in *" $1 "*) ;; *) func_internal_error "invalid warning category '$1'" ;; esac _G_category=$1 shift case " $opt_warning_types " in *" $_G_category "*) $warning_func ${1+"$@"} ;; esac } # func_sort_ver VER1 VER2 # ----------------------- # 'sort -V' is not generally available. # Note this deviates from the version comparison in automake # in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a # but this should suffice as we won't be specifying old # version formats or redundant trailing .0 in bootstrap.conf. # If we did want full compatibility then we should probably # use m4_version_compare from autoconf. func_sort_ver () { $debug_cmd printf '%s\n%s\n' "$1" "$2" \ | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n } # func_lt_ver PREV CURR # --------------------- # Return true if PREV and CURR are in the correct order according to # func_sort_ver, otherwise false. Use it like this: # # func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..." func_lt_ver () { $debug_cmd test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q` } # Local variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-time-zone: "UTC" # End: #! /bin/sh # Set a version string for this script. scriptversion=2014-01-07.03; # UTC # A portable, pluggable option parser for Bourne shell. # Written by Gary V. Vaughan, 2010 # Copyright (C) 2010-2015 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. # 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 3 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 . # Please report bugs or propose patches to gary@gnu.org. ## ------ ## ## Usage. ## ## ------ ## # This file is a library for parsing options in your shell scripts along # with assorted other useful supporting features that you can make use # of too. # # For the simplest scripts you might need only: # # #!/bin/sh # . relative/path/to/funclib.sh # . relative/path/to/options-parser # scriptversion=1.0 # func_options ${1+"$@"} # eval set dummy "$func_options_result"; shift # ...rest of your script... # # In order for the '--version' option to work, you will need to have a # suitably formatted comment like the one at the top of this file # starting with '# Written by ' and ending with '# warranty; '. # # For '-h' and '--help' to work, you will also need a one line # description of your script's purpose in a comment directly above the # '# Written by ' line, like the one at the top of this file. # # The default options also support '--debug', which will turn on shell # execution tracing (see the comment above debug_cmd below for another # use), and '--verbose' and the func_verbose function to allow your script # to display verbose messages only when your user has specified # '--verbose'. # # After sourcing this file, you can plug processing for additional # options by amending the variables from the 'Configuration' section # below, and following the instructions in the 'Option parsing' # section further down. ## -------------- ## ## Configuration. ## ## -------------- ## # You should override these variables in your script after sourcing this # file so that they reflect the customisations you have added to the # option parser. # The usage line for option parsing errors and the start of '-h' and # '--help' output messages. You can embed shell variables for delayed # expansion at the time the message is displayed, but you will need to # quote other shell meta-characters carefully to prevent them being # expanded when the contents are evaled. usage='$progpath [OPTION]...' # Short help message in response to '-h' and '--help'. Add to this or # override it after sourcing this library to reflect the full set of # options your script accepts. usage_message="\ --debug enable verbose shell tracing -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] -v, --verbose verbosely report processing --version print version information and exit -h, --help print short or long help message and exit " # Additional text appended to 'usage_message' in response to '--help'. long_help_message=" Warning categories include: 'all' show all warnings 'none' turn off all the warnings 'error' warnings are treated as fatal errors" # Help message printed before fatal option parsing errors. fatal_help="Try '\$progname --help' for more information." ## ------------------------- ## ## Hook function management. ## ## ------------------------- ## # This section contains functions for adding, removing, and running hooks # to the main code. A hook is just a named list of of function, that can # be run in order later on. # func_hookable FUNC_NAME # ----------------------- # Declare that FUNC_NAME will run hooks added with # 'func_add_hook FUNC_NAME ...'. func_hookable () { $debug_cmd func_append hookable_fns " $1" } # func_add_hook FUNC_NAME HOOK_FUNC # --------------------------------- # Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must # first have been declared "hookable" by a call to 'func_hookable'. func_add_hook () { $debug_cmd case " $hookable_fns " in *" $1 "*) ;; *) func_fatal_error "'$1' does not accept hook functions." ;; esac eval func_append ${1}_hooks '" $2"' } # func_remove_hook FUNC_NAME HOOK_FUNC # ------------------------------------ # Remove HOOK_FUNC from the list of functions called by FUNC_NAME. func_remove_hook () { $debug_cmd eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`' } # func_run_hooks FUNC_NAME [ARG]... # --------------------------------- # Run all hook functions registered to FUNC_NAME. # It is assumed that the list of hook functions contains nothing more # than a whitespace-delimited list of legal shell function names, and # no effort is wasted trying to catch shell meta-characters or preserve # whitespace. func_run_hooks () { $debug_cmd case " $hookable_fns " in *" $1 "*) ;; *) func_fatal_error "'$1' does not support hook funcions.n" ;; esac eval _G_hook_fns=\$$1_hooks; shift for _G_hook in $_G_hook_fns; do eval $_G_hook '"$@"' # store returned options list back into positional # parameters for next 'cmd' execution. eval _G_hook_result=\$${_G_hook}_result eval set dummy "$_G_hook_result"; shift done func_quote_for_eval ${1+"$@"} func_run_hooks_result=$func_quote_for_eval_result } ## --------------- ## ## Option parsing. ## ## --------------- ## # In order to add your own option parsing hooks, you must accept the # full positional parameter list in your hook function, remove any # options that you action, and then pass back the remaining unprocessed # options in '_result', escaped suitably for # 'eval'. Like this: # # my_options_prep () # { # $debug_cmd # # # Extend the existing usage message. # usage_message=$usage_message' # -s, --silent don'\''t print informational messages # ' # # func_quote_for_eval ${1+"$@"} # my_options_prep_result=$func_quote_for_eval_result # } # func_add_hook func_options_prep my_options_prep # # # my_silent_option () # { # $debug_cmd # # # Note that for efficiency, we parse as many options as we can # # recognise in a loop before passing the remainder back to the # # caller on the first unrecognised argument we encounter. # while test $# -gt 0; do # opt=$1; shift # case $opt in # --silent|-s) opt_silent=: ;; # # Separate non-argument short options: # -s*) func_split_short_opt "$_G_opt" # set dummy "$func_split_short_opt_name" \ # "-$func_split_short_opt_arg" ${1+"$@"} # shift # ;; # *) set dummy "$_G_opt" "$*"; shift; break ;; # esac # done # # func_quote_for_eval ${1+"$@"} # my_silent_option_result=$func_quote_for_eval_result # } # func_add_hook func_parse_options my_silent_option # # # my_option_validation () # { # $debug_cmd # # $opt_silent && $opt_verbose && func_fatal_help "\ # '--silent' and '--verbose' options are mutually exclusive." # # func_quote_for_eval ${1+"$@"} # my_option_validation_result=$func_quote_for_eval_result # } # func_add_hook func_validate_options my_option_validation # # You'll alse need to manually amend $usage_message to reflect the extra # options you parse. It's preferable to append if you can, so that # multiple option parsing hooks can be added safely. # func_options [ARG]... # --------------------- # All the functions called inside func_options are hookable. See the # individual implementations for details. func_hookable func_options func_options () { $debug_cmd func_options_prep ${1+"$@"} eval func_parse_options \ ${func_options_prep_result+"$func_options_prep_result"} eval func_validate_options \ ${func_parse_options_result+"$func_parse_options_result"} eval func_run_hooks func_options \ ${func_validate_options_result+"$func_validate_options_result"} # save modified positional parameters for caller func_options_result=$func_run_hooks_result } # func_options_prep [ARG]... # -------------------------- # All initialisations required before starting the option parse loop. # Note that when calling hook functions, we pass through the list of # positional parameters. If a hook function modifies that list, and # needs to propogate that back to rest of this script, then the complete # modified list must be put in 'func_run_hooks_result' before # returning. func_hookable func_options_prep func_options_prep () { $debug_cmd # Option defaults: opt_verbose=false opt_warning_types= func_run_hooks func_options_prep ${1+"$@"} # save modified positional parameters for caller func_options_prep_result=$func_run_hooks_result } # func_parse_options [ARG]... # --------------------------- # The main option parsing loop. func_hookable func_parse_options func_parse_options () { $debug_cmd func_parse_options_result= # this just eases exit handling while test $# -gt 0; do # Defer to hook functions for initial option parsing, so they # get priority in the event of reusing an option name. func_run_hooks func_parse_options ${1+"$@"} # Adjust func_parse_options positional parameters to match eval set dummy "$func_run_hooks_result"; shift # Break out of the loop if we already parsed every option. test $# -gt 0 || break _G_opt=$1 shift case $_G_opt in --debug|-x) debug_cmd='set -x' func_echo "enabling shell trace mode" $debug_cmd ;; --no-warnings|--no-warning|--no-warn) set dummy --warnings none ${1+"$@"} shift ;; --warnings|--warning|-W) test $# = 0 && func_missing_arg $_G_opt && break case " $warning_categories $1" in *" $1 "*) # trailing space prevents matching last $1 above func_append_uniq opt_warning_types " $1" ;; *all) opt_warning_types=$warning_categories ;; *none) opt_warning_types=none warning_func=: ;; *error) opt_warning_types=$warning_categories warning_func=func_fatal_error ;; *) func_fatal_error \ "unsupported warning category: '$1'" ;; esac shift ;; --verbose|-v) opt_verbose=: ;; --version) func_version ;; -\?|-h) func_usage ;; --help) func_help ;; # Separate optargs to long options (plugins may need this): --*=*) func_split_equals "$_G_opt" set dummy "$func_split_equals_lhs" \ "$func_split_equals_rhs" ${1+"$@"} shift ;; # Separate optargs to short options: -W*) func_split_short_opt "$_G_opt" set dummy "$func_split_short_opt_name" \ "$func_split_short_opt_arg" ${1+"$@"} shift ;; # Separate non-argument short options: -\?*|-h*|-v*|-x*) func_split_short_opt "$_G_opt" set dummy "$func_split_short_opt_name" \ "-$func_split_short_opt_arg" ${1+"$@"} shift ;; --) break ;; -*) func_fatal_help "unrecognised option: '$_G_opt'" ;; *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; esac done # save modified positional parameters for caller func_quote_for_eval ${1+"$@"} func_parse_options_result=$func_quote_for_eval_result } # func_validate_options [ARG]... # ------------------------------ # Perform any sanity checks on option settings and/or unconsumed # arguments. func_hookable func_validate_options func_validate_options () { $debug_cmd # Display all warnings if -W was not given. test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" func_run_hooks func_validate_options ${1+"$@"} # Bail if the options were screwed! $exit_cmd $EXIT_FAILURE # save modified positional parameters for caller func_validate_options_result=$func_run_hooks_result } ## ----------------- ## ## Helper functions. ## ## ----------------- ## # This section contains the helper functions used by the rest of the # hookable option parser framework in ascii-betical order. # func_fatal_help ARG... # ---------------------- # Echo program name prefixed message to standard error, followed by # a help hint, and exit. func_fatal_help () { $debug_cmd eval \$ECHO \""Usage: $usage"\" eval \$ECHO \""$fatal_help"\" func_error ${1+"$@"} exit $EXIT_FAILURE } # func_help # --------- # Echo long help message to standard output and exit. func_help () { $debug_cmd func_usage_message $ECHO "$long_help_message" exit 0 } # func_missing_arg ARGNAME # ------------------------ # Echo program name prefixed message to standard error and set global # exit_cmd. func_missing_arg () { $debug_cmd func_error "Missing argument for '$1'." exit_cmd=exit } # func_split_equals STRING # ------------------------ # Set func_split_equals_lhs and func_split_equals_rhs shell variables after # splitting STRING at the '=' sign. test -z "$_G_HAVE_XSI_OPS" \ && (eval 'x=a/b/c; test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ && _G_HAVE_XSI_OPS=yes if test yes = "$_G_HAVE_XSI_OPS" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_split_equals () { $debug_cmd func_split_equals_lhs=${1%%=*} func_split_equals_rhs=${1#*=} test "x$func_split_equals_lhs" = "x$1" \ && func_split_equals_rhs= }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_split_equals () { $debug_cmd func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'` func_split_equals_rhs= test "x$func_split_equals_lhs" = "x$1" \ || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'` } fi #func_split_equals # 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. if test yes = "$_G_HAVE_XSI_OPS" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_split_short_opt () { $debug_cmd func_split_short_opt_arg=${1#??} func_split_short_opt_name=${1%"$func_split_short_opt_arg"} }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_split_short_opt () { $debug_cmd func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'` func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'` } fi #func_split_short_opt # func_usage # ---------- # Echo short help message to standard output and exit. func_usage () { $debug_cmd func_usage_message $ECHO "Run '$progname --help |${PAGER-more}' for full usage" exit 0 } # func_usage_message # ------------------ # Echo short help message to standard output. func_usage_message () { $debug_cmd eval \$ECHO \""Usage: $usage"\" echo $SED -n 's|^# || /^Written by/{ x;p;x } h /^Written by/q' < "$progpath" echo eval \$ECHO \""$usage_message"\" } # func_version # ------------ # Echo version message to standard output and exit. func_version () { $debug_cmd printf '%s\n' "$progname $scriptversion" $SED -n ' /(C)/!b go :more /\./!{ N s|\n# | | b more } :go /^# Written by /,/# warranty; / { s|^# || s|^# *$|| s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2| p } /^# Written by / { s|^# || p } /^warranty; /q' < "$progpath" exit $? } # Local variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-time-zone: "UTC" # End: # Set a version string. scriptversion='(GNU libtool) 2.4.6' # func_echo ARG... # ---------------- # Libtool also displays the current mode in messages, so override # funclib.sh func_echo with this custom definition. func_echo () { $debug_cmd _G_message=$* func_echo_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_IFS $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line" done IFS=$func_echo_IFS } # func_warning ARG... # ------------------- # Libtool warnings are not categorized, so override funclib.sh # func_warning with this simpler definition. func_warning () { $debug_cmd $warning_func ${1+"$@"} } ## ---------------- ## ## Options parsing. ## ## ---------------- ## # Hook in the functions to make sure our own options are parsed during # the option parsing loop. usage='$progpath [OPTION]... [MODE-ARG]...' # Short help message in response to '-h'. usage_message="Options: --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 --no-warnings equivalent to '-Wnone' --preserve-dup-deps don't remove duplicate dependency libraries --quiet, --silent don't print informational messages --tag=TAG use configuration variables from tag TAG -v, --verbose print more informational messages than default --version print version information -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] -h, --help, --help-all print short, long, or detailed help message " # Additional text appended to 'usage_message' in response to '--help'. func_help () { $debug_cmd func_usage_message $ECHO "$long_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) version: $progname (GNU libtool) 2.4.6 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` Report bugs to . GNU libtool home page: . General help using GNU software: ." exit 0 } # func_lo2o OBJECT-NAME # --------------------- # Transform OBJECT-NAME from a '.lo' suffix to the platform specific # object suffix. lo2o=s/\\.lo\$/.$objext/ o2lo=s/\\.$objext\$/.lo/ if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_lo2o () { case $1 in *.lo) func_lo2o_result=${1%.lo}.$objext ;; * ) func_lo2o_result=$1 ;; esac }' # func_xform LIBOBJ-OR-SOURCE # --------------------------- # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise) # suffix to a '.lo' libtool-object suffix. eval 'func_xform () { func_xform_result=${1%.*}.lo }' else # ...otherwise fall back to using sed. func_lo2o () { func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"` } func_xform () { func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'` } fi # func_fatal_configuration ARG... # ------------------------------- # Echo program name prefixed message to standard error, followed by # a configuration failure hint, and exit. func_fatal_configuration () { func__fatal_error ${1+"$@"} \ "See the $PACKAGE documentation for more information." \ "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 yes = "$build_libtool_libs"; then echo "enable shared libraries" else echo "disable shared libraries" fi if test yes = "$build_old_libs"; 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 } # libtool_options_prep [ARG]... # ----------------------------- # Preparation for options parsed by libtool. libtool_options_prep () { $debug_mode # Option defaults: opt_config=false opt_dlopen= opt_dry_run=false opt_help=false opt_mode= opt_preserve_dup_deps=false opt_quiet=false nonopt= preserve_args= # 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 # Pass back the list of options. func_quote_for_eval ${1+"$@"} libtool_options_prep_result=$func_quote_for_eval_result } func_add_hook func_options_prep libtool_options_prep # libtool_parse_options [ARG]... # --------------------------------- # Provide handling for libtool specific options. libtool_parse_options () { $debug_cmd # Perform our own loop to consume as many options as possible in # each iteration. while test $# -gt 0; do _G_opt=$1 shift case $_G_opt in --dry-run|--dryrun|-n) opt_dry_run=: ;; --config) func_config ;; --dlopen|-dlopen) opt_dlopen="${opt_dlopen+$opt_dlopen }$1" shift ;; --preserve-dup-deps) opt_preserve_dup_deps=: ;; --features) func_features ;; --finish) set dummy --mode finish ${1+"$@"}; shift ;; --help) opt_help=: ;; --help-all) opt_help=': help-all' ;; --mode) test $# = 0 && func_missing_arg $_G_opt && break opt_mode=$1 case $1 in # Valid mode arguments: clean|compile|execute|finish|install|link|relink|uninstall) ;; # Catch anything else as an error *) func_error "invalid argument for $_G_opt" exit_cmd=exit break ;; esac shift ;; --no-silent|--no-quiet) opt_quiet=false func_append preserve_args " $_G_opt" ;; --no-warnings|--no-warning|--no-warn) opt_warning=false func_append preserve_args " $_G_opt" ;; --no-verbose) opt_verbose=false func_append preserve_args " $_G_opt" ;; --silent|--quiet) opt_quiet=: opt_verbose=false func_append preserve_args " $_G_opt" ;; --tag) test $# = 0 && func_missing_arg $_G_opt && break opt_tag=$1 func_append preserve_args " $_G_opt $1" func_enable_tag "$1" shift ;; --verbose|-v) opt_quiet=false opt_verbose=: func_append preserve_args " $_G_opt" ;; # An option not handled by this hook function: *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; esac done # save modified positional parameters for caller func_quote_for_eval ${1+"$@"} libtool_parse_options_result=$func_quote_for_eval_result } func_add_hook func_parse_options libtool_parse_options # libtool_validate_options [ARG]... # --------------------------------- # Perform any sanity checks on option settings and/or unconsumed # arguments. libtool_validate_options () { # save first non-option argument if test 0 -lt $#; then nonopt=$1 shift fi # preserve --debug test : = "$debug_cmd" || func_append preserve_args " --debug" case $host in # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452 # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*) # 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 test yes != "$build_libtool_libs" \ && test yes != "$build_old_libs" \ && func_fatal_configuration "not configured to build any kind of library" # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Only execute mode is allowed to have -dlopen flags. if test -n "$opt_dlopen" && test execute != "$opt_mode"; 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." } # Pass back the unparsed argument list func_quote_for_eval ${1+"$@"} libtool_validate_options_result=$func_quote_for_eval_result } func_add_hook func_validate_options libtool_validate_options # Process options as early as possible so that --help and --version # can return quickly. func_options ${1+"$@"} eval set dummy "$func_options_result"; shift ## ----------- ## ## Main. ## ## ----------- ## magic='%%%MAGIC variable%%%' magic_exe='%%%MAGIC EXE variable%%%' # Global variables. 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= # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } # func_generated_by_libtool # True iff stdin has been generated by Libtool. This function is only # a basic sanity check; it will hardly flush out determined imposters. func_generated_by_libtool_p () { $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 } # 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 | func_generated_by_libtool_p } # 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 yes = "$lalib_p" } # 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 () { test -f "$1" && $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p } # 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 () { $debug_cmd save_ifs=$IFS; IFS='~' for cmd in $1; do IFS=$sp$nl eval cmd=\"$cmd\" IFS=$save_ifs 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 () { $debug_cmd 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 () { $debug_cmd 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 yes = "$build_libtool_libs"; then write_lobj=\'$2\' else write_lobj=none fi if test yes = "$build_old_libs"; 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 "$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 () { $debug_cmd # 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 () { $debug_cmd 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 () { $debug_cmd # awkward: cmd appends spaces to result func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | $SED -e 's/[ ]*$//' -e "$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 () { $debug_cmd 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 () { $debug_cmd 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 () { $debug_cmd 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 () { $debug_cmd $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 () { $debug_cmd 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 () { $debug_cmd 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 () { $debug_cmd 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 () { $debug_cmd 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 () { $debug_cmd 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 () { $debug_cmd 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 () { $debug_cmd 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 () { $debug_cmd 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 () { $debug_cmd 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 () { $debug_cmd 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 () { $debug_cmd 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 () { $debug_cmd 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 () { $debug_cmd 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_dll_def_p FILE # True iff FILE is a Windows DLL '.def' file. # Keep in sync with _LT_DLL_DEF_P in libtool.m4 func_dll_def_p () { $debug_cmd func_dll_def_p_tmp=`$SED -n \ -e 's/^[ ]*//' \ -e '/^\(;.*\)*$/d' \ -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \ -e q \ "$1"` test DEF = "$func_dll_def_p_tmp" } # func_mode_compile arg... func_mode_compile () { $debug_cmd # 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 | *.go | *.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 yes = "$build_libtool_libs" \ || func_fatal_configuration "cannot 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 yes = "$build_old_libs"; 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 no = "$pic_mode" && test pass_all != "$deplibs_check_method"; 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 no = "$compiler_c_o"; 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 yes = "$need_locks"; 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 warn = "$need_locks"; 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 yes = "$build_libtool_libs"; then # Without this assignment, base_compile gets emptied. fbsd_hideous_sh_bug=$base_compile if test no != "$pic_mode"; 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 warn = "$need_locks" && 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 yes = "$suppress_opt"; then suppress_output=' >/dev/null 2>&1' fi fi # Only build a position-dependent object if we build old libraries. if test yes = "$build_old_libs"; then if test yes != "$pic_mode"; then # Don't build PIC code command="$base_compile $qsrcfile$pie_flag" else command="$base_compile $qsrcfile $pic_flag" fi if test yes = "$compiler_c_o"; 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 warn = "$need_locks" && 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 no != "$need_locks"; then removelist=$lockfile $RM "$lockfile" fi } exit $EXIT_SUCCESS } $opt_help || { test compile = "$opt_mode" && 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 -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes) -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 () { $debug_cmd # 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 $opt_dry_run; then # 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 else 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 fi } test execute = "$opt_mode" && func_mode_execute ${1+"$@"} # func_mode_finish arg... func_mode_finish () { $debug_cmd 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_quiet && 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 finish = "$opt_mode" && func_mode_finish ${1+"$@"} # func_mode_install arg... func_mode_install () { $debug_cmd # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" || # 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=false 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=: ;; -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-m = "X$prev" && 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=: if $isdir; 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 ;; os2*) 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 yes = "$build_old_libs"; 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=: 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'` if test -n "$libdir" && test ! -f "$libfile"; then func_warning "'$lib' has not been installed in '$libdir'" finalize=false fi done relink_command= func_source "$wrapper" outputname= if test no = "$fast_install" && test -n "$relink_command"; then $opt_dry_run || { if $finalize; 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_quiet || { 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_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result func_show_eval "$install_prog \$file \$oldlib" 'exit $?' if test -n "$stripme" && test -n "$old_striplib"; then func_show_eval "$old_striplib $tool_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 install = "$opt_mode" && 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 () { $debug_cmd my_outputname=$1 my_originator=$2 my_pic_p=${3-false} my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'` my_dlsyms= if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; 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) $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 can'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 #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) /* External symbol declarations for the compiler. */\ " if test yes = "$dlself"; 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 func_show_eval '$RM "${nlist}I"' if test -n "$global_symbol_to_import"; then eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I' 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[];\ " if test -s "$nlist"I; then echo >> "$output_objdir/$my_dlsyms" "\ static void lt_syminit(void) { LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols; for (; symbol->name; ++symbol) {" $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms" echo >> "$output_objdir/$my_dlsyms" "\ } }" fi echo >> "$output_objdir/$my_dlsyms" "\ LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = { {\"$my_originator\", (void *) 0}," if test -s "$nlist"I; then echo >> "$output_objdir/$my_dlsyms" "\ {\"@INIT@\", (void *) <_syminit}," fi 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" ;; *) $my_pic_p && pic_flag_for_symtable=" $pic_flag" ;; 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" "${nlist}I"' # 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_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 () { $debug_cmd 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 () { $debug_cmd 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_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 () { $debug_cmd 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 case $nm_interface in "MS dumpbin") if func_cygming_ms_implib_p "$1" || func_cygming_gnu_implib_p "$1" then win32_nmres=import else win32_nmres= fi ;; *) 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 } }'` ;; esac 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 () { $debug_cmd 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 () { $debug_cmd 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 that possess that section. Heuristic: eliminate # all those that 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_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 () { $debug_cmd 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 () { $debug_cmd f_ex_an_ar_dir=$1; shift f_ex_an_ar_oldlib=$1 if test yes = "$lock_old_archive_extraction"; 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 yes = "$lock_old_archive_extraction"; 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 () { $debug_cmd 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` func_basename "$darwin_archive" darwin_base_archive=$func_basename_result 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 "$sed_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 where 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) $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/ that is used only on # windows platforms, and (c) all begin with the string "--lt-" # (application programs are unlikely to have options that 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) $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 () { case \" \$* \" in *\\ --lt-*) for lt_wr_arg do case \$lt_wr_arg in --lt-*) ;; *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; esac shift done ;; esac 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 yes = "$fast_install"; 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 yes = "$shlibpath_overrides_runpath" && 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 #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) /* 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_platform || defined ... */ #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 #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 (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]; size_t 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 = (size_t) (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 (STREQ (str, pat)) *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 size_t 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) { size_t orig_value_len = strlen (orig_value); size_t 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 #' */ size_t len = strlen (new_value); while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1])) { new_value[--len] = '\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 -n -e ' s/^\(.\{79\}\)\(..*\)/\1\ \2/ h s/\([\\"]\)/\\\1/g s/$/\\n/ s/\([^\n]*\).*/ fputs ("\1", f);/p g D' 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 () { $debug_cmd case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in *import*) : ;; *) false ;; esac } # func_suncc_cstd_abi # !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!! # Several compiler flags select an ABI that is incompatible with the # Cstd library. Avoid specifying it if any are in CXXFLAGS. func_suncc_cstd_abi () { $debug_cmd case " $compile_command " in *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) suncc_use_cstd_abi=no ;; *) suncc_use_cstd_abi=yes ;; esac } # func_mode_link arg... func_mode_link () { $debug_cmd 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 # what 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 that 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= os2dllname= non_pic_objects= precious_files_regex= prefer_static_libs=no preload=false 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 yes != "$build_libtool_libs" \ && func_fatal_configuration "cannot build a shared library" build_old_libs=no break ;; -all-static | -static | -static-libtool-libs) case $arg in -all-static) if test yes = "$build_libtool_libs" && 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) $preload || { # Add the symbol object into the linking commands. func_append compile_command " @SYMFILE@" func_append finalize_command " @SYMFILE@" preload=: } case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test no = "$dlself"; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test dlprefiles = "$prev"; then dlself=yes elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test dlfiles = "$prev"; 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 ;; mllvm) # Clang does not use LLVM to link, so we can simply discard any # '-mllvm $arg' options when doing the link step. 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 none = "$pic_object" && test none = "$non_pic_object"; 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 none != "$pic_object"; then # Prepend the subdirectory the object is found in. pic_object=$xdir$pic_object if test dlfiles = "$prev"; then if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; 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 dlprefiles = "$prev"; 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 none != "$non_pic_object"; 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 none = "$pic_object"; 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 ;; os2dllname) os2dllname=$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 rpath = "$prev"; 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-export-symbols = "X$arg"; 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-lc = "X$arg" || test X-lm = "X$arg"; 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-lc = "X$arg" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) # Do not include libc due to us having libc/libc_r. test X-lc = "X$arg" && 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-lc = "X$arg" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test X-lc = "X$arg" && continue ;; esac elif test X-lc_r = "X$arg"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi func_append deplibs " $arg" continue ;; -mllvm) prev=mllvm 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|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) 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 ;; -os2dllname) prev=os2dllname 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 # -fstack-protector* stack protector flags for GCC # @file GCC response files # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization # -stdlib=* select c++ std lib with clang -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*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*) 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 ;; -Z*) if test os2 = "`expr $host : '.*\(os2\)'`"; then # OS/2 uses -Zxxx to specify OS/2-specific options compiler_flags="$compiler_flags $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case $arg in -Zlinker | -Zstack) prev=xcompiler ;; esac continue else # Otherwise treat like 'Some other compiler flag' below func_quote_for_eval "$arg" arg=$func_quote_for_eval_result fi ;; # 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 none = "$pic_object" && test none = "$non_pic_object"; then func_fatal_error "cannot find name of object for '$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result test none = "$pic_object" || { # Prepend the subdirectory the object is found in. pic_object=$xdir$pic_object if test dlfiles = "$prev"; then if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; 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 dlprefiles = "$prev"; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg=$pic_object } # Non-PIC object. if test none != "$non_pic_object"; 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 none = "$pic_object"; 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 dlfiles = "$prev"; then # This library was specified with -dlopen. func_append dlfiles " $func_resolve_sysroot_result" prev= elif test dlprefiles = "$prev"; 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 yes = "$export_dynamic" && 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\" # Definition is injected by LT_CONFIG during libtool generation. func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH" 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 lib = "$linkmode"; 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=false 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 lib,link = "$linkmode,$pass"; 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 lib,link = "$linkmode,$pass" || test prog,scan = "$linkmode,$pass"; then libs=$deplibs deplibs= fi if test prog = "$linkmode"; then case $pass in dlopen) libs=$dlfiles ;; dlpreopen) libs=$dlprefiles ;; link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; esac fi if test lib,dlpreopen = "$linkmode,$pass"; 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 dlopen = "$pass"; then # Collect dlpreopened libraries save_deplibs=$deplibs deplibs= fi for deplib in $libs; do lib= found=false case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append compiler_flags " $deplib" if test lib = "$linkmode"; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -l*) if test lib != "$linkmode" && test prog != "$linkmode"; then func_warning "'-l' is ignored for archives/objects" continue fi func_stripname '-l' '' "$deplib" name=$func_stripname_result if test lib = "$linkmode"; 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 .la = "$search_ext"; then found=: else found=false fi break 2 fi done done if $found; then # 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 yes = "$allow_libtool_libs_with_static_runtimes"; 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=false func_dirname "$lib" "" "." ladir=$func_dirname_result lib=$ladir/$old_library if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi else # deplib doesn't seem to be a libtool library if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" fi continue fi ;; # -l *.ltframework) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" if test lib = "$linkmode"; 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 conv = "$pass" && 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 conv = "$pass"; then deplibs="$deplib $deplibs" continue fi if test scan = "$pass"; 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 link = "$pass"; 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 conv = "$pass"; 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=false 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=: fi ;; pass_all) valid_a_lib=: ;; esac if $valid_a_lib; then echo $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" else 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." fi ;; esac continue ;; prog) if test link != "$pass"; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test conv = "$pass"; then deplibs="$deplib $deplibs" elif test prog = "$linkmode"; then if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; 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=: continue ;; esac # case $deplib $found || test -f "$lib" \ || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'" # 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 lib,link = "$linkmode,$pass" || test prog,scan = "$linkmode,$pass" || { test prog != "$linkmode" && test lib != "$linkmode"; }; then test -n "$dlopen" && func_append dlfiles " $dlopen" test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" fi if test conv = "$pass"; 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 prog != "$linkmode" && test lib != "$linkmode"; 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 yes = "$prefer_static_libs" || test built,no = "$prefer_static_libs,$installed"; }; 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 dlopen = "$pass"; then test -z "$libdir" \ && func_fatal_error "cannot -dlopen a convenience library: '$lib'" if test -z "$dlname" || test yes != "$dlopen_support" || test no = "$build_libtool_libs" 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 yes = "$installed"; 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 yes = "$hardcode_automatic" && 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 dlpreopen = "$pass"; then if test -z "$libdir" && test prog = "$linkmode"; 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 lib = "$linkmode"; then deplibs="$dir/$old_library $deplibs" elif test prog,link = "$linkmode,$pass"; 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 prog = "$linkmode" && test link != "$pass"; then func_append newlib_search_path " $ladir" deplibs="$lib $deplibs" linkalldeplibs=false if test no != "$link_all_deplibs" || test -z "$library_names" || test no = "$build_libtool_libs"; then linkalldeplibs=: 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 $linkalldeplibs; 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 prog,link = "$linkmode,$pass"; then if test -n "$library_names" && { { test no = "$prefer_static_libs" || test built,yes = "$prefer_static_libs,$installed"; } || 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 $alldeplibs && { test pass_all = "$deplibs_check_method" || { test yes = "$build_libtool_libs" && 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 built = "$use_static_libs" && test yes = "$installed"; then use_static_libs=no fi if test -n "$library_names" && { test no = "$use_static_libs" || test -z "$old_library"; }; then case $host in *cygwin* | *mingw* | *cegcc* | *os2*) # No point in relinking DLLs because paths are not encoded func_append notinst_deplibs " $lib" need_relink=no ;; *) if test no = "$installed"; 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 yes = "$shouldnotlink" && test link = "$pass"; then echo if test prog = "$linkmode"; 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 lib = "$linkmode" && test yes = "$hardcode_into_libs"; 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* | *os2*) 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 prog = "$linkmode" || test relink != "$opt_mode"; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test no = "$hardcode_direct"; 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 cannot # 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 no = "$hardcode_minus_L"; then case $host in *-*-sunos*) add_shlibpath=$dir ;; esac add_dir=-L$dir add=-l$name elif test no = "$hardcode_shlibpath_var"; then add_shlibpath=$dir add=-l$name else lib_linked=no fi ;; relink) if test yes = "$hardcode_direct" && test no = "$hardcode_direct_absolute"; then add=$dir/$linklib elif test yes = "$hardcode_minus_L"; then add_dir=-L$absdir # 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 yes = "$hardcode_shlibpath_var"; then add_shlibpath=$dir add=-l$name else lib_linked=no fi ;; *) lib_linked=no ;; esac if test yes != "$lib_linked"; 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 prog = "$linkmode"; 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 yes != "$hardcode_direct" && test yes != "$hardcode_minus_L" && test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac fi fi fi if test prog = "$linkmode" || test relink = "$opt_mode"; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test yes = "$hardcode_direct" && test no = "$hardcode_direct_absolute"; then add=$libdir/$linklib elif test yes = "$hardcode_minus_L"; then add_dir=-L$libdir add=-l$name elif test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac add=-l$name elif test yes = "$hardcode_automatic"; 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 prog = "$linkmode"; 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 prog = "$linkmode"; 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 unsupported != "$hardcode_direct"; 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 yes = "$build_libtool_libs"; then # Not a shared library if test pass_all != "$deplibs_check_method"; 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 cannot 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 yes = "$module"; 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 no = "$build_old_libs"; 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 lib = "$linkmode"; then if test -n "$dependency_libs" && { test yes != "$hardcode_into_libs" || test yes = "$build_old_libs" || test yes = "$link_static"; }; 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 no = "$link_static" && 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 no != "$link_all_deplibs"; 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 link = "$pass"; then if test prog = "$linkmode"; 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 dlpreopen = "$pass"; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test dlopen != "$pass"; then test conv = "$pass" || { # 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= } if test prog,link = "$linkmode,$pass"; then vars="compile_deplibs finalize_deplibs" else vars=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 # Add Sun CC postdeps if required: test CXX = "$tagname" && { case $host_os in linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 func_suncc_cstd_abi if test no != "$suncc_use_cstd_abi"; then func_append postdeps ' -library=Cstd -library=Crun' fi ;; esac ;; solaris*) func_cc_basename "$CC" case $func_cc_basename_result in CC* | sunCC*) func_suncc_cstd_abi if test no != "$suncc_use_cstd_abi"; then func_append postdeps ' -library=Cstd -library=Crun' fi ;; esac ;; esac } # 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 prog = "$linkmode"; then dlfiles=$newdlfiles fi if test prog = "$linkmode" || test lib = "$linkmode"; then dlprefiles=$newdlprefiles fi case $linkmode in oldlib) if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; 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 no = "$module" \ && func_fatal_help "libtool library '$output' must begin with 'lib'" if test no != "$need_lib_prefix"; 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 pass_all != "$deplibs_check_method"; 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 no = "$dlself" \ || func_warning "'-dlopen self' is ignored for libtool libraries" set dummy $rpath shift test 1 -lt "$#" \ && func_warning "ignoring multiple '-rpath's for a libtool library" install_libdir=$1 oldlibs= if test -z "$rpath"; then if test yes = "$build_libtool_libs"; 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 # that has an extra 1 added just for fun # case $version_type in # correct linux to gnu/linux during the next big refactor darwin|freebsd-elf|linux|osf|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age=$number_minor revision=$number_revision ;; freebsd-aout|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" # On Darwin other compilers case $CC in nagfor*) verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" ;; *) verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; esac ;; freebsd-aout) major=.$current versuffix=.$current.$revision ;; freebsd-elf) func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision ;; irix | nonstopux) if test no = "$lt_irix_increment"; 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 0 -ne "$loop"; 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) # correct to gnu/linux during the next big refactor 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 0 -ne "$loop"; 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 ;; sco) major=.$current versuffix=.$current ;; sunos) major=.$current versuffix=.$current.$revision ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 file systems. 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 no = "$need_version"; then versuffix= else versuffix=.0.0 fi fi # Remove version info from name if versioning should be avoided if test yes,no = "$avoid_version,$need_version"; then major= versuffix= verstring= fi # Check to see if the archive will have undefined symbols. if test yes = "$allow_undefined"; then if test unsupported = "$allow_undefined_flag"; then if test yes = "$build_old_libs"; then func_warning "undefined symbols not allowed in $host shared libraries; building static only" build_libtool_libs=no else func_fatal_error "can't build $host shared library unless -no-undefined is specified" fi fi else # Don't allow undefined symbols. allow_undefined_flag=$no_undefined_flag fi fi func_generate_dlsyms "$libname" "$libname" : func_append libobjs " $symfileobj" test " " = "$libobjs" && libobjs= if test relink != "$opt_mode"; 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 -n "$precious_files_regex"; 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 yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; 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 yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; 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 yes = "$build_libtool_libs"; 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 yes = "$build_libtool_need_lc"; 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 yes = "$allow_libtool_libs_with_static_runtimes"; 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 yes = "$allow_libtool_libs_with_static_runtimes"; 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 none = "$deplibs_check_method"; 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 yes = "$droppeddeps"; then if test yes = "$module"; 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 no = "$build_old_libs"; 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 no = "$allow_undefined"; 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 no = "$build_old_libs"; 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 yes = "$build_libtool_libs"; then # Remove $wl instances when linking with ld. # FIXME: should test the right _cmds variable. case $archive_cmds in *\$LD\ *) wl= ;; esac if test yes = "$hardcode_into_libs"; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath=$finalize_rpath test relink = "$opt_mode" || 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_append 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 "dep_rpath=\"$hardcode_libdir_flag_spec\"" 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 relink = "$opt_mode" || 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 func_dll_def_p "$export_symbols" || { # 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 ;; esac # Prepare the list of exported symbols if test -z "$export_symbols"; then if test yes = "$always_export_symbols" || 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 yes = "$try_normal_branch" \ && { 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 : != "$skipped_export"; 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 : != "$skipped_export" && 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 yes = "$compiler_needs_object" && 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 yes = "$thread_safe" && 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 relink = "$opt_mode"; 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 yes = "$module" && 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 : != "$skipped_export" && 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 : != "$skipped_export" && test yes = "$with_gnu_ld"; 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 : != "$skipped_export" && test -n "$file_list_spec"; then output=$output_objdir/$output_la.lnk func_verbose "creating linker input file list: $output" : > $output set x $save_libobjs shift firstobj= if test yes = "$compiler_needs_object"; 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 -z "$objlist" || 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 1 -eq "$k"; 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 ${skipped_export-false} && { 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 } 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_quiet || { 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 relink = "$opt_mode"; 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 ${skipped_export-false} && { 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 } 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 yes = "$module" && 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=$sp$nl eval cmd=\"$cmd\" IFS=$save_ifs $opt_quiet || { 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 relink = "$opt_mode"; 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 relink = "$opt_mode"; 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 yes = "$module" || test yes = "$export_dynamic"; then # On all known operating systems, these are identical. dlname=$soname fi fi ;; obj) if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; 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= # if reload_cmds runs $LD directly, get rid of -Wl from # whole_archive_flag_spec and hope we can get by with turning comma # into space. case $reload_cmds in *\$LD[\ \$]*) wl= ;; esac if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags 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 yes = "$build_libtool_libs" || 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 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 test yes = "$build_libtool_libs" || { 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 } if test -n "$pic_flag" || test default != "$pic_mode"; 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" $preload \ && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \ && 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 CXX = "$tagname"; 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 yes = "$build_old_libs"; 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@" false # template prelinking step if test -n "$prelink_cmds"; then func_execute_cmds "$prelink_cmds" 'exit $?' fi wrappers_required=: case $host in *cegcc* | *mingw32ce*) # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. wrappers_required=false ;; *cygwin* | *mingw* ) test yes = "$build_libtool_libs" || wrappers_required=false ;; *) if test no = "$need_relink" || test yes != "$build_libtool_libs"; then wrappers_required=false fi ;; esac $wrappers_required || { # 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 } 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 yes = "$no_install"; 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 case $hardcode_action,$fast_install in relink,*) # 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" ;; *,yes) link_command=$finalize_var$compile_command$finalize_rpath relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` ;; *,no) link_command=$compile_var$compile_command$compile_rpath relink_command=$finalize_var$finalize_command$finalize_rpath ;; *,needless) link_command=$finalize_var$compile_command$finalize_rpath relink_command= ;; esac # 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 case $build_libtool_libs in convenience) oldobjs="$libobjs_save $symfileobj" addlibs=$convenience build_libtool_libs=no ;; module) oldobjs=$libobjs_save addlibs=$old_convenience build_libtool_libs=no ;; *) oldobjs="$old_deplibs $non_pic_objects" $preload && test -f "$symfileobj" \ && func_append oldobjs " $symfileobj" addlibs=$old_convenience ;; esac 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 yes = "$build_libtool_libs"; 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 func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result 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 -z "$oldobjs"; 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 yes = "$build_old_libs" && 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 yes = "$hardcode_automatic"; then relink_command= fi # Only create the output if not a dry run. $opt_dry_run || { for installed in no yes; do if test yes = "$installed"; 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 func_resolve_sysroot "$deplib" eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` 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 -n "$bindir"; 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) $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 cannot 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 no,yes = "$installed,$need_relink"; 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 } if test link = "$opt_mode" || test relink = "$opt_mode"; then func_mode_link ${1+"$@"} fi # func_mode_uninstall arg... func_mode_uninstall () { $debug_cmd RM=$nonopt files= rmforce=false 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=: ;; -*) 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 . = "$dir"; then odir=$objdir else odir=$dir/$objdir fi func_basename "$file" name=$func_basename_result test uninstall = "$opt_mode" && odir=$dir # Remember odir for removal later, being careful to avoid duplicates if test clean = "$opt_mode"; 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 $rmforce; 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" '$rmforce || exit_status=1' fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. func_execute_cmds "$old_postuninstall_cmds" '$rmforce || 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 none != "$pic_object"; 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 none != "$non_pic_object"; then func_append rmfiles " $dir/$non_pic_object" fi fi ;; *) if test clean = "$opt_mode"; 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 yes = "$fast_install" && 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 } if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then func_mode_uninstall ${1+"$@"} fi 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 # where 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: idjc-0.8.15/man/0000755000175000017500000000000012556740340010300 500000000000000idjc-0.8.15/man/Makefile.am0000644000175000017500000000142412231151346012245 00000000000000SUBDIRS = fr 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) $(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.15/man/idjc-ls.1_0000644000175000017500000000066412220016605011760 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.15/man/idjc.1_0000644000175000017500000000266412220016605011346 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.15/man/idjc-noauto.1_0000644000175000017500000000066612220016605012651 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.15/man/see_also.part0000644000175000017500000000011712220016605012665 00000000000000 .I .PP SEE_ALSO .PP SEE_ALSO .PP .BR jackd (1) idjc-0.8.15/man/idjc-rm.1_0000644000175000017500000000070612220016605011755 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.15/man/idjc-new.1_0000644000175000017500000000212212220016605012122 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.15/man/reporting_bugs.part0000644000175000017500000000047012220016605014126 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.15/man/fr/0000755000175000017500000000000012556740340010707 500000000000000idjc-0.8.15/man/fr/idjc-ls.1_0000644000175000017500000000075312404535467012406 00000000000000.TH "IDJC-LS" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NOM idjc\-ls \- Affiche les informations relatives aux profiles .SH SYNOPSIS .P idjc ls [\-h] .SH DESCRIPTION .P En utilisant la sous\-commande ls il est possible de voir quels profiles sont en cours d'exécution. Le format d'affichage est le suivant : [auto] [profile] [uptime] [*nickname] [*description]. *=si présent. .SS Options .B \-h, \-\-help .RS Affiche un message d'aide. .RE .SH RAPPORTER DES BOGUES .SH VOIR AUSSI idjc-0.8.15/man/fr/idjc-rm.1_0000644000175000017500000000076112404535467012405 00000000000000.TH "IDJC-RM" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NOM idjc\-rm \- Supprimer des profiles .SH SYNOPSIS .P idjc rm [\-h] nom_de_profile [nom_de_profile…] .SH DESCRIPTION Supprime un ou des profiles .B idjc du dossier de configuration correspondant .SS Options .B \-h, \-\-help .RS Affiche un message d'aide .RE .PP .SS Obligatoire .B nom_de_profile .RS Le nom du profile à supprimer. Des profiles additionnels peuvent être spécifiés. .RE .SH RAPPORTER DES BOGUES .SH VOIR AUSSI idjc-0.8.15/man/fr/Makefile.in0000644000175000017500000005040612555351751012704 00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 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__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) 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@ target_triplet = @target@ subdir = man/fr DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(dist_noinst_DATA) 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_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = 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) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 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@ DYLIB_EXT = @DYLIB_EXT@ 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@ GIT_PROG_EXISTS = @GIT_PROG_EXISTS@ 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_SWRESAMPLE = @HAVE_SWRESAMPLE@ 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@ LIBSWRESAMPLE_CFLAGS = @LIBSWRESAMPLE_CFLAGS@ LIBSWRESAMPLE_LIBS = @LIBSWRESAMPLE_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@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ 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@ idjcpkgpythondir = @idjcpkgpythondir@ idjcpythondir = @idjcpythondir@ 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 = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ 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/fr/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu man/fr/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) ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ 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-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ 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-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ 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 $(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 distclean-tags 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: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libtool clean-local cscopelist-am ctags ctags-am \ 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-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 tags tags-am uninstall uninstall-am uninstall-man \ uninstall-man1 $(TARGETS) : $(COMMON) Makefile.am .1_.1: @sed -e 's|VERSION|${PACKAGE_NAME}-${PACKAGE_VERSION}|' \ -e '/.SH RAPPORTER DES BOGUES/r ./reporting_bugs.part' \ -e '/.SH VOIR AUSSI/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.15/man/fr/Makefile.am0000644000175000017500000000141612404535467012671 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 RAPPORTER DES BOGUES/r ./reporting_bugs.part' \ -e '/.SH VOIR AUSSI/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.15/man/fr/see_also.part0000644000175000017500000000011712404535470013306 00000000000000 .I .PP SEE_ALSO .PP SEE_ALSO .PP .BR jackd (1) idjc-0.8.15/man/fr/idjc-new.1_0000644000175000017500000000225712404535467012562 00000000000000.TH "IDJC-NEW" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NOM idjc\-new \- Create a new profile .SH SYNOPSIS .P idjc new [\-h] [\-t profile_exemple] [\-i chemin_icone] [\-n pseudo] [\-d description] nom_de_profile .SH DESCRIPTION Chaque instance de .B idjc nécessite son propre profile et cette commande va en créer un. Cette tâche peut aussi être exécutée depuis l'interface utilisateur du programme principale. .SS Options .B \-h, \-\-help .RS Affiche un message d'aide. .RE .PP .BR "\-t, \-\-templateprofile" =PROFILE .RS PROFILE=un profile existant à dupliquer. .RE .PP .BR "\-i, \-\-icon\-pathname" =ICONE .RS ICON=le chemin vers un fichier image ex. : un fichier .png .RE .PP .BR "\-n, \-\-nickname" =PSEUDO .RS PSEUDO=un nom alternatif pour le profile. Contrairement au profile, n'importe quel caractère unicode est autorisé. .RE .PP .BR "\-d, \-\-description" =DESC .RS DESC=un texte de description. Un texte pour décrivant votre profile, ce à quoi il est destiné. .RE .PP .SS Obligatoire .B nom_de_profile .RS Le nom du nouveau profile. Limité aux lettres et chiffres du jeu ASCII et «_» le sous-ligné. .RE .SH RAPPORTER DES BOGUESS .SH VOIR AUSSI idjc-0.8.15/man/fr/idjc.1_0000644000175000017500000000317412404535467011772 00000000000000.TH "IDJC" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NOM idjc \- Devenez dj sur internet .SH SYNOPSIS idjc [\-h] [\-v] {run,new,rm,auto,noauto,ls} .SH DESCRIPTION .B idjc est application une puissante et simple pour les personnes intéressées par le streaming de radio en direct sur Internet utilisant des serveurs Shoutcast et Icecast ou par la création de podcasts. Les fonctionalités incluent deux lecteurs média principaux avec crossfader, un lecteur de jingles, un traitement de signal microphone (limiteur, noise gate, etc.), des anonces IRC, le démarrage/arret automatique du flux et la reconnection, le streaming simultané en mp3 et Ogg, jusqu'à 12 canaux d'entrées mono ou 6 stéréo, une interface DSP, l'intégration de la VoIP, le support du contrôle par surfaces MIDI et des vumètres de niveaux audio. Il utilise GTK+ pour son interface et JACK Audio Connection Kit pour faciliter l'inclusion d'applications tierces supportant JACK dans leur chaine audio. .SS Options .B \-h, \-\-help .RS Affiche un message d'aide .RE .PP .B \-v, \-\-version .RS Affiche le numéro de version et quite. .RE .SS .BR Sous\-commandes " (chacune possède sa propre page de manuel)" .B run .RS Exécute l'application principale .B idjc . (C'est l'option par défaut) .RE .PP .B new .RS Créé un nouveau profile. .RE .PP .B rm .RS Supprime un ou des profiles. .RE .PP .B auto .RS Sélectionne automatiquement quel profile sera lancé. .RE .PP .B noauto .RS Supprime le commutateur lancement\-automatique. .RE .PP .B ls .RS Liste les profiles disponibles. Affiche également les temps de fonctionnement. .RE .SH RAPPORTER DES BOGUES .SH VOIR AUSSI idjc-0.8.15/man/fr/idjc-noauto.1_0000644000175000017500000000072712404535467013276 00000000000000.TH "IDJC-NOAUTO" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NOM idjc-noauto \- Pas de profile automatique .SH SYNOPSIS .P idjc noauto [\-h] .SH DESCRIPTION Supprime le profile automatique lors du démarrage de .B idjc si aucun profile n'est choisi sur la ligne de commande, le Gestionnaire de Profiles apparaitra de façon à en choisir un manuellement. .SS Options .B \-h, \-\-help .RS Affiche un message d'aide .RE .PP .SH RAPPORTER DES BOGUES .SH VOIR AUSSI idjc-0.8.15/man/fr/reporting_bugs.part0000644000175000017500000000060712404535467014557 00000000000000Envoyez vos rapports de bogues, demandes de fonctionalités, commentaires généraux, patches etc. sur : .RS .RE .PP Vous devrez avoir un compte pour pouvoir poster. .PP Rapportez les bogues de traductions au traducteur approprié dont les coordonnées se trouvent dans la section «Aide/Au sujet de» du menu principal de .B idjc menu principal. idjc-0.8.15/man/fr/idjc-run.1_0000644000175000017500000000706112404535467012573 00000000000000.TH "IDJC-RUN" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NOM idjc\-run \- Lance l'application principale de .B idjc .SH SYNOPSIS .P idjc run [\-h] [\-d {true,false}] [\-p profile_choisi] [\-j nom_de_serveur] [\-S detaild_de_session] [\-\-no\-jack\-connections] [\-C] [\-c c [c …]] [\-V {off,private,public}] [\-P p [p …]] [\-s s [s …]] [\-x {1,2}] .SH DESCRIPTION .SS Options generales .B \-h, \-\-help .RS Affiche un message d'aide .RE .PP .BR "\-d, \-\-dialog" "={true,false}" .RS S'il faut ou non afficher le dialogue de sélection de profile. .RE .PP .BR "\-p, \-\-profile" =PROFILE .RS Quel profile à exécuter. Tout autre que celui par défaut doit déjà exister. .RE .PP .BR "\-j, \-\-jackserver" =SERVER .RS Le nom du serveur JACK à utiliser. .RE .PP .BR "\-S, \-\-session" =SESSIONINFO .RS Voir la section support de session ci\-dessous pour plus de détails. .RE .PP .B \-\-no\-jack\-connections .RS Une option potentiellement utile si vous utilisez un quelconque gestionnaire de sessions. Au démarrage, .B idjc ne tentera pas de gérer lui même ses connexions. .RE .PP .B \-\-no\-default\-jack\-connections .RS Aucun port JACK autre que ceux spécifiés dans la session ne sera connecté. Bien entendu, cela implique que, si la session spécifiée n'existe pas, aucune connection ne sera effectuée. .RE .PP .SS Options de l'interface utilisateur .BR "\-c, \-\-channels" =CHANNELS .RS Ouvre les canaux spécifiés (liste séparée par des espaces). .RE .PP .BR "\-V, \-\-voip" =MODE .RS Sélectionne le mode VoIP spécifié. .RE .PP .BR "\-P, \-\-players" =PLAYERS .RS Démarre les lecteurs spécifiés (liste séparée par des espaces). Les options correctes sont numériques. .RE .PP .BR "\-s, \-\-servers" =SERVERS .RS Démarre les serveurs spécifiés (liste séparée par des espaces). Les options correctes sont numériques. .RE .PP .BR "\-x, \-\-crossfader" ={1,2} .RS Positionne le crossfader. .RE .PP .SH ENVIRONMENT Si le fichier .I ~/.jackdrc n'existe pas, à moins qu'il n'ait été configuré autrement grâce à un outil tel que .I ladiconf ou .I QjackCtl , .B idjc démarrera mais sera configuré avec une vitesse d'échantillonnage de 48000 ce qui est trop pour streamer des CD audio. Il est recommendé de créer ce fichier avec la méthode suivante, en mode console ou en utilisant les outils sus\-nommés qui peuvent nécessiter une installation spécifique : .PP .B $ echo "/usr/bin/jackd \-d alsa \-r 44100 \-p 2048" > ~/.jackdrc .PP Si vous préférez lancer le serveur audio JACK manuellement, vous pouvez le faire de cette manière : .PP .BR $ " jackd \-d alsa \-r 44100 \-p 2048" .PP .RB Référez\-vous\ à\ jackd (1)\ pour\ plus\ de\ détails. .PP .B idjc possède un support des langues en natif et tient compte des variables d'environnement .I LANG et .I LANGUAGE .SH SUPPORT DE SESSIONS .B idjc supporte les modes de sessions Ladish [L0] et [L1]. A la demande en ligne de commande vous pouvez spécifier \-\-session=L1, \-\-session=L1:session\-name, ou \-\-session=L1:session\-name:/path/to/savedir. Si un path de sauvegarde est fournis, IDJC opère en mode session plutôt qu'en mode profile. Le mode par défaut est L0:default qui effectue des sauvegardes périodiques et à la fermeture. Il est aussi possible de spécifier un nom ou un chemin alternatif pour le mode L0. .PP Lorsque vous utilisez le mode L1 dans Gladish si vous choisissez «Studio/Sauvegarder» ou «Project/Sauvegarder» dans le menu principal .B idjc sauvegardera la configuration des connexions JACK dans le fichier de session. .SH RAPPORTER DES BOGUES .SH VOIR AUSSI idjc-0.8.15/man/fr/idjc-auto.1_0000644000175000017500000000112512404535467012732 00000000000000.TH "IDJC-AUTO" 1 "2012-02-06" "VERSION" "Internet DJ Console" .SH NAME idjc\-auto \- Rendre un profile automatique .SH SYNOPSIS .P idjc auto [\-h] nom_de_profile .SH DESCRIPTION Lorsqu'un profile est rendu automatique, la fenêtre du Gestionnaire de Profiles n'apparait pas au démarrage, au lieu de ça, le profile est chargé. Un seul et unique profile peut être défini comme étant automatique. .SS Options .B \-h, \-\-help .RS Affiche un message d'aide. .RE .PP .SS Obligatoire .B nom_de_profile_name .RS Le nom du profile à rendre automatique. .RE .SH RAPPORTER DES BOGUES .SH VOIR AUSSI idjc-0.8.15/man/Makefile.in0000644000175000017500000006075512555351751012305 00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 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__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) 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@ target_triplet = @target@ subdir = man DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(dist_noinst_DATA) 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_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-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 \ tags-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; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" NROFF = nroff MANS = $(nodist_man_MANS) DATA = $(dist_noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` 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@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 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@ DYLIB_EXT = @DYLIB_EXT@ 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@ GIT_PROG_EXISTS = @GIT_PROG_EXISTS@ 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_SWRESAMPLE = @HAVE_SWRESAMPLE@ 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@ LIBSWRESAMPLE_CFLAGS = @LIBSWRESAMPLE_CFLAGS@ LIBSWRESAMPLE_LIBS = @LIBSWRESAMPLE_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@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ 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@ idjcpkgpythondir = @idjcpkgpythondir@ idjcpythondir = @idjcpythondir@ 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 = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = fr 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-recursive .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) # 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. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ 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" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 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; \ $(am__define_uniq_tagged_files); \ 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-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ 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 cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ 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 $(MANS) $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(man1dir)"; 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-man 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-man1 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-man uninstall-man: uninstall-man1 .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool clean-local \ cscopelist-am ctags ctags-am 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-man1 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-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.15/man/idjc-run.1_0000644000175000017500000000603712220016605012146 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.15/man/idjc-auto.1_0000644000175000017500000000102212220016605012277 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.15/COPYING0000644000175000017500000004325512220016605010475 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.15/idjc.appdata.xml.in.in0000644000175000017500000000221112343055474013520 00000000000000 @PACKAGE_NAME@.desktop CC0-1.0 GPL-2.0+ and GFDL-1.3 Internet DJ Console Be a DJ on the Internet

A powerful yet easy to use source-client for people interested in streaming live radio shows over the Internet using Shoutcast or Icecast servers.

Up to 9 simultaneous streams. 12 mono or 6 stereo general purpose audio inputs. 3 media players. An effects rack. The audio routing flexibility of Jack Audio Connection Kit. IRC announcements. Ampache music database support.

http://idjc.sourceforge.net/appdata_screenshot.png http://idjc.sourceforge.net http://sourceforge.net/api/file/index/project-id/135773/mtime/desc/limit/20/rss
idjc-0.8.15/artwork/0000755000175000017500000000000012556740340011216 500000000000000idjc-0.8.15/artwork/redphone.png0000644000175000017500000000366512220016632013446 00000000000000PNG  IHDRdO`bKGD pHYs  tIME5RBIDATx[]oJY[PJ፴Z^?$xj o^ H P{Cvdލ&;Ugxw9_TڰϞ k^]{(GD~V JѿF@8,ϧNs/~6 7Xq XΛvpt= OieN;X_wX*& @\|{ȏhy)99eY_nL:TL1(xFrD-w$zጨc2S*@:752EF%PunA 廔T 0IB/:?JQ[r;*W)3Pg̑i x㆗U>"Wb'|xG5 rA-2 3 pm 6^`@.>%>"*ɏaCؒކpPKEƫWF @9o%Q` U129!;lIgXF : w ",+U΁4#`CA|\pH+$؂\3j}6޼A/䗗ET%ΥɃ(]pv5`$B]EUhM^5ۣ"ً7ĒOFDfВ1 x8$b2.BU=)>ehNu ;_Jc#ƞZq<}#z%u+ Ʋ΀`_4dRV[TJh>!}BD,}FO NJka-1kZ u Hjb\AEݰɼJ!o>n&pN@Rpߧu14"`vgˇ!m"ӷeYmgIdSKbɍ{h!~۽*0Dc!_$dk (a4f83S7!W8uvŕ7[Plll̕*6r_ڏ9Qn} o[򰃍P>;Cshv%lAnf-k%3`\l0Ud> E(HmmGa(ܲۖQHa92η3婠$eFؠg._UQa2 [[w1O$9lA[NjIzݳ3COSw+1͸bv%Z.l4usGG0+rDة(k|إumՋ="e:b!}`gfDŽz/Ė-KzCIkjPtr!tҀFutfQ"$:7t*YL-sc9G U&k{!]$(`׳g\&@∫ n@9dU&"Cjl"6暩:{+5썶$ F!FK| ӠUׅ|# HL !hhHH$ZC ^K'!Ѣ-E?IENDB`idjc-0.8.15/artwork/rec.png0000644000175000017500000000054212220016632012402 00000000000000PNG  IHDR88;bKGD pHYs  tIMEz'IDATh 0P-O z2:E{~6D31k$L(a#`B׋  E$TqH(ZPCޖ KYp>QX',}X#l齧>A d2Y?Q 4@f@)LASL&[5EXnB=Ŧ3UoxS*! OHؑC@ȡU.&hX9Nytz!vJs~[ j!IENDB`idjc-0.8.15/artwork/add3.png0000644000175000017500000000073412220016632012447 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.15/artwork/volume2.png0000644000175000017500000000032712220016631013222 00000000000000PNG  IHDR bKGD pHYs  tIMEhdIDAT8ӻ P^ރ*uVBl](&"% 0afp)vZ-hTЃ-A/6#b}`% xW*^7IENDB`idjc-0.8.15/artwork/led_lit_amber_black_border_64x64.png0000644000175000017500000000577412220016632017773 00000000000000PNG  IHDR@@iqbKGD pHYsaa?itIME.tEXtCommentCreated with The GIMPd%n `IDATx[]lfvֻf؍cd\dSB"j7I+U`vFT(}iHQ!{U0lYAZ{%8tDhw{`e u }{C+tuW@:n yҰAWнs01ϒl2F,za]WlΎ<1йmmm^&OF[qj\eͮ"y K`=tu-oP"$HaT+Nbsc%-E-$hk aߛ¾gV@ӭĘ <Ypv7הmd em-Nk5Ppnz{27 A-2t ?}J5F5@.B + jy`\ s!-vr?=%_3ߺUk1l Xa!d<>֖tKUKW4FY~ xC^Rɹ8=j[@W"G'#5Ȩ FXxext:Z;0FWve T]zB=oHKǷm)`T T h_q,Ѷ^%:"{?h!b9Y:{T K'ߙ"NhA O\u8#Q9 )`OՃgdk< ,е|"VMnAfܠ;|Luv)7XhdYK "V/6B {('o fyPA+UC3* @Wuk2#%ASy!*Լ*Q<6`-y4\GC!8XuAwhwԀ.s1=,۲13jVR;:R-$1Re&@:0>WUT5rSG䯑(Ev#*OBh9p = Yb q#X],H,=D/%V kW5vJ: t`J9`zlM,mXn`'{2Cej&=@+8"C@-֠(.!V1\bf2eqɨ.Qk[:$d?ܢ(/U N{ҢLH')>鑺љi#mN|HR-(6{[ET4c<ήb %c:{lEHk{>8!CdDY$$8>%y0b  l,kVꁁ0{5Uy7WQƱ<(j^\Xy 8 $4qIH$mc25ˆ$`/0yI2/HX"OJߕג'Sٞ)jyAWZa!'m@Ha$)|FG4* m CcV45k~mej*`(}SL"%Xu",]O%ISV`Q[X9xǹF FҌD'?hl+8')xF10t*za1.{ mbzkQ~ij_ۣ2UIƂ?NrXPw?>On  xnRS5Ϸ&[^|RUTYxe\.1Ms(HrV tU{!=*Ƞ\EN,K%9qwũo ~/GuadԄ9V%ޒ'sV  T"%|cm7I9I*͚9` EGǩn£`.UåR_ H%lE+^ 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.15/artwork/led_lit_green_black_border_64x64.png0000644000175000017500000000642112220016632017773 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^"2,[&SPt**%5uonH,E:0IۢFo}w Lť」C*:sC=pc~O^1`PaA8'SVN Q̺Z >XX& $Tx4`~|? ԲY L:VFeLJY! >L19 oP c\"T.WN(cp-Έ3<%rm:*f`s0YzLY,SV@uvk:?Rkh_5`r|TF&}ζW7Jq7,˚)*꾎=󪉵{s"纗qn{6=4OzKJ +?6Q{o,{g7IhLa9 }w˘{isc/|,"Cm\{xLjV`!Dt~7Ru7R`w,kFp.T:P^-yƟН xv~X;Qxk`jo0iLw,#Z.?֛f[yaGm}v~Gr2Ge}W`0 J qm쟮奩DKj}ȂV_܎!Z{wXƇ܇čd:[Fm~x_c}ZcJ(fmć%IENDB`idjc-0.8.15/artwork/control_n.png0000644000175000017500000000057412220016632013633 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.15/artwork/led_unlit_clear_border_64x64.png0000644000175000017500000000523012220016632017165 00000000000000PNG  IHDR@@iqbKGD pHYsaa?itIMEo1ftEXtCommentCreated with The GI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jc-0.8.15/artwork/mic_off.png0000644000175000017500000000441412220016632013235 00000000000000PNG  IHDRE!fesRGBbKGD pHYs  tIME e/!iTXtCommentCreated with The GIMPm_IDAThC[]uƿo}f:CB2ZRD|X $"*% Obcc)1B(ZB*5(i(4Btz%v.eo|g2vD+i˷u",ȹ 07*'Ջ5ti_K|݆/zBbAQn@y.RzOOwFʁ4-Flu=˭[_?xgG'~:3.\ni8h45U[i^|lc^{|+i22yv⸲l]uU^zi,=;X&4ք<ϑ)ܝ!uZ-EJwcp[nU6]U}/,|f^QnHyCDB`$$IhTUjb#qIZW5^<rZNM+W(B!c&IBhZ똜@U^opb YZd]koA-=zj,(055E4M1|M|`o4H^ ".R"tR"$ncq>,"ωPVMFe۶fsnͽUb ! LkETEQet2eM KQ0U%)Naш.+9?p}{4}oks( &"2T*l^V$ &@IQ@E p )8EDsЅ*^,"jztuǯѡdvWĹf>exxkB>ەJ8]U1ZC)&7QF*8TQ*UuPq."N ;PBPDT܌pfvtz=/¼lٲe%$y̲<#sF{apsgB@E)\sΊs . ""e4sᐹ5+q,,*GFNf;?=ol4 !h$6==C03DQ>tfJeQcNUc?!pp kU:rpQ `\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$.{û%7(((((((((((((((((f4F#@6H0GL2 ='LQ2ZƂ 345 ì¬mmZ;Hr$tKBXR}}b3ign@@lw$ݭo@@e|4xIENDB`idjc-0.8.15/artwork/led_lit_red_black_border_64x64.png0000644000175000017500000000632512220016632017450 00000000000000PNG  IHDR@@iqbKGD pHYsaa?itIME+htEXtCommentCreated with The GIMPd%n 9IDATx[]lWǻon$KjuېBI_.qxiA" x HPBJx8P+ʏkDv&i{owgw~x{fܝcHWsgvvfsνoF jiNQ8)pP`4͙ w0I]pY4Jqk 3i+_DiG+N.mpHrJXܾv8ks[BnV [-L~ێ=OV*gZ J1gL\4Dr1+fGMm HrpVÇ0$( ~q%|mi  A==P@4 TRomP`I]H|Dˈ+ ]n Zֿ x}ǯ\Pq]@iUQϑpTA8r:\I$G,պ Cݳy*Ù'n 0 ' j a~  D`H8hY֙T >} <0C'Prd$U_&iZ7 HXM=na\FG Te-},\lHReIB(=A}:OoD]*Ls5h}5Z]ň4i@$=.i_(ĝL&G:G4mfJU0.Y(k!5U;4/RiPHn69Y* H !V9iW?IMYw\8dQiR uBp⩥%Odp4fL qo$A.eS۶-yn:~|@Bf33KI(|:v&qp K1/ǽD4ԾӉE$Pcg'>]mM2&[M\Użz#*aDLC"IݸT` |aк@9p#]sf ̤My_+1nǦtW3rݸyWrv޹x<ߏoW*y!s'Tپ+;N |$xуID੟0,XoSzm*FDбyPH%]+J<Fe-ˤNb1I4,߆a6ؿ+sv*)/^JI@s ۧ)2@_ٓEi/ɡ_qqՋBܣNCzѰǏ{PՓ-MٳDr3Ykz |T酹s'9 eYqT̩',/JbI$1G&5C]I])}2m4eg뉉\}^vMA l ̓~ܠeY3aO+,j ٢嬑 $=? kWfc ySYwx01l`[Ȯ ~{| Bsdu௔]SL!c{ >BRK4|?XA95W2+D.Lyb؊Pjˮ'`\04'9)6MǶ~+_LNaJ\$eY֪a;wbGZ35~~BJ-$}ٜBeǰ%4_]*1˲0 c׽RP^NێQ娜'UuE\Zmu Ֆ/m ./cobI˘{hkmߎw*kl ]F>8 86M8K36 nJẍǦL0qTPKfIENDB`idjc-0.8.15/artwork/stop.png0000644000175000017500000000021612220016632012614 00000000000000PNG  IHDRH-bKGD pHYs  tIMEm4FIDAT(c@`b j8T4~ҭj\IENDB`idjc-0.8.15/artwork/crossout.png0000644000175000017500000000103712220016632013512 00000000000000PNG  IHDR((mbKGD3'| pHYs  tIME mKtEXtCommentCreated with The GIMPd%nIDATX헽n0D'`D:V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fw$s^# (s3i{rnyL(&2K[J)\ōlm.SjmmŽ6 `iNVn%'N6bǸen3zmvC\IB&%]0y%nsZ0Y[tCTc -uMbxit+"vI/ӴMFڬar].Q29%֠ yi%*$9Ir4I[꒘27FoI0&i"$a.HX:K#ZxK-U$ze/8w{ȭ^3/PJuLN_;ک2HMە\sTmZTJz@nEF@&.mI&#v$Rm1z}Ғ˹NwIO^z=ƀG](a$4`Ircv[r 55&'+WdIӤnݭxJݦɭt}g.N6Mn %6dD$/~TRh4me;82!!׃''|>&[~E!8Xcu!xx>z*BRi6./g4(x}Ro #\dĹNuD:aR?K|}:G?Cdo7+?u>?. 31,Y~SAxd1L r+KV[sto~A%,YzܲlS.IENDB`idjc-0.8.15/artwork/pat3.png0000644000175000017500000000111112220016632012471 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.15/artwork/Makefile.in0000644000175000017500000004453112555351751013215 00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 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__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) 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@ target_triplet = @target@ subdir = artwork DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(dist_pkgdata_DATA) 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_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = 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) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 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@ DYLIB_EXT = @DYLIB_EXT@ 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@ GIT_PROG_EXISTS = @GIT_PROG_EXISTS@ 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_SWRESAMPLE = @HAVE_SWRESAMPLE@ 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@ LIBSWRESAMPLE_CFLAGS = @LIBSWRESAMPLE_CFLAGS@ LIBSWRESAMPLE_LIBS = @LIBSWRESAMPLE_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@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ 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@ idjcpkgpythondir = @idjcpkgpythondir@ idjcpythondir = @idjcpythondir@ 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 = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ 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: 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 cscopelist-am ctags-am 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 tags-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.15/artwork/listenerphones.png0000644000175000017500000000155212220016632014675 00000000000000PNG  IHDR* dX=sRGBbKGD pHYs  tIME $tEXtCommentCreated with GIMPWIDATXKHTar'C!̙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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.15/artwork/interlude2.png0000644000175000017500000000202112220016632013700 00000000000000PNG  IHDRGbΚsRGBbKGD pHYs  tIME  ٸIDATxKTQ;.*~-t @вUu٢m \*_.5T !YԴn8_mf}p;<<s.:v}mӏ~;6#"x~ TqeK]`=60׀G2ѦfaGQ%Jpi0 %]{W1u0 (p2:~-dcu8jzG` x, AD5l*k=V-(w"jR>uK n5"JﮉXsx["4c YVc]N?p}ccagmV>9+eop_DuΎ."7HgZh0]R\._!tr4!mYU]!V"2A-*Gt'͞;6 n`NNDdovεg>`H ϧ&zdMDц"rL_N,Ժn` f{&"KiY7=;4EDz=/a݈ԺBE`GD6MUƺ|V,)7׳_Œ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.15/artwork/mic_unshown.png0000644000175000017500000000525412220016632014167 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.15/artwork/control_p.png0000644000175000017500000000064312220016632013632 00000000000000PNG  IHDRa pHYsodUIDATxc`3JJJGFF\\\YXXځr|4 lٲO}}l!o'((x@|6(Q~IENDB`idjc-0.8.15/artwork/Makefile.am0000644000175000017500000000134312220016632013157 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.15/artwork/control_c.png0000644000175000017500000000035112220016631013610 00000000000000PNG  IHDRa pHYsodIDATxc` n$|\R/H63 A⅄ ~ҥ @|'d atFFF =aVk]X5:u ,9@P΀$^Jt@rBlԄD`fgd4 jx7IENDB`idjc-0.8.15/artwork/mic4.png0000644000175000017500000001320312220016632012463 00000000000000PNG  IHDRQO׎bKGD pHYs  tIME98uIDATx[o$yߪt Ij-?prcu~C.Ah\Ip^ÈV>Hv> 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( )?ߦ5f) C7;o(՛>)aի.h^9:FJ'x¡B{Úϫ.Ĥ^XT=ʏ A}[?=Yf%cagqFE1Ǯi=::BeSI.b>!|w$T+(9n^/RU6M1$ogED"Ak&! a;Yq3XrsʢBI&aHOBq|7MSyn烂}s3{ՙDx5XCJGmHw?5.x"ڭ!@HUa_~˙ɓ$ֺ1@$כ1^YJ)WYY(ϬrS>n( #$J3b,wcbu"(0:!PWVN쯼 r\9(Z2W8ې=r>C03lleRF@}UkP5V_t,zmwT(/< r!eulaGUݳ,kX}W^EQ8::Bɧ<GuSxV}1T>~< BU@W&VCo7`^a/|pHq;'MLj!vwt J؇}0'6$toLuݭ>MnUd{9[/f&Y^`U>MSװrLZ4 WPXN+U]neqZܾ/Tz )z73|Yk ˲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x.Uo !1;!b2me z2n ޒ'k L緕*$Hpz\ a"&>7[%l6̇me'b,נӇmˡX")rK2XMxFixaB0bhKnVPlhz݄knOX7\P fi .-@hd܏|} tuxV`!a/\%Ntr:}7.AKڃk' >1(ږ WyW_|k=%AR.\@d'%% @|A˰ UAn *}H"̎"*| Ӻ#kOH" YVޡ q@dak$T|kwv% /V,uZGr^}'4 WI6o(!ťABGp -GNO\v F Z+| ίO^6~?~R-hcqz^ז,1JPuPV֫}+d{sM0;x],rͿB?#W8û<+wݻ@twm|:?qӒ-|a$l*9Z]syQoO@~^m sx̮vِ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.15/artwork/note.png0000644000175000017500000000060312220016632012574 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.15/artwork/next.png0000644000175000017500000000030512220016632012604 00000000000000PNG  IHDRH-bKGD pHYs  tIME+LRIDAT(ϝ cz ӗ3^ fU!"F<_bb>d̵2f2YJ^bLQUX7FKJP00tIENDB`idjc-0.8.15/artwork/mic_on.png0000644000175000017500000001065012220016632013076 00000000000000PNG  IHDRE!fesRGBbKGD pHYs  tIME ;y!iTXtCommentCreated with The GIMPmIDAThCݚy]U7WIU* LT"qA ""aFmm[lleHDQDTdA˜ !TP;WTWۍ~ku:{ϾWx )Д95Ȍl/lBraQbCLfgI7;_7"()uGY`l;$+B54IeyAさ 6K.}3oŎuL`K~7Ծ2t}ۼgVX|H*`^<,7cѶ!\.^R"B%E`a1"֢bD2chd5bo!}bgѢv}m/W;:=xn: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M)Ylc^z# ٱcTkL3b6::qL+?:Ćsxu ^${ בBmrA&rs^Uqr# {𧿎44Ec~ϝK ,lɘ*'czo;9Db ml^mu6&6>O"Qww)CղII~ꛞD WJ᪀1gqSغM4fvbCz֓u0:8zX{;礫_L͐Ǹ*aL RY=4ԾL&5x[jbkέ%Xy MRb8fw0w'nR 1IENDB`idjc-0.8.15/artwork/classic_cross.png0000644000175000017500000000126412220016632014465 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.15/artwork/pbphone.png0000644000175000017500000000171212220016632013264 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.15/artwork/control_k.png0000644000175000017500000000047012220016632013623 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`idjc-0.8.15/artwork/advance.png0000644000175000017500000000130212220016632013225 00000000000000PNG  IHDRd bKGD pHYs  tIME8HOIDATx 0`eNq DM??Ͷrg]3$ؕ'b<-y_(\@p 5 0I8\À'p 5 x0I8\À'p 5 x0I8\À'p 5 x0I8\À'p 0xWI8\'p'0 ,\+0rp32\Fz =WQ+(Fϕa}W+`D<DF AO+`=DF AO+`=DF AO+`=d:qq?.Da^uSY"\"p+,W"\"p+-W"\"pŊ+-Wz"\"pE'+L#=W+@ϕi4se2F`kpEW"\+p , WJ(\+p 5x I(\C'p 5x I(\C'p 5x I(\C'p 5 l(\C@p v 6ؕIENDB`idjc-0.8.15/artwork/icon.png0000644000175000017500000007436412220016631012575 00000000000000PNG  IHDR``{bKGDC pHYs   vpAg``xxMIDATxgUŲgO3 0s9HEP$dDE Y9K9<0 0y٫b9<\So~Z{u_/4&gӔfVsҝ+F R6og| 74g}'DןsC-}aAt̹2_/AOLE!M7sϓ˜os~>Ͼh)ԚRWm /DU@ Zt>5g{Џjs-/eK.D|;7?l[.\l?%)u0Zvǜ[쏞iѬ_)thwDJ{ߛ?s?Hg/db/b@<&/kdy1Sry11ыh| U3`1oMueI,׽ٴ[%"wkr5,U/7T\]'UTiRix5˫Y^_Y|!V%/gUF3Ѫ{1C/ryq:/|lA^K U}^U,߽>=x,md%#KR _D3]-PוO8g/?_¿b^lҋ{1ORI%š>}N;_7yȹۜ+xH)"Ry FVS %2/+e9(g@jCmD)s9bti lXaTe 'UZЍnt鈼6Ջ3MU=\r:/R~ RT۵)w^g۳<b8sn|ŵ2rN)|rtș3~g䦓N! aȟݽeP 9kzM;y|}^}c}Ƃ3W!I tv(GO4pSr T55}@ JR UW*o_6d55i35=@GCg sߜ0@RHJ K%܅7/ xd|1P*el؛-gIxJKc\8w8!/N7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ۑ:zuȁQ֓8 :><ıb9/F42@*1ta02GC3z3ԲFMdu&[> VH9ۯh0{(2 cf5 '΅.萞_j,]7%S;m`DlG7p3]g\||A9uyg@ /24VF̓^ #9ٯxgh 1r0$# o4`(X5QgEy bpJf$~@,J_DO5N=AE|Y6n@\&*' OW·|Pѣ%6vJN@iɏ&~鿙ʩkv`\wO/dW9K~Q|.CzgT$`>Q/,pF́Kj4F]&0hJRfqmALCWŁZ %7.\ hݚ. ͼPUݔOϑfQX6Y6YdJ@qJn$:Ţ @AkG-!Zm_xx ̌8, H D4tO`b @E] "m:Z"ugq"vӣzhd> tU2fhWDL`"X1Q<&~ jk0V%Ňla0tJYLKY؀Ma,]m&ҥ,l&|6@R6`@X>KW t)  ,P f(]lgj3.ea6tJYLKY؀Ma,]mcsCԎIENDB`idjc-0.8.15/artwork/play3.png0000644000175000017500000000076312220016632012666 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.15/bootstrap0000755000175000017500000000066312220016604011400 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.15/c/0000755000175000017500000000000012556740340007747 500000000000000idjc-0.8.15/c/speextag.h0000644000175000017500000000163312220016606011650 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.15/c/id3.c0000644000175000017500000002623512220016605010506 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.15/c/xlplayer.h0000644000175000017500000003145412231151346011677 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_FLUSH, 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.15/c/mic.h0000644000175000017500000001135512222522464010610 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 channel muting */ float unpmdj; /* barely processed audio with channel and dj mix muting */ 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 lmunpm; /* barely processed left audio with muting and panning */ float rmunpm; /* barely processed right audio with muting and panning */ float munpmdj; /* barely processed audio for the dj mix */ float lmunpmdj; /* munpmdj with left channel panning */ float rmunpmdj; /* munpmdj with right channel panning */ 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.15/c/sourceclient.h0000644000175000017500000000330512220016606012525 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.15/c/live_oggspeex_encoder.h0000644000175000017500000000176212220016605014371 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.15/c/agc.h0000644000175000017500000000371612220016606010566 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.15/c/avcodec_encoder.h0000644000175000017500000000245112220016605013131 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); #endif /* HAVE_AVCODEC */ int live_avcodec_encoder_aac_functionality(); idjc-0.8.15/c/dyn_lame.c0000644000175000017500000001237212220016607011616 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.15/c/mp3tagread.h0000644000175000017500000000375712220016607012071 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.15/c/dyn_mpg123.c0000644000175000017500000001047412220016607011712 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.15/c/audio_feed.h0000644000175000017500000000255012220016607012114 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.15/c/sig.h0000644000175000017500000000160312220016607010610 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.15/c/ogg_opus_dec.c0000644000175000017500000002426412220016607012466 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.15/c/kvpdict.h0000644000175000017500000000265312220016606011477 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.15/c/live_oggopus_encoder.h0000644000175000017500000000173712325271405014244 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.15/c/ialloc.c0000644000175000017500000000272412220016605011267 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.15/c/avcodec_encoder.c0000644000175000017500000003016212302725745013141 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" #include #include #include "main.h" #include "sourceclient.h" #ifdef HAVE_AVCODEC #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(AV_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; } #else int live_avcodec_encoder_aac_functionality() { fprintf(g.out, "idjcsc: aac_functionality=0:0\n"); return SUCCEEDED; } #endif /* HAVE_AVCODEC */ idjc-0.8.15/c/ogg_speex_dec.h0000644000175000017500000000267312220016607012631 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.15/c/encoder.h0000644000175000017500000002146712276124607011472 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 */ float fadegain; /* encoder fadeout value */ float fadescale; /* encoder fadeout rate */ 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 */ pthread_mutex_t fade_mutex; /* for blocking fade initiate while fade being processed */ 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_initiate_fade(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.15/c/fade.c0000644000175000017500000000607312220016605010724 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.15/c/mixer.c0000644000175000017500000017410212475125436011167 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; /* voip pan/downmix related */ static int voip_pan_f; static float voip_pan_l, voip_pan_r; 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, *voip_pan; 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 }, { "VPAN", &voip_pan, 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, rc_s_micmix, dl_micmix, dr_micmix; sample_t lc_s_auxmix, rc_s_auxmix; /* 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 pointers 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 with a lot of shared code */ /* to keep things smaller and more maintainable macros have been used */ 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 = dl_micmix = dr_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; dl_micmix += (*micp)->lmunpmdj; dr_micmix += (*micp)->rmunpmdj; } /* 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 + dl_micmix + lc_s_auxmix + plr_i->ls_aud * idf * *jhi; *rap = ((plr_l->rs_aud + plr_r->rs_aud) * *jh + e_rs) * df + dr_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 = dl_micmix = dr_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; dl_micmix += (*micp)->lmunpmdj; dr_micmix += (*micp)->rmunpmdj; } /* 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; if (voip_pan_f) { float dnmix = (*lprp + *rprp) / 2.0f; *lprp = dnmix * voip_pan_l; *rprp = dnmix * voip_pan_r; } /* 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 + dl_micmix + e_ls; *rap = (plr_l->rs_aud + plr_r->rs_aud) * *jh * df + *rprp + rc_s_auxmix + plr_i->rs_aud * idf * *jhi + dr_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 = dl_micmix = dr_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; dl_micmix += (*micp)->lmunpm; dr_micmix += (*micp)->rmunpm; } /* 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; if (voip_pan_f) { float dnmix = (*lprp + *rprp) / 2.0f; *lprp = dnmix * voip_pan_l; *rprp = dnmix * voip_pan_r; } COMMON_MIX2(); if (stream_monitor == FALSE) /* the DJ can hear the VOIP phone call */ { *lap = (*lsp * mb_lc_aud) + e_ls + dl_micmix + (lc_s_auxmix *mb_lc_aud) + *lprp; *rap = (*rsp * mb_lc_aud) + e_rs + dr_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 = dl_micmix = dr_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; dl_micmix += (*micp)->lmunpmdj; dr_micmix += (*micp)->rmunpmdj; } /* 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 + dl_micmix + lc_s_auxmix + plr_i->ls_aud * idf * *jhi; *rap = ((plr_l->rs_aud + plr_r->rs_aud) * *jh + e_ls) * df + dr_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, *rgloudness; 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.3f)) && (players[n++] = plr_r = xlplayer_create(sr, MAIN_RB_SIZE, "right", &g.app_shutdown, &volume2, 0, &right_stream, &right_audio, 0.3f)))) { 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.3f))) { 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, &s.rgloudness)) { fprintf(g.out, "OIR:ARTIST=%s\nOIR:TITLE=%s\nOIR:ALBUM=%s\nOIR:LENGTH=%f\nOIR:REPLAYGAIN_TRACK_GAIN=%s\nOIR:REPLAYGAIN_REFERENCE_LOUDNESS=%s\nOIR:end\n", s.artist, s.title, s.album, s.length, s.replaygain, s.rgloudness); 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, "voippan")) { int voippanval = atoi(voip_pan); if (voippanval == -1) voip_pan_f = 0; else { double x = voippanval * M_PI_2 / 100.0; voip_pan_l = (float)cos(x); voip_pan_r = (float)sin(x); voip_pan_f = 1; } } 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.15/c/live_oggopus_encoder.c0000644000175000017500000003537312325271405014242 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.15/c/peakfilter.h0000644000175000017500000000222112220016606012150 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.15/c/live_mp3_encoder.h0000644000175000017500000000244212220016607013245 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.15/c/live_ogg_encoder.h0000644000175000017500000000244512220016607013325 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.15/c/ogg_flac_dec.c0000644000175000017500000002114312220016605012374 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.15/c/mpg123.h0000644000175000017500000016614212220016607011051 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.15/c/live_mp3_encoder.c0000644000175000017500000001462412220016607013245 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.15/c/live_oggflac_encoder.c0000644000175000017500000002605512220016605014147 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.15/c/id3.h0000644000175000017500000000543712220016607010516 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.15/c/main.c0000644000175000017500000002362712231151346010761 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_LIBAV #include #include #endif /* HAVE_LIBAV */ #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_LIBAV 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_LIBAV */ 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.15/c/smoothing.c0000644000175000017500000000446212220016606012035 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.15/c/peakfilter.c0000644000175000017500000000426312220016606012153 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.15/c/live_oggspeex_encoder.c0000644000175000017500000003021512220016607014361 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.15/c/compressor.c0000644000175000017500000000512312220016606012215 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.15/c/ogg_opus_dec.h0000644000175000017500000000343312220016607012466 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.15/c/mp3tagread.c0000644000175000017500000004512212220016606012053 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.15/c/audio_feed.c0000644000175000017500000001053712220016607012113 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.15/c/kvpdict.c0000644000175000017500000001021312220016606011461 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.15/c/recorder.c0000644000175000017500000011467712240746355011662 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); if (mi->album[0]) fprintf(fp, " REM ALBUM \"%s\"\r\n", mi->album); /* 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); fprintf(self->fpcue, " REM ALBUM \"%s\"\r\n", self->album); 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.15/c/kvpparse.h0000644000175000017500000000163612220016605011665 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.15/c/mp3dec.h0000644000175000017500000000227012220016607011202 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.15/c/ogg_speex_dec.c0000644000175000017500000003063212220016605012616 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.15/c/sndfiledecode.c0000644000175000017500000001160512231151346012616 00000000000000/* # sndfiledecode.c: decodes wav file format for xlplayer # Copyright (C) 2007, 2013 Stephen Fairchild (s-fairchild@users.sf.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_FLUSH; 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.15/c/sourceclient.c0000644000175000017500000002112012276124607012527 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}, { "encoder_aac_availability", live_avcodec_encoder_aac_functionality, NULL}, { "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 }, { "initiate_fade", encoder_initiate_fade, 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.15/c/smoothing.h0000644000175000017500000000247712220016606012046 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.15/c/dyn_mpg123.h0000644000175000017500000000161712220016607011716 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.15/c/bsdcompat.h0000644000175000017500000000264012220016605012002 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.15/c/sig.c0000644000175000017500000000404112220016606010601 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.15/c/lame.h0000644000175000017500000013776012220016607010762 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.15/c/ogg_vorbis_dec.h0000644000175000017500000000205012220016605012774 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.15/c/xlplayer.c0000644000175000017500000011410712231151346011667 00000000000000/* # xlplayer.c: player decoder module for idjc # Copyright (C) 2006-2013 Stephen Fairchild (s-fairchild@users.sf.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_LIBAV || ((!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_LIBAV */ || ((!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_FLUSH: if (self->write_deferred) xlplayer_write_channel_data(self); else self->playmode = PM_EJECTING; 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.15/c/streamer.c0000644000175000017500000004440312220016607011650 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.15/c/mixer.h0000644000175000017500000000206412220016606011153 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.15/c/agc.c0000644000175000017500000004664612220016607010573 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.15/c/bsdcompat.c0000644000175000017500000000457612220016607012011 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.15/c/vorbistagparse.c0000644000175000017500000002647612220016607013073 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.15/c/ogg_vorbis_dec.c0000644000175000017500000002117112220016606012775 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.15/c/oggdec.h0000644000175000017500000001006412475122254011267 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 */ char **rgloudness; /* specifically replaygain_reference_loudness */ 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, char **rgloudness); 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.15/c/mic.c0000644000175000017500000002574712222522671010615 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->lmunpm = self->munpm * self->lgain; self->rmunpm = self->munpm * self->rgain; self->lmunpmdj = self->munpmdj * self->lgain; self->rmunpmdj = self->munpmdj * self->rgain; 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.15/c/encoder.c0000644000175000017500000007133512325271405011456 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 #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'; static const float fade_floor = 0.0003f; 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; } 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; } pthread_mutex_lock(&encoder->fade_mutex); if (encoder->pregain != 1.0f || encoder->fadescale != 1.0f) { float pgain = encoder->pregain; float fgain = 1.0f, fscale = encoder->fadescale; for (int i = 0; i < id->channels; ++i) { float *bp = id->buffer[i]; fgain = encoder->fadegain; for (size_t s = id->qty_samples; s; --s) *bp++ *= pgain * (fgain *= fscale); } if (fgain < fade_floor) encoder->fadegain = encoder->fadescale = 1.0f; else encoder->fadegain = fgain; } pthread_mutex_unlock(&encoder->fade_mutex); 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) 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); self->fadegain = self->fadescale = 1.0f; 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_initiate_fade(struct threads_info *ti, struct universal_vars *uv, void *other) { struct encoder *self = ti->encoder[uv->tab]; pthread_mutex_lock(&self->fade_mutex); if (self->fadescale == 1.0f) self->fadescale = powf(fade_floor, 1.f / (6.f * self->target_samplerate)); pthread_mutex_unlock(&self->fade_mutex); return SUCCEEDED; } 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); pthread_mutex_init(&self->fade_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); pthread_mutex_destroy(&self->fade_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.15/c/dbconvert.h0000644000175000017500000000204112220016606012010 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.15/c/gnusource.h0000644000175000017500000000162712220016607012046 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.15/c/ogg_flac_dec.h0000644000175000017500000000213612220016605012402 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.15/c/sndfileinfo.c0000644000175000017500000000345512220016607012330 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.15/c/Makefile.am0000644000175000017500000000424012233165363011721 00000000000000pkglib_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} \ \ ${LIBSWRESAMPLE_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} \ \ ${LIBSWRESAMPLE_LIBS} ${OPUS_LIBS} -lpthread idjc_la_LDFLAGS = ${DYN_LDFLAGS} -no-undefined -avoid-version -module idjc-0.8.15/c/sndfiledecode.h0000644000175000017500000000177712220016607012632 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.15/c/fade.h0000644000175000017500000000321212220016607010723 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.15/c/speextag.c0000644000175000017500000003636712220016606011657 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.15/c/kvpparse.c0000644000175000017500000000414212220016605011653 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.15/c/live_mp2_encoder.c0000644000175000017500000001525712220016606013246 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.15/c/oggdec.c0000644000175000017500000013336112475122252011266 00000000000000/* # oggdec.c: ogg file parser for xlplayer # Copyright (C) 2008-2013 Stephen Fairchild (s-fairchild@users.sf.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); obtain_tag_info("replaygain_reference_loudness", &self->rgloudness[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); copy_tag("replaygain_reference_loudness=", &self->rgloudness[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->rgloudness = realloc(self->rgloudness, self->n_streams * sizeof (char *)); self->rgloudness[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; if (xlplayer->write_deferred) { xlplayer_write_channel_data(xlplayer); return; } 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_FLUSH; } } 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, char **rgloudness) { 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); *rgloudness = realloc(*rgloudness, 1); *artist[0] = *title[0] = *album[0] = *replaygain[0] = *rgloudness[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'; } if (self->rgloudness[0]) { if (*rgloudness) free(*rgloudness); *rgloudness = strdup(self->rgloudness[0]); } else { *rgloudness = realloc(*rgloudness, 1); *rgloudness[0] = '\0'; } } } oggdecode_free_metadata(self); return has_pbtime ? ACCEPTED : REJECTED; } idjc-0.8.15/c/streamer.h0000644000175000017500000000460512220016606011654 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.15/c/live_mp2_encoder.h0000644000175000017500000000241012220016605013235 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.15/c/vorbistagparse.h0000644000175000017500000000674212220016606013071 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.15/c/dyn_lame.h0000644000175000017500000000160212220016606011614 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.15/c/live_ogg_encoder.c0000644000175000017500000002441012220016606013313 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.15/c/main.h0000644000175000017500000000474212223504452010764 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.15/c/avcodecdecode.c0000644000175000017500000004263212302730670012604 00000000000000/* # avcodecdecode.c: decodes wma file format for xlplayer # Copyright (C) 2007-2013 Stephen Fairchild (s-fairchild@users.sf.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_LIBAV #include #include #include #include #ifdef HAVE_LIBAVUTIL_CHANNEL_LAYOUT_H #include #endif #include #include "main.h" #include "xlplayer.h" #include "avcodecdecode.h" #define TRUE 1 #define FALSE 0 #define ACCEPTED 1 #define REJECTED 0 #ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE #define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 #endif 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->pkt.data) av_free_packet(&self->pkt); if (self->resample) { xlplayer->src_state = src_delete(xlplayer->src_state); free(xlplayer->src_data.data_out); } if (self->floatsamples) free(self->floatsamples); #ifdef HAVE_SWRESAMPLE if (self->swr) swr_free(&self->swr); #endif 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_freep(&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 AV_CODEC_ID_MUSEPACK7: /* add formats here that glitch when seeked */ case AV_CODEC_ID_MUSEPACK8: self->drop = 1.6; fprintf(stderr, "dropping %0.2f seconds of audio\n", self->drop); default: break; } } self->channels = (self->c->channels == 1) ? 1 : 2; 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; const size_t dsiz = AVCODEC_MAX_AUDIO_FRAME_SIZE * self->channels * xlplayer->src_data.src_ratio + 512; xlplayer->src_data.output_frames = dsiz / (sizeof (float) * self->channels); if (!(xlplayer->src_data.data_out = malloc(dsiz))) { 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->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 (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_FLUSH; 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; } #if defined (HAVE_SWRESAMPLE) && defined(USE_SWRESAMPLE) if (!self->swr) { int64_t layout; if (!(self->swr = swr_alloc())) { fprintf(stderr, "avcodecdecode_play: call to swr_alloc failed\n"); xlplayer->playmode = PM_EJECTING; return; } layout = self->frame->channel_layout; if (!layout) layout = self->c->channel_layout; if (!layout) { if (!channels) { fprintf(stderr, "avcodecdecode_play: number of channels is zero\n"); xlplayer->playmode = PM_EJECTING; return; } layout = av_get_default_channel_layout(channels); } av_opt_set_int(self->swr, "in_channel_layout", layout, 0); av_opt_set_int(self->swr, "out_channel_layout", (self->channels == 2) ? AV_CH_LAYOUT_STEREO : AV_CH_LAYOUT_MONO, 0); av_opt_set_sample_fmt(self->swr, "in_sample_fmt", self->c->sample_fmt, 0); av_opt_set_sample_fmt(self->swr, "out_sample_fmt", AV_SAMPLE_FMT_FLT, 0); if (swr_init(self->swr)) { fprintf(stderr, "avcodecdecode_init: swr_init failed\n"); xlplayer->playmode = PM_EJECTING; return; } } if (self->floatsamples) av_freep(&self->floatsamples); if (av_samples_alloc(&self->floatsamples, NULL, 2, self->frame->nb_samples, AV_SAMPLE_FMT_FLT, 0)) { fprintf(stderr, "avcodecdecode_play: av_samples_alloc failed\n"); xlplayer->playmode = PM_EJECTING; return; } swr_convert(self->swr, &self->floatsamples, self->frame->nb_samples, (const uint8_t **)self->frame->data, self->frame->nb_samples); #else if (!(self->floatsamples)) { if (channels > 2 || channels < 1) { fprintf(stderr, "avcodecdecode_init: unhandled number of channels: %d\n", channels); xlplayer->playmode = PM_EJECTING; return; } if (!(self->floatsamples = malloc(sizeof (float) * self->channels * AVCODEC_MAX_AUDIO_FRAME_SIZE))) { fprintf(stderr, "avcodecdecode_init: malloc failure\n"); xlplayer->playmode = PM_EJECTING; return; } } 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_FLTP: frames = (buffer_size >> 2) / channels; { float *l = (float *)self->frame->data[0]; float *r = NULL; if (channels == 2) r = (float *)self->frame->data[1]; float *d = self->floatsamples; float *endp = self->floatsamples + (channels * frames); while (d < endp) { *d++ = *l++; if (channels == 2) *d++ = *r++; } } break; case AV_SAMPLE_FMT_DBL: frames = (buffer_size >> 3) / channels; { double *s = (double *)self->frame->data[0]; float *d = self->floatsamples; float *endp = self->floatsamples + (channels * frames); while (d < endp) *d++ = (float)*s++; } break; case AV_SAMPLE_FMT_DBLP: frames = (buffer_size >> 3) / channels; { double *l = (double *)self->frame->data[0]; double *r = NULL; if (channels == 2) r = (double *)self->frame->data[1]; float *d = self->floatsamples; float *endp = self->floatsamples + (channels * frames); while (d < endp) { *d++ = (float)*l++; if (channels == 2) *d++ = (float)*r++; } } 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_S16P: frames = (buffer_size >> 1) / channels; { int16_t *l = (int16_t *)self->frame->data[0]; int16_t *r = NULL; if (channels == 2) r = (int16_t *)self->frame->data[1]; float *d = self->floatsamples; float *endp = self->floatsamples + (channels * frames); while (d < endp) { *d++ = *l++ / 32768.0f; if (channels == 2) *d++ = *r++ / 32768.0f; } } break; case AV_SAMPLE_FMT_S32: frames = (buffer_size >> 2) / channels; xlplayer_make_audio_to_float(xlplayer, self->floatsamples, self->frame->data[0], frames, 32, channels); break; case AV_SAMPLE_FMT_S32P: frames = (buffer_size >> 2) / channels; { int32_t *l = (int32_t *)self->frame->data[0]; int32_t *r = NULL; if (channels == 2) r = (int32_t *)self->frame->data[1]; float *d = self->floatsamples; float *endp = self->floatsamples + (channels * frames); while (d < endp) { *d++ = *l++ / 1073741824.0f; if (channels == 2) *d++ = *r++ / 1073741824.0f; } } break; case AV_SAMPLE_FMT_NONE: fprintf(stderr, "avcodecdecode_play: sample format is none\n"); xlplayer->playmode = PM_EJECTING; return; default: fprintf(stderr, "avcodecdecode_play: unexpected data format %d\n", (int)self->c->sample_fmt); xlplayer->playmode = PM_EJECTING; return; } #endif /* defined (HAVE_SWRESAMPLE) && defined(USE_SWRESAMPLE) */ if (self->resample) { src_data->input_frames = self->frame->nb_samples; src_data->data_in = (float *)self->floatsamples; 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, self->channels, 1.f); } else xlplayer_demux_channel_data(xlplayer, (float *)self->floatsamples, frames = self->frame->nb_samples, self->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; } 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); if ((self->stream = av_find_best_stream(self->ic, AVMEDIA_TYPE_AUDIO, -1, -1, &self->codec, 0)) < 0) { fprintf(stderr, "Cannot find an audio stream in the input file\n"); avformat_close_input(&self->ic); free(self); return REJECTED; } pthread_mutex_unlock(&g.avc_mutex); self->c = self->ic->streams[self->stream]->codec; #ifndef USE_SWRESAMPLE self->c->request_sample_fmt = AV_SAMPLE_FMT_FLT; self->c->request_channel_layout = AV_CH_LAYOUT_STEREO_DOWNMIX; #endif 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); xlplayer->dec_init = avcodecdecode_init; xlplayer->dec_play = avcodecdecode_play; xlplayer->dec_eject = avcodecdecode_eject; return ACCEPTED; } #endif /* HAVE_LIBAV */ idjc-0.8.15/c/recorder.h0000644000175000017500000001134212220016606011633 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.15/c/avcodecdecode.h0000644000175000017500000000312312231151346012577 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_LIBAV #include #include #ifdef HAVE_SWRESAMPLE #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 drop; struct mp3taginfo taginfo; struct chapter *current_chapter; int channels; /* number of downmixed channels 1 or 2 */ #ifdef HAVE_SWRESAMPLE SwrContext *swr; uint8_t *floatsamples; #else float *floatsamples; #endif }; int avcodecdecode_reg(struct xlplayer *xlplayer); #endif /* HAVE_LIBAV */ idjc-0.8.15/c/dbconvert.c0000644000175000017500000000723212220016606012012 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.15/c/flacdecode.c0000644000175000017500000002271112231151346012077 00000000000000/* # flacdecode.c: decodes flac file format for xlplayer # Copyright (C) 2007, 2013 Stephen Fairchild (s-fairchild@users.sf.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_FLUSH; } 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.15/c/compressor.h0000644000175000017500000000322112220016607012220 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.15/c/flacdecode.h0000644000175000017500000000252612220016606012103 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.15/c/sndfileinfo.h0000644000175000017500000000153112220016606012325 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.15/c/mp3dec.c0000644000175000017500000002322112231151346011176 00000000000000/* # mp3dec.c: decodes mp3 file format for xlplayer # Copyright (C) 2012-2013 Stephen Fairchild (s-fairchild@users.sf.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_FLUSH; } 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.15/c/Makefile.in0000644000175000017500000022173012555351751011744 00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 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__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) 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@ target_triplet = @target@ subdir = c DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(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)$(pkglibdir)" LTLIBRARIES = $(pkglib_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__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) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = idjc_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(idjc_la_CFLAGS) \ $(CFLAGS) $(idjc_la_LDFLAGS) $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = 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) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = 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 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 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@ DYLIB_EXT = @DYLIB_EXT@ 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@ GIT_PROG_EXISTS = @GIT_PROG_EXISTS@ 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_SWRESAMPLE = @HAVE_SWRESAMPLE@ 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@ LIBSWRESAMPLE_CFLAGS = @LIBSWRESAMPLE_CFLAGS@ LIBSWRESAMPLE_LIBS = @LIBSWRESAMPLE_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@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ 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@ idjcpkgpythondir = @idjcpkgpythondir@ idjcpythondir = @idjcpythondir@ 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 = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ pkglib_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} \ \ ${LIBSWRESAMPLE_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} \ \ ${LIBSWRESAMPLE_LIBS} ${OPUS_LIBS} -lpthread idjc_la_LDFLAGS = ${DYN_LDFLAGS} -no-undefined -avoid-version -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-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || 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)$(pkglibdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ } uninstall-pkglibLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done clean-pkglibLTLIBRARIES: -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) @list='$(pkglib_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) $(AM_V_CCLD)$(idjc_la_LINK) -rpath $(pkglibdir) $(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@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< idjc_la-agc.lo: agc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-agc.Tpo $(DEPDIR)/idjc_la-agc.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='agc.c' object='idjc_la-agc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-audio_feed.Tpo $(DEPDIR)/idjc_la-audio_feed.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-avcodecdecode.Tpo $(DEPDIR)/idjc_la-avcodecdecode.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='avcodecdecode.c' object='idjc_la-avcodecdecode.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-bsdcompat.Tpo $(DEPDIR)/idjc_la-bsdcompat.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='bsdcompat.c' object='idjc_la-bsdcompat.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-compressor.Tpo $(DEPDIR)/idjc_la-compressor.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compressor.c' object='idjc_la-compressor.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-dbconvert.Tpo $(DEPDIR)/idjc_la-dbconvert.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='dbconvert.c' object='idjc_la-dbconvert.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-dyn_lame.Tpo $(DEPDIR)/idjc_la-dyn_lame.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-encoder.Tpo $(DEPDIR)/idjc_la-encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='encoder.c' object='idjc_la-encoder.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-fade.Tpo $(DEPDIR)/idjc_la-fade.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='fade.c' object='idjc_la-fade.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-flacdecode.Tpo $(DEPDIR)/idjc_la-flacdecode.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='flacdecode.c' object='idjc_la-flacdecode.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-ialloc.Tpo $(DEPDIR)/idjc_la-ialloc.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ialloc.c' object='idjc_la-ialloc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-id3.Tpo $(DEPDIR)/idjc_la-id3.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='id3.c' object='idjc_la-id3.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-kvpdict.Tpo $(DEPDIR)/idjc_la-kvpdict.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='kvpdict.c' object='idjc_la-kvpdict.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-kvpparse.Tpo $(DEPDIR)/idjc_la-kvpparse.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='kvpparse.c' object='idjc_la-kvpparse.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-live_mp3_encoder.Tpo $(DEPDIR)/idjc_la-live_mp3_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-live_ogg_encoder.Tpo $(DEPDIR)/idjc_la-live_ogg_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-live_oggflac_encoder.Tpo $(DEPDIR)/idjc_la-live_oggflac_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-live_oggspeex_encoder.Tpo $(DEPDIR)/idjc_la-live_oggspeex_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-main.Tpo $(DEPDIR)/idjc_la-main.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='main.c' object='idjc_la-main.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-mic.Tpo $(DEPDIR)/idjc_la-mic.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mic.c' object='idjc_la-mic.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-mixer.Tpo $(DEPDIR)/idjc_la-mixer.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mixer.c' object='idjc_la-mixer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-mp3dec.Tpo $(DEPDIR)/idjc_la-mp3dec.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mp3dec.c' object='idjc_la-mp3dec.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-mp3tagread.Tpo $(DEPDIR)/idjc_la-mp3tagread.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mp3tagread.c' object='idjc_la-mp3tagread.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-ogg_flac_dec.Tpo $(DEPDIR)/idjc_la-ogg_flac_dec.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-ogg_speex_dec.Tpo $(DEPDIR)/idjc_la-ogg_speex_dec.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-ogg_vorbis_dec.Tpo $(DEPDIR)/idjc_la-ogg_vorbis_dec.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-oggdec.Tpo $(DEPDIR)/idjc_la-oggdec.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='oggdec.c' object='idjc_la-oggdec.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-peakfilter.Tpo $(DEPDIR)/idjc_la-peakfilter.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='peakfilter.c' object='idjc_la-peakfilter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-recorder.Tpo $(DEPDIR)/idjc_la-recorder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='recorder.c' object='idjc_la-recorder.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-sig.Tpo $(DEPDIR)/idjc_la-sig.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sig.c' object='idjc_la-sig.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-sndfiledecode.Tpo $(DEPDIR)/idjc_la-sndfiledecode.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sndfiledecode.c' object='idjc_la-sndfiledecode.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-sndfileinfo.Tpo $(DEPDIR)/idjc_la-sndfileinfo.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sndfileinfo.c' object='idjc_la-sndfileinfo.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-sourceclient.Tpo $(DEPDIR)/idjc_la-sourceclient.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sourceclient.c' object='idjc_la-sourceclient.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-speextag.Tpo $(DEPDIR)/idjc_la-speextag.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='speextag.c' object='idjc_la-speextag.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-streamer.Tpo $(DEPDIR)/idjc_la-streamer.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='streamer.c' object='idjc_la-streamer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-xlplayer.Tpo $(DEPDIR)/idjc_la-xlplayer.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='xlplayer.c' object='idjc_la-xlplayer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-live_mp2_encoder.Tpo $(DEPDIR)/idjc_la-live_mp2_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-avcodec_encoder.Tpo $(DEPDIR)/idjc_la-avcodec_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-smoothing.Tpo $(DEPDIR)/idjc_la-smoothing.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='smoothing.c' object='idjc_la-smoothing.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-dyn_mpg123.Tpo $(DEPDIR)/idjc_la-dyn_mpg123.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-ogg_opus_dec.Tpo $(DEPDIR)/idjc_la-ogg_opus_dec.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-vorbistagparse.Tpo $(DEPDIR)/idjc_la-vorbistagparse.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='vorbistagparse.c' object='idjc_la-vorbistagparse.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --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_V_at)$(am__mv) $(DEPDIR)/idjc_la-live_oggopus_encoder.Tpo $(DEPDIR)/idjc_la-live_oggopus_encoder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)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@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --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: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ 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-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ 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-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ 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)$(pkglibdir)"; 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-pkglibLTLIBRARIES \ 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-pkglibLTLIBRARIES 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-pkglibLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libtool clean-pkglibLTLIBRARIES cscopelist-am ctags \ ctags-am 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-man install-pdf install-pdf-am \ install-pkglibLTLIBRARIES 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 tags-am uninstall uninstall-am \ uninstall-pkglibLTLIBRARIES # 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.15/c/live_oggflac_encoder.h0000644000175000017500000000263412220016606014152 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.15/c/ialloc.h0000644000175000017500000000203312220016606011266 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.15/configure.ac0000644000175000017500000002611112555351302011727 00000000000000# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) AC_INIT([idjc], [0.8.15], [http://idjc.sourceforge.net]) AC_SUBST(COPYRIGHT_YEAR, [2015]) AC_CANONICAL_SYSTEM AC_CONFIG_SRCDIR([config.h.in]) AM_INIT_AUTOMAKE AM_CONFIG_HEADER([config.h]) # Generate python installation stuff AM_PATH_PYTHON([2.7]) AC_SUBST([idjcpythondir], [\${pkglibdir}/site-packages]) AC_SUBST([idjcpkgpythondir], [\${pkglibdir}/site-packages/idjc]) # 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]) # Determine if git is installed and a repository is present in source root dir. AC_CHECK_PROG([GIT_PROG_EXISTS], [git], [yes], [no]) if test ${GIT_PROG_EXISTS} = "yes" ; then # Determine if a repository exists right here in the build directory. AC_MSG_CHECKING([for git repository in source tree root]) if test $(git rev-parse --git-dir) = ".git" ; then AC_MSG_RESULT([yes]) git_repo = 1 else AC_MSG_RESULT([no]) fi fi AM_CONDITIONAL([GIT_VERSION_CONTROL], [test x$git_repo = x]) 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 AH_BOTTOM( [#if defined(HAVE_AVCODEC) && defined(HAVE_AVFORMAT) && defined(HAVE_AVUTIL) #define HAVE_LIBAV 1 #endif]) 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) PKG_CHECK_MODULES([LIBSWRESAMPLE], [libswresample], AC_DEFINE(HAVE_SWRESAMPLE, 1, [Set if libswresample was found]) AC_SUBST(HAVE_SWRESAMPLE, 1), AC_SUBST(HAVE_SWRESAMPLE, 0) if test $makelibav = "yes" ; then AC_MSG_ERROR([libswresample not detected but specifically requested in configure options (libav)]) fi) else AC_SUBST(HAVE_AVCODEC, 0) AC_SUBST(HAVE_AVFORMAT, 0) AC_SUBST(HAVE_AVUTIL, 0) AC_SUBST(HAVE_SWRESAMPLE, 0) fi AC_CHECK_LIB([avutil], [av_opt_set_sample_fmt], AC_DEFINE(USE_SWRESAMPLE, 1, [Set if libswresample allows format conversion])) 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} -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 libavutil/channel_layout.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"]) AC_CHECK_LIB([ogg], [ogg_stream_flush_fill],[ 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 ], [ if test $makeopus = "yes" ; then AC_MSG_ERROR([specifically requested opus support requires newer libogg]) fi AC_MSG_WARN([opus streaming requires newer libogg]) AC_SUBST([HAVE_OPUS], 0)] ) 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 # Darwin based OS has different file extension for dynamic libs. AC_MSG_CHECKING([dynamic library file extension]) case ${host} in *-*-darwin*) ext=".dylib" ;; *) ext=".so" ;; esac AC_SUBST([DYLIB_EXT], ${ext}) AC_MSG_RESULT([${ext}]) AC_CONFIG_FILES([Makefile po/Makefile.in c/Makefile python/Makefile python/prelims/Makefile artwork/Makefile man/Makefile man/fr/Makefile doc/Makefile python/__init__.py.in idjc.in idjc.desktop.in idjc.appdata.xml.in]) AC_OUTPUT idjc-0.8.15/python/0000755000175000017500000000000012556740340011046 500000000000000idjc-0.8.15/python/Makefile.am0000644000175000017500000000136012467066706013032 00000000000000SUBDIRS = prelims am__py_compile = $(top_srcdir)/py-compile python_PYTHON = idjcmonitor.py idjcpkgpython_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_idjcpkgpython_PYTHON = __init__.py dist_noinst_PYTHON = __init__.py.in.in __init__.py: __init__.py.in sed -e 's|$${pkgdatadir}|${pkgdatadir}|g' \ -e 's|$${pkglibdir}|${pkglibdir}|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.15/python/utils.py0000644000175000017500000002122612220016612012465 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.15/python/format.py0000644000175000017500000016120012325271405012623 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.avenabled 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 libav libraries.')) 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.15/python/gtkstuff.py0000644000175000017500000006134512423437152013203 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 from contextlib import contextmanager 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 # Fix PyGTK spin button binding. def SB(): GTK_SB = gtk.SpinButton class SpinButton(GTK_SB): def __init__(self, adjustment=None, climb_rate=0.0, digits=0): GTK_SB.__init__(self, adjustment, climb_rate, digits) return SpinButton gtk.SpinButton = SB() del SB 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(inner): """Function decorator to safely apply gtk/gdk thread lock to callbacks. Needed to lock non gtk/gdk callbacks originating in the wider glib main loop whenever they may call gtk or gdk code, read properties etc. Useful for callbacks that mainly manipulate gtk. """ @wraps(inner) def wrapper(*args, **kwargs): gtk.gdk.threads_enter() try: if gtk.main_level(): return inner(*args, **kwargs) else: # Cancel timeouts and idle functions. print "callback cancelled" return False finally: gtk.gdk.threads_leave() return wrapper @contextmanager def gdklock(): """Like threadslock but for 'with' code blocks that manipulate gtk.""" gtk.gdk.threads_enter() yield gtk.gdk.threads_leave() @contextmanager def gdkunlock(): """Like gdklock but unlock instead. Useful for calling threadslock functions when already locked. """ gtk.gdk.threads_leave() yield gtk.gdk.threads_enter() @contextmanager def nullcm(): """Null context. eg. with (gdklock if lock_f else nullcm)():""" yield 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: 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() def _source_wrapper(data): if data[0]: ret = data[1](*data[2], **data[3]) if ret: return ret data[0] = False def source_remove(data): if data[0]: glib.source_remove(data[4]) data[0] = False def timeout_add(interval, callback, *args, **kwargs): data = [True, callback, args, kwargs] data.append(glib.timeout_add(interval, _source_wrapper, data)) return data def timeout_add_seconds(interval, callback, *args, **kwargs): data = [True, callback, args, kwargs] data.append(glib.timeout_add_seconds(interval, _source_wrapper, data)) return data def idle_add(callback, *args, **kwargs): data = [True, callback, args, kwargs] data.append(glib.idle_add(_source_wrapper, data)) return data idjc-0.8.15/python/dialogs.py0000644000175000017500000002550512423517240012763 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 glib import pango from idjc import FGlobs from idjc.prelims import ProfileManager from .gtkstuff import threadslock, idle_add 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() idle_add(self.reconnect_idle) @threadslock def reconnect_idle(self): 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.15/python/maingui.py0000644000175000017500000045201012477272545013004 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, gdklock, nullcm from .gtkstuff import idle_add, timeout_add, timeout_add_seconds, source_remove 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 = timeout_add(700, self.cb_flash_timeout) self.connect("destroy", lambda w: 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.cuesheet_track_album or 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.set_track_metadata(self.artist, self.title, self.album, self.songname, self.music_filename, True) else: self.window.set_title(self.appname + pm.title_extra) print "song title: %s\n" % self.songname @dbus.service.method(dbus_interface=PGlobs.dbus_bus_basename) def new_plugin_started(self): self.channel_states = [-1, ] * 12 self.dbus_voip_mode = -1 @dbus.service.signal(dbus_interface=PGlobs.dbus_bus_basename, signature="u") def voip_mode_changed(self, mode): pass @dbus.service.method(dbus_interface=PGlobs.dbus_bus_basename, out_signature="s") def get_database_credentials(self): return json.dumps(self.topleftpane.prefs_controls.credentials()) @dbus.service.method(dbus_interface=PGlobs.dbus_bus_basename, in_signature="sssssb") def set_track_metadata(self, artist, title, album, songname, filename, log): args = artist, title, album, songname, filename self.window.set_title("%s :: IDJC%s" % (songname, pm.title_extra)) if log: tm = time.localtime() ts = "%02d:%02d :: " % (tm[3], tm[4]) # hours and minutes tstext = 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: with open(pm.basedir / "history.log", "a") as f: f.write(time.strftime("%x %X :: ") + tstext + "\n") except IOError: print "failed to write log entry to history.log" 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" @dbus.service.signal(dbus_interface=PGlobs.dbus_bus_basename, signature="ssu") def effect_started(self, title, pathname, player): """DBus signal for plugins to attach to when new effects play""" pass @dbus.service.signal(dbus_interface=PGlobs.dbus_bus_basename, signature="u") def effect_stopped(self, player): """DBus signal for plugins to attach to when new effects play""" pass @dbus.service.signal(dbus_interface=PGlobs.dbus_bus_basename, signature="ub") def channelstate_changed(self, index, is_open): """DBus signal indicating audio channel toggle state""" self.channel_states[index] = is_open 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) 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) and player.cuesheet is None: 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: 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 = 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): cf = fader.get_value() if self.metadata_src == self.METADATA_CROSSFADER and ( cf < 50 <= self.old_cf or self.old_cf < 50 <= cf): self.player_left.expire_metadata() self.player_right.expire_metadata() self.send_new_mixer_stats() self.old_cf = cf 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("cw_tree=" + self.topleftpane.get_col_widths("tree") + "\n") fh.write("cw_flat=" + self.topleftpane.get_col_widths("flat") + "\n") fh.write("cw_catalogs=" + self.topleftpane.get_col_widths("catalogs") + "\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 ("cw_tree", "cw_flat", "cw_catalogs"): self.topleftpane.set_col_widths(k[3:], 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() if gtk.main_level(): gtk.main_quit() while gtk.gdk.events_pending(): gtk.main_iteration() time.sleep(0.3) exit(5) def destroy(self, widget=None, data=None): self.freewheel_button.set_active(False) self.save_session("atexit") if self.crosspass: 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() source_remove(self.statstimeout) source_remove(self.vutimeout) 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() if gtk.main_level(): gtk.main_quit() while gtk.gdk.events_pending(): gtk.main_iteration() time.sleep(0.3) # Allow time for all subthreads/programs time to exit 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.signal(dbus_interface=PGlobs.dbus_bus_basename, signature="") def tracks_finishing(self): """Called to notify DJ that music tracks are ending.""" 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.mic_controls_backend_update() self.prefs_window.voip_pan_backend_update() 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, vu_update_counter=[0]): session_ns = {} player_metadata = [] session_cmd = midis = '' cons_changed = False with (gdklock if locking else nullcm)(): if not gtk.main_level(): return False vu_update_counter[0] += 1 if vu_update_counter[0] % 20 == 0: self.heartbeat() try: self.mixer_write("ACTN=requestlevels\nend\n") except (ValueError, IOError): return True while 1: line = self.mixer_read().rstrip() if line == "": 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"): if key.startswith("interlude"): target = self.jingles.interlude else: target = getattr(self, "player_" + key.split("_", 1)[0]) player_metadata.append((target, 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) 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() ch = self.mic_opener.mic_list for i in xrange(PGlobs.num_micpairs * 2): if self.channel_states[i] == -1: ch[i].open.emit("toggled") if self.dbus_voip_mode != self.mixermode: self.dbus_voip_mode = self.mixermode self.voip_mode_changed(self.mixermode) 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): if self.topleftpane.in_text_entry(): 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() self.dsp_button.viewlevels = (5,) 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() self.pan_preset_chooser = PanPresetChooser() self.pan_preset_chooser.viewlevels = (5,) self.hbox10.pack_start(self.pan_preset_chooser, False) self.pan_preset_chooser.show_all() # 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 self.old_cf = 0 # 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.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.channel_states = [-1, ] * 12 self.dbus_voip_mode = -1 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 = timeout_add(50, self.vu_update) self.statstimeout = timeout_add(100, self.stats_update) self.savetimeout = timeout_add_seconds( 120, threadslock(self.save_session), "periodic") for sig in (signal.SIGINT, signal.SIGTERM, signal.SIGHUP): signal.signal(sig, lambda s, f: 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() 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 try: run_instance.main() except KeyboardInterrupt: return 5 return 0 idjc-0.8.15/python/Makefile.in0000644000175000017500000007077112555351751013052 00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 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__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) 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@ target_triplet = @target@ subdir = python DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(srcdir)/__init__.py.in.in $(dist_noinst_PYTHON) \ $(idjcpkgpython_PYTHON) $(python_PYTHON) \ $(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 = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-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 \ tags-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)$(idjcpkgpythondir)" \ "$(DESTDIR)$(idjcpkgpythondir)" "$(DESTDIR)$(pythondir)" py_compile = $(top_srcdir)/py-compile RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` 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@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 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@ DYLIB_EXT = @DYLIB_EXT@ 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@ GIT_PROG_EXISTS = @GIT_PROG_EXISTS@ 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_SWRESAMPLE = @HAVE_SWRESAMPLE@ 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@ LIBSWRESAMPLE_CFLAGS = @LIBSWRESAMPLE_CFLAGS@ LIBSWRESAMPLE_LIBS = @LIBSWRESAMPLE_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@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ 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@ idjcpkgpythondir = @idjcpkgpythondir@ idjcpythondir = @idjcpythondir@ 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 = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = prelims am__py_compile = $(top_srcdir)/py-compile python_PYTHON = idjcmonitor.py idjcpkgpython_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_idjcpkgpython_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-idjcpkgpythonPYTHON: $(idjcpkgpython_PYTHON) @$(NORMAL_INSTALL) @list='$(idjcpkgpython_PYTHON)'; dlist=; list2=; test -n "$(idjcpkgpythondir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(idjcpkgpythondir)'"; \ $(MKDIR_P) "$(DESTDIR)$(idjcpkgpythondir)" || 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)$(idjcpkgpythondir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(idjcpkgpythondir)" || exit $$?; \ done || exit $$?; \ if test -n "$$dlist"; then \ $(am__py_compile) --destdir "$(DESTDIR)" \ --basedir "$(idjcpkgpythondir)" $$dlist; \ else :; fi uninstall-idjcpkgpythonPYTHON: @$(NORMAL_UNINSTALL) @list='$(idjcpkgpython_PYTHON)'; test -n "$(idjcpkgpythondir)" || list=; \ py_files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$py_files" || exit 0; \ dir='$(DESTDIR)$(idjcpkgpythondir)'; \ 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-nodist_idjcpkgpythonPYTHON: $(nodist_idjcpkgpython_PYTHON) @$(NORMAL_INSTALL) @list='$(nodist_idjcpkgpython_PYTHON)'; dlist=; list2=; test -n "$(idjcpkgpythondir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(idjcpkgpythondir)'"; \ $(MKDIR_P) "$(DESTDIR)$(idjcpkgpythondir)" || 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)$(idjcpkgpythondir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(idjcpkgpythondir)" || exit $$?; \ done || exit $$?; \ if test -n "$$dlist"; then \ $(am__py_compile) --destdir "$(DESTDIR)" \ --basedir "$(idjcpkgpythondir)" $$dlist; \ else :; fi uninstall-nodist_idjcpkgpythonPYTHON: @$(NORMAL_UNINSTALL) @list='$(nodist_idjcpkgpython_PYTHON)'; test -n "$(idjcpkgpythondir)" || list=; \ py_files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$py_files" || exit 0; \ dir='$(DESTDIR)$(idjcpkgpythondir)'; \ 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-pythonPYTHON: $(python_PYTHON) @$(NORMAL_INSTALL) @list='$(python_PYTHON)'; dlist=; list2=; test -n "$(pythondir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pythondir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pythondir)" || 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)$(pythondir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pythondir)" || exit $$?; \ done || exit $$?; \ if test -n "$$dlist"; then \ $(am__py_compile) --destdir "$(DESTDIR)" \ --basedir "$(pythondir)" $$dlist; \ else :; fi uninstall-pythonPYTHON: @$(NORMAL_UNINSTALL) @list='$(python_PYTHON)'; test -n "$(pythondir)" || list=; \ py_files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$py_files" || exit 0; \ dir='$(DESTDIR)$(pythondir)'; \ 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. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ 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" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 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; \ $(am__define_uniq_tagged_files); \ 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-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ 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 cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ 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)$(idjcpkgpythondir)" "$(DESTDIR)$(idjcpkgpythondir)" "$(DESTDIR)$(pythondir)"; 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-idjcpkgpythonPYTHON \ install-nodist_idjcpkgpythonPYTHON install-pythonPYTHON 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-idjcpkgpythonPYTHON \ uninstall-nodist_idjcpkgpythonPYTHON uninstall-pythonPYTHON .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool clean-local \ cscopelist-am ctags ctags-am 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-idjcpkgpythonPYTHON install-info install-info-am \ install-man install-nodist_idjcpkgpythonPYTHON install-pdf \ install-pdf-am install-ps install-ps-am install-pythonPYTHON \ 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-am uninstall uninstall-am \ uninstall-idjcpkgpythonPYTHON \ uninstall-nodist_idjcpkgpythonPYTHON uninstall-pythonPYTHON __init__.py: __init__.py.in sed -e 's|$${pkgdatadir}|${pkgdatadir}|g' \ -e 's|$${pkglibdir}|${pkglibdir}|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.15/python/preferences.py0000644000175000017500000021206012470414361013636 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 . import os import shutil import gettext import itertools import gtk import glib from idjc import FGlobs, PGlobs from . import licence_window from . import songdb from . import midicontrols from .gtkstuff import WindowSizeTracker, DefaultEntry, threadslock from .gtkstuff import timeout_add, source_remove from .prelims import ProfileManager from .utils import PathStr from .tooltips import set_tip, MAIN_TIPS __all__ = ['mixprefs', 'PanPresetChooser'] _ = 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 PanWidget(gtk.Frame): _instances = [] def __init__(self, title, commandname): self._instances.append(self) gtk.Frame.__init__(self) self.modes = (1, 2, 3) set_tip(self, _('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 or require a stereo ' 'source remain as stereo then this feature should be turned off.\n\n' 'Paired channels should be set to 100% left/right unless narrowing of ' 'the stereo field is the intention.')) self.valuesdict = {} self.activedict = {} self._source_id = None hbox = gtk.HBox() self.pan_active = gtk.CheckButton(title) self.activedict[commandname + "_pan_active"] = self.pan_active hbox.pack_start(self.pan_active, False, False, 0) self.pan_active.show() self.set_label_widget(hbox) hbox.show() panvbox = gtk.VBox() panvbox.set_border_width(1) self.add(panvbox) panadj = gtk.Adjustment(50.0, 0.0, 100.0, 1, 1, 0) self.pan = gtk.HScale(panadj) self.pan.set_digits(0) self.pan.connect("format-value", self._cb_format_value) self.valuesdict[commandname + "_pan"] = self.pan panvbox.pack_start(self.pan, False, padding=2) label = gtk.Label(_('Presets')) label.set_alignment(0.0, 0.5) label.set_padding(3, 3) panvbox.pack_start(label, False) self._presets = [] for i in range(PGlobs.num_panpresets): preadj = gtk.Adjustment(50.0, 0.0, 100.0, 1, 1, 0) preset = gtk.HScale(preadj) preset.set_digits(0) preset.connect("format-value", self._cb_format_value) self.valuesdict[commandname + "_panpreset" + str(i)] = preset self._presets.append(preset) panvbox.pack_start(preset, False, padding=2) def load_preset(self, index): try: target = int(self._presets[index].get_value() + 0.5) except IndexError: print "Attempt made to load a non existent pan preset" else: if self._source_id: source_remove(self._source_id) self._source_id = timeout_add(5, self._timeout, target) @threadslock def _timeout(self, target): current_value = int(self.pan.get_value() + 0.5) new_value = current_value + cmp(target, current_value) self.pan.set_value(new_value) return new_value != target @classmethod def load_presets(cls, index): for self in cls._instances: self.load_preset(index) def set_values(self, value): self.pan.set_value(value) for each in self._presets: each.set_value(value) def _cb_format_value(self, scale, value): if value == 50: return u"\u25C8" pc = str(abs(int(value) * 2 - 100)) if value < 50: return u"\u25C4 %s%%" % pc return u"%s%% \u25BA" % pc class PanPresetButton(gtk.Button): def __init__(self, labeltext): self._labeltext = labeltext gtk.Button.__init__(self) self._label = gtk.Label(labeltext) self.add(self._label) def highlight(self): self._label.set_markup("%s" % self._labeltext) def unhighlight(self): self._label.set_text(self._labeltext) class PanPresetChooser(gtk.HBox): def __init__(self): gtk.HBox.__init__(self) self.set_spacing(1) label = gtk.Label(u"\u25C4") self.pack_start(label) label.show() self.buttons = [] for i in range(PGlobs.num_panpresets): button = PanPresetButton(str(i + 1)) self.pack_start(button, False) button.show() self.buttons.append(button) button.connect_object("clicked", PanWidget.load_presets, i) button.connect("clicked", self._cb_clicked) label = gtk.Label(u"\u25BA") self.pack_start(label) label.show() set_tip(self, _('The pan preset selection buttons.\n\n' 'In the stereo image at a click the DJ can be on the left and a guest ' 'on the right and when the guest is gone at a click the DJ can be ' 'central again.\n\n' 'Note: preconfiguration of pan preset settings is required.')) def load_preset(self, index): try: button = self.buttons[index] except IndexError: pass else: button.clicked() def _cb_clicked(self, clicked_button): for button in self.buttons: if button is clicked_button: button.highlight() else: button.unhighlight() 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) if gtk.main_level(): self.approot.channelstate_changed(self.index, 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")) self.pan = PanWidget(_('Stereo Panning'), commandname) self.pan.pan_active.connect("toggled", self.sendnewstats, "pan_active") self.fixups.append(lambda: self.pan.pan_active.emit("toggled")) self.pan.pan.connect("value-changed", self.sendnewstats, "pan") self.pan.pan.emit("value-changed") self.fixups.append(lambda: self.pan.pan.emit("value-changed")) self.valuesdict.update(self.pan.valuesdict) self.activedict.update(self.pan.activedict) self.vbox.pack_start(self.pan, False, False) self.pan.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(): text = widget.get_text() if text is not None: f.write(name + "=" + 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 mic_controls_backend_update(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 voip_pan_backend_update(self, widget=None): widget = self.voip_pan stringtosend = "VPAN=%d\nACTN=voippan\nend\n" % (widget.pan.get_value() if widget.pan_active.get_active() else -1) self.parent.mixer_write(stringtosend) 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) vbox.show() self.voip_pan = PanWidget(_('VoIP panning + mono downmix'), "voip_pan_widget") self.voip_pan.pan_active.connect("toggled", self.voip_pan_backend_update) self.voip_pan.pan.connect("value-changed", self.voip_pan_backend_update) self.voip_pan.set_border_width(3) panevbox.pack_start(self.voip_pan, False) self.voip_pan.show_all() 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( '' + PGlobs.license + '') 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'), ("fr nvignot (nicotux@users.sf.net)", "it Raffaele Morelli (raffaele.morelli@gmail.com)")) label = gtk.Label(_('Build Info')) ivbox = gtk.VBox() ivbox.set_spacing(10) ivbox.set_border_width(10) nb.append_page(ivbox, label) ivbox.show() with open(FGlobs.pkgdatadir / "buildinfo") as f: for each in f: label = gtk.Label(each.rstrip()) label.set_use_markup(True) label.set_selectable(True) ivbox.pack_start(label, False) label.show() 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.pan_active.set_active(True) mic_controls[2].pan.set_values(0) mic_controls[3].mode.set_active(3) mic_controls[3].alt_name.set_text("Aux R") mic_controls[3].pan.pan_active.set_active(True) mic_controls[3].pan.set_values(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_background_tracks_player.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, "btn_bar" : self.show_button_bar, "bg_tracks" : self.show_background_tracks_player, "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.voip_pan)): 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.voip_pan)): 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.15/python/prelims/0000755000175000017500000000000012556740340012521 500000000000000idjc-0.8.15/python/prelims/profiledialog.py0000644000175000017500000004734112423434307015640 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 from ..gtkstuff import timeout_add 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: timeout_add(200, threadslock(self._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 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.15/python/prelims/Makefile.in0000644000175000017500000004354512555351751014524 00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 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__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) 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@ target_triplet = @target@ subdir = python/prelims DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(prelimspython_PYTHON) $(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 = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = 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 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 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@ DYLIB_EXT = @DYLIB_EXT@ 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@ GIT_PROG_EXISTS = @GIT_PROG_EXISTS@ 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_SWRESAMPLE = @HAVE_SWRESAMPLE@ 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@ LIBSWRESAMPLE_CFLAGS = @LIBSWRESAMPLE_CFLAGS@ LIBSWRESAMPLE_LIBS = @LIBSWRESAMPLE_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@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ 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@ idjcpkgpythondir = @idjcpkgpythondir@ idjcpythondir = @idjcpythondir@ 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 = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ prelimspython_PYTHON = __init__.py profiledialog.py prelimspythondir = ${idjcpkgpythondir}/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: 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 \ cscopelist-am ctags-am 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 tags-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.15/python/prelims/__init__.py0000644000175000017500000011464612220016612014550 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.15/python/prelims/Makefile.am0000644000175000017500000000020312234012236014455 00000000000000prelimspython_PYTHON = __init__.py profiledialog.py prelimspythondir = ${idjcpkgpythondir}/prelims .PHONY = $prelimspython_PYTHON idjc-0.8.15/python/__init__.py.in.in0000644000175000017500000000747112467122503014116 00000000000000"""Main IDJC python package initialiser. Generated from file __init__.py.in.in -- edit the original. """ # 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 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, extension): if at_runtime: for name in names.split(): name += extension 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@""") pkglibdir = PathStr("""${pkglibdir}""") pkgdatadir = PathStr("""${pkgdatadir}""") localedir = PathStr("""@localedir@""") bindir = PathStr("""@bindir@""") avenabled = (0, 1)[@HAVE_AVFORMAT@ and @HAVE_AVCODEC@ and @HAVE_AVUTIL@] flacenabled = @HAVE_FLAC@ oggflacenabled = @HAVE_OGGFLAC@ opusenabled = @HAVE_OPUS@ speexenabled = @HAVE_SPEEX@ twolameenabled = @HAVE_TWOLAME@ have_libmp3lame, libmp3lame_filename = lib_probe(@DYN_LAME@, "libmp3lame liblame", """@DYLIB_EXT@""") have_libmpg123, libmpg123_filename = lib_probe(@DYN_MPG123@, "libmpg123", """@DYLIB_EXT@""") package_name = """@PACKAGE_NAME@""" package_version = """@PACKAGE_VERSION@""" backend = PathStr("""${pkglibdir}""") / ("idjc" + """@DYLIB_EXT@""") _ = 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-%s Stephen Fairchild and others." ) % """@COPYRIGHT_YEAR@""" license = _("Released under the GNU General Public License V2.0+.") num_micpairs = 2 num_streamers = 6 num_encoders = 6 num_recorders = 2 num_effects = 24 num_panpresets = 3 def main(): """Package execution entry point.""" from .prelims import ProfileManager # pylint: disable=W0404 ProfileManager() from . import maingui # pylint: disable=W0404 return maingui.main() idjc-0.8.15/python/playergui.py0000644000175000017500000057372312512534524013357 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 .gtkstuff import idle_add, timeout_add, source_remove, nullcm, gdklock 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() EasyID3.RegisterTXXXKey('TXXX_replaygain_track_gain', 'replaygain_track_gain') 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 album") 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, 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) if desc and line.album: desc += " - (%s)" % line.album 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() for each in supported.playlists: filefilter.add_pattern(each) 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): source_remove(self.timeout) def timer_update(self, lock=True): with (gdklock if lock else nullcm)(): if not gtk.main_level(): return False 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 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() self.tv.set_wrap_mode(gtk.WRAP_WORD_CHAR) 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 = 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", ".m3u8", ".xspf", ".pls"] if FGlobs.have_libmpg123: self.media.insert(0, ".mp3") self.media.insert(1, ".mp2") if FGlobs.avenabled: 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", "REM")) _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 _remquoted = 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") 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: match = cls._remquoted(line) if match: left, right, quoted = match.groups() right = [right] 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_REM(self): if self.operand[0] == "ALBUM": print "Cue sheet track album:", self.operand[1] self.segment[self.tracknum]["ALBUM"].append(self.operand[1]) else: print "Unhandled REM type:", self.operand[0] 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'), _('M3U8 playlist'), _('XSPF playlist'), _('PLS playlist')), ('', 'm3u', 'm3u8', '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", [])) cue_album = ", ".join(val.get("ALBUM", [])) or global_cue_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, cue_album) 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): host, filename = filename[7:].split("/", 1) filename = "/" + urllib.unquote(filename) if host not in ("", "localhost", "127.0.0.1", "::1"): return NOTVALID._replace(filename=filename) 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 def gain(handle=None, prefix="", gain=None, ref=None): try: if ref is None: ref = str(handle[prefix + "REPLAYGAIN_REFERENCE_LOUDNESS"][0]) except Exception: ref = None else: try: ref = float(ref.rstrip("dbDBLUlu")) except Exception: ref = None else: ref = "R128" if -23.1 < ref < -22.9 else "RG" if gain is None: gain = str(handle[prefix + "REPLAYGAIN_TRACK_GAIN"][0]).rstrip().upper() else: gain = gain.upper() if gain.endswith("DB"): if ref is None or ref == "RG": gain = gain[:-2] + "RG" else: gain = gain[:-2] + "R128" elif gain.endswith("LU"): if ref is None or ref == "R128": gain = gain[:-2] + "R128" else: gain = gain[:-2] + "RG" else: if ref is None or ref == "RG": gain += " RG" else: gain += " R128" try: v1, v2 = gain.split() if v2 not in ("RG", "R128"): raise Exception float(v1) except Exception: return RGDEF return gain # 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 = gain(audio) 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 = gain(audio, "TXXX_") except: try: rg = gain(audio) 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) gval = None ref = None 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="): gval = line[26:].rstrip() if line.startswith("OIR:REPLAYGAIN_REFERENCE_LOUDNESS="): ref = line[34:].rstrip() if line == "OIR:end\n": break if gval is None: rg = RGDEF else: rg = gain(gain=gval, ref=ref) 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 = gain(audio) 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 = self.cuesheet_track_album or 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 = self.cuesheet_track_album = 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") 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: 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 self.cuesheet_track_album = element.album else: self.element = None self.cuesheet_track_title = self.cuesheet_track_performer = self.cuesheet_track_album = 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 = 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 = 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: 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 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.cuesheet_track_album = element.album 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 = self.cuesheet_track_album = 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 = 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" pl_mode = self.pl_mode.get_active() if pl_mode == 7 or (pl_mode == 0 and self.fade_inspect()): if not self.other_player_initiated: 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: self.parent.passbutton.clicked() self.crossfader_initiated = True desired_direction = (self.playername == "left") if desired_direction != self.parent.crossdirection: self.parent.passbutton.clicked() 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 pl_mode = self.pl_mode.get_active() 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" if pl_mode == 7 or (pl_mode == 0 and self.fade_inspect()): if not self.other_player_initiated: 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: self.parent.passbutton.clicked() self.crossfader_initiated = True desired_direction = (self.playername == "left") if desired_direction != self.parent.crossdirection: self.parent.passbutton.clicked() 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.cuesheet_track_album = element.album self.parent.send_new_mixer_stats() else: rem = self.progress_stop_figure - self.progress_current_figure 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: # 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) timeout_add(1000, self.deferred_alarm, self.parent.prefs_window.djalarm.get_active()) 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, make_sound): if make_sound: self.parent.alarm = True self.parent.send_new_mixer_stats() self.parent.tracks_finishing() 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)) idle_add(self.file_response_idle, iter(gen)) @threadslock def file_response_idle(self, iterator): if self.no_more_files: self.no_more_files = False else: for element in iterator: self.liststore.append(element) return True return False 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 if ext != ".xspf": # Filter out playlist controls. data = [x for x in self.liststore if x[0][0] != ">" and x[2] >= 0] else: data = self.liststore print "Chosenfile is", chosenfile try: with open(chosenfile, "w") as h: if ext in (".m3u", ".m3u8"): if ext == ".m3u": proc = lambda x: x.decode("UTF-8").encode("ISO8859-1", "replace") else: proc = lambda x: x self.write_m3u_playlist(h, data, proc) elif ext == ".pls": self.write_pls_playlist(h, data) elif ext == ".xspf": self.write_xspf_playlist(h, data) except IOError: print "problem writing out playlist file" def write_m3u_playlist(self, h, data, proc): h.write("#EXTM3U\r\n") for each in data: h.write("#EXTINF:%d,%s\r\n" % (each[2], proc(each[3]))) h.write("file://" + urllib.quote(each[1]) + "\r\n") def write_pls_playlist(self, h, data): h.write("[playlist]\r\nNumberOfEntries=%d\r\n\r\n" % len(data)) for i in range(1, len(data) + 1): each = data[i - 1] h.write("File%d=%s\r\n" % (i, each[1])) h.write("Title%d=%s\r\n" % (i, each[3])) h.write("Length%d=%d\r\n\r\n" % (i, each[2])) h.write("Version=2\r\n") def write_xspf_playlist(self, h, data): 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 data: 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) for field, value in zip(row._fields, row): if isinstance(value, (str, int, float)): pld.setAttribute(field, str(value)) 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: 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 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]) elif ext in (".m3u", ".m3u8"): 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] != "/": if each.startswith("file://"): host, abspathname = each[7:].split("/", 1) if host not in ("", "localhost", "127.0.0.1", "::1"): continue each = "/" + urllib.unquote(abspathname) else: 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 iter_ = model.get_iter(path) if(position == gtk.TREE_VIEW_DROP_BEFORE or position == \ gtk.TREE_VIEW_DROP_INTO_OR_BEFORE): model.insert_before(iter_, newrow) else: model.insert_after(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) elements = self.get_elements_from([urllib.unquote(t[7:]) for t in dragged.data.strip().splitlines() if t.startswith("file://")]) try: path, pos = treeview.get_dest_row_at_pos(x, y) except (ValueError, TypeError): idle_add(self.file_response_idle, elements) else: for element in elements: model = treeview.get_model() iter_ = model.get_iter(path) if pos in (gtk.TREE_VIEW_DROP_BEFORE, gtk.TREE_VIEW_DROP_INTO_OR_BEFORE): iter_ = model.insert_before(iter_, element) else: iter_ = model.insert_after(iter_, element) idle_add(self.drag_data_received_data_idle, model, iter_, elements) break 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 @threadslock def drag_data_received_data_idle(self, model, iter_, elements): if self.no_more_files: self.no_more_files = False else: for element in elements: iter_ = model.insert_after(iter_, element) idle_add(self.drag_data_received_data_idle, model, iter_, elements) break else: 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) cell_renderer.set_property("markup", " ") if model.get_value(iter, 0)[0] != ">": rg = model.get_value(iter, 7) if rg is not None: if rg == RGDEF: # Red triangle. cell_renderer.set_property("markup", '') elif rg.endswith(" RG"): # Small green bullet point. cell_renderer.set_property("markup", '') elif rg.endswith(" R128"): # Small blue 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) gray = gtk.gdk.color_parse("#BBB") # Class variable for use by rowconfig. control_cell_properties = { ">fade10": (("cell-background", "dark red"), ("background-gdk", gray), ("foreground", "dark red"), # TC: Playlist control. ("text", _('Fade 10s'))), ">fade5": (("cell-background", "dark red"), ("background-gdk", gray), ("foreground", "dark red"), # TC: Playlist control. ("text", _('Fade 5s'))), ">fadenone": (("cell-background", "dark red"), ("background-gdk", gray), ("foreground", "dark red"), # TC: Playlist control. ("text", _('No Fade'))), ">announcement": (("cell-background", "dark blue"), ("background-gdk", gray), ("foreground", "dark blue"),), ">normalspeed": (("cell-background", "dark green"), ("background-gdk", gray), ("foreground", "dark green"), # TC: Playlist control. ("text", _('>> Normal Speed <<'))), ">stopplayer": (("cell-background", "red"), ("background-gdk", gray), ("foreground", "red"), # TC: Playlist control. ("text", _('Player stop'))), ">stopplayer2": (("cell-background", "red"), ("background-gdk", gray), ("foreground", "red"), # TC: Playlist control. ("text", _('Player stop 2'))), ">jumptotop": (("cell-background", "dark magenta"), ("background-gdk", gray), ("foreground", "dark magenta"), # TC: Playlist control. ("text", _('Jump To Top'))), ">stopstreaming": (("cell-background", "black"), ("background-gdk", gray), ("foreground", "black"), # TC: Playlist control. ("text", _('Stop streaming'))), ">stoprecording": (("cell-background", "black"), ("background-gdk", gray), ("foreground", "black"), # TC: Playlist control. ("text", _('Stop recording'))), ">transfer": (("cell-background", "magenta"), ("background-gdk", gray), ("foreground", "magenta")), ">crossfade": (("cell-background", "blue"), ("background-gdk", 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 == ">announcement": crprop("text", _('Announcement:') + " " + urllib.unquote( model.get_value(iter, 4))) 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') + " " + supported.playlists_as_text()) 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 = None self.cuesheet_track_performer = None self.cuesheet_track_album = 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.15/python/sourceclientgui.py0000644000175000017500000035770512472361431014562 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 from contextlib import closing 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 .gtkstuff import timeout_add, source_remove 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 NoStats(ValueError): pass 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: try: with closing(opener.open(stats_url)) as h: data = h.read() except Exception: raise NoStats try: dom = mdom.parseString(data) except Exception: if self.is_shoutcast: # SC2 servers will return an HTML page, not XML. try: # No need to log in. :) with closing(urllib2.urlopen("http://%s/statistics" % hostport)) as h: data = h.read() dom = mdom.parseString(data) except Exception: raise NoStats else: raise NoStats except NoStats: print "failed to obtain 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 get_source_uri(self): try: config = ListLine(*self.liststore[0]) except IndexError: return "No Master Server Configured" return "{0.host}:{0.port}{0.mount}".format(config) 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) in (5, 8) and text[2] == ":": try: hh = int(text[:2]) mm = int(text[3:5]) try: ss = int(text[6:8]) except ValueError: ss = 0 else: if text[5] not in ":'": raise ValueError("bad separator") except ValueError: self.seconds_past_midnight = -1 else: if 0 <= hh < 24 and 0 <= mm < 60 and 0 <= ss < 60: self.seconds_past_midnight = hh * 3600 + mm * 60 + ss 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(8) self.entry.set_sensitive(False) self.entry.set_width_chars(7) self.entry.set_text("00: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() @classmethod def get_latin1_text(cls, widget): text = cls.get_utf8_text(widget) return text.decode("utf-8").encode("latin1", "replace") @staticmethod def get_utf8_text(widget): return widget.get_text().strip() 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 = "" # Determine the correct character encoding for fixed metadata. if d["server_type"] == 1: if self.shoutcast_latin1.get_active(): proc = self.get_latin1_text else: proc = self.get_utf8_text else: if self.format_control.get_settings()["family"] == "mpeg": proc = self.get_latin1_text else: proc = self.get_utf8_text 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=" + proc(self.dj_name_entry), "listen_url=" + proc(self.listen_url_entry), "description=" + proc(self.description_entry), "genre=" + proc(self.genre_entry), "irc=" + proc(self.irc_entry), "aim=" + proc(self.aim_entry), "icq=" + proc(self.icq_entry), "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: ircmetadata = {"djname": self.dj_name_entry.get_text().strip(), "description": self.description_entry.get_text().strip(), "url": self.listen_url_entry.get_text().strip(), "source": self.connection_pane.get_source_uri() } self.ircpane.connections_controller.new_metadata(ircmetadata) 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 issue_fade_command(self): self.send("command=initiate_fade\n") self.receive() 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: if not self.format_control.running: # Custom metadata encoding may have been changed. self.metadata_update.clicked() # Must run this to bump reference counter regardless of if running. 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.songname.encode("utf-8") or fallback table = [("%%", "%")] + zip(("%r", "%t", "%l"), (( getattr(self.scg, 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(_('Timer:')) hbox.pack_start(label, False) label.show() self.start_timer = TimeEntry(_('From')) 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(_('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(_('To')) set_tip(self.stop_timer, _('Automatically disconnect from the server ' 'at a specific time in 24 hour format.')) self.fade = gtk.CheckButton(_('Fade out')) self.fade.set_sensitive(False) set_tip(self.fade, _('Fade audio before disconnecting.')) hbox.pack_end(self.fade, False) self.stop_timer.check.connect("toggled", lambda w: self.fade.set_sensitive(w.props.active)) self.fade.show() 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() vbox.set_border_width(10) vbox.set_spacing(10) alhbox = gtk.HBox() 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_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() self.shoutcast_latin1 = gtk.CheckButton( _('Use ISO-8859-1 encoding for fixed metadata')) set_tip(self.shoutcast_latin1, _('Enable this if sending to a Shoutcast V1 server.')) vbox.pack_start(self.shoutcast_latin1, False) self.shoutcast_latin1.show() 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"), "timer_stop_fade" : (self.fade, "active"), "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"), "shoutcast_latin1" : (self.shoutcast_latin1, "active"), } 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) folder = sd.file_chooser_button.get_current_folder() self.parentobject.send("record_source=%d\n" "record_filename=%s\n" "record_folder=%s\ncommand=recorder_start\n" % ( num_id, filename, folder)) sd.set_sensitive(False) self.parentobject.time_indicator.set_sensitive(True) self.path = folder self.recording = True self.parentobject.recordstate(True, self.path) 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) self.parentobject.recordstate(False, self.path) 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.path = None 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 recordstate(self, state, path): self.scg._handle_recordstate(self.numeric_id, state, path) 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 = {} self._recordstate_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)) rec_state = recorder_state != "0" if rec_state: recording = True self._handle_recordstate(rectab.numeric_id, rec_state, rectab.record_buttons.path) 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() and \ streamtab.server_connect.get_active(): if streamtab.fade.get_active(): diff = time.localtime(int(time.time()) + 5 - \ streamtab.stop_timer.get_seconds_past_midnight()) if not (diff[3] or diff[4] or diff[5]): streamtab.issue_fade_command() 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()) def _handle_recordstate(self, numeric_id, state, pathname): cache = self._recordstate_cache if cache is not None and (numeric_id not in cache or cache[numeric_id] != state): cache[numeric_id] = state self.recordstate_changed(numeric_id, state, pathname or "") @dbus.service.signal(dbus_interface=PGlobs.dbus_bus_basename, signature="uus") def streamstate_changed(self, numeric_id, state, where): pass @dbus.service.signal(dbus_interface=PGlobs.dbus_bus_basename, signature="uus") def recordstate_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() 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.artist = artist self.title = title self.album = album self.songname = 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" ircmetadata = {"artist": artist, "title": title, "album": album, "songname": songname} # Update the song metadata on all stream tabs. for tab in self.streamtabframe.tabs: tab.metadata_update.clicked() 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.avenabled: 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 = self._recordstate_cache = None self.artist = self.title = self.album = self.songname = "" 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 = 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.15/python/tooltips.py0000644000175000017500000000322212220016612013176 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.15/python/mutagentagger.py0000644000175000017500000006371212231151347014174 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.avenabled: 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.15/python/midicontrols.py0000644000175000017500000024535612423433431014056 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 .gtkstuff import timeout_add, source_remove 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. 'l_panpre': _('Panning load from presets'), # 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. 'x_advance': _('Players advance'), # 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'), 'l': _('Setting') } 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() # Panning presets # @action_method(Binding.MODE_PULSE) def l_panpre(self, n, v, isd): self.owner.pan_preset_chooser.load_preset(n) @dbusify(in_signature='u') def panning_presets_load(self, n): self.l_panpre(n, 0, 0) # 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_advance(self, n, v, isd): self.owner.advance.clicked() @dbusify() def playlist_advance(self): self.x_advance(0, 0, 0) @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 'mksrl': 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, 'l': 8} [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= timeout_add(100, self.cb_highlights, tree, column0, model_sort) tree.connect_object('destroy', 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. __all__ = ['PopupWindow'] import gobject import gtk from .gtkstuff import threadslock, timeout_add, source_remove 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() source_remove(self.timeout_id) 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_id = timeout_add(100, self.timeout_callback) self.inside_widget = True self.total_timer_count = 0 self.message("timer started") if data == "leave": if self.inside_widget: source_remove(self.timeout_id) self.inside_widget = False self.message("timer removed") if data == "button" or data == "scroll" or self.inhibit_callback() \ and self.inside_widget: source_remove(self.timeout_id) 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.15/python/idjcmonitor.py0000644000175000017500000003410712477275676013707 00000000000000# idjcmonitor.py (C) 2013 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. Example usage: http://idjc.sourceforge.net/code_idjcmon.html """ import os import sys import time import gobject import dbus from dbus.mainloop.glib import DBusGMainLoop __all__ = ["IDJCMonitor"] BUS_BASENAME = "net.sf.idjc" OBJ_BASENAME = "/net/sf/idjc" def pid_exists(pid): """Check whether pid exists in the current process table.""" if pid < 0: return False try: os.kill(pid, 0) except OSError, e: return e.errno == os.errno.EPERM else: return True class IDJCMonitor(gobject.GObject): """Monitor IDJC internals relating to a specific profile or session. Can yield information about streams, music metadata, health. example usage: http://idjc.sourceforge.net/code_idjcmon.html """ __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)), 'recordstate-changed' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_INT, gobject.TYPE_BOOLEAN, gobject.TYPE_STRING)), 'channelstate-changed' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_UINT, gobject.TYPE_BOOLEAN)), 'voip-mode-changed' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_UINT,)), 'metadata-changed' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_STRING,) * 5), 'effect-started': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_STRING,) * 2 + (gobject.TYPE_UINT,)), 'effect-stopped': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_UINT,)), 'tracks-finishing': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()), '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', 'the audio file pathname of the track', "", gobject.PARAM_READABLE), 'streaminfo' : (gobject.TYPE_PYOBJECT, 'streaminfo', 'information about the streams', gobject.PARAM_READABLE), 'recordinfo' : (gobject.TYPE_PYOBJECT, 'recordinfo', 'information about the recorders', gobject.PARAM_READABLE), 'channelinfo' : (gobject.TYPE_PYOBJECT, 'channelinfo', 'toggle state of the audio channels', gobject.PARAM_READABLE), 'voip-mode' : (gobject.TYPE_UINT, 'voip-mode', 'voice over ip mixer mode', 0, 2, 0, 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(mainloop=DBusGMainLoop()) self.__bus_address = ".".join((BUS_BASENAME, profile)) self.__base_objpath = OBJ_BASENAME self.__base_interface = BUS_BASENAME self.__artist = self.__title = self.__album = "" self.__songname = self.__music_filename = "" self.__shutdown = False self._start_probing() @property def main(self): """A DBus interface to the main object. Code that uses this should catch any AttributeError exceptions. """ return dbus.Interface(self.__main, self.__base_interface) @property def output(self): """A DBus interface to the output object. Code that uses this should catch any AttributeError exceptions. """ return dbus.Interface(self.__output, self.__base_interface) @property def controls(self): """A DBus interface to the controls object. Code that uses this should catch any AttributeError exceptions. """ return dbus.Interface(self.__controls, self.__base_interface) 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 = self.__controls = None if not self.__shutdown: self.__probe_id = gobject.timeout_add_seconds( 2, self._idjc_started_probe) def _idjc_started_probe(self): # Check for a newly started IDJC instance of the correct profile. bus_address = ".".join((BUS_BASENAME, self.__profile)) try: self.__main = self.__bus.get_object(self.__bus_address, self.__base_objpath + "/main") self.__output = self.__bus.get_object(self.__bus_address, self.__base_objpath + "/output") self.__controls = self.__bus.get_object(self.__bus_address, self.__base_objpath + "/controls") main_iface = dbus.Interface(self.__main, self.__base_interface) 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("effect_started", self._effect_started_handler) self.__main.connect_to_signal("effect_stopped", self._effect_stopped_handler) self.__main.connect_to_signal("quitting", self._quit_handler) self.__main.connect_to_signal("heartbeat", self._heartbeat_handler) self.__main.connect_to_signal("channelstate_changed", self._channelstate_handler) self.__main.connect_to_signal("voip_mode_changed", self._voip_mode_handler) self.__main.connect_to_signal("tracks_finishing", self._tracks_finishing_handler) self.__output.connect_to_signal("streamstate_changed", self._streamstate_handler) self.__output.connect_to_signal("recordstate_changed", self._recordstate_handler) # Start watchdog thread. self.__watchdog_id = gobject.timeout_add_seconds(3, self._watchdog) self.__streams = {n : (False, "unknown") for n in xrange(10)} self.__recorders = {n : (False, "unknown") for n in xrange(4)} self.__channels = [False] * 12 self.__voip_mode = 0 main_iface = dbus.Interface(self.__main, self.__base_interface) output_iface = dbus.Interface(self.__output, self.__base_interface) 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. main_iface.new_plugin_started() 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 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) for id_, (rec, where) in self.__recorders.iteritems(): if rec: self._recordstate_handler(id_, 0, where) for index, open_ in enumerate(self.__channels): if open_: self._channelstate_handler(index, 0) 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: gobject.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 _recordstate_handler(self, numeric_id, recording, where): numeric_id = int(numeric_id) recording = bool(recording) where = where.encode("utf-8") self.__recorders[numeric_id] = (recording, where) self.notify("recordinfo") self.emit("recordstate-changed", numeric_id, recording, where) def _channelstate_handler(self, numeric_id, open_): numeric_id = int(numeric_id) open_ = bool(open_) self.__channels[numeric_id] = open_ self.notify("channelinfo") self.emit("channelstate-changed", numeric_id, open_) def _voip_mode_handler(self, mode): mode = int(mode) self.__voip_mode = mode self.notify("voip-mode") self.emit("voip-mode-changed", mode) def _tracks_finishing_handler(self): self.emit("tracks-finishing") 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 _effect_started_handler(self, title, pathname, player): self.emit("effect-started", title, pathname, player) def _effect_stopped_handler(self, player): self.emit("effect-stopped", player) 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", "effect_pathname"): return getattr(self, "_IDJCMonitor__" + name) if name == "streaminfo": return tuple(self.__streams[n] for n in xrange(10)) elif name == "recordinfo": return tuple(self.__recorders[n] for n in xrange(4)) elif name == "channelinfo": return tuple(self.__channels[n] for n in xrange(12)) elif name == "voip-mode": return self.__voip_mode 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) idjc-0.8.15/python/licence_window.py0000644000175000017500000004713212220016612014322 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.15/python/songdb.py0000644000175000017500000022613212432362633012620 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 ntpath import time import types import gettext import threading import json from functools import partial, wraps from collections import deque, defaultdict from contextlib import contextmanager 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, gdklock, DefaultEntry, NotebookSR from .gtkstuff import idle_add, timeout_add, source_remove __all__ = ['MediaPane', 'have_songdb'] AMPACHE = "Ampache" AMPACHE_3_7 = "Ampache 3.7" PROKYON_3 = "Prokyon 3" FUZZY, CLEAN, WHERE, DIRTY = xrange(4) t = gettext.translation(FGlobs.package_name, FGlobs.localedir, fallback=True) _ = t.gettext N_ = lambda t: t def dirname(pathname): if pathname.startswith("/") and not pathname.startswith("//"): return os.path.dirname(pathname) return ntpath.dirname(pathname) def basename(pathname): if pathname.startswith("/") and not pathname.startswith("//"): return os.path.basename(pathname) return ntpath.basename(pathname) 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(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, charset='utf8', compress=True) self._cursor = self._handle.cursor() except sql.Error as e: notify(_("Connection failed (try %d)") % trycount) print e time.sleep(0.5) else: # This causes problems if other # processes try to access the database, # so set autocommit to 1 try: self._handle.autocommit(True) except sql.MySQLError: notify(_('Connected: autocommit mode failed')) else: notify(_('Connected: autocommit mode set')) 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: idle_add(threadslock(self.notify), _('Problem dropping connection')) else: 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 UseSettings(dict): """Holder of data generated while using the database. It's for storage of data like the preferred browse view, catalog selection. """ def __init__(self, key_controls): self._key_controls = key_controls self._hide_top = True dict.__init__(self) @contextmanager def _toplayer(self): self._hide_top = False yield self._hide_top = True def _get_top_level_key(self): """The currently active key. When the database is activated the 'Settings' user interface is locked so this key is guaranteed to not change during that time. """ return " ".join(s.get_text().replace(" ", "") for s in self._key_controls) def __getitem__(self, key): if self._hide_top: tlk = self._get_top_level_key() return dict.__getitem__(self, tlk)[key] else: return super(UseSettings, self).__getitem__(key) def __setitem__(self, key, value): if self._hide_top: tlk = self._get_top_level_key() try: dict_ = dict.__getitem__(self, tlk) except: dict_ = {} dict.__setitem__(self, tlk, dict_) dict_[key] = value else: super(UseSettings, self).__setitem__(key, value) def get_text(self): with self._toplayer(): save_data = json.dumps(self) return save_data def set_text(self, data): with self._toplayer(): try: data = json.loads(data) except ValueError: pass else: self.update(data) class Settings(gtk.Table): """Connection details widgets.""" 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. userlabel, self.user = self._factory(_('User Name'), "ampache", "user") l_attach(userlabel, 0, 1, 2, 3) self.attach(self.user, 1, 2, 2, 3) dblabel, self.database = self._factory(_('Database'), "ampache", "database") l_attach(dblabel, 2, 3, 2, 3) self.attach(self.database, 3, 4, 2, 3) self.usesettings = UseSettings(self._controls[:]) self.textdict["songdb_usesettings_" + name] = self.usesettings # Third row. passlabel, self.password = self._factory(_('Password'), "", "password") self.password.set_visibility(False) l_attach(passlabel, 0, 1, 3, 4) self.attach(self.password, 1, 2, 3, 4) def get_data(self): """Collate parameters for DBAccessor contructors.""" accdata = {} for key in "hostnameport user password database".split(): accdata[key] = getattr(self, key).get_text().strip() return accdata, self.usesettings 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 = {} for each in self._settings: self.textdict.update(each.textdict) def credentials(self): if self.dbtoggle.get_active(): active = self._notebook.get_current_page() else: active = None pages = [] for i, settings in enumerate(self._notebook.get_children()): creddict = settings.get_data()[0] creddict.update({"active": i == active}) pages.append(creddict) return pages 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()) accdata, usesettings = settings.get_data() accdata["notify"] = self._notify else: accdata = usesettings = None callback(accdata, usesettings) 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 all pages.""" 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._update_id = deque() self._acc = None @property def db_type(self): return self._db_type def get_col_widths(self): return ",".join([str(x.get_width() or x.get_fixed_width()) for x in self.tree_cols]) def in_text_entry(self): return False def set_col_widths(self, data): """Restore column width values. Includes a data validity check.""" if len(self.tree_cols) == data.count(",") + 1: for width, col in zip(data.split(","), self.tree_cols): if width != "0": col.set_fixed_width(int(width)) else: print "can't restore column widths" def activate(self, accessor, db_type, usesettings): self._acc = accessor self._db_type = db_type self._usesettings = usesettings def deactivate(self): while self._update_id: context, namespace = self._update_id.popleft() namespace[0] = True 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) @staticmethod def _make_tv_columns(tree_view, parameters): """Build a TreeViewColumn list from a table of data.""" list_ = [] for p in parameters: try: # Check if there is an extra parameter to set the renderer label, data_index, data_function, mw, el, renderer = p except: label, data_index, data_function, mw, el = p 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 _handler(self, acc, request, cursor, notify, rows): # Lock against the very start of the update functions. with gdklock(): while self._update_id: context, namespace = self._update_id.popleft() source_remove(context) # Idle functions to receive the following and know to clean-up. namespace[0] = True 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 = idle_add(self._update_1, acc, cursor, rows, namespace) self._update_id.append((context, namespace)) class ViewerCommon(PageCommon): """Base class for TreePage and FlatPage.""" def __init__(self, notebook, label_text, controls, catalogs): self.catalogs = catalogs self.notebook = notebook self._reload_upon_catalogs_changed(enable_notebook_reload=True) PageCommon.__init__(self, notebook, label_text, controls) 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) def deactivate(self): self._reload_upon_catalogs_changed() super(ViewerCommon, self).deactivate() def _reload_upon_catalogs_changed(self, enable_notebook_reload=False): handler_id = [] handler_id.append(self.catalogs.connect("changed", self._on_catalogs_changed, enable_notebook_reload, handler_id)) self._old_cat_data = None def _on_catalogs_changed(self, widget, enable_notebook_reload, handler_id): self.catalogs.disconnect(handler_id[0]) # Only run once. if enable_notebook_reload: self.notebook.connect("switch-page", self._on_page_change) self.reload() def _on_page_change(self, notebook, page, page_num): if notebook.get_nth_page(page_num) == self: self.reload() _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 = [] for catalog, pathname in self._drag_data(model, paths): valid, pathname = self.catalogs.transform_path(catalog, pathname) if valid: data.append("file://" + pathname) selection.set(selection.target, 8, "\n".join(data)) 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 in (AMPACHE, AMPACHE_3_7): renderer.set_property("text", "%dk" % (bitrate // 1000)) renderer.set_property("xalign", 1.0) def _query_cook_common(self, query): if self._db_type == AMPACHE: query = query.replace("__played_by_me__", "'1' as played_by_me") else: query = query.replace("__played_by_me__", """SUBSTR(MAX(CONCAT(object_count.date, IF(ISNULL(agent), NULL, IF(STRCMP(LEFT(agent,5), "IDJC:"), 2, IF(STRCMP(agent, "IDJC:1"), 0, 1))))), 11) AS played_by_me""") return query.replace("__catalogs__", self.catalogs.sql()) def _cell_show_unknown(self, column, renderer, model, iter, data): text, max_lastplay_date, played_by, played, played_by_me, cat = model.get(iter, *data) if text is None: text = _('') weight = pango.WEIGHT_NORMAL if not played: col = 'black' renderer.props.background_set = False else: value, percent, weight = self._get_played_percent(cat, max_lastplay_date) col, bg_col = ViewerCommon._set_color(played_by_me, percent) renderer.props.background_set = True renderer.props.background = bg_col renderer.props.text = text renderer.props.foreground = col renderer.props.weight = weight def _cell_show_nested(self, column, renderer, model, iter, data): text, max_lastplay_date, played_by, played, played_by_me, cat = model.get(iter, *data) if text is None: text = _('') col = "black" weight = pango.WEIGHT_NORMAL renderer.props.background_set = False if model.iter_depth(iter) == 0: col = "red" elif played: value, percent, weight = self._get_played_percent(cat, max_lastplay_date) col, bg_col = ViewerCommon._set_color(played_by_me, percent) renderer.props.background_set = True renderer.props.background = bg_col renderer.props.text = text renderer.props.foreground = col renderer.props.weight = weight def _cell_progress(self, column, renderer, model, iter, data): max_lastplay_date, played_by, played, cat= model.get(iter, *data) if not played: text = _("Not Played") value = 0 renderer.props.visible = False else: value, percent, weight = self._get_played_percent(cat, max_lastplay_date) text = ViewerCommon._format_lastplay_date(max_lastplay_date) text += "(" + (played_by or _('')) + ")" renderer.props.visible = True renderer.props.text = text renderer.props.value = value @staticmethod def _cell_pathname(column, renderer, model, iter, data, partition, transform): catalog, text = model.get(iter, *data) if text: present, text = transform(catalog, text) renderer.props.foreground = "black" if present else "red" text = partition(text) renderer.props.text = text def _cell_path(self, *args, **kwargs): kwargs["partition"] = dirname kwargs["transform"] = self.catalogs.transform_path self._cell_pathname(*args, **kwargs) def _cell_filename(self, *args, **kwargs): kwargs["partition"] = basename kwargs["transform"] = lambda c, p: (True, p) self._cell_pathname(*args, **kwargs) @staticmethod def _cell_secs_to_h_m_s(column, renderer, model, iter, cell): v_in = model.get_value(iter, cell) d, h, m, s = ViewerCommon._secs_to_h_m_s(v_in) 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", "") @staticmethod def _secs_to_h_m_s(value): m, s = divmod(value, 60) h, m = divmod(m, 60) d, h = divmod(h, 24) return d, h, m, s @staticmethod def _format_lastplay_date(value): if value is None: return _("") + " " difftime = time.time() - int(value) d, h, m, s = ViewerCommon._secs_to_h_m_s(difftime) return "%dd %dh %dm ago " % (d, h, m) def _get_played_percent(self, catalog, value): if value is None: return 0, 0.0, pango.WEIGHT_NORMAL + 50 now = time.time() max_days_ago = self.catalogs.lpscale(catalog) diff = now - int(value) if diff > max_days_ago: value = 0 percent = 0.35 weight = pango.WEIGHT_NORMAL + 100 else: percent = 1.0 - (float(diff) / float(max_days_ago)) value = 100 * percent # Refactor percent used for colors to be .4 to 1.0, as anything # below about .35 starts to look to much like black. percent = (percent * .6) + .4 # Get a weight from 500 to 900 weight = ((percent * .4) * 1000) + pango.WEIGHT_NORMAL + 100 return value, percent, weight @staticmethod def _set_color(text, percent=1.0): #print "text: ", text if percent == 1.0: bg_col = "white" elif int(text) == 1: bg_col = "Powder Blue" else: bg_col = "Light Pink" return (gtk.gdk.color_from_hsv(0.0, 1.0, percent), gtk.gdk.color_from_hsv(0.6666, 1.0, percent), gtk.gdk.color_from_hsv(0.3333, 1.0, percent))[int(text)], bg_col 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(ViewerCommon): """Browsable UI with tree structure.""" # *depth*(0), *treecol*(1), album(2), album_prefix(3), year(4), disk(5), # album_id(6), tracknumber(7), title(8), artist(9), artist_prefix(10), # pathname(11), bitrate(12), length(13), catalog_id(14), max_date_played(15), # played_by(16), played(17), played_by_me(18) # 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, int, str, str, int, str BLANK_ROW = tuple(x() for x in DATA_SIGNATURE[2:]) def __init__(self, notebook, catalogs): 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) ViewerCommon.__init__(self, notebook, _('Browse'), self.controls, catalogs) 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, 15, 16, 17, 18, 14), self._cell_show_nested, 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), (_('Last Played'), (15, 16, 17, 14), self._cell_progress, -1, None, gtk.CellRendererProgress()), (_('Bitrate'), 12, self._cell_k, -1, pango.ELLIPSIZE_NONE), (_('Filename'), (14, 11), self._cell_filename, 100, pango.ELLIPSIZE_END), # TC: Directory path to a file. (_('Path'), (14, 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) try: layout_mode = self._usesettings["layout mode"] except KeyError: pass else: self.layout_combo.set_active(layout_mode) def deactivate(self): while self._pulse_id: source_remove(self._pulse_id.popleft()) self.progress_bar.set_fraction(0.0) super(TreePage, self).deactivate() def reload(self): if self.catalogs.update_required(self._old_cat_data): self.tree_rebuild.clicked() 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) self._usesettings["layout mode"] = widget.get_active() def _cb_tree_rebuild(self, widget): """(Re)load the tree with info from the database.""" self._old_cat_data = self.catalogs.copy_data() 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_WS('/',path,filename) as file, bitrate, length, 0 as catalog_id, 0 as max_date_played, "" as played_by, 0 as played, 0 as played_by_me FROM tracks LEFT JOIN albums on tracks.album = albums.name AND tracks.artist = albums.artist ORDER BY tracks.artist, album, tracknumber, title""" elif self._db_type in (AMPACHE, AMPACHE_3_7): 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, file, bitrate, time as length, catalog.id as catalog_id, MAX(object_count.date) as max_date_played, SUBSTR(MAX(CONCAT(object_count.date, user.fullname)), 11) AS played_by, played, __played_by_me__ FROM song LEFT JOIN artist ON song.artist = artist.id LEFT JOIN album ON song.album = album.id LEFT JOIN object_count ON song.id = object_count.object_id AND object_count.object_type = "song" LEFT JOIN user ON user.id = object_count.user LEFT JOIN catalog ON song.catalog = catalog.id WHERE __catalogs__ GROUP BY song.id ORDER BY artist.name, album, disk, tracknumber, title""" query = self._query_cook_common(query) else: print "unsupported database type:", self._db_type return self._pulse_id.append(timeout_add(1000, self._progress_pulse)) self._acc.request((query,), 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, catalog, pathname = model.get(iter, 0, 14, 11) if depth == 0: yield catalog, pathname else: iter = model.iter_children(iter) while iter is not None: for each in self._more_drag_data(model, iter): yield each 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')) idle_add(threadslock(self.loading_label.set_text), _('Fetch Failed!')) while self._pulse_id: 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: 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, None)] do_max = min(max(30, rows / 100), 200) # Data size to process. total = 2.0 * rows context = 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_l, iter_1, iter_2, letter, 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, ) * 11] context = 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) try: art_letter = row[7].decode('utf-8')[0].upper() except IndexError: art_letter = "" if art_letter in letter: iter_l = letter[art_letter] else: iter_l = letter[art_letter] = r_append(None, (-1, art_letter) + BLANK_ROW) if album == row[0] and artist == row[7] and \ alb_prefix == row[1] and art_prefix == row[8]: iter_3 = 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(iter_l, (-2, 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, (-3, albumtext) + BLANK_ROW) iter_3 = r_append(iter_2, (0, row[6]) + row) done += do_max self.progress_bar.set_fraction(sorted((0.0, done / total, 1.0))[1]) namespace[1] = done, iter_l, iter_1, iter_2, letter, artist, album, art_prefix, alb_prefix return True @threadslock def _update_3(self, acc, total, do_max, store, namespace): kill, (done, iter_l, iter_1, iter_2, letter, 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 if letter is None: letter = {} 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 try: alb_letter = row[0].decode('utf-8')[0].upper() except IndexError: alb_letter = "" if alb_letter in letter: iter_l = letter[alb_letter] else: iter_l = letter[alb_letter] = append(None, (-1, alb_letter) + BLANK_ROW) if album_id == row[4]: iter_3 = 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(iter_l, (-2, albumtext) + BLANK_ROW) if disk != row[3]: disk = row[3] if disk == 0: iter_2 = iter_1 else: iter_2 = append(iter_1, (-3, _('Disk %d') % disk) + BLANK_ROW) iter_3 = append(iter_2, (0, row[6]) + row) done += do_max self.progress_bar.set_fraction(min(done / total, 1.0)) namespace[1] = done, iter_l, iter_1, iter_2, letter, artist, album, art_prefix, alb_prefix, year, disk, album_id return True class FlatPage(ViewerCommon): """Flat list based user interface with a search facility.""" def __init__(self, notebook, catalogs): # 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) ViewerCommon.__init__(self, notebook, _("Search"), self.controls, catalogs) # Row data specification: # index(0), ARTIST(1), ALBUM(2), TRACKNUM(3), TITLE(4), DURATION(5), BITRATE(6), # pathname(7), disk(8), catalog_id(9), max_date_played(10), # played_by(11), played(12), played_by_me(13) self.list_store = gtk.ListStore( int, str, str, int, str, int, int, str, int, int, str, str, int, str) self.tree_cols = self._make_tv_columns(self.tree_view, ( ("(0)", 0, self._cell_ralign, -1, pango.ELLIPSIZE_NONE), (_('Artist'), (1, 10, 11, 12, 13, 9), self._cell_show_unknown, 100, pango.ELLIPSIZE_END), (_('Album'), (2, 10, 11, 12, 13, 9), self._cell_show_unknown, 100, pango.ELLIPSIZE_END), (_('Title'), (4, 10, 11, 12, 13, 9), self._cell_show_unknown, 100, pango.ELLIPSIZE_END), (_('Last Played'), (10, 11, 12, 9), self._cell_progress, -1, None, gtk.CellRendererProgress()), (_('Disk'), 8, self._cell_ralign, -1, pango.ELLIPSIZE_NONE), (_('Track'), 3, self._cell_ralign, -1, pango.ELLIPSIZE_NONE), (_('Duration'), 5, self._cell_secs_to_h_m_s, -1, pango.ELLIPSIZE_NONE), (_('Bitrate'), 6, self._cell_k, -1, pango.ELLIPSIZE_NONE), (_('Filename'), (9, 7), self._cell_filename, 100, pango.ELLIPSIZE_END), (_('Path'), (9, 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 reload(self): if self.catalogs.update_required(self._old_cat_data): self.update_button.clicked() def in_text_entry(self): return any(x.has_focus() for x in (self.fuzzy_entry, self.where_entry)) def deactivate(self): self.fuzzy_entry.set_text("") self.where_entry.set_text("") super(FlatPage, self).deactivate() 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_WS('/',path,filename) as file, 0 as disk, 0 as catalog_id, 0 as max_date_played, "" as played_by, 0 as played, 0 as played_by_me FROM tracks WHERE MATCH (artist,album,title,filename) AGAINST (%s) """), WHERE: (DIRTY, """ SELECT artist,album,tracknumber,title,length,bitrate, CONCAT_WS('/',path,filename) as file, 0 as disk, 0 as catalog_id, 0 as max_date_played, "" as played_by, 0 as played, 0 as played_by_me 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, file, album.disk as disk, catalog.id as catalog_id, MAX(object_count.date) as max_date_played, SUBSTR(MAX(CONCAT(object_count.date, user.fullname)), 11) AS played_by, played, __played_by_me__ FROM song LEFT JOIN artist ON artist.id = song.artist LEFT JOIN album ON album.id = song.album LEFT JOIN object_count ON song.id = object_count.object_id AND object_count.object_type = "song" LEFT JOIN user ON user.id = object_count.user LEFT JOIN catalog ON song.catalog = catalog.id WHERE (MATCH(album.name) against(%s) OR MATCH(artist.name) against(%s) OR MATCH(title) against(%s)) AND __catalogs__ GROUP BY song.id """), 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, file, album.disk as disk, catalog.id as catalog_id, MAX(object_count.date) as max_date_played, SUBSTR(MAX(CONCAT(object_count.date, user.fullname)), 11) AS played_by, played, __played_by_me__ FROM song LEFT JOIN album on album.id = song.album LEFT JOIN artist on artist.id = song.artist LEFT JOIN object_count ON song.id = object_count.object_id AND object_count.object_type = "song" LEFT JOIN user ON user.id = object_count.user LEFT JOIN catalog ON song.catalog = catalog.id WHERE (%s) AND __catalogs__ GROUP BY song.id ORDER BY artist.name, album.name, file, album.disk, track, title """)} } _queries_table[AMPACHE_3_7] = _queries_table[AMPACHE] def _cb_update(self, widget): self._old_cat_data = self.catalogs.copy_data() 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() source_remove(context) namespace[0] = True self.list_store.clear() return query = self._query_cook_common(query) qty = query.count("(%s)") if access_mode == CLEAN: query = (query, (user_text,) * qty) elif access_mode == DIRTY: # Accepting of SQL code in user data. query = (query % ((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 (catalog, pathname) for the given paths.""" for path in paths: row = model[path] yield row[9], 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 idle_add(self.tree_view.set_model, None) 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 = 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 CatalogsInterface(gobject.GObject): __gsignals__ = { "changed" : (gobject.SIGNAL_RUN_LAST, None, ()) } time_unit_table = {N_('Minutes'): 60, N_('Hours'): 3600, N_('Days'): 86400, N_('Weeks'): 604800} def __init__(self): gobject.GObject.__init__(self) self._dict = {} def clear(self): self._dict.clear() def copy_data(self): return self._dict.copy() def update(self, liststore): """Replacement of the standard dict update method. This one interprets a CatalogPage gtk.ListStore. """ self._dict.clear() for row in liststore: if row[0]: self._dict[row[5]] = { "peel" : row[1], "prepend" : row[2], "lpscale" : self._lpscale_calc(row[3], row[4]), "name" : row[6], "path" : row[7], "last_update" : row[8], "last_clean" : row[9], "last_add" : row[10] } self.emit("changed") @classmethod def _lpscale_calc(cls, qty, unit): return qty * cls.time_unit_table[unit] def transform_path(self, catalog, path): if len(path) < 4: return False, path # Path too short to be valid. # Conversion of Windows paths to a Unix equivalent. if path[:2] in ("\\\\", "//"): # Handle UNC paths. Throw away the server and share parts. try: path = ntpath.splitunc(path)[1].replace("\\", "/") except Exception: return False, path elif path[0] != '/': # Assume it's a regular Windows path and try to convert it. path = '/' + path.replace('\\', '/') peel = self._dict[catalog]["peel"] if peel > 0: path = "/" + path.split("/", peel + 1)[-1] path = os.path.normpath(self._dict[catalog]["prepend"] + path) return os.path.isfile(path), path def sql(self): ids = tuple(x for x in self._dict.iterkeys()) if not ids: return "FALSE" if len(ids) == 1: which = "catalog = %d" % ids[0] else: which = "catalog IN %s" % str(ids) return which + ' AND catalog.catalog_type = "local"' def update_required(self, other): if other is None: return True return self._stripped_copy(self._dict) != self._stripped_copy(other) def lpscale(self, catalog): return self._dict[catalog]["lpscale"] @staticmethod def _stripped_copy(_dict): copy = {} for key1, val1 in _dict.iteritems(): copy[key1] = {} for key2, val2 in val1.iteritems(): if key2 not in ("peel", "prepend", "lpscale"): copy[key1][key2] = val2 return copy class CatalogsPage(PageCommon): def __init__(self, notebook, interface): self.interface = interface self.refresh = gtk.Button(stock=gtk.STOCK_REFRESH) self.refresh.connect("clicked", self._on_refresh) PageCommon.__init__(self, notebook, _("Catalogs"), self.refresh) # active, peel, prepend, lpscale_qty, lpscale_unit, id, name, path, # last_update, last_clean, last_add self.list_store = gtk.ListStore( int, int, str, int, str, int, str, str, int, int, int) self.tree_cols = self._make_tv_columns(self.tree_view, ( (_('Name'), 6, None, 65, pango.ELLIPSIZE_END), (_('Catalog Path'), 7, None, 100, pango.ELLIPSIZE_END), (_('Prepend Path'), 2, None, -1, pango.ELLIPSIZE_NONE) )) rend1 = gtk.CellRendererToggle() rend1.set_activatable(True) rend1.connect("toggled", self._on_toggle) self.tree_view.insert_column_with_attributes(0, "", rend1, active=0) col = gtk.TreeViewColumn(_('Last Played Scale')) adj = gtk.Adjustment(0.0, 0.0, 999.0, 1.0, 1.0) rend2 = gtk.CellRendererSpin() rend2.props.editable = True rend2.props.adjustment = adj rend2.props.xalign = 1.0 rend2.connect("editing-started", self._on_spin_editing_started, 3) rend2.connect("edited", self._on_spin_edited, 3) col.pack_start(rend2, False) col.add_attribute(rend2, "text", 3) lp_unit_scale_store = gtk.ListStore(str) for each in (N_('Minutes'), N_('Hours'), N_('Days'), N_('Weeks')): lp_unit_scale_store.append((each,)) lp_unit_scale_cr = gtk.CellRendererCombo() lp_unit_scale_cr.props.has_entry = False lp_unit_scale_cr.props.editable = True lp_unit_scale_cr.props.model = lp_unit_scale_store lp_unit_scale_cr.props.text_column = 0 lp_unit_scale_cr.connect("changed", self._on_lp_unit_changed) col.pack_start(lp_unit_scale_cr, False) col.set_cell_data_func(lp_unit_scale_cr, self._translate_scale) self.tree_view.insert_column(col, 3) adj = gtk.Adjustment(0.0, 0.0, 999.0, 1.0, 1.0) rend3 = gtk.CellRendererSpin() rend3.props.editable = True rend3.props.adjustment = adj rend3.props.xalign = 1.0 rend3.connect("editing-started", self._on_spin_editing_started, 1) rend3.connect("edited", self._on_spin_edited, 1) col = self.tree_view.insert_column_with_attributes(4, _("Path Peel"), rend3, text=1) rend4 = self.tree_view.get_column(5).get_cell_renderers()[0] rend4.props.editable = True rend4.connect("edited", self._on_prepend_edited) for rend in (rend3, rend4): rend.connect("editing-started", self._on_editing_started) rend.connect("editing-canceled", self._on_editing_cancelled) self.tree_view.set_rules_hint(True) self._block_key_bindings = False def in_text_entry(self): return self._block_key_bindings def activate(self, *args, **kwargs): PageCommon.activate(self, *args, **kwargs) self.tree_view.get_column(0).set_visible(self._db_type in (AMPACHE, AMPACHE_3_7)) self.refresh.clicked() def deactivate(self, *args, **kwargs): PageCommon.deactivate(self, *args, **kwargs) self.interface.clear() def _translate_scale(self, col, cell, model, iter): cell.props.text = _(model.get_value(iter, 4)) def _get_active_catalogs(self): return tuple(x[3] for x in self.list_store if x[0]) def _store_user_data(self): dict_ = {} for row in self.list_store: dict_[str(row[5])] = (row[0], row[1], row[2], row[3], row[4]) self._usesettings["catalog_data"] = dict_ def _restore_user_data(self): try: dict_ = self._usesettings["catalog_data"] except: return for row in self.list_store: try: row[0], row[1], row[2], row[3], row[4] = dict_[str(row[5])] except KeyError: pass except ValueError: row[0], row[1], row[2] = dict_[str(row[5])] row[3], row[4] = 4, N_('Weeks') def _on_toggle(self, renderer, path): iter = self.list_store.get_iter(path) if iter is not None: old_val = self.list_store.get_value(iter, 0) self.list_store.set_value(iter, 0, not old_val) self._store_user_data() self.interface.update(self.list_store) def _on_refresh(self, widget): if self._db_type in (AMPACHE, AMPACHE_3_7): self.refresh.set_sensitive(False) self.tree_view.set_model(None) if self._db_type == AMPACHE: query = """SELECT id, name, path, last_update, IFNULL(last_clean,0), last_add FROM catalog WHERE enabled=1 ORDER BY name""" else: query = """SELECT catalog.id, name, path, last_update, IFNULL(last_clean,0), last_add FROM catalog LEFT JOIN catalog_local on catalog.id = catalog_id AND catalog.catalog_type = "local" WHERE enabled=1 ORDER BY name""" self._acc.request((query,), self._handler, self._failhandler) elif self._db_type == PROKYON_3: self.list_store.clear() self.tree_view.set_model(self.list_store) self.list_store.append((1, 0, "", 0, _('N/A'), 0, _('N/A'), _('N/A'), 0, 0, 0)) self._restore_user_data() self.interface.update(self.list_store) def _on_editing_started(self, rend, editable, path): self._block_key_bindings = True def _on_editing_cancelled(self, rend): self._block_key_bindings = False def _on_spin_editing_started(self, rend, editable, path, index): val = self.list_store[path][index] rend.props.adjustment.props.value = val def _on_spin_edited(self, rend, path, new_data, index): self._block_key_bindings = False row = self.list_store[path] try: val = int(new_data.strip() or 0) except ValueError: pass else: if val >= 0 and val != row[index]: row[index] = min(val, int(rend.props.adjustment.props.upper)) self._store_user_data() self.interface.update(self.list_store) def _on_prepend_edited(self, rend, path, new_data): self._block_key_bindings = False row = self.list_store[path] new_data = new_data.strip() if new_data != row[2]: row[2] = new_data self._store_user_data() self.interface.update(self.list_store) def _on_lp_unit_changed(self, combo, path_string, new_iter): text = combo.props.model.get_value(new_iter, 0) self.list_store[path_string][4] = text self._store_user_data() self.interface.update(self.list_store) ########################################################################### def _failhandler(self, exception, notify): notify(str(exception)) if exception[0] == 2006: raise idle_add(threadslock(self.tree_view.set_model), self.list_store) idle_add(threadslock(self.refresh.set_sensitive), True) @threadslock def _update_1(self, acc, cursor, rows, namespace): if not namespace[0]: self.list_store.clear() while 1: try: db_row = cursor.fetchone() except sql.Error: break if db_row is None: break self.list_store.append((0, 0, "", 4, N_('Weeks')) + db_row) self._restore_user_data() self.tree_view.set_model(self.list_store) self.refresh.set_sensitive(True) self.interface.update(self.list_store) return False 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) catalogs = CatalogsInterface() self._tree_page = TreePage(self.notebook, catalogs) self._flat_page = FlatPage(self.notebook, catalogs) self._catalogs_page = CatalogsPage(self.notebook, catalogs) 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 in_text_entry(self): if self.get_visible(): page = self.notebook.get_nth_page(self.notebook.get_current_page()) return page.in_text_entry() return False def repair_focusability(self): self._tree_page.repair_focusability() self._flat_page.repair_focusability() self._catalogs_page.repair_focusability() def get_col_widths(self, keyval): """Grab column widths as textual data.""" try: target = getattr(self, "_%s_page" % keyval) except AttributeError as e: print e 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, "_%s_page" % keyval) except AttributeError as e: print e return else: target.set_col_widths(data) def _dbtoggle(self, accdata, usesettings): if accdata: # Connect and discover the database type. self.usesettings = usesettings for i in range(1, 4): setattr(self, "_acc%d" % i, DBAccessor(**accdata)) self._acc1.request(('SHOW tables',), self._stage_1, self._fail_1) else: try: for i in xrange(1, 4): getattr(self, "_acc%d" % i).close() except AttributeError: pass else: for each in "tree flat catalogs".split(): getattr(self, "_%s_page" % each).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): idle_add(threadslock(self.prefs_controls.disconnect)) def _hand_over(self, db_name): self._tree_page.activate(self._acc1, db_name, self.usesettings) self._flat_page.activate(self._acc2, db_name, self.usesettings) self._catalogs_page.activate(self._acc3, db_name, self.usesettings) 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): notify("Checking ampache type") request(("DESCRIBE catalog",), self._stage_10, self._fail_2) def _stage_10(self, acc, request, cursor, notify, rows): if self.schema_test("path", cursor.fetchall()): notify('Found Ampache pre 3.7 schema') self._hand_over(AMPACHE) else: request(("DESCRIBE catalog_local",), self._stage_11, self._fail_2) def _stage_11(self, acc, request, cursor, notify, rows): if self.schema_test("path", cursor.fetchall()): notify('Found Ampache 3.7 schema') self._hand_over(AMPACHE_3_7) else: notify('Unrecognised database') self._safe_disconnect() idjc-0.8.15/python/irc.py0000644000175000017500000017250612522103013012107 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 . from __future__ import absolute_import import re import json import time import sys import threading import traceback import gettext from inspect import getargspec from functools import wraps, partial import gobject import gtk import pango try: from irc import client from irc import events except ImportError: traceback.print_exc() print "No IRC support" HAVE_IRC = False else: HAVE_IRC = 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, gdklock from .gtkstuff import timeout_add, source_remove 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"), # TC: IRC message subcategory, triggered once at the stream's end. _("Operations")) 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", u"%U"), (_('Artist'), _('Title'), _('Album'), _('Song name'), _('DJ name'), _('Description'), _('Listen URL'), _('Source URI'))) 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) 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.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(), False, 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()) 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 ChannelsDialog(gtk.Dialog): """Channels entry dialog.""" icon = gtk.STOCK_NEW title = "missing title" def __init__(self, title=None): if title is None: title = self.title gtk.Dialog.__init__( self, title + " - IDJC" + ProfileManager().title_extra) chbox = gtk.HBox() chbox.set_spacing(6) # TC: An IRC channel #chan or user name entry box label. l = gtk.Label(_("Channels/Users")) self.channels = gtk.Entry() chbox.pack_start(l, False) chbox.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.")) self.mainbox = gtk.VBox() self.mainbox.set_spacing(5) self.mainbox.pack_start(chbox, False) 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(self.mainbox) 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 as_tuple(self): """Data extraction method.""" return (self._from_channels(),) class EditChannelsDialog(ChannelsDialog, EditDialogMixin): """Adds delete and restore buttons to a channels dialog.""" icon = gtk.STOCK_EDIT def __init__(self, title, orig_data): ChannelsDialog.__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]) class MessageDialog(ChannelsDialog): """Message entry dialog.""" def __init__(self, title=None): ChannelsDialog.__init__(self, title) hbox = gtk.HBox() hbox.set_spacing(6) # TC: Message text to send to an IRC channel. Widget label. l = gtk.Label(_("Message")) self.message = IRCEntry() hbox.pack_start(l, False) hbox.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.")) self.mainbox.pack_start(hbox, False) sw = gtk.ScrolledWindow() sw.set_policy(gtk.POLICY_NEVER, gtk.POLICY_ALWAYS) irc_view = IRCView() sw.add(irc_view) self.mainbox.pack_start(sw, False) self.message.connect("changed", lambda w: irc_view.set_text(w.get_text())) 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, "unused":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}, 11: {"channels":5} } 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_IRC: 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-irc.")) 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_IRC: 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(list(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_IRC: 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.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 if row.type < 11: 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) elif row.type in (7, 9): text = channels + "; " + message elif row.type == 11: text = channels else: text = (("Server", ) + MESSAGE_CATEGORIES)[row.type / 2] cell.props.text = text # TC: Dialog title text. _dsu = _("IRC stream up message") # TC: Dialog title text. _dsd = _("IRC stream down message") # TC: Dialog title text. _dso = _("IRC station operations") @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) elif mode == 10: dialog(ChannelsDialog(self._dso), self._add_channels, mode) else: self._unhandled_mode(mode) @glue def _on_edit(self, mode, model, iter, dialog): row = tuple(model[model.get_path(iter)]) if mode == 1: dialog(EditServerDialog(row[2:14]), self._standard_edit, 2) elif mode == 3: dialog(EditAnnounceMessageDialog(row[4:7]), self._standard_edit, 4) elif mode == 5: dialog(EditTimerMessageDialog(row[3:7]), self._standard_edit, 3) elif mode in (7, 9): title = self._dsu if mode == 7 else self._dsd dialog(EditMessageDialog(title, row[5:7]), self._standard_edit, 5) elif mode == 11: dialog(EditChannelsDialog(self._dso, row[5:6]), self._standard_edit, 5) else: self._unhandled_mode(mode) @staticmethod def _unhandled_mode(mode): print "unhandled message category with numerical code,", mode 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) @highlight def _add_channels(self, d, model, parent_iter, mode): return model.insert(parent_iter, 0, (mode + 1, 1, 0, 0, 0) + d.as_tuple() + ("", ) * 9) 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 try: self.reactor = client.Reactor() except AttributeError: self.reactor = client.IRC() # Old API compatibility self.server = self.reactor.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 ValueError: 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 = [x.split(":")[0] for x in targets if x[0] in "#&"] user_targets = [x for x in targets if x[0] not in "#&"] 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): ref = gtk.TreeRowReference(model, 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 opts = {} def deferred(): self._alternates = [ row.nick2, row.nick3, nickname + "_", row.nick2 + "_", row.nick3 + "_", nickname + "__", row.nick2 + "__", row.nick3 + "__"] connect = partial(self.server.connect, hostname, port, nickname, password, username, ircname) def try_connect(*delays): model = ref.get_model() path = ref.get_path() if not ref.valid() or not model.path_is_active(path): print "IRC connection attempt cancelled" return print "Attempting to connect IRC %s:%d" % ( hostname, port) try: connect() except client.ServerConnectionError as e: print e try: delay = delays[0] except IndexError: print "No more connection attempts" self._ui_set_nick("") else: print "%d more tries" % len(delays) self.server.execute_delayed(delay, try_connect, delays[1:]) else: self._ui_set_nick(nickname) print "New IRC connection: %s@%s:%d" % ( nickname, hostname, port) try_connect(1, 2, 3) else: def deferred(): try: self.server.disconnect() except client.ServerConnectionError as e: print >>sys.stderr, str(e) self._ui_set_nick("") self._queue.append(deferred) def run(self): for event in events.all: 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.reactor.process_once(0.2) self.reactor.process_once() def cleanup(self): for each in self._message_handlers: each.cleanup() for obj, handler_id in self._hooks: obj.disconnect(handler_id) if self.server.is_connected(): def deferred(): self.server.add_global_handler("disconnect", self.end_thread) try: self.server.disconnect() except client.ServerConnectionError as e: print >>sys.stderr, str(e) self._ui_set_nick("") self._queue.append(deferred) else: self._keepalive = False self.join(1.0) def end_thread(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] if source != "Global!services": print "-%s- %s" % (source, event.arguments[0]) if source == "NickServ!services": with gdklock(): nspw = self.get_model()[self.get_path()].nickserv 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-irc)" % ( 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() with gdklock(): show = [x for x in self._played if t - x[1] < 5400.0] 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", "source") subst_tokens = ("%r", "%t", "%l", "%s", "%n", "%d", "%u", "%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, forced_message=None): 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)) if forced_message is not None: message = string_multireplace(forced_message, table) else: 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 = timeout_add(500, self._timeout) def on_stream_inactive(self): if self._timeout_id is not None: 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: 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() class MessageHandlerForType_11(MessageHandler): def on_stream_active(self): self.issue_messages(forced_message="!handover acquired %U") def on_stream_inactive(self): self.issue_messages(forced_message="!handover dropped %U") idjc-0.8.15/python/jingles.py0000644000175000017500000006053312423433037012775 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 import urllib 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 .gtkstuff import timeout_add, source_remove 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. """ dndsources = (("IDJC_EFFECT_BUTTON", gtk.TARGET_SAME_APP, 6),) dndtargets = ( # Drag and drop source target specs. ('text/plain', 0, 1), ('TEXT', 0, 2), ('STRING', 0, 3), ('text/uri-list', 0, 4), ("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_COPY) 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.dndsources, gtk.gdk.ACTION_DEFAULT | gtk.gdk.ACTION_COPY) self.config.connect("drag-begin", self._drag_begin) self.config.connect("drag-data-get", self._drag_get_data) self.config.connect("drag-end", self._drag_end) 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_begin(self, widget, context): widget.drag_highlight() context.set_icon_stock(gtk.STOCK_PROPERTIES, -5, -5) def _drag_end(self, widget, context): widget.drag_unhighlight() 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): if context.targets == ["IDJC_EFFECT_BUTTON"]: other = self.others[int(dragged.data)] if other != self: self.stop.clicked() other.stop.clicked() self._swap(other) return True else: data = dragged.data.splitlines() if len(data) == 1 and data[0].startswith("file://"): pathname = urllib.unquote(data[0][7:]) title = self.interlude.get_media_metadata(pathname).title if title: self.stop.clicked() self._set(pathname, title, 0.0) return True return False 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 = 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) self.approot.effect_started(self.trigger_label.get_text(), self.pathname, self.num) 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: 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) self.approot.effect_stopped(self.num) 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("notify::visible", self._cb_notify_visible) self.connect("delete-event", lambda w, e: w.hide() or True) self.connect("response", self._cb_response) self.add_filter(self.file_filter) def set_filename(self, filename): self._stored_filename = filename gtk.FileChooserDialog.set_filename(self, filename) def _cb_notify_visible(self, *args): # Make sure filename is shown in the location box. if self.get_visible(): filename = self.get_filename() if filename is None: try: if self._stored_filename is not None: self.set_filename(self._stored_filename) except AttributeError: pass else: self._stored_filename = self.get_filename() 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.15/Makefile.in0000644000175000017500000011106512555351751011521 00000000000000# Makefile.in generated by automake 1.13.4 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2013 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__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) 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@ target_triplet = @target@ subdir = . DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/configure $(am__configure_deps) \ $(srcdir)/config.h.in $(srcdir)/idjc.in.in \ $(srcdir)/idjc.desktop.in.in $(srcdir)/idjc.appdata.xml.in.in \ ABOUT-NLS $(dist_noinst_SCRIPTS) $(dist_noinst_DATA) COPYING \ compile config.guess config.rpath config.sub depcomp \ install-sh missing py-compile ltmain.sh 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 idjc.appdata.xml.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)$(appdatadir)" \ "$(DESTDIR)$(appmenudir)" "$(DESTDIR)$(docdir)" \ "$(DESTDIR)$(pkgdatadir)" SCRIPTS = $(dist_noinst_SCRIPTS) $(nodist_bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-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 \ tags-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_appdata_DATA) \ $(nodist_appmenu_DATA) $(nodist_doc_DATA) \ $(nodist_pkgdata_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.h.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` 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@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 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@ DYLIB_EXT = @DYLIB_EXT@ 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@ GIT_PROG_EXISTS = @GIT_PROG_EXISTS@ 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_SWRESAMPLE = @HAVE_SWRESAMPLE@ 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@ LIBSWRESAMPLE_CFLAGS = @LIBSWRESAMPLE_CFLAGS@ LIBSWRESAMPLE_LIBS = @LIBSWRESAMPLE_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@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ 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@ idjcpkgpythondir = @idjcpkgpythondir@ idjcpythondir = @idjcpythondir@ 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 = @target@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ 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 idjc.appdata.xml.in.in nodist_appmenu_DATA = ${PACKAGE_NAME}.desktop appmenudir = ${prefix}/share/applications nodist_appdata_DATA = ${PACKAGE_NAME}.appdata.xml appdatadir = ${datadir}/appdata nodist_pkgdata_DATA = buildinfo 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 $@ idjc.appdata.xml.in: $(top_builddir)/config.status $(srcdir)/idjc.appdata.xml.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_appdataDATA: $(nodist_appdata_DATA) @$(NORMAL_INSTALL) @list='$(nodist_appdata_DATA)'; test -n "$(appdatadir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(appdatadir)'"; \ $(MKDIR_P) "$(DESTDIR)$(appdatadir)" || 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)$(appdatadir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(appdatadir)" || exit $$?; \ done uninstall-nodist_appdataDATA: @$(NORMAL_UNINSTALL) @list='$(nodist_appdata_DATA)'; test -n "$(appdatadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(appdatadir)'; $(am__uninstall_files_from_dir) 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) install-nodist_pkgdataDATA: $(nodist_pkgdata_DATA) @$(NORMAL_INSTALL) @list='$(nodist_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-nodist_pkgdataDATA: @$(NORMAL_UNINSTALL) @list='$(nodist_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) # 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. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ 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" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 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; \ $(am__define_uniq_tagged_files); \ 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-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ 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 cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ 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)$(appdatadir)" "$(DESTDIR)$(appmenudir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(pkgdatadir)"; 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_appdataDATA install-nodist_appmenuDATA \ install-nodist_docDATA install-nodist_pkgdataDATA 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_appdataDATA \ uninstall-nodist_appmenuDATA uninstall-nodist_binSCRIPTS \ uninstall-nodist_docDATA uninstall-nodist_pkgdataDATA .MAKE: $(am__recursive_targets) all install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-am clean clean-cscope clean-generic \ clean-libtool clean-local cscope cscopelist-am ctags ctags-am \ 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_appdataDATA install-nodist_appmenuDATA \ install-nodist_binSCRIPTS install-nodist_docDATA \ install-nodist_pkgdataDATA 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-am uninstall \ uninstall-am uninstall-nodist_appdataDATA \ uninstall-nodist_appmenuDATA uninstall-nodist_binSCRIPTS \ uninstall-nodist_docDATA uninstall-nodist_pkgdataDATA ${PACKAGE_NAME}: idjc.in @sed -e 's|$${prefix}|${prefix}|g' -e 's|$${pkglibdir}|${pkglibdir}|g' $? >$@ ${PACKAGE_NAME}.desktop: idjc.desktop.in @sed -e 's|$${prefix}|${prefix}|g' -e 's|$${exec_prefix}|${exec_prefix}|g' $? >$@ ${PACKAGE_NAME}.appdata.xml: idjc.appdata.xml.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 $? >$@ buildinfo: @GIT_VERSION_CONTROL_TRUE@ echo Commit hash: $$(git log -n1 "--pretty=format:%H") > buildinfo @GIT_VERSION_CONTROL_TRUE@ echo Commit date: $$(git log -n1 "--pretty=format:%aD") >> buildinfo @GIT_VERSION_CONTROL_TRUE@ echo Repo status: $$(if test -z "$(git status --porcelain) 2>&1" ; then echo "clean" ; else echo "dirty" ; fi) >> buildinfo @GIT_VERSION_CONTROL_TRUE@ echo Remote URL: $$(git config --get remote.origin.url) >> buildinfo @GIT_VERSION_CONTROL_TRUE@ echo >> buildinfo @GIT_VERSION_CONTROL_FALSE@ rm buildinfo echo Build date: $$(date -R) >> buildinfo clean-local: rm -f buildinfo ChangeLog.gz README.gz NEWS.gz AUTHORS.gz ${PACKAGE_NAME}.desktop ${PACKAGE_NAME}.appdata.xml ${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: buildinfo 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.15/depcomp0000755000175000017500000005601612252457145011033 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2013-05-30.07; # UTC # Copyright (C) 1999-2013 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 # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} 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 -ne 0; then 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 -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # 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. ## 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. tr ' ' "$nl" < "$tmpdepfile" \ | 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 -ne 0; then 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 make_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. set_dir_from "$object" set_base_from "$object" 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 -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$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 ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" 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 rmdir '$lockdir' exit 1 " 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. rmdir "$lockdir" break else # If 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. set_dir_from "$object" set_base_from "$object" 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 -ne 0; then 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,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_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. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool 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$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; 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 -ne 0; then 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" echo >> "$depfile" # make sure the fragment doesn't end with a backslash 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" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | 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" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | 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.15/po/0000755000175000017500000000000012556740337010151 500000000000000idjc-0.8.15/po/Makevars0000644000175000017500000000352612220016605011551 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.15/po/it.gmo0000644000175000017500000016321112555351762011214 00000000000000L|$(1)1B1 K1X1 Q2]2q2 2w2V 3d3444M85N55Z6 k6u666%6 66$7C7M7B8E59{9Fy:::::: ::;;; <<<<7<! =-=/<= l= x== = == ===5= > > >*>^:>N> >>> ? ?$?)?2? :?E? T?a? v??7??????@@'@0@#?@c@|@@@AIBPB XB&fBB B4BB BBB/B/CHC bC lCwC~CCCCCCCC CC C DD))D SD>^DD DDDE6FF'FF G'G8G+>GjG.zG*G#GjG*cHH HHHHHHH HHHI I II (I2IPIXI_InI uII AJKJ^J mJzJJJJJ JXJ`KiKzKKKKK0K KKK LL L&L>LTLfLyLLLQL L0M5M-N FNTOdO6hO3OOOOOP -P.9PhP qPP P P7PPPP P PmP lQxQQ QQ QQ QQ Q Q QQR R :R/FR5vRRRRS#S+S4S=S`MS SSS'S-S,T"1T TT`TsTKxT TT T9UKURUZU`UzU U U UUUUU UV V VV"V)V2V:V IV VV`VwV|V/V VV VVVVVWW1W LWZW_WhWnWuW~WWWWW W WXX"X7XWXiX|XXXXX X XXY*Y@YRYiYY Y Y Y YYYYYZ4ZPZeZ|Z ZZ Z ZZZZZZZ[[,[5[[[[[ [ [[[[\,\o]]]]4] ]]]]^+ ^ 5^@^I^f^ o^e|^9^_!_4_ H_V_g_[_(_ `n`` ` `` ````` a a 1a+;agana ua a aaaaaaaab b b b0bEbMbebub$|bbFbb$tcc(td:dd?we&eeejfmgbhgh2i-ij*j" k0kJk*dk3kkql)l@l.l)'mQmw nXn-n.o0NoQo+o o p:p-Jpwxp3p$q-q~q0[r]r}r hs3sttXuuu1lv,vvqz{[{VH|| |||||||||}!} 6}D} M},Y}}}}} } }U} ~ ~%~ 9~F~Y~ j~x~~~%W ] ky~:5<p $ۂ(/-6d| у׃,0P _ l x#9*'+F!r)2م' (4(] ɆTs|ˉx܉VU"UTV 0+H!t"$NGKR5?H )'ȓ  =+U' ̕ԕەD e y qt З ՗"=LAPØߘ !"Dd|9@G-V +ś ۛ +%D[ dov'ǜʜۜ  &*? jBvȝϝy4'%֟+GHM<00J. $,= MY hv  ˢ բ ߢ-$3;TRYh  ͤ[ڤV6 Υ+ҥ  3B FQmŦۦR 46@wǩ۩>ߩ.Mcl) *ʪ  '@8y `"*2M co   Ȭ , 6/E'u\1 4>GPf !=\"a[ <(Zɰܰ  $3 Xcks Ʊ ݱ$ 1? FSiox/Ʋ ײ   3'G"o ٳ&4T tʹ :Vl ɵԵ  ;#Z$~ն  !*?T\o|(179 A OZ c"p!h) 28=v+ ֺ! c%2» '%aM9  ѽ;K4Sž ۾/F[ah|Ͽ ,Mk'!I(75`?;&{ AuZ?26!;$]"!*8+(5-O'}m\2N .O4! Vc:j#i3L7,V&#.y)/*Z;\Vu}    '?2rv  P ! 1=Sq& GF"2+Jv+|-&5<Oekt34  (4+DMp"'$ #.R)l8& 2NU$d%GwHf (3DT2oODdr"CIum=k5  > 7#,lj`_\NE>= FQPOq  -xBk-U:l/Gby}z@r,? F)@g(:0vz~ ^{T811E-tLw ?v"$8AS9V6+46.'amREB!5~ej! 3KVP W+c6":.J#Z0$%9UB; ]4L@W&N\|H;II'3$eX*Z#<|aAsiMYCC1K}7<AY*ox/!Q]p `%>(9pq Hnh =K&[b0_' F52syX8[{<&DLt)Gd,R+S2.Jfh*/7guic4Jn? M;)^ 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 inputBiasBindingsBitrateBlock sizeBoost/Cut (dB)Both playersButton Open TriggersBy ExtensionCPUCannot 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.ConnectConnectionConnection info for AOL instant messenger goes here.Contact DetailsContributorsControlCopyCopyright 2005-%s Stephen Fairchild and others.Could 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 tooltipsEnd 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 FilterHighestHoldHostnameHostname/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.ModeModify or Delete this announcementMonitor MixMonitor Stream MixMonoMostly 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 3Playlist ModePlaylist advance buttonPlaylist edit tagsPlaylist insert announcePlaylist insert crossfadePlaylist insert jump to topPlaylist insert pitchunbendPlaylist insert stopPlaylist insert stop 2Playlist insert transferPopulatingPortPort 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.QualityQuietRRandomRandom 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.0+.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.SaveSave 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 AppearanceStereoStereo PanningStop 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 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.WidthXChat 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: 2015-07-27 07:47+0100 PO-Revision-Date: 2013-11-07 16:48+0000 Last-Translator: Language-Team: English Language: it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: Lokalize 1.5 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 sempliceBiasScorciatoieBitrateDimensione bloccoAumenta/Taglia (dB)Entrambi i lettoriInneschi apertura pulsantePer estensioneCPUNon 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.ConnettiConnessioneLe informazioni per AOL vanno inserite qui.Dettagli del contattoCollaboratoriControlloCopiaDiritti 2005-%s Stephen Fairchild ed altri.Non 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 suggerimentiInterrompi 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 altoElevataTenutaNome 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 VoIPModoModifica o elimina questo annuncioMonitoraggio MixMonitora il FlussoMonoPiù 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 2Playlist 3Modalità playlistPulsante di avanzamento playlistPlaylist modifica i tagLettore inserisci annuncioPlaylist inserisci dissolvenzaPlaylist inserisci salto all'inizioPlaylist inserisci abbassamento tonoPlaylist inserisci stopPlaylist inserisci stop 2Lettore inserisci trasferimentoSto 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.Qualità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.0+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ù CPUSalvaSalva 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 statoStereoPanorama StereoInterrompi 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.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.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.LarghezzaXChat 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.15/po/LINGUAS0000644000175000017500000000010012225420720011065 00000000000000# Translations are listed here in a space separated list. it fr idjc-0.8.15/po/en@quot.header0000644000175000017500000000226312461430153012644 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.15/po/it.po0000644000175000017500000045707712555351761011067 00000000000000# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # # rmorelli, 2011. # Stephen Fairchild , 2013. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: putidjcinthesubjectline@bethere.co.uk\n" "POT-Creation-Date: 2015-07-27 07:47+0100\n" "PO-Revision-Date: 2013-11-07 16:48+0000\n" "Last-Translator: \n" "Language-Team: 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.5\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 #, python-brace-format 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 #, python-brace-format 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 #, python-brace-format msgid "Error during attempt to rename {0} to {1}." msgstr "Errore nel tentativo di rinominare {0} in {1}." #: python/prelims/__init__.py:805 #, python-brace-format msgid "" "Error while editing profile: {0}.\n" "\n" "{1}" msgstr "" "Errore nella modifica del profilo: {0}.\n" "\n" "{1}" #: python/prelims/__init__.py:824 #, python-brace-format 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:98 #, 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:101 #, 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:105 msgid "New profile details" msgstr "Dettagli del nuovo profilo" #. TC: profile dialog window title text. #: python/prelims/profiledialog.py:243 msgid "IDJC Profile Manager" msgstr "Gestore dei profili IDJC" #: python/prelims/profiledialog.py:277 msgid "Profile" msgstr "Profilo" #. TC: column heading. The profile nicknames. #. TC: IRC nickname data entry label. #: python/prelims/profiledialog.py:285 python/irc.py:452 msgid "Nickname" msgstr "Nickname" #. TC: column heading. #. TC: Station description. #: python/prelims/profiledialog.py:288 python/irc.py:96 #: python/playergui.py:307 python/sourceclientgui.py:1697 msgid "Description" msgstr "Descrizione" #. TC: column heading. The time a particular profile has been running. #: python/prelims/profiledialog.py:292 msgid "Up-time" msgstr "Avviato da" #: python/prelims/profiledialog.py:306 msgid "_Auto" msgstr "_Auto" #: python/prelims/profiledialog.py:365 #, 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:369 #, 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:198 #, python-brace-format 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:254 #, 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:283 msgid "_Retry Now" msgstr "_Riprova adesso" #: python/__init__.py.in.in:101 #, python-format msgid "Copyright 2005-%s Stephen Fairchild and others." msgstr "Diritti 2005-%s Stephen Fairchild ed altri." #: python/__init__.py.in.in:103 msgid "Released under the GNU General Public License V2.0+." msgstr "Rilasciato sotto la Licenza Pubblica Generica GNU, V2.0+" #. TC: IRC message subcategory, triggers on new track announcements. #: python/irc.py:82 msgid "Track announce" msgstr "Annuncio traccia" #. TC: IRC message subcategory, triggered by a timer. #: python/irc.py:84 msgid "Timer" msgstr "Cronometro" #. TC: IRC message subcategory, triggered once when the stream starts. #: python/irc.py:86 msgid "On stream up" msgstr "Se il flusso è attivo" #. TC: IRC message subcategory, triggered once at the stream's end. #: python/irc.py:88 msgid "On stream down" msgstr "Se il flusso non è attivo" #. TC: IRC message subcategory, triggered once at the stream's end. #: python/irc.py:90 #, fuzzy msgid "Operations" msgstr "Altre opzioni" #. TC: Track artist. #: python/irc.py:95 python/mutagentagger.py:375 python/songdb.py:902 #: python/songdb.py:1290 python/sourceclientgui.py:94 msgid "Artist" msgstr "Artista" #: python/irc.py:95 python/mutagentagger.py:375 python/songdb.py:1292 #: python/sourceclientgui.py:94 msgid "Title" msgstr "Titolo" #: python/irc.py:95 python/mutagentagger.py:376 python/songdb.py:1291 #: python/sourceclientgui.py:94 msgid "Album" msgstr "Album" #: python/irc.py:95 python/sourceclientgui.py:95 msgid "Song name" msgstr "Canzone" #. TC: The DJ or Stream name. #: python/irc.py:96 python/sourceclientgui.py:1694 msgid "DJ name" msgstr "Nome DJ" #: python/irc.py:96 python/sourceclientgui.py:1695 msgid "Listen URL" msgstr "Indirizzo di ascolto (URL)" #: python/irc.py:96 #, fuzzy msgid "Source URI" msgstr "Fonte" #. TC: Popup menu item for a GTK text entry widget. #: python/irc.py:139 msgid "Insert Attribute or Colour Code" msgstr "Inserisci un attributo o un codice colore" #. TC: Text formatting style. #: python/irc.py:176 msgid "Bold" msgstr "Grassetto" #. TC: Text formatting style. #: python/irc.py:178 msgid "Underline" msgstr "Sottolineato" #. TC: Text formatting style. #: python/irc.py:180 msgid "Normal" msgstr "Normale" #: python/irc.py:186 msgid "Colours" msgstr "Colori" #: python/irc.py:403 msgid "Optional data entry field for information only." msgstr "Campo opzionale a scopo informativo." #. TC: Tab heading text. #: python/irc.py:406 msgid "IRC server" msgstr "Server IRC" #: python/irc.py:418 #, fuzzy msgid "Manual start" msgstr "Manuale" #: python/irc.py:420 msgid "Off when restarting IDJC and off initially." msgstr "" #. TC: The IRC network e.g. EFnet. #: python/irc.py:444 msgid "Network" msgstr "Rete" #. TC: label for hostname entry. #: python/irc.py:446 python/sourceclientgui.py:208 msgid "Hostname" msgstr "Nome host" #. TC: TCP/IP port number label. #. TC: TCP port number. #: python/irc.py:448 python/sourceclientgui.py:704 msgid "Port" msgstr "Porta" #: python/irc.py:449 msgid "User name" msgstr "Nome utente" #: python/irc.py:450 python/songdb.py:343 python/sourceclientgui.py:209 msgid "Password" msgstr "Password" #. TC: Second choice of IRC nickname. #: python/irc.py:454 msgid "Second choice" msgstr "Seconda scelta" #. TC: Third choice of IRC nickname. #: python/irc.py:456 msgid "Third choice" msgstr "Terza scelta" #. TC: The IRC user's 'real' name. #: python/irc.py:458 msgid "Real name" msgstr "Nome reale" #. TC: The NickServ password. #: python/irc.py:460 msgid "NickServ p/w" msgstr "NickServ p/w" #. TC: Tooltip to IRC 'User name' field. #: python/irc.py:465 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:475 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:480 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:483 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:511 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:559 msgid "Channels/Users" msgstr "Canali/Utenti" #: python/irc.py:563 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:616 msgid "Message" msgstr "Messaggio" #: python/irc.py:620 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:673 msgid "IRC track announce" msgstr "Annuncio traccia IRC" #. TC: Spinbutton label for a delay value. #: python/irc.py:680 msgid "Delay" msgstr "Ritardo" #. TC: tooltip on a spinbutton widget. #: python/irc.py:682 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:710 msgid "IRC timed message" msgstr "Messaggio a tempo IRC" #. TC: Spinbutton time offset value label. #: python/irc.py:719 msgid "Offset" msgstr "Sfasamento" #. TC: Spinbutton timed interval duration value label. #: python/irc.py:721 msgid "Interval" msgstr "Intervallo" #. TC: spinbutton tooltip #: python/irc.py:724 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:728 msgid "The interval in seconds of the timed message." msgstr "L'intervallo in secondi del messaggio temporizzato" #: python/irc.py:967 #, fuzzy msgid "This feature requires the installation of python-irc." msgstr "Questa funzionalità necessita dell'installazione di python-irclib" #. TC: Indicator text: We used a password. #: python/irc.py:1058 msgid "PASSWORD" msgstr "" #. TC: Indicator text: We interact with NickServ. #: python/irc.py:1061 msgid "NICKSERV" msgstr "" #. TC: Indicator text: Server connection started manually. #: python/irc.py:1064 msgid "MANUAL" msgstr "" #. TC: Dialog title text. #: python/irc.py:1089 msgid "IRC stream up message" msgstr "Messaggio di in onda di IRC" #. TC: Dialog title text. #: python/irc.py:1091 msgid "IRC stream down message" msgstr "Messaggio di fuori onda IRC" #. TC: Dialog title text. #: python/irc.py:1093 msgid "IRC station operations" msgstr "" #: python/jingles.py:96 #, fuzzy msgid "Stop" msgstr "Ferma" #. TC: Column heading, whether to play. #: python/jingles.py:114 python/playergui.py:299 msgid "Play" msgstr "Riproduci" #: python/jingles.py:123 python/sourceclientgui.py:1051 msgid "Repeat" msgstr "Ripeti" #: python/jingles.py:136 #, fuzzy msgid "Configure" msgstr "Configurazione" #: python/jingles.py:327 python/playergui.py:4135 msgid "Supported media" msgstr "Media supportati" #: python/jingles.py:334 #, python-format msgid "Effect %d Config" msgstr "" #: python/jingles.py:349 msgid "Trigger text" msgstr "" #: python/jingles.py:350 msgid "No Name" msgstr "" #: python/jingles.py:357 msgid "Level adjustment (dB)" msgstr "" #: python/jingles.py:432 #, fuzzy msgid "Effects volume." msgstr "VoIP imposta volume" #: python/jingles.py:439 msgid "Player headroom that is applied when an effect is playing." msgstr "" #: python/jingles.py:502 #, fuzzy msgid "Alternative" msgstr "Alterna" #: python/jingles.py:503 #, fuzzy msgid "Default" msgstr "Base" #: python/jingles.py:548 #, fuzzy msgid "Effects" msgstr "Effetto" #: python/jingles.py:591 #, fuzzy, python-format msgid "Effects %d" msgstr "Effetto" #: python/jingles.py:599 python/maingui.py:189 msgid "Background Tracks" msgstr "" #: python/jingles.py:618 msgid "Background Tracks volume." msgstr "" #: python/maingui.py:93 msgid "Show a JACK freewheel control on the main panel" msgstr "" #: python/maingui.py:95 msgid "Toggle JACK freewheel mode." msgstr "" #: python/maingui.py:168 #, fuzzy msgid "File" msgstr "Nome file" #: python/maingui.py:168 python/preferences.py:1130 msgid "View" msgstr "Vista" #: python/maingui.py:169 msgid "JACK Ports" msgstr "Porte JACK" #: python/maingui.py:169 msgid "Help" msgstr "" #: python/maingui.py:171 python/maingui.py:3689 msgid "Streams" msgstr "Flussi" #: python/maingui.py:172 #, fuzzy msgid "Recorders" msgstr "Registratore" #: python/maingui.py:185 python/maingui.py:224 msgid "Output" msgstr "Uscita" #: python/maingui.py:185 msgid "Preferences" msgstr "Preferenze" #: python/maingui.py:185 msgid "Profiles" msgstr "Profili" #: python/maingui.py:188 python/songdb.py:409 #, fuzzy msgid "Music Database" msgstr "Database" #: python/maingui.py:188 #, fuzzy msgid "Channel Meters" msgstr "Gestore canale" #: python/maingui.py:188 #, fuzzy msgid "Output Meters" msgstr "Uscita" #: python/maingui.py:189 msgid "Tabbed Area" msgstr "" #: python/maingui.py:189 msgid "Button Bar" msgstr "" #: python/maingui.py:223 python/preferences.py:1485 msgid "Channels" msgstr "Canali" #: python/maingui.py:223 #, fuzzy msgid "Players" msgstr "Lettore" #: python/maingui.py:224 msgid "VoIP" msgstr "" #: python/maingui.py:224 python/maingui.py:3129 msgid "DSP" msgstr "" #: python/maingui.py:224 msgid "Mix" msgstr "" #: python/maingui.py:224 msgid "Misc" msgstr "" #: python/maingui.py:269 msgid "Reset" msgstr "" #: python/maingui.py:272 msgid "Reset the JACK port connections to the default settings." msgstr "" #: python/maingui.py:277 msgid "" "Reset all JACK port connections?\n" "\n" "All currently established connections will be lost\n" "and replaced with defaults." msgstr "" #: python/maingui.py:321 msgid "No compatible ports available." msgstr "" #: python/maingui.py:364 #, python-brace-format msgid "{0} profile={1}:{2} settings saved." msgstr "" #: python/maingui.py:367 #, python-brace-format msgid "{0} session={1}:{2} settings saved." msgstr "" #: python/maingui.py:671 msgid "Text" msgstr "Testo" #: python/maingui.py:674 msgid "The opener button's text." msgstr "Il testo del pulsante di apertura" #: python/maingui.py:682 msgid "Icon" msgstr "Icona" #: python/maingui.py:690 msgid "The opener button's icon." msgstr "L'iconda del pulsante di apertura." #: python/maingui.py:698 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:703 msgid "The amount of headroom required (dB)" msgstr "La quantità di headroom richiesta (dB)" #: python/maingui.py:712 msgid "This button will flash as a reminder to close" msgstr "Questo pulsante lampeggerà per ricordarvi di chiuderlo" #: python/maingui.py:713 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:721 msgid "This button is to be treated as a microphone opener" msgstr "Questo apre il microfono" #: python/maingui.py:723 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:732 msgid "This button will automatically cancel JACK freewheel mode" msgstr "" #: python/maingui.py:734 msgid "" "This should be set for all buttons that control input from a live sound " "source or device." msgstr "" #: python/maingui.py:737 msgid "Button Open Triggers" msgstr "Inneschi apertura pulsante" #: python/maingui.py:744 msgid "Playlist advance button" msgstr "Pulsante di avanzamento playlist" #: python/maingui.py:745 python/maingui.py:746 #, python-format msgid "'%s' control" msgstr "controllo '%s'" #. TC: Insert playlist control to stop the player. #: python/maingui.py:745 python/playergui.py:4393 msgid "Player Stop" msgstr "Ferma lettore" #. TC: Insert playlist control to stop the player. #: python/maingui.py:746 python/playergui.py:4400 msgid "Player Stop 2" msgstr "Ferma lettore 2" #: python/maingui.py:747 msgid "Announcements" msgstr "Annunci" #: python/maingui.py:759 msgid "When opened close these other buttons" msgstr "Chiude questi altri pulsanti se aperto" #: python/maingui.py:770 msgid "Shell Command" msgstr "Comando Shell" #: python/maingui.py:771 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:791 msgid "On open" msgstr "All'avvio" #: python/maingui.py:792 msgid "On close" msgstr "In chiusura" #: python/maingui.py:836 msgid "Main Panel Opener Buttons" msgstr "Pulsanti di apertura del pannello principale" #: python/maingui.py:848 msgid "Indicate button numbers and associated channel numbers" msgstr "Indica il numero dei pulsanti e dei numeri di canale associati" #: python/maingui.py:850 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:856 msgid "Status Indicator Appearance" msgstr "Aspetto dell'indicatore di stato" #: python/maingui.py:859 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:868 python/format.py:827 msgid "Width" msgstr "Larghezza" #: python/maingui.py:875 msgid "Opened" msgstr "Aperto" #: python/maingui.py:879 python/preferences.py:503 python/preferences.py:505 msgid "Closed" msgstr "Chiuso" #: python/maingui.py:884 msgid "Remind" msgstr "Ricorda" #. TC: A placeholder text for when there are no opener buttons. #: python/maingui.py:1065 msgid "No Channel Opener Buttons" msgstr "Nessun canale da abilitare" #: python/maingui.py:1354 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:1377 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:1825 python/sourceclientgui.py:2784 msgid "Record" msgstr "Registra" #: python/maingui.py:2647 msgid "Confirmation to quit IDJC is required." msgstr "Viene chiesta una conferma per chiudere IDJC." #: python/maingui.py:2651 msgid "All active recordings and radio streams will terminate." msgstr "Tutte le registrazioni ed i flussi radio verranno interrotti." #: python/maingui.py:2653 msgid "All of the active radio streams will terminate." msgstr "Tutti flussi radio verranno interrotti." #: python/maingui.py:2655 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:2921 python/maingui.py:3353 msgid "Remove Contents" msgstr "Rimuove i contenuti" #: python/maingui.py:3076 msgid "Renameable Labels" msgstr "" #: python/maingui.py:3100 #, fuzzy msgid "Main Players" msgstr "Lettore destro" #: python/maingui.py:3153 msgid "Mix voice over IP audio to the output stream." msgstr "Manda in onda l'audio del VoIP" #: python/maingui.py:3166 msgid "Mix voice over IP audio to the DJ only." msgstr "Missa l'audio del VoIP solo al DJ" #: python/maingui.py:3193 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:3238 python/preferences.py:873 msgid "The volume control shared by both music players." msgstr "Il controllo del volume per entrambi i lettori" #: python/maingui.py:3249 msgid "The volume control for the right music player." msgstr "Il volume del lettore di destra." #: python/maingui.py:3277 msgid "VoIP level adjustment. 0dB gain is at the mid point." msgstr "" #: python/maingui.py:3300 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:3327 python/preferences.py:1413 msgid "Tracks Played" msgstr "Tracce eseguite" #: python/maingui.py:3398 python/maingui.py:3400 python/maingui.py:3424 msgid "Monitor Mix" msgstr "Monitoraggio Mix" #: python/maingui.py:3407 python/maingui.py:3424 python/playergui.py:4334 msgid "DJ" msgstr "DJ" #. TC: binding editor, action pane, first row, toplevel menu. #: python/maingui.py:3410 python/maingui.py:3424 python/midicontrols.py:155 #: python/midicontrols.py:1507 python/playergui.py:4326 #: python/sourceclientgui.py:2792 msgid "Stream" msgstr "Flusso" #. TC: Context {0}, {1}, {2} = Monitor Mix, Stream, DJ #. TC: Or whatever they become translated to. #: python/maingui.py:3420 #, python-brace-format 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:3433 python/maingui.py:3435 msgid "Metadata Source" msgstr "Sorgente dei metadati" #. TC: The chosen source of track metadata. #: python/maingui.py:3441 python/playergui.py:4044 msgid "Playlist 1" msgstr "Playlist 1" #. TC: The chosen source of track metadata. #: python/maingui.py:3443 python/playergui.py:4045 msgid "Playlist 2" msgstr "Playlist 2" #. TC: The chosen source of track metadata. #: python/maingui.py:3445 python/songdb.py:909 python/songdb.py:1293 msgid "Last Played" msgstr "Ultima eseguita" #. TC: The chosen source of track metadata. #: python/maingui.py:3447 python/maingui.py:3484 python/maingui.py:3486 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:3449 python/playergui.py:4309 msgid "None" msgstr "Nessuna" #. TC: The chosen source of track metadata. In this case no metadata. #: python/maingui.py:3451 msgid "Playlist 3" msgstr "Playlist 3" #: python/maingui.py:3456 #, 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:3466 python/maingui.py:3468 msgid "L" msgstr "L" #: python/maingui.py:3478 msgid "Move the crossfader fully left." msgstr "Sposta il crossfader a sinistra" #: python/maingui.py:3498 msgid "The crossfader." msgstr "Il crossfader" #. TC: Abbreviation of right. #: python/maingui.py:3502 python/maingui.py:3504 msgid "R" msgstr "R" #: python/maingui.py:3514 msgid "Move the crossfader fully right." msgstr "Sposta il crossfader a destra" #. TC: Describes a mid point. #: python/maingui.py:3523 python/maingui.py:3525 msgid "Middle" msgstr "Mezzo/Metà" #: python/maingui.py:3542 python/maingui.py:3549 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:3554 python/maingui.py:3556 msgid "Response" msgstr "Risposta" #: python/maingui.py:3578 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:3592 python/maingui.py:3594 msgid "Time" msgstr "Tempo" #: python/maingui.py:3611 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:3620 python/maingui.py:3622 msgid "Pass" msgstr "Avvia" #: python/maingui.py:3635 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:3678 #, fuzzy msgid "Peak" msgstr "Str Peak" #: python/maingui.py:3681 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:3703 msgid "VU" msgstr "" #: python/maingui.py:3707 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:3710 msgid "Ch" msgstr "Ch" #: python/maingui.py:3737 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:48 #, fuzzy msgid "Tooltips enable" msgstr "VoIP abilita l'uscita" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:50 msgid "DJ-mix monitor" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:52 msgid "Panning load from presets" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:54 msgid "Player play/pause" msgstr "Lettore riproduci/pausa" #. TC: Control method. Please keep it as Target:Action. #. TC: Playlist control. #: python/midicontrols.py:56 python/playergui.py:3798 msgid "Player stop" msgstr "Lettore ferma" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:58 msgid "Player advance" msgstr "Lettore avanza" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:60 msgid "Player play previous" msgstr "Lettore suona la precedente" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:62 msgid "Player play next" msgstr "Lettore suona la prossima" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:64 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:66 msgid "Player select previous" msgstr "Lettore seleziona la precedente" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:68 msgid "Player select next" msgstr "Lettore seleziona la successiva" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:70 msgid "Player stream output enable" msgstr "Lettore abilita il flusso" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:72 msgid "Player DJ output enable" msgstr "Lettore abilita l'uscita DJ" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:74 msgid "Player DJ-only switch" msgstr "Lettore solo al DJ " #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:76 msgid "Player set volume" msgstr "Lettore Imposta il volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:78 msgid "Player set gain" msgstr "Lettore imposta il gain" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:80 msgid "Player set balance" msgstr "Lettore imposta il bilanciamento" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:82 msgid "Player set pitchbend" msgstr "Lettore imposta variazione tono" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:85 msgid "Playlist edit tags" msgstr "Playlist modifica i tag" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:87 msgid "Playlist insert stop" msgstr "Playlist inserisci stop" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:89 msgid "Playlist insert stop 2" msgstr "Playlist inserisci stop 2" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:91 msgid "Playlist insert announce" msgstr "Lettore inserisci annuncio" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:93 msgid "Playlist insert transfer" msgstr "Lettore inserisci trasferimento" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:95 msgid "Playlist insert crossfade" msgstr "Playlist inserisci dissolvenza" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:97 msgid "Playlist insert pitchunbend" msgstr "Playlist inserisci abbassamento tono" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:99 msgid "Playlist insert jump to top" msgstr "Playlist inserisci salto all'inizio" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:102 msgid "Players set crossfade" msgstr "Lettori imposta dissolvenza" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:104 msgid "Players pass crossfade" msgstr "Lettori supera dissolvenza" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:106 msgid "Players set focus" msgstr "Lettori imposta focus" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:108 msgid "Players show pitchbend" msgstr "Lettori mostra alzamento tono" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:110 #, fuzzy msgid "Players advance" msgstr "Lettore avanza" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:113 msgid "Channel output enable" msgstr "Canale abilita l'uscita" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:115 msgid "Channel set volume" msgstr "Canale imposta volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:117 msgid "Channel set gain" msgstr "Canale imposta guadagno" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:119 msgid "Channel set balance" msgstr "Canale imposta bilanciameno" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:122 msgid "VoIP output enable" msgstr "VoIP abilita l'uscita" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:124 msgid "VoIP DJ-only switch" msgstr "VoIP solo al DJ" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:126 msgid "VoIP set volume" msgstr "VoIP imposta volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:128 #, fuzzy msgid "VoIP set mixback" msgstr "VoIP imposta il bilanciamento" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:130 msgid "VoIP set gain" msgstr "VoIP imposta guadagno" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:132 msgid "VoIP set balance" msgstr "VoIP imposta il bilanciamento" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:135 #, fuzzy msgid "Effect play from start" msgstr "Stacchetto suona dall'inizio" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:138 #, fuzzy msgid "Effects stop many" msgstr "VoIP imposta volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:140 #, fuzzy msgid "Effects set volume" msgstr "VoIP imposta volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:142 #, fuzzy msgid "Effects set headroom" msgstr "Stacchetti seleziona il successivo" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:145 msgid "Stream set connected" msgstr "Flusso imposta connessione" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:148 msgid "Recorder set recording" msgstr "Registratore imposta registrazione" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:152 python/midicontrols.py:1493 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:153 python/midicontrols.py:1499 #: python/midicontrols.py:1568 python/midicontrols.py:1758 msgid "Channel" msgstr "Canale" #: python/midicontrols.py:154 python/preferences.py:599 #: python/preferences.py:609 msgid "Effect" msgstr "Effetto" #: python/midicontrols.py:156 msgid "Recorder" msgstr "Registratore" #: python/midicontrols.py:157 #, fuzzy msgid "Setting" msgstr "Modificatori" #: python/midicontrols.py:161 msgid "Left player" msgstr "Lettore sinistro" #: python/midicontrols.py:162 msgid "Right player" msgstr "Lettore destro" #: python/midicontrols.py:163 #, fuzzy msgid "Background player" msgstr "Lettore attivo" #: python/midicontrols.py:164 msgid "Focused player" msgstr "Lettore attivo" #: python/midicontrols.py:165 msgid "Fadered player" msgstr "Lettore inattivo" #: python/midicontrols.py:169 #, fuzzy msgid "Effects bank 1" msgstr "Effetto" #: python/midicontrols.py:170 #, fuzzy msgid "Effects bank 2" msgstr "Effetto" #: python/midicontrols.py:171 #, fuzzy msgid "All effects" msgstr "Stacchetti seleziona il successivo" #. TC: The name of the backspace key. #: python/midicontrols.py:405 msgid "BackSpace" msgstr "BackSpace" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1469 msgid "Use value" msgstr "Usa valore" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1471 msgid "Act if" msgstr "Agisci se" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1473 msgid "Set to" msgstr "Imposta a" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1475 msgid "Adjust by" msgstr "Regola di" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1480 python/midicontrols.py:1484 msgid "Control" msgstr "Controllo" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1482 msgid "Note" msgstr "Nota" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1486 msgid "Key" msgstr "Tasto" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1491 #, fuzzy msgid "Miscellaneous" msgstr "Impostazioni varie" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1495 msgid "Both players" msgstr "Entrambi i lettori" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1497 msgid "Quick panning" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1501 msgid "VoIP channel" msgstr "Canale VoIP" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1503 #, fuzzy msgid "Single effect" msgstr "Stacchetti seleziona il successivo" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1505 #, fuzzy msgid "Effects bank" msgstr "Effetto" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1509 msgid "Stream recorder" msgstr "Flusso registratore " #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1514 msgid "Direct fader/held button" msgstr "Pulsante cursore/premuto" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1516 msgid "One-shot/toggle button" msgstr "Pulsante a singolo colpo" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1518 msgid "Set value" msgstr "Imposta valore" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1520 msgid "Alter value" msgstr "Altera valore" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1525 msgid "MIDI control" msgstr "MIDI controllo" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1527 msgid "MIDI note" msgstr "MIDI nota" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1529 msgid "MIDI pitch-wheel" msgstr "MIDI controllo della tonalità " #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1531 msgid "Keyboard press" msgstr "Azione da tastiera" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1533 msgid "XChat command" msgstr "XChat comando" #. TC: Dialog window title text. #. TC: User is expected to edit a control binding. #: python/midicontrols.py:1542 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:1557 python/midicontrols.py:1638 #: python/midicontrols.py:1737 msgid "Listen for input..." msgstr "In attesa di input..." #. TC: The input source. #: python/midicontrols.py:1565 msgid "Source" msgstr "Fonte" #. TC: The manner in which the input is interpreted. #: python/midicontrols.py:1584 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:1590 msgid "On target" msgstr "Obiettivo" #. TC: Checkbutton text. #. TC: Use reverse scale and invert the meaning of button presses. #: python/midicontrols.py:1598 msgid "Reversed" msgstr "Invertito" #: python/midicontrols.py:1599 msgid "Pressed" msgstr "Premuto" #: python/midicontrols.py:1601 msgid "Released" msgstr "Rilasciato" #. TC: Tree column heading for Inputs e.g. Backspace, F1, S. #: python/midicontrols.py:1631 python/midicontrols.py:1992 msgid "Input" msgstr "Ingresso" #: python/midicontrols.py:1635 #, 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:1671 python/midicontrols.py:1677 #: python/midicontrols.py:2006 msgid "Action" msgstr "Azione" #. TC: %s is the translation of 'Action'. #: python/midicontrols.py:1676 #, 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:1733 msgid "Listening for input" msgstr "In attesta di input" #. TC: Refers to key modifiers including Ctrl, Alt, Shift, .... #: python/midicontrols.py:1754 msgid "Shifting" msgstr "Modificatori" #: python/midicontrols.py:1953 msgid "Singular control" msgstr "Controllo unico" #: python/midicontrols.py:2015 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:906 python/songdb.py:1295 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:177 #, fuzzy msgid "Connecting" msgstr "Connessione" #: python/songdb.py:188 #, fuzzy, python-format msgid "Connection failed (try %d)" msgstr "Timer di connessione:" #: python/songdb.py:199 msgid "Connected: autocommit mode failed" msgstr "" #: python/songdb.py:201 msgid "Connected: autocommit mode set" msgstr "" #: python/songdb.py:202 #, fuzzy msgid "Connected" msgstr "Connetti" #: python/songdb.py:210 msgid "Job dropped" msgstr "" #: python/songdb.py:220 python/songdb.py:431 #, fuzzy msgid "Disconnected" msgstr "Disconnetti" #: python/songdb.py:233 msgid "Problem dropping connection" msgstr "" #: python/songdb.py:235 #, fuzzy msgid "Connection dropped" msgstr "Connessione" #: python/songdb.py:326 #, fuzzy msgid "Hostname[:Port]" msgstr "Nome host" #: python/songdb.py:331 #, fuzzy msgid "User Name" msgstr "Nome utente" #: python/songdb.py:334 msgid "Database" msgstr "Database" #: python/songdb.py:389 #, fuzzy msgid "Prokyon3 or Ampache (song title) Database" msgstr "Prokyon3 (titolo canzone) Database" #: python/songdb.py:390 msgid "" "You can make certain media databases accessible in IDJC for easy drag and " "drop into the playlists." msgstr "" #: python/songdb.py:438 #, fuzzy msgid "Module mysql-python (MySQLdb) required" msgstr "E' necessario il modulo Python MySQLdb" #: python/songdb.py:707 python/songdb.py:723 python/songdb.py:747 #: python/songdb.py:805 msgid "" msgstr "" #: python/songdb.py:741 #, fuzzy msgid "Not Played" msgstr "Ultima eseguita" #: python/songdb.py:878 msgid "Reload the database." msgstr "" #: python/songdb.py:883 msgid "Expand entire tree." msgstr "" #: python/songdb.py:884 #, fuzzy msgid "Collapse tree." msgstr "_Collassa" #: python/songdb.py:891 msgid "Browse" msgstr "" #. TC: The disk number of the album track. #: python/songdb.py:904 python/songdb.py:1294 msgid "Disk" msgstr "" #. TC: Track playback time. #. TC: Playback time. #: python/songdb.py:908 python/songdb.py:1296 python/playergui.py:313 msgid "Duration" msgstr "Durata" #: python/songdb.py:910 python/songdb.py:1297 python/format.py:594 #: python/format.py:615 python/format.py:701 python/format.py:722 #: python/format.py:857 python/format.py:962 python/format.py:1012 #: python/format.py:1022 msgid "Bitrate" msgstr "Bitrate" #: python/songdb.py:911 python/songdb.py:1298 msgid "Filename" msgstr "Nome file" #. TC: Directory path to a file. #: python/songdb.py:913 python/songdb.py:1299 msgid "Path" msgstr "Percorso" #: python/songdb.py:918 msgid "Artist - Album - Title" msgstr "" #: python/songdb.py:919 msgid "Album - [Disk] - Title" msgstr "" #: python/songdb.py:939 msgid "Fetching" msgstr "" #: python/songdb.py:1084 msgid "Tree fetch failed" msgstr "" #: python/songdb.py:1085 msgid "Fetch Failed!" msgstr "" #: python/songdb.py:1098 msgid "Populating" msgstr "Sto popolando" #: python/songdb.py:1224 #, python-format msgid "Disk %d" msgstr "" #. TC: User specified search filter entry box title text. #: python/songdb.py:1243 msgid "Filters" msgstr "Filtri" #. TC: A type of search on any data field matching paritial strings. #: python/songdb.py:1255 msgid "Fuzzy Search" msgstr "Ricerca approssimativa" #. TC: WHERE is an SQL keyword. #: python/songdb.py:1264 msgid "WHERE" msgstr "WHERE" #: python/songdb.py:1277 #, fuzzy msgid "Search" msgstr "Ricerca approssimativa" #: python/songdb.py:1514 python/songdb.py:1639 msgid "Minutes" msgstr "" #: python/songdb.py:1514 python/songdb.py:1639 #, fuzzy msgid "Hours" msgstr "Colori" #: python/songdb.py:1515 python/songdb.py:1639 msgid "Days" msgstr "" #: python/songdb.py:1515 python/songdb.py:1639 python/songdb.py:1709 #: python/songdb.py:1803 msgid "Weeks" msgstr "" #: python/songdb.py:1609 msgid "Catalogs" msgstr "" #: python/songdb.py:1616 #, fuzzy msgid "Name" msgstr "Nome utente" #: python/songdb.py:1617 msgid "Catalog Path" msgstr "" #: python/songdb.py:1618 #, fuzzy msgid "Prepend Path" msgstr "Prependi" #: python/songdb.py:1626 #, fuzzy msgid "Last Played Scale" msgstr "Ultima eseguita" #: python/songdb.py:1658 #, fuzzy msgid "Path Peel" msgstr "Percorso" #: python/songdb.py:1737 msgid "N/A" msgstr "" #: python/songdb.py:1918 #, fuzzy msgid "Failed to create FULLTEXT index" msgstr "errore nella creazione del profilo: %s" #: python/songdb.py:1922 msgid "Found existing FULLTEXT index" msgstr "" #: python/songdb.py:1936 python/songdb.py:1949 #, fuzzy msgid "Unrecognised database" msgstr "data di registrazione" #: python/songdb.py:1944 msgid "Found Prokyon 3 schema" msgstr "" #: python/playergui.py:236 msgid "Cuesheet Playlist" msgstr "Playlist da file cue" #. TC: Column heading, the track number. #: python/playergui.py:302 msgid "Trk" msgstr "Trk" #. TC: Column heading, the index number. #: python/playergui.py:305 msgid "Ind" msgstr "Ind" #: python/playergui.py:414 msgid "External Playlist" msgstr "Playlist esterna" #. TC: Button text to activate an external playlist. #: python/playergui.py:425 msgid "Active" msgstr "Attivo" #: python/playergui.py:435 msgid "Choose a playlist file" msgstr "Scegli un file playlist" #: python/playergui.py:440 msgid "Choose a media directory" msgstr "Scegli una cartella per i media" #: python/playergui.py:453 msgid "Choose a playlist file." msgstr "Scegli un playlist file" #: python/playergui.py:455 msgid "Choose a folder/directory of music." msgstr "Scegli una cartella per la musica" #: python/playergui.py:522 msgid "Create a new announcement" msgstr "Crea un nuovo annuncio" #: python/playergui.py:525 msgid "Modify or Delete this announcement" msgstr "Modifica o elimina questo annuncio" #. TC: Embed a DJ announcement text into the playlist. #: python/playergui.py:528 python/playergui.py:4430 msgid "Announcement" msgstr "Avviso" #. TC: The time format as minutes and seconds. #: python/playergui.py:556 msgid "mm:ss" msgstr "mm:ss" #. TC: Alongside the name of the next track. #: python/playergui.py:609 msgid "Next track" msgstr "Traccia successiva" #: python/playergui.py:934 msgid "By Extension" msgstr "Per estensione" #: python/playergui.py:934 msgid "M3U playlist" msgstr "Playlist M3U" #: python/playergui.py:934 #, fuzzy msgid "M3U8 playlist" msgstr "Playlist M3U" #: python/playergui.py:935 msgid "XSPF playlist" msgstr "XSPF playlist" #: python/playergui.py:935 msgid "PLS playlist" msgstr "PLS playlist" #: python/playergui.py:1007 #, python-format msgid "%d Audio Tracks" msgstr "" #. TC: Missing metadata text. #: python/playergui.py:1017 msgid "Unknown" msgstr "Sconosciuto" #: python/playergui.py:1021 msgid "(Cue sheet)" msgstr "(Elementi del file cue)" #: python/playergui.py:1058 msgid "Bad Tag" msgstr "Tag errato" #: python/playergui.py:1888 python/playergui.py:4268 msgid "Manual" msgstr "Manuale" #: python/playergui.py:1892 python/playergui.py:4265 msgid "Play All" msgstr "Riproduci tutto" #: python/playergui.py:1900 python/playergui.py:1909 python/playergui.py:4266 msgid "Loop All" msgstr "Riproduci in ciclo" #: python/playergui.py:1900 python/playergui.py:4269 msgid "Cue Up" msgstr "Accoda" #: python/playergui.py:1901 python/playergui.py:4273 msgid "Fade Over" msgstr "Dissolvenza in uscita" #: python/playergui.py:1913 python/playergui.py:1984 python/playergui.py:4267 msgid "Random" msgstr "Casuale" #: python/playergui.py:1953 python/playergui.py:4270 msgid "External" msgstr "Esterna" #: python/playergui.py:1965 python/playergui.py:1981 python/playergui.py:4272 msgid "Alternate" msgstr "Alterna" #: python/playergui.py:1965 python/playergui.py:1983 python/playergui.py:4274 msgid "Random Hop" msgstr "Salto casuale" #. TC: The remaining playlist time. #: python/playergui.py:2138 python/playergui.py:2144 msgid "Remaining" msgstr "Restante" #. TC: The estimated finish time of the playlist. #. TC: The estimated finish time of the playlist (ETA). #: python/playergui.py:2140 python/playergui.py:2144 python/playergui.py:2158 msgid "Finish" msgstr "Fine" #. TC: The play duration of the block of audio tracks. #: python/playergui.py:2145 python/playergui.py:2156 msgid "Block size" msgstr "Dimensione blocco" #. TC: File dialog title text. #: python/playergui.py:2546 msgid "Add music to left playlist" msgstr "Aggiungi musica alla playlist di sinistra" #. TC: File dialog title text. #: python/playergui.py:2549 msgid "Add music to right playlist" msgstr "Aggiungi musica alla playlist di destra" #: python/playergui.py:2551 msgid "Add background music" msgstr "" #. TC: File filter text. #: python/playergui.py:2563 msgid "Supported Media Formats" msgstr "Formati di media supportati" #. TC: Expander text "Select File Type (.pls)" for the pls file type. #: python/playergui.py:2625 msgid "Select File Type" msgstr "Seleziona il tipo di file" #: python/playergui.py:3383 msgid "Save left playlist" msgstr "Salva la playlist di sinistra" #: python/playergui.py:3385 msgid "Save right playlist" msgstr "Salva la playlist di destra" #: python/playergui.py:3387 #, fuzzy msgid "Save background playlist" msgstr "Salva la playlist di destra" #: python/playergui.py:3405 msgid "File Type" msgstr "Tipo file" #: python/playergui.py:3410 msgid "Extension" msgstr "Estensione" #. TC: Playlist control. #. TC: Insert playlist control to do a ten second fade to the next track. #: python/playergui.py:3774 python/playergui.py:4441 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:3780 python/playergui.py:4448 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:3785 python/playergui.py:4455 msgid "No Fade" msgstr "Nessun dissolvenza" #. TC: Playlist control. #: python/playergui.py:3793 msgid ">> Normal Speed <<" msgstr ">> Velocità normale <<" #. TC: Playlist control. #: python/playergui.py:3803 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:3808 python/playergui.py:4407 msgid "Jump To Top" msgstr "Passa all'inizio" #. TC: Playlist control. #: python/playergui.py:3813 python/playergui.py:4467 msgid "Stop streaming" msgstr "Interrompi il flusso" #. TC: Playlist control. #: python/playergui.py:3818 python/playergui.py:4475 msgid "Stop recording" msgstr "Interrompi la registrazione" #: python/playergui.py:3851 #, fuzzy msgid "Announcement:" msgstr "Avviso" #. TC: Playlist control. #: python/playergui.py:3857 msgid ">>> Transfer across >>>" msgstr ">>> Trasferisci tra >>>" #. TC: Playlist control. #: python/playergui.py:3860 msgid "<<< Transfer across <<<" msgstr "<<< Trasferisci tra <<<" #. TC: Playlist control. #: python/playergui.py:3865 msgid ">>> Fade across >>>" msgstr ">>> Dissolvi tra >>>" #. TC: Playlist control. #: python/playergui.py:3868 msgid "<<< Fade across <<<" msgstr "<<< Dissolvi tra <<<" #. TC: Playlist control. #: python/playergui.py:3874 msgid "Ignored playlist control" msgstr "Controlli playlist ignorati" #: python/playergui.py:3942 #, python-brace-format msgid "Playing track {0} of {1}" msgstr "Riproduzione traccia {0} di {1}" #. TC: Previous line: Playing track {0} of {1} #: python/playergui.py:3955 #, python-format msgid "From the album, %s" msgstr "Dall'album, %s" #: python/playergui.py:3962 #, python-format msgid "Total number of tracks %d" msgstr "Numero totale di tracce %d" #: python/playergui.py:3966 python/playergui.py:3968 #, python-format msgid "Total play duration %s" msgstr "Durata totale %s" #: python/playergui.py:4018 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:4036 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:4125 msgid "All file types" msgstr "Tutti i tipi di file" #: python/playergui.py:4130 #, fuzzy msgid "Playlist types" msgstr "Playlist 1" #: python/playergui.py:4145 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:4168 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:4182 msgid "This sets the playback speed back to normal." msgstr "Reimposta la normale velocità di riproduzione " #: python/playergui.py:4199 msgid "Previous track." msgstr "Traccia precedente" #: python/playergui.py:4211 msgid "Play." msgstr "Riproduci" #: python/playergui.py:4221 msgid "Pause." msgstr "Pausa" #: python/playergui.py:4231 msgid "Stop." msgstr "Ferma" #: python/playergui.py:4241 msgid "Next track." msgstr "Traccia successiva" #: python/playergui.py:4253 msgid "Add tracks to the playlist." msgstr "Aggiungi tracce alla playlist" #: python/playergui.py:4260 python/preferences.py:71 msgid "Playlist Mode" msgstr "Modalità playlist" #: python/playergui.py:4279 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:4303 python/preferences.py:72 msgid "Fade" msgstr "Dissolvenza" #: python/playergui.py:4315 msgid "This controls the amount of fade between tracks." msgstr "Controlla il tempo di dissolvenza tra tracce" #: python/playergui.py:4322 msgid "Audio Feed" msgstr "Audio Feed" #: python/playergui.py:4332 msgid "Make output from this player available for streaming." msgstr "Manda in onda l'audio di questo lettore" #: python/playergui.py:4340 msgid "Make output from this player audible to the DJ." msgstr "Rende l'uscita di questo lettore udibile dal DJ" #: python/playergui.py:4342 msgid "Force" msgstr "" #: python/playergui.py:4348 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:4361 msgid "Insert control" msgstr "Inserisci controllo" #. TC: The Item submenu. #: python/playergui.py:4370 msgid "Item" msgstr "Elemento" #. TC: The Playlist submenu. #: python/playergui.py:4375 msgid "Playlist" msgstr "Playlist" #. TC: Insert playlist control to set playback speed to normal. #: python/playergui.py:4386 msgid "Normal Speed" msgstr "Velocità normale" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4415 python/playergui.py:4569 msgid "Transfer" msgstr "Trasferisci" #: python/playergui.py:4423 msgid "Crossfade" msgstr "Dissolvi" #. TC: Menu item. Opens the metadata tagger on the selected track. #: python/playergui.py:4488 msgid "Meta Tag" msgstr "Meta Tag" #. TC: Menu Item. Duplicates the selected track in the playlist. #: python/playergui.py:4494 msgid "Duplicate" msgstr "Duplica" #. TC: Menu Item. Remove the selected track. #: python/playergui.py:4501 msgid "Remove" msgstr "Rimuovi" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4512 msgid "This" msgstr "Questo" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4519 python/preferences.py:1237 msgid "All" msgstr "Tutto" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4526 msgid "From Here" msgstr "Da qui" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4533 msgid "To Here" msgstr "Fino a qui" #. TC: Open the file dialog for adding music to the chosen playlist. #: python/playergui.py:4546 msgid "Add Music" msgstr "Aggiungi musica" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4553 msgid "Save" msgstr "Salva" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4564 msgid "Copy" msgstr "Copia" #: python/playergui.py:4575 msgid "Exchange" msgstr "Scambia" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4582 msgid "Empty" msgstr "Vuoto" #. TC: Submenu Item. Parent menus are Playlist->Copy. #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4596 python/playergui.py:4635 msgid "Append" msgstr "Appendi" #. TC: Submenu Item. Parent menus are Playlist->Copy. #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4603 python/playergui.py:4642 msgid "Prepend" msgstr "Prependi" #. TC: Submenu Item. Parent menus are Playlist->Copy. #: python/playergui.py:4614 msgid "Append Cursor" msgstr "Accoda dal cursore" #. TC: Submenu Item. Parent menus are Playlist->Copy. #: python/playergui.py:4621 msgid "Prepend Cursor" msgstr "Prependi dal cursore" #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4653 msgid "Append at Cursor" msgstr "Accoda dal cursore" #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4660 msgid "Prepend at Cursor" msgstr "Prependi dal cursore" #: python/preferences.py:85 msgid "Track time elapsed" msgstr "Tempo trascorso" #: python/preferences.py:87 msgid "Track time remaining" msgstr "Tempo restante" #: python/preferences.py:89 msgid "Audio to stream" msgstr "Audio al flusso" #: python/preferences.py:90 msgid "Audio to DJ" msgstr "Audio al DJ" #: python/preferences.py:127 #, fuzzy, python-format 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 or require a stereo source " "remain as stereo then this feature should be turned off.\n" "\n" "Paired channels should be set to 100% left/right unless narrowing of the " "stereo field is the intention." 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:158 #, fuzzy msgid "Presets" msgstr "Premuto" #: python/preferences.py:249 msgid "" "The pan preset selection buttons.\n" "\n" "In the stereo image at a click the DJ can be on the left and a guest on the " "right and when the guest is gone at a click the DJ can be central again.\n" "\n" "Note: preconfiguration of pan preset settings is required." msgstr "" #. TC: Microphone mode combobox text. #: python/preferences.py:274 msgid "Deactivated" msgstr "Disattivato" #. TC: Microphone mode combobox text. #: python/preferences.py:276 msgid "Basic input" msgstr "Ingresso semplice" #. TC: Microphone mode combobox text. #: python/preferences.py:278 msgid "Processed input" msgstr "Ingresso elaborato" #. TC: Microphone mode combobox text. #: python/preferences.py:280 #, python-format msgid "Partnered with channel %s" msgstr "Abbinato al canale %s" #: python/preferences.py:432 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:464 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:468 msgid "Channel Opener" msgstr "Gestore canale" #: python/preferences.py:471 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:478 msgid "Main Panel Button" msgstr "Pulsante del pannello principale" #: python/preferences.py:495 msgid "This:" msgstr "Questo:" #: python/preferences.py:504 msgid "Open" msgstr "Apri" #: python/preferences.py:517 msgid "Stereo Panning" msgstr "Panorama Stereo" #. TC: A set of controls that perform audio signal matching. #: python/preferences.py:530 msgid "Signal Matching" msgstr "Corrispondenza segnale" #: python/preferences.py:531 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:540 msgid "Relative Gain (dB)" msgstr "Guadagno relativo (dB)" #. TC: Mic audio phase inversion control. #: python/preferences.py:545 python/preferences.py:550 msgid "Invert Signal" msgstr "Inverti il segnale" #: python/preferences.py:551 python/preferences.py:571 #: python/preferences.py:667 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:554 msgid "In The DJ's Mix" msgstr "Invia al mix del DJ" #: python/preferences.py:555 python/preferences.py:577 #: python/preferences.py:677 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:563 msgid "Basic Controls" msgstr "Controlli base" #: python/preferences.py:564 python/preferences.py:619 msgid "Boost/Cut (dB)" msgstr "Aumenta/Taglia (dB)" #: python/preferences.py:585 msgid "High Pass Filter" msgstr "Filtro passa alto" #: python/preferences.py:586 python/preferences.py:601 #: python/preferences.py:611 msgid "Cutoff Frequency" msgstr "Frequenza di taglio" #. TC: User can set the number of filter stages. #: python/preferences.py:590 msgid "Stages" msgstr "Livelli" #: python/preferences.py:593 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:598 msgid "HF Detail" msgstr "Dettaglio HF" #: python/preferences.py:605 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:608 msgid "LF Detail" msgstr "Dettagli LF" #: python/preferences.py:615 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:618 msgid "Limiter" msgstr "Limiter" #. TC: this is the peak signal limit. #: python/preferences.py:623 msgid "Upper Limit" msgstr "Limite superiore" #: python/preferences.py:625 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:628 msgid "Noise Gate" msgstr "Noise Gate" #. TC: noise gate triggers at this level. #: python/preferences.py:630 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:634 python/preferences.py:644 msgid "Gain" msgstr "Guadagno" #: python/preferences.py:636 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:639 msgid "De-esser" msgstr "De-esser" #. TC: Bias has a numeric setting. #: python/preferences.py:641 msgid "Bias" msgstr "Bias" #: python/preferences.py:646 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:651 msgid "Ducker" msgstr "Ducker" #: python/preferences.py:652 msgid "Release" msgstr "Rilascio" #: python/preferences.py:655 msgid "Hold" msgstr "Tenuta" #: python/preferences.py:658 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:662 msgid "Other options" msgstr "Altre opzioni" #: python/preferences.py:669 msgid "Phase Rotator" msgstr "Rotatore di fase" #: python/preferences.py:672 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:855 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:911 msgid "IDJC Preferences" msgstr "Preferenze IDJC" #. TC: The DJ's sound level controller. #: python/preferences.py:936 msgid "DJ Audio Level" msgstr "Livello audio DJ" #: python/preferences.py:948 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:953 msgid "Alarm Level" msgstr "" #: python/preferences.py:967 msgid "Music Loudness Compensation" msgstr "" #: python/preferences.py:965 #, 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:973 msgid "Player Resample Quality" msgstr "Qualità di ricampionamento del lettore" #: python/preferences.py:979 #, 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:987 msgid "Best" msgstr "" #: python/preferences.py:996 python/format.py:512 msgid "Medium" msgstr "" #: python/preferences.py:1005 msgid "Fast" msgstr "Veloce" #. TC: the set of features - section heading. #: python/preferences.py:1020 msgid "Feature Set" msgstr "Impostazioni funzionalità" #. TC: Start in the full featured user interface mode. #: python/preferences.py:1032 msgid "Start Full" msgstr "Avvia completo" #: python/preferences.py:1037 python/preferences.py:1045 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:1040 msgid "Start Mini" msgstr "Avvia minimale" #: python/preferences.py:1053 msgid "Fully Featured" msgstr "Tutte le funzionalità" #: python/preferences.py:1058 msgid "Run in full functionality mode which uses more CPU power." msgstr "Avvia con tutte le funzionalità, consuma più CPU" #: python/preferences.py:1060 msgid "Basic Streamer" msgstr "Trasmettitore base" #: python/preferences.py:1064 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:1072 msgid "These settings take effect after restarting" msgstr "Queste impostazioni avranno effetto dopo il riavvio." #: python/preferences.py:1093 msgid "Reserve 24 sound effects slots" msgstr "" #: python/preferences.py:1094 msgid "Only 12" msgstr "" #: python/preferences.py:1106 msgid "Audio input channels" msgstr "" #: python/preferences.py:1111 msgid "Simultaneous stream(s)" msgstr "Trasmissione(i) in simultanea" #: python/preferences.py:1117 msgid "Simultaneous recording(s)" msgstr "Registrazione(i) in simultanea" #: python/preferences.py:1171 msgid "Fill channel meter void space" msgstr "Riempi il vuoto dell'indicatore per il canale" #: python/preferences.py:1183 msgid "Player Loudness Normalisation" msgstr "" #: python/preferences.py:1194 #, fuzzy msgid "Indicate which tracks have loudness metadata" msgstr "Indica quali tracce hanno il ReplayGain" #: python/preferences.py:1195 #, 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:1203 #, fuzzy msgid "Adjust playback volume in dB" msgstr "Regola il volume di riproduzione" #: python/preferences.py:1204 msgid "Effective only on newly started tracks." msgstr "Efficace solo sulle tracce avviate ex-novo " #: python/preferences.py:1210 msgid "R128" msgstr "" #: python/preferences.py:1214 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:1219 msgid "ReplayGain" msgstr "ReplayGain" #: python/preferences.py:1223 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:1228 msgid "Untagged" msgstr "" #: python/preferences.py:1232 msgid "" "Set this so that any unmarked tracks are playing at a roughly similar " "loudness level as the marked ones." msgstr "" #: python/preferences.py:1241 #, fuzzy msgid "A master level control for the media players." msgstr "Il controllo del volume per il lettore di sinistra" #: python/preferences.py:1252 msgid "Recorder Filename (excluding the file extension)" msgstr "" #: python/preferences.py:1253 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:1270 msgid "Miscellaneous Features" msgstr "Impostazioni varie" #: python/preferences.py:1279 msgid "Trim quiet song endings and trailing silence" msgstr "Elimina i finali sommessi ed il silenzio iniziale delle canzoni" #: python/preferences.py:1285 msgid "End tracks containing long passages of silence" msgstr "Interrompi tracce che contengono lunghi passaggi di silenzio" #: python/preferences.py:1291 msgid "Enable the main-player speed/pitch controls" msgstr "" "Abilita il controllo di velocità di riproduzione sul lettore principale" #: python/preferences.py:1295 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:1300 msgid "Separate left/right player volume faders" msgstr "Cursori del volume separati per i lettori destro/sinistro" #: python/preferences.py:1304 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:1308 msgid "Enlarge the time elapsed/remaining windows" msgstr "Allarga la finestra del tempo trascorso/restante" #: python/preferences.py:1312 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:1318 msgid "Sound an alarm when the music is due to end" msgstr "Avviso sonoro quando la musica si avvicina alla fine" #: python/preferences.py:1321 #, 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:1331 #, fuzzy msgid "Apply dither to 16 bit PCM playback" msgstr "Applica il dither alla riproduzione MP3 e FLAC" #: python/preferences.py:1335 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:1338 msgid "Enable tooltips" msgstr "Abilita suggerimenti" #: python/preferences.py:1342 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:1361 msgid "Player Settings At Startup" msgstr "Impostazioni del lettore all'avvio" #: python/preferences.py:1372 msgid "Restore the previous session" msgstr "Ripristina la sessione precedente" #: python/preferences.py:1377 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:1387 msgid "Player 1" msgstr "Lettore 1" #: python/preferences.py:1389 msgid "Player 2" msgstr "Lettore 2" #. TC: DJ hears the stream mix. #: python/preferences.py:1417 msgid "Monitor Stream Mix" msgstr "Monitora il Flusso" #. TC: A heading label for miscellaneous settings. #: python/preferences.py:1428 msgid "General" msgstr "Generale" #: python/preferences.py:1478 msgid "VoIP panning + mono downmix" msgstr "" #. TC: Keyboard and MIDI bindings configuration. #: python/preferences.py:1492 msgid "Bindings" msgstr "Scorciatoie" #: python/preferences.py:1540 msgid "Licence" msgstr "Licenza" #: python/preferences.py:1563 msgid "Contributors" msgstr "Collaboratori" #: python/preferences.py:1570 msgid "Translators" msgstr "Traduttori" #: python/preferences.py:1574 msgid "Build Info" msgstr "" #: python/preferences.py:1591 msgid "About" msgstr "Circa" #: python/sourceclientgui.py:91 msgid "Insert Attribute" msgstr "Inserisci attributo" #: python/sourceclientgui.py:135 msgid "Icecast 2 Master" msgstr "Icecast 2 Master" #: python/sourceclientgui.py:135 msgid "Shoutcast Master" msgstr "Shoutcast Master" #: python/sourceclientgui.py:136 msgid "Icecast 2 Stats/Relay" msgstr "Icecast 2 Stats/Relay" #: python/sourceclientgui.py:136 msgid "Shoutcast Stats/Relay" msgstr "Icecast 2 Stats/Relay" #: python/sourceclientgui.py:139 msgid "Enter new server connection details" msgstr "Inserisci i dettagli della connessione al server" #: python/sourceclientgui.py:158 msgid "Edit existing server connection details" msgstr "Modifica i dettagli della connessione" #: python/sourceclientgui.py:195 msgid "This server is to be scanned for audience figures" msgstr "Da scansionare per il pubblico in ascolto" #: python/sourceclientgui.py:208 msgid "Server type" msgstr "Tipo server" #: python/sourceclientgui.py:208 msgid "Port number" msgstr "Numero porta" #: python/sourceclientgui.py:209 msgid "Mount point" msgstr "Punto di montaggio" #: python/sourceclientgui.py:209 msgid "Login name" msgstr "Nome utente" #: python/sourceclientgui.py:475 msgid "Encoder Format Not Set/Compatible" msgstr "" #. TC: Connection button text when no details have been entered. #: python/sourceclientgui.py:478 msgid "No Master Server Configured" msgstr "Nessun server principale configurato" #: python/sourceclientgui.py:680 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:696 msgid "Hostname/IP address" msgstr "Nomehost/Indirizzo IP" #. TC: Mount point is a technical term in relation to icecast servers. #: python/sourceclientgui.py:709 #, fuzzy msgid "Mount point " msgstr "Punto di mount " #. TC: This is the listener count heading. #: python/sourceclientgui.py:718 msgid "Listeners" msgstr "Ascoltatori" #: python/sourceclientgui.py:733 msgid "The sum total of listeners in this server tab." msgstr "Il totale degli ascoltatori per questo server" #: python/sourceclientgui.py:760 msgid "Never" msgstr "Mai" #: python/sourceclientgui.py:763 msgid "Always" msgstr "Sempre" #: python/sourceclientgui.py:765 msgid "If connected" msgstr "Se connesso" #: python/sourceclientgui.py:1021 msgid "Custom user agent string" msgstr "Stringa personalizzata per i navigatori" #: python/sourceclientgui.py:1028 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:1033 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:1043 msgid "Delay times" msgstr "Tempi di ritardo" #: python/sourceclientgui.py:1047 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:1053 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:1056 msgid "Quiet" msgstr "Calmo" #: python/sourceclientgui.py:1058 msgid "Keep the reconnection dialogue box hidden at all times." msgstr "Tieni nascosta la finestra della riconnessone ad ogni tentativo." #: python/sourceclientgui.py:1063 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:1072 msgid "Discard audio data for as long as needed." msgstr "Scarta i dati audio finché è necessario." #: python/sourceclientgui.py:1074 msgid "Assume the connection is beyond saving and reconnect." msgstr "Assumi che la connessione sia in fase di salvataggio e riconnettiti." #: python/sourceclientgui.py:1357 python/format.py:1140 msgid "Shoutcast" msgstr "Shoucast" #: python/sourceclientgui.py:1394 #, fuzzy msgid "[Metadata suppressed]" msgstr "Sorgente dei metadati" #: python/sourceclientgui.py:1473 msgid "Individual Controls" msgstr "Controlli individuali" #: python/sourceclientgui.py:1487 #, 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:1504 #, fuzzy msgid "Kick Source" msgstr "Fonte" #: python/sourceclientgui.py:1506 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:1516 #, fuzzy msgid "Timer:" msgstr "Cronometro" #: python/sourceclientgui.py:1520 #, fuzzy msgid "From" msgstr "Da qui" #: python/sourceclientgui.py:1521 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:1526 msgid "Kick" msgstr "" #: python/sourceclientgui.py:1528 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:1537 msgid "To" msgstr "" #: python/sourceclientgui.py:1538 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:1541 #, fuzzy msgid "Fade out" msgstr "Dissolvi 5sec" #: python/sourceclientgui.py:1543 msgid "Fade audio before disconnecting." msgstr "" #: python/sourceclientgui.py:1557 msgid "At connect:" msgstr "Una volta connesso:" #. TC: [x] Start player (*) 1 ( ) 2 #: python/sourceclientgui.py:1561 msgid "Start player" msgstr "Lettore iniziale" #: python/sourceclientgui.py:1566 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:1574 msgid "Start recorder" msgstr "Avvia il registratore" #: python/sourceclientgui.py:1581 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:1586 python/format.py:521 python/format.py:532 #: python/format.py:542 msgid "Metadata" msgstr "Metadati" #: python/sourceclientgui.py:1596 msgid "Format String" msgstr "Stringa di formattazione" #. TC: Label for the metadata fallback value. #: python/sourceclientgui.py:1598 msgid "Fallback" msgstr "Alternativa" #: python/sourceclientgui.py:1612 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:1620 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:1622 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:1641 msgid "Configuration" msgstr "Configurazione" #: python/sourceclientgui.py:1642 msgid "The controls for configuring a stream." msgstr "I controlli per configurare un flusso." #: python/sourceclientgui.py:1650 msgid "Connection" msgstr "Connessione" #: python/sourceclientgui.py:1655 msgid "Format" msgstr "Formato" #. TC: Tab heading. User can enter information about the stream here. #: python/sourceclientgui.py:1664 msgid "Stream Info" msgstr "Informazioni flusso" #: python/sourceclientgui.py:1669 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:1672 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:1677 msgid "A description of your radio station." msgstr "Descrizione della vostra stazione." #: python/sourceclientgui.py:1682 msgid "The musical genres you are likely to play." msgstr "Il genere musicale che offrirete." #: python/sourceclientgui.py:1685 msgid "Make Public" msgstr "Rendi pubblico" #: python/sourceclientgui.py:1686 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:1698 msgid "Genre(s)" msgstr "Genere(i)" #: python/sourceclientgui.py:1709 msgid "Master server admin password" msgstr "Password di amministrazione del server principale" #: python/sourceclientgui.py:1714 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:1723 msgid "Contact Details" msgstr "Dettagli del contatto" #: python/sourceclientgui.py:1727 msgid "Internet Relay Chat connection info goes here." msgstr "Le informazioni per IRC vanno inserite qui" #: python/sourceclientgui.py:1730 msgid "Connection info for AOL instant messenger goes here." msgstr "Le informazioni per AOL vanno inserite qui." #: python/sourceclientgui.py:1733 msgid "ICQ instant messenger connection info goes here." msgstr "Le informazioni per ICQ vanno inserite qui." #: python/sourceclientgui.py:1736 msgid "IRC" msgstr "IRC" #: python/sourceclientgui.py:1737 msgid "AIM" msgstr "AIM" #: python/sourceclientgui.py:1738 msgid "ICQ" msgstr "ICQ" #: python/sourceclientgui.py:1748 #, fuzzy msgid "Use ISO-8859-1 encoding for fixed metadata" msgstr "Usa la codifica utf-8 quando si inviano i metadati" #: python/sourceclientgui.py:1750 msgid "Enable this if sending to a Shoutcast V1 server." msgstr "" #: python/sourceclientgui.py:1754 msgid "Extra Shoutcast" msgstr "Extra Shoutcast" #: python/sourceclientgui.py:1759 msgid "Troubleshooting" msgstr "Risoluzione problemi" #: python/sourceclientgui.py:1890 msgid "Stop recording." msgstr "Ferma la registrazione" #: python/sourceclientgui.py:1892 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:1897 msgid "Pause recording." msgstr "Metti in pausa" #: python/sourceclientgui.py:1934 msgid "Recording time elapsed." msgstr "Tempo di registrazione trascorso." #. TC: Dialog title bar text. #: python/sourceclientgui.py:1988 msgid "Select the folder to record to" msgstr "Seleziona la cartella in cui registrare" #: python/sourceclientgui.py:1999 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:2003 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:2110 msgid "Perform operations on multiple servers in unison." msgstr "Esegue le operazioni su più server alla volta." #: python/sourceclientgui.py:2122 msgid "Connect" msgstr "Connetti" #: python/sourceclientgui.py:2139 msgid "Disconnect" msgstr "Disconnetti" #: python/sourceclientgui.py:2147 #, fuzzy msgid "Kick Sources" msgstr "Fonte" #: python/sourceclientgui.py:2156 msgid "Metadata:" msgstr "Metadati:" #: python/sourceclientgui.py:2186 msgid "Group Controls" msgstr "Controlli di gruppo" #: python/sourceclientgui.py:2692 msgid "Recording Facility Unavailable" msgstr "" #: python/sourceclientgui.py:2695 #, fuzzy msgid "No Recorders Are Correctly Configured" msgstr "Nessun server principale configurato" #. TC: Recorder menu format string. #: python/sourceclientgui.py:2708 #, python-brace-format msgid "{numericid} [{source}] > [{directory}]" msgstr "" #: python/sourceclientgui.py:2710 msgid "Misconfigured" msgstr "" #: python/sourceclientgui.py:2731 msgid "Streaming Facility Unavailable" msgstr "" #: python/sourceclientgui.py:2733 #, fuzzy msgid "No Streams Are Currently Configured" msgstr "Nessun server principale configurato" #: python/sourceclientgui.py:2736 #, fuzzy msgid "Group Connect" msgstr "Controlli di gruppo" #: python/sourceclientgui.py:2742 #, fuzzy msgid "Group Disconnect" msgstr "Disconnetti" #. TC: Window title bar text. #: python/sourceclientgui.py:2773 msgid "IDJC Output" msgstr "Uscita IDJC" #: python/sourceclientgui.py:2789 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:2797 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:2815 msgid " Stream " msgstr " Flusso " #: python/sourceclientgui.py:2850 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:2855 msgid "" "A scheduled stream disconnection has " "occurred." msgstr "" "E' intervenuta una disconnessione " "pianificata." #: python/format.py:419 msgid "Right click for suggested values." msgstr "" #: python/format.py:438 #, fuzzy msgid "Suggested Values" msgstr "Imposta valore" #: python/format.py:494 #, fuzzy msgid "Pregain" msgstr "Lettore imposta il gain" #: python/format.py:495 python/format.py:913 msgid "0 dB" msgstr "" #: python/format.py:496 python/format.py:914 msgid "-0.5 dB" msgstr "" #: python/format.py:497 python/format.py:915 msgid "-1.0 dB" msgstr "" #: python/format.py:498 python/format.py:916 msgid "-1.5 dB" msgstr "" #: python/format.py:499 python/format.py:917 msgid "-2.0 dB" msgstr "" #: python/format.py:500 python/format.py:918 msgid "-2.5 dB" msgstr "" #: python/format.py:501 python/format.py:919 msgid "-3.0 dB" msgstr "" #: python/format.py:502 msgid "" "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." msgstr "" #: python/format.py:510 #, fuzzy msgid "Resample Quality" msgstr "Qualità di ricampionamento del lettore" #: python/format.py:511 msgid "Highest" msgstr "Elevata" #: python/format.py:513 #, fuzzy msgid "Lowest" msgstr "Inferiore %" #: python/format.py:514 msgid "" "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." msgstr "" #: python/format.py:522 python/format.py:533 python/format.py:543 #, fuzzy msgid "Suppressed" msgstr "Premuto" #: python/format.py:523 python/format.py:534 msgid "UTF-8" msgstr "" #: python/format.py:524 msgid "Latin1 *" msgstr "" #: python/format.py:525 msgid "" "This affects the stream metadata only. Recordings will use UTF-8 for their " "metadata." msgstr "" #: python/format.py:535 msgid "" "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." msgstr "" #: python/format.py:544 msgid "Latin1" msgstr "" #: python/format.py:545 msgid "Choose whether to send metadata. Recordings will use UTF-8 metadata." msgstr "" #: python/format.py:561 python/format.py:572 python/format.py:583 #: python/format.py:690 python/format.py:818 python/format.py:888 #: python/format.py:897 python/format.py:971 python/format.py:994 #: python/format.py:1003 msgid "Mode" msgstr "Modo" #: python/format.py:562 python/format.py:573 python/format.py:584 #: python/format.py:691 python/format.py:819 python/format.py:889 #: python/format.py:898 python/format.py:972 python/format.py:995 #: python/format.py:1004 msgid "Mono" msgstr "Mono" #: python/format.py:563 python/format.py:574 python/format.py:585 #: python/format.py:692 python/format.py:820 python/format.py:890 #: python/format.py:899 python/format.py:973 python/format.py:996 #: python/format.py:1005 msgid "Stereo" msgstr "Stereo" #: python/format.py:564 python/format.py:575 python/format.py:586 #: python/format.py:693 #, fuzzy msgid "Joint Stereo" msgstr "Stereo" #: python/format.py:565 msgid "Joint Stereo is a good choice on streams with low bitrates." msgstr "" #: python/format.py:576 msgid "Due to the high bitrate selected, this codec will only support stereo." msgstr "" #: python/format.py:587 msgid "Due to the low bitrate selected, this codec will only support mono." msgstr "" #: python/format.py:636 python/format.py:646 python/format.py:743 #: python/format.py:753 python/format.py:763 python/format.py:869 #: python/format.py:879 python/format.py:1032 python/format.py:1052 #, fuzzy msgid "Samplerate" msgstr "Frequenza di campionamento" #. TC: Abbreviation of the word, standard. #: python/format.py:657 python/format.py:774 msgid "Std." msgstr "" #. TC: v stands for version. #: python/format.py:659 python/format.py:776 msgid "V 1" msgstr "" #. TC: v stands for version. #: python/format.py:661 python/format.py:778 msgid "V 2" msgstr "" #: python/format.py:662 msgid "" "MPEG2 introduced lower samplerate options and corresponding lower bitrates. " "Choose 2 if those are required." msgstr "" #: python/format.py:669 python/format.py:797 msgid "Quality" msgstr "Qualità" #: python/format.py:670 msgid "0 most" msgstr "" #. TC: * means is the recommended setting. #: python/format.py:673 msgid "2 *" msgstr "" #: python/format.py:675 msgid "Higher quality costs more in terms of CPU cycles." msgstr "" #: python/format.py:694 msgid "Joint Stereo is a good choice on streams with low bitrates" msgstr "" #. TC: v stands for version. #: python/format.py:780 msgid "V 2.5" msgstr "" #: python/format.py:787 msgid "Complexity" msgstr "" #: python/format.py:790 msgid "A quality setting that affects how heavily the CPU is used." msgstr "" #: python/format.py:800 msgid "The higher this setting, the higher the bitrate." msgstr "" #: python/format.py:807 msgid "Bandwidth" msgstr "" #: python/format.py:808 #, fuzzy msgid "Ultrawide" msgstr "Banda ultra larga" #: python/format.py:809 #, fuzzy msgid "Wide" msgstr "Banda larga" #: python/format.py:810 #, fuzzy msgid "Narrow" msgstr "Banda stretta" #: python/format.py:811 msgid "Essentially a samplerate setting." msgstr "" #: python/format.py:828 msgid "24 bit" msgstr "" #: python/format.py:829 msgid "20 bit" msgstr "" #: python/format.py:830 msgid "16 bit" msgstr "" #: python/format.py:831 msgid "" "24 bit records with the highest level of detail. If file size is a concern " "maybe FLAC is not the right codec." msgstr "" #: python/format.py:838 python/format.py:927 msgid "Variability" msgstr "" #: python/format.py:839 msgid "Constant" msgstr "" #: python/format.py:840 msgid "±10%" msgstr "" #: python/format.py:841 msgid "±20%" msgstr "" #: python/format.py:842 msgid "±30%" msgstr "" #: python/format.py:843 msgid "±40%" msgstr "" #: python/format.py:844 msgid "±50%" msgstr "" #: python/format.py:845 #, fuzzy msgid "This control is for enabling variable bitrate on Vorbis streams." msgstr "I controlli per configurare un flusso." #: python/format.py:906 #, fuzzy msgid "Postgain" msgstr "VoIP imposta guadagno" #: python/format.py:907 msgid "3.0 dB" msgstr "" #: python/format.py:908 msgid "2.5 dB" msgstr "" #: python/format.py:909 msgid "2.0 dB" msgstr "" #: python/format.py:910 msgid "1.5 dB" msgstr "" #: python/format.py:911 msgid "1.0 dB" msgstr "" #: python/format.py:912 msgid "0.5 dB" msgstr "" #: python/format.py:920 msgid "A gain adjustment for the player to apply." msgstr "" #: python/format.py:928 msgid "CBR *" msgstr "" #: python/format.py:929 msgid "CVBR" msgstr "" #: python/format.py:930 msgid "VBR" msgstr "" #: python/format.py:931 msgid "" "Bitrate variability. Actual VBR operation may require a higher frame size." msgstr "" #: python/format.py:938 msgid "Frame Size" msgstr "" #: python/format.py:939 msgid "60 ms" msgstr "" #: python/format.py:940 msgid "40 ms" msgstr "" #: python/format.py:941 msgid "20 ms" msgstr "" #: python/format.py:942 msgid "A higher frame size may sound better on very low bitrates." msgstr "" #: python/format.py:949 msgid "CPU" msgstr "CPU" #: python/format.py:952 msgid "The encoder complexity setting which affects CPU load." msgstr "" #: python/format.py:980 python/format.py:1083 msgid "Codec" msgstr "" #: python/format.py:981 msgid "Vorbis" msgstr "" #: python/format.py:982 msgid "FLAC" msgstr "" #: python/format.py:983 msgid "Speex" msgstr "" #: python/format.py:984 msgid "Opus" msgstr "" #: python/format.py:987 msgid "Codecs of the Ogg container." msgstr "" #: python/format.py:1033 msgid "96000 Hz" msgstr "" #: python/format.py:1034 msgid "88200 Hz" msgstr "" #: python/format.py:1035 msgid "64000 Hz" msgstr "" #: python/format.py:1036 python/format.py:1053 msgid "48000 Hz" msgstr "" #: python/format.py:1037 python/format.py:1054 msgid "44100 Hz" msgstr "" #: python/format.py:1038 msgid "32000 Hz" msgstr "" #: python/format.py:1039 msgid "24000 Hz" msgstr "" #: python/format.py:1040 msgid "22050 Hz" msgstr "" #: python/format.py:1041 msgid "16000 Hz" msgstr "" #: python/format.py:1042 msgid "12000 Hz" msgstr "" #: python/format.py:1043 msgid "11025 Hz" msgstr "" #: python/format.py:1044 msgid "8000 Hz" msgstr "" #: python/format.py:1045 msgid "7350 Hz" msgstr "" #: python/format.py:1067 msgid "The MP2 option requires IDJC be rebuilt against libtwolame." msgstr "" #: python/format.py:1070 msgid "Enable the MP3 option by installing libmp3lame." msgstr "" #: python/format.py:1073 msgid "The AAC options require IDJC be rebuilt against libav libraries." msgstr "" #: python/format.py:1076 msgid "" "Specific AAC support not present in libavcodec. More info: idjc.sourceforge." "net." msgstr "" #: python/format.py:1078 msgid "" "Specific AAC+ support not present in libavcodec. More info: idjc.sourceforge." "net." msgstr "" #: python/format.py:1081 msgid "Codecs of the MPEG family." msgstr "" #: python/format.py:1084 msgid "MP2" msgstr "" #: python/format.py:1085 msgid "MP3" msgstr "" #: python/format.py:1086 msgid "AAC" msgstr "" #: python/format.py:1087 msgid "AAC+ v2" msgstr "" #. TC: Codec family e.g. Xiph/Ogg, MPEG etc. #: python/format.py:1099 msgid "Family" msgstr "" #. TC: Xiph.org Ogg container format. #: python/format.py:1101 msgid "Xiph/Ogg" msgstr "" #: python/format.py:1102 msgid "MPEG" msgstr "" #: python/format.py:1103 msgid "Codecs have been grouped by standards body and or container format." msgstr "" #: python/format.py:1128 msgid "Capabilities" msgstr "" #: python/format.py:1140 #, fuzzy msgid "Icecast" msgstr "Icecast 2 Master" #: python/format.py:1140 #, fuzzy msgid "Recordable" msgstr "Registratore" #~ msgid "Playlist types (*.m3u, *.xspf, *.pls)" #~ msgstr "Tipi di playlist (*.m3u, *.xspf, *.pls)" #~ msgid "Connection timer:" #~ msgstr "Timer di connessione:" #~ msgid "Begin" #~ msgstr "Inizio" #~ msgid "With kick" #~ msgstr "Libera" #~ msgid "End" #~ msgstr "Fine" #~ msgid "SSL" #~ msgstr "SSL" #~ 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." #~ msgid "Released under the GNU General Public License V2.0 or later." #~ msgstr "Rilasciato sotto la GNU General Public License V2.0 o successiva." #, 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 "Prefs enable tooltips" #~ msgstr "Preferenze abilita suggerimenti" #~ msgid "Index" #~ msgstr "Indice" #~ 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 "" #~ "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 "Use JACK sample rate" #~ msgstr "Usa la frequenza di campionamento di JACK" #~ 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 "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 "" #~ "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 "" #~ "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 "" #~ "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.15/po/insert-header.sin0000644000175000017500000000124012461430153013316 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.15/po/Rules-quot0000644000175000017500000000340012461430153012054 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.15/po/stamp-po0000644000175000017500000000001212555351762011544 00000000000000timestamp idjc-0.8.15/po/fr.po0000644000175000017500000041505312555351761011046 00000000000000# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # # nicotux, 2013. # Stephen Fairchild , 2013. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: putidjcinthesubjectline@bethere.co.uk\n" "POT-Creation-Date: 2015-07-27 07:47+0100\n" "PO-Revision-Date: 2013-11-07 16:47+0000\n" "Last-Translator: \n" "Language-Team: English \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.5\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 "" "Afficher ce message d'aide et quitter -- plus d'aide est disponible pour " "chacune des sous-commandes, par exemple : « %(prog)s run --help » affiche " "l'aide concernant la commande run" #. TC: a command line option help string. #: python/prelims/__init__.py:108 msgid "show the version number and exit" msgstr "Afficher le numéro de version et quitter" #. 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 "" "exécuter l'application idjc principale -- c'est le défaut lorsqu'aucune " "option n'est spécifiée" #. TC: do not translate run. #: python/prelims/__init__.py:116 msgid "-- sub-command: run -- launch the idjc application" msgstr "-- sous-commande : run -- exécuter l'application idjc" #: python/prelims/__init__.py:121 msgid "make a new profile" msgstr "créer un nouveau profil" #. TC: do not translate the word new. #: python/prelims/__init__.py:123 msgid "-- sub-command: new -- make a new profile" msgstr "-- sous-commande : new -- créer un nouveau profil" #. TC: a command line option help string. #: python/prelims/__init__.py:127 msgid "remove profile(s)" msgstr "supprimer un/des profil(s)" #. TC: do not translate the word rm. #: python/prelims/__init__.py:129 msgid "-- sub-command: rm -- remove profile(s)" msgstr "-- sous-commande : rm -- supprimer un/des profil(s)" #. TC: a command line option help string. #: python/prelims/__init__.py:133 msgid "select which profile is to automatically launch" msgstr "Sélection du profil chargé automatiquement" #. TC: do not translate the word auto. #: python/prelims/__init__.py:136 msgid "-- sub-command: auto -- mark a profile for auto-launch" msgstr "-- sous-commande : auto -- rendre un profil auto-exécutable" #: python/prelims/__init__.py:141 msgid "remove auto-launch" msgstr "supprimer le démarrage automatique" #: python/prelims/__init__.py:142 msgid "-- sub-command: noauto -- remove auto-launch" msgstr "--sous-commande : noauto -- supprimer le démarrage automatique" #: python/prelims/__init__.py:147 msgid "list available profiles" msgstr "lister les profils disponibles" #. TC: do not translate the word ls. #: python/prelims/__init__.py:149 msgid "-- sub-command: ls -- list available profiles" msgstr "-- sous-commande : ls -- lister les profils disponibles" #: 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 "Afficher cette aide et quitter" #: 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 "" "forcer l'apparition/non apparition de la boite\n" " de sélection de profil -- lorsque utilisé avec l'option -p\n" " le profil choisi est pré-sélectionné" #: python/prelims/__init__.py:161 msgid "profile_choice" msgstr "sélection du profil" #: python/prelims/__init__.py:162 msgid "" "the profile to use -- overrides the user interface\n" " preferences \"show profile dialog\" option" msgstr "" "Profil à utiliser -- remplace l'option des préférences de\n" " l'interface utilisateur «afficher le sélecteur de profils»" #. TC: command line help placeholder. #: python/prelims/__init__.py:166 msgid "server_name" msgstr "nom_du_serveur" #: python/prelims/__init__.py:166 msgid "the named jack sound-server to connect with" msgstr "Nom du serveur Jack auquel se connecter" #. TC: command line help placeholder. #: python/prelims/__init__.py:170 msgid "session_details" msgstr "Détails de la session" #: 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 "" "ex. : «L1:name» pour une session Ladish [L1] appelée «name» -- voir la page " "de manuel d'idjc pour plus de détails" #: 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 "" "Ne pas se connecter à JACK au démarrage. Cette option délègue tout le " "contrôle des connexions à restaurer au gestionnaire de sessions." #: python/prelims/__init__.py:181 msgid "" "No JACK ports will be connected except those listed in the session file." msgstr "" "Aucun autre port JACK que ceux listés dans le fichier de session ne sera " "connecté." #: python/prelims/__init__.py:184 msgid "user interface settings" msgstr "Paramêtres de l'interface utilisateur" #: python/prelims/__init__.py:187 msgid "the audio channels to have open at startup" msgstr "Canaux audio à ouvrir au démarrage" #: python/prelims/__init__.py:190 msgid "the voip mode at startup" msgstr "Le mode voip au démarrage" #: python/prelims/__init__.py:196 msgid "attempt connection with the specified servers" msgstr "tenter de se connecter aux serveurs spécifiés" #: 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 "" "Balancer les sources sur les serveurs -- notez que ceci sera fait\n" " avant que toute tentative de connection ne soit effectuée" #: python/prelims/__init__.py:203 msgid "position the crossfader for the specified player" msgstr "position du crossfader pour le lecteur spécifié" #. TC: command line help placeholder. #: python/prelims/__init__.py:208 python/prelims/__init__.py:232 msgid "profile_name" msgstr "nom_du_profil" #: 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 "" "nouveau nom de profil -- fera partie du nom bus/object/interface \n" " pour dbus ainsi que de l'ID du client JACK --\n" " donc certaines restrictions s'appliquent" #: python/prelims/__init__.py:214 msgid "template_profile" msgstr "profil_modèle" #: python/prelims/__init__.py:215 msgid "an existing profile to use as a template" msgstr "un profil existant à prendre comme modèle" #: python/prelims/__init__.py:218 msgid "icon_pathname" msgstr "chemin_des_icônes" #: python/prelims/__init__.py:219 msgid "pathname to an icon -- defaults to idjc logo" msgstr "chemin vers une icône -- par défaut, le logo idjc" #: python/prelims/__init__.py:223 msgid "nickname" msgstr "pseudo" #: python/prelims/__init__.py:224 msgid "the alternate profile name to appear in window title bars" msgstr "nom alternatif du profil pour la barre de titre de la fenêtre" #: python/prelims/__init__.py:227 msgid "description_text" msgstr "texte_descriptif" #: python/prelims/__init__.py:228 msgid "a description of the profile" msgstr "une description du profil" #: python/prelims/__init__.py:233 msgid "the profile(s) to remove" msgstr "le(s) profil(s) à supprimer" #: python/prelims/__init__.py:238 msgid "the profile to make automatic" msgstr "Profil à rendre automatique" #: python/prelims/__init__.py:417 #, python-format msgid "failed to create profile: %s" msgstr "Echec de la création du profil : %s" #: python/prelims/__init__.py:424 #, python-format msgid "failed to delete profile: %s" msgstr "Echec de la suppression du profil : %s" #: python/prelims/__init__.py:431 #, python-format msgid "auto failed: %s" msgstr "Echec de auto : %s" #: python/prelims/__init__.py:438 #, python-format msgid "noauto failed: %s" msgstr "Echec de noauto : %s" #: python/prelims/__init__.py:447 #, python-format msgid "ls failed: %s" msgstr "Echec de ls : %s" #: python/prelims/__init__.py:466 msgid "the specified profile name is not valid" msgstr "Le nom de profil spécifié n'est pas correct" #: python/prelims/__init__.py:473 msgid "profile name is bad" msgstr "mauvais nom de profil" #: python/prelims/__init__.py:476 python/prelims/__init__.py:744 #, python-format msgid "profile %s does not exist" msgstr "le profil «%s» n'existe pas" #: python/prelims/__init__.py:479 #, python-format msgid "profile %s is already running" msgstr "le profil «%s» est en cours d'utilisation" #: python/prelims/__init__.py:492 #, python-format msgid "" "Error while creating new profile.\n" "\n" "%s" msgstr "" "Erreur lors de la création du nouveau " "profil.\n" "\n" "%s" #: python/prelims/__init__.py:510 msgid "no profile is set" msgstr "aucun profil sélectionné" #: python/prelims/__init__.py:517 msgid "" "failed to grab bus name -- another session by the same name appears to be " "running" msgstr "" "Echec de l'enregistrement du nom dans dbus -- une autre session utilisant ce " "nom semble déjà être en cours" #. TC: text appears in the title bar when in session mode. #: python/prelims/__init__.py:590 #, python-brace-format msgid "session={type}:{name}" msgstr "session={type}:{name}" #: python/prelims/__init__.py:630 #, python-format msgid "specified profile is not valid %s" msgstr "le profil spécifié n'est pas bon %s" #: python/prelims/__init__.py:633 #, python-format msgid "specified profile does not exist: %s" msgstr "le profil spécifié n'existe pas : %s" #: python/prelims/__init__.py:664 #, python-format msgid "unknown session type: %s: must be one of %s" msgstr "type de session inconnu : %s : doit être l'un de %s" #: python/prelims/__init__.py:677 #, python-format msgid "directory does not exist: %s" msgstr "le dossier n'existe pas : %s'" #: python/prelims/__init__.py:708 #, python-format msgid "problem with specified session directory: %s" msgstr "problème avec le dossier de session spécifié : %s" #: python/prelims/__init__.py:781 #, python-format msgid "Profile %s is active." msgstr "Le profil %s est actif." #: python/prelims/__init__.py:791 #, python-brace-format msgid "Cannot rename profile {0} to {1}, {1} currently exists." msgstr "Impossible de renommer le profil {0} en {1}, {1} existe déjà." #: python/prelims/__init__.py:795 #, python-brace-format msgid "Error during attempt to rename {0} to {1}." msgstr "Erreur lors de la tentative de renommage de {0} en {1}." #: python/prelims/__init__.py:805 #, python-brace-format msgid "" "Error while editing profile: {0}.\n" "\n" "{1}" msgstr "" "Erreur durant l'édition du profil : {0}.\n" "\n" "{1}" #: python/prelims/__init__.py:824 #, python-brace-format msgid "could not get a lock on profile {0}: {1}" msgstr "impossible d'obtenir le vérouillage du profil {0} : {1}" #: python/prelims/__init__.py:829 msgid "profile does not exist" msgstr "le profil n'existe pas" #: python/prelims/__init__.py:850 #, python-format msgid "the profile '%s' is in use" msgstr "le profil «%s» est en cours d'utilisation" #: python/prelims/__init__.py:872 #, python-format msgid "the profile length is too long (max %d characters)" msgstr "la taille du profil est trop importante (max %d caractères)" #: python/prelims/__init__.py:874 #, python-format msgid "The profile length is too long (max %d characters)." msgstr "La taille du profil est trop importante (max %d caractères)" #: python/prelims/__init__.py:878 msgid "the new profile name is not valid" msgstr "Le nouveau profil n'est pas bon" #: python/prelims/__init__.py:879 msgid "The new profile name is not valid." msgstr "Le nouveau nom de profil n'est pas bon." #: python/prelims/__init__.py:884 msgid "the chosen profile is currently running" msgstr "le profil choisi est en cours d'exécution" #: python/prelims/__init__.py:885 msgid "The chosen profile is currently running." msgstr "Le profil choisi ent en cours d'exécution." #: python/prelims/__init__.py:890 msgid "temporary directory creation failed" msgstr "échec de la création du dossier temporaire" #: python/prelims/__init__.py:891 msgid "Temporary directory creation failed." msgstr "Echec de la création du dossier temporaire." #: python/prelims/__init__.py:897 #, python-format msgid "the specified template '%s' is not valid" msgstr "le modèle «%s» n'est pas bon" #: python/prelims/__init__.py:899 #, python-format msgid "The specified template '%s' is not valid." msgstr "Le modèle «%s» n'est pas bon." #: python/prelims/__init__.py:921 #, python-format msgid "the template profile '%s' does not exist" msgstr "Le modèle de profil «%s» n'existe pas" #: python/prelims/__init__.py:923 #, python-format msgid "The template profile '%s' does not exist." msgstr "Le modèle de profil «%s» n'existe pas." #: python/prelims/__init__.py:933 #, python-format msgid "could not write file %s" msgstr "impossible d'écrire le fichier «%s»" #: python/prelims/__init__.py:934 #, python-format msgid "Could not write file %s." msgstr "Impossible d'écrire le fichier %s." #: python/prelims/__init__.py:942 #, python-format msgid "the profile directory '%s' already exists" msgstr "le dossier du profil «%s» existe déjà" #: python/prelims/__init__.py:944 #, python-format msgid "The profile directory '%s' already exists." msgstr "Le dossier du profil «%s» existe déjà." #: python/prelims/__init__.py:947 #, python-format msgid "a non directory path exists at: '%s'" msgstr "un chemin vers un non-dossier existe à : «%s»" #: python/prelims/__init__.py:948 #, python-format msgid "A Non directory path exists at: '%s'." msgstr "Un chemin vers un non-dossier existe à : «%s»" #: python/prelims/__init__.py:959 msgid "The default profile" msgstr "Profil par défaut" #. TC: data entry dialog window title text. %s = profile name #: python/prelims/profiledialog.py:98 #, python-format msgid "Edit profile %s" msgstr "Modifier le profil %s" #. TC: data entry dialog window title text. %s = profile name #: python/prelims/profiledialog.py:101 #, python-format msgid "New profile based upon %s" msgstr "Nouveau profil basé sur «%s»" #. TC: data entry dialog window title text. #: python/prelims/profiledialog.py:105 msgid "New profile details" msgstr "Détails du nouveau profil" #. TC: profile dialog window title text. #: python/prelims/profiledialog.py:243 msgid "IDJC Profile Manager" msgstr "Gestionaire de profils IDJC" #: python/prelims/profiledialog.py:277 msgid "Profile" msgstr "Profil" #. TC: column heading. The profile nicknames. #. TC: IRC nickname data entry label. #: python/prelims/profiledialog.py:285 python/irc.py:452 msgid "Nickname" msgstr "Pseudo" #. TC: column heading. #. TC: Station description. #: python/prelims/profiledialog.py:288 python/irc.py:96 #: python/playergui.py:307 python/sourceclientgui.py:1697 msgid "Description" msgstr "Description" #. TC: column heading. The time a particular profile has been running. #: python/prelims/profiledialog.py:292 msgid "Up-time" msgstr "Durée d'activité" #: python/prelims/profiledialog.py:306 msgid "_Auto" msgstr "_Auto" #: python/prelims/profiledialog.py:365 #, python-format msgid "" "Delete the data of profile '%s'?\n" "\n" "The profile will remain available with initial settings." msgstr "" "Supprimer les données du profil «%s»?\n" "\n" "Le profil restera disponible avec les paramêtres initiaux." #: python/prelims/profiledialog.py:369 #, python-format msgid "" "Delete profile '%s' and all its data?\n" "\n" "The data of deleted profiles cannot be recovered." msgstr "" "Supprimer le profil «%s» et toutes ses " "données ?\n" "\n" "Les données du profil supprimé ne peuvent plus être retrouvées." #. TC: The contents of <> and {} must not be changed. #: python/dialogs.py:198 #, python-brace-format 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 connexion au serveur de l'onglet " "{servertab} a échouée.\n" "Une tentative de reconnexion sera effectuée dans {countdown} secondes.\n" "Ceci est la tentative {attempt} sur {maxtries}." #: python/dialogs.py:254 #, python-format msgid "This is attempt number %d. There is no retry limit." msgstr "Tentative %d. Il n'y a aucune limite d'essais." #: python/dialogs.py:283 msgid "_Retry Now" msgstr "_Réessayer immédiatement" #: python/__init__.py.in.in:101 #, python-format msgid "Copyright 2005-%s Stephen Fairchild and others." msgstr "Copyright 2005-%s Stephen Fairchild et autres." #: python/__init__.py.in.in:103 msgid "Released under the GNU General Public License V2.0+." msgstr "Distribué selon les termes de la Licence Publique Générale GNU, V2.0+" #. TC: IRC message subcategory, triggers on new track announcements. #: python/irc.py:82 msgid "Track announce" msgstr "Annonce des pistes" #. TC: IRC message subcategory, triggered by a timer. #: python/irc.py:84 msgid "Timer" msgstr "Timer" #. TC: IRC message subcategory, triggered once when the stream starts. #: python/irc.py:86 msgid "On stream up" msgstr "En début de flux" #. TC: IRC message subcategory, triggered once at the stream's end. #: python/irc.py:88 msgid "On stream down" msgstr "En fin de flux" #. TC: IRC message subcategory, triggered once at the stream's end. #: python/irc.py:90 #, fuzzy msgid "Operations" msgstr "Autres options" #. TC: Track artist. #: python/irc.py:95 python/mutagentagger.py:375 python/songdb.py:902 #: python/songdb.py:1290 python/sourceclientgui.py:94 msgid "Artist" msgstr "Artiste" #: python/irc.py:95 python/mutagentagger.py:375 python/songdb.py:1292 #: python/sourceclientgui.py:94 msgid "Title" msgstr "Titre" #: python/irc.py:95 python/mutagentagger.py:376 python/songdb.py:1291 #: python/sourceclientgui.py:94 msgid "Album" msgstr "Album" #: python/irc.py:95 python/sourceclientgui.py:95 msgid "Song name" msgstr "Chanson" #. TC: The DJ or Stream name. #: python/irc.py:96 python/sourceclientgui.py:1694 msgid "DJ name" msgstr "Nom du DJ" #: python/irc.py:96 python/sourceclientgui.py:1695 msgid "Listen URL" msgstr "URL d'écoute" #: python/irc.py:96 #, fuzzy msgid "Source URI" msgstr "Source" #. TC: Popup menu item for a GTK text entry widget. #: python/irc.py:139 msgid "Insert Attribute or Colour Code" msgstr "Insérer un attribut ou un code couleur" #. TC: Text formatting style. #: python/irc.py:176 msgid "Bold" msgstr "Gras" #. TC: Text formatting style. #: python/irc.py:178 msgid "Underline" msgstr "Sous-ligné" #. TC: Text formatting style. #: python/irc.py:180 msgid "Normal" msgstr "Normal" #: python/irc.py:186 msgid "Colours" msgstr "Couleurs" #: python/irc.py:403 msgid "Optional data entry field for information only." msgstr "Champ de donnée optionelle pour information uniquement." #. TC: Tab heading text. #: python/irc.py:406 msgid "IRC server" msgstr "Serveur IRC" #: python/irc.py:418 msgid "Manual start" msgstr "Départ manuel" #: python/irc.py:420 msgid "Off when restarting IDJC and off initially." msgstr "Arrêté au redémarrage de IDJC et Arrêté au départ" #. TC: The IRC network e.g. EFnet. #: python/irc.py:444 msgid "Network" msgstr "Réseau" #. TC: label for hostname entry. #: python/irc.py:446 python/sourceclientgui.py:208 msgid "Hostname" msgstr "Nom de l'hôte" #. TC: TCP/IP port number label. #. TC: TCP port number. #: python/irc.py:448 python/sourceclientgui.py:704 msgid "Port" msgstr "Port" #: python/irc.py:449 msgid "User name" msgstr "Nom utilisateur" #: python/irc.py:450 python/songdb.py:343 python/sourceclientgui.py:209 msgid "Password" msgstr "Mot de passe" #. TC: Second choice of IRC nickname. #: python/irc.py:454 msgid "Second choice" msgstr "Second choix" #. TC: Third choice of IRC nickname. #: python/irc.py:456 msgid "Third choice" msgstr "Troixième choix" #. TC: The IRC user's 'real' name. #: python/irc.py:458 msgid "Real name" msgstr "Nom réel" #. TC: The NickServ password. #: python/irc.py:460 msgid "NickServ p/w" msgstr "MdP NickServ" #. TC: Tooltip to IRC 'User name' field. #: python/irc.py:465 msgid "" "Ideally set this to something even on servers that allow public anonymous " "access." msgstr "" "Idéalement mettez quelque chose même pour les serveurs permettant l'accès " "anonyme ou public." #. TC: tooltip to all IRC nicknames entry fields. #: python/irc.py:475 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 "" "Quand un pseudo est déjà utilisé sur le réseau IRC, ces pseudos sont testés " "les uns après les autres puis une seconde fois en y ajoutant un sous-" "ligné jusqu'à ce la fin. Cela donne à IDJC un maximum de neuf pseudos à " "tenter." #: python/irc.py:480 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 "" "Le nom réel à utiliser, sera disponible que la connexion au réseau soit ou " "non établie en utilisant le pseudo principal.\n" "\n" "Remplissez le par quelque chose." #: python/irc.py:483 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 "" "Si cette valeur est renseignée, tenter la récupération du pseudo IRC si " "nécessaire et se connecter grace à NickServ@services.\n" "\n" "L'utilisation des services NickServ nécessitent qu'un enregistrement " "préalable du pseudo ait été effectué avec un client IRC standard." #: python/irc.py:511 msgid "" "Permanently delete this server?\n" "\n" "This action will also erase all of its associated messages." msgstr "" "Supprimer ce serveur de façon définitive?\n" "\n" "Cette action effacera aussi tous les messages associés." #. TC: An IRC channel #chan or user name entry box label. #: python/irc.py:559 msgid "Channels/Users" msgstr "Canaux/Utilisateurs" #: python/irc.py:563 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 "" "Liste séparée par des virgules des canaux et/ou utilisateurs à qui ce " "message est destiné.\n" "\n" "Les canaux protégés sont inclus sous la forme :\n" "#canal:motclef" #. TC: Message text to send to an IRC channel. Widget label. #: python/irc.py:616 msgid "Message" msgstr "Message" #: python/irc.py:620 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 "" "Le message à envoyer.\n" "\n" "Dans la fenêtre de pop-up (clic droit) se trouvent quelques options utiles " "pour les métadonnées et le formatage du texte.\n" "\n" "La fenêtre ci-dessous affiche comment le message apparaitra aux utilisateurs " "de XChat XChat2 ou HexChat." #. TC: Dialog window title text. #: python/irc.py:673 msgid "IRC track announce" msgstr "Annonce de pistes IRC" #. TC: Spinbutton label for a delay value. #: python/irc.py:680 msgid "Delay" msgstr "Délais" #. TC: tooltip on a spinbutton widget. #: python/irc.py:682 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 "" "Délais pour ce message.\n" "\n" "Typiquement les clients des auditeurs temporisent à peu près 10 secondes de " "données audio ce qui signifie qu'il lisent le flux après cette émission et " "que sans délais, les messages IRC apparaitraient quelques secondes avant " "l'audio.\n" "\n" "Ce paramêtre permet de synchroniser les changements de pistes avec le " "message." #. TC: Dialog window title text. #: python/irc.py:710 msgid "IRC timed message" msgstr "Message IRC temporisé" #. TC: Spinbutton time offset value label. #: python/irc.py:719 msgid "Offset" msgstr "Offset" #. TC: Spinbutton timed interval duration value label. #: python/irc.py:721 msgid "Interval" msgstr "Interval" #. TC: spinbutton tooltip #: python/irc.py:724 msgid "" "The time offset within the below specified interval at which the message " "will be issued." msgstr "" "Offset de temps dans l'interval spécifié après lequel le message sera envoyé." #: python/irc.py:728 msgid "The interval in seconds of the timed message." msgstr "Interval en secondes des messages temporisés." #: python/irc.py:967 msgid "This feature requires the installation of python-irc." msgstr "Cette fonctionalité nécessite l'installation de python-irclib" #. TC: Indicator text: We used a password. #: python/irc.py:1058 msgid "PASSWORD" msgstr "MOT DE PASSE" #. TC: Indicator text: We interact with NickServ. #: python/irc.py:1061 msgid "NICKSERV" msgstr "NICKSERV" #. TC: Indicator text: Server connection started manually. #: python/irc.py:1064 msgid "MANUAL" msgstr "MANUEL" #. TC: Dialog title text. #: python/irc.py:1089 msgid "IRC stream up message" msgstr "Messages IRC vers le haut" #. TC: Dialog title text. #: python/irc.py:1091 msgid "IRC stream down message" msgstr "Messages IRC vers le bas" #. TC: Dialog title text. #: python/irc.py:1093 msgid "IRC station operations" msgstr "" #: python/jingles.py:96 msgid "Stop" msgstr "Stopper" #. TC: Column heading, whether to play. #: python/jingles.py:114 python/playergui.py:299 msgid "Play" msgstr "Lire" #: python/jingles.py:123 python/sourceclientgui.py:1051 msgid "Repeat" msgstr "Répéter" #: python/jingles.py:136 msgid "Configure" msgstr "Configurer" #: python/jingles.py:327 python/playergui.py:4135 msgid "Supported media" msgstr "Média supportaté" #: python/jingles.py:334 #, python-format msgid "Effect %d Config" msgstr "Config effet %d" #: python/jingles.py:349 msgid "Trigger text" msgstr "Texte Trigger" #: python/jingles.py:350 msgid "No Name" msgstr "Sans nom" #: python/jingles.py:357 msgid "Level adjustment (dB)" msgstr "Ajustement des niveaux (dB)" #: python/jingles.py:432 msgid "Effects volume." msgstr "Volume des effets" #: python/jingles.py:439 msgid "Player headroom that is applied when an effect is playing." msgstr "Headroom appliqué au lecteur quand un effet est lu." #: python/jingles.py:502 msgid "Alternative" msgstr "Alternatif" #: python/jingles.py:503 msgid "Default" msgstr "Défaut" #: python/jingles.py:548 msgid "Effects" msgstr "Effets" #: python/jingles.py:591 #, python-format msgid "Effects %d" msgstr "Effet %d" #: python/jingles.py:599 python/maingui.py:189 msgid "Background Tracks" msgstr "Pistes de fond" #: python/jingles.py:618 msgid "Background Tracks volume." msgstr "Volume des pistes de fond" #: python/maingui.py:93 msgid "Show a JACK freewheel control on the main panel" msgstr "Afficher le contrôle rouelibre de JACK en page principale" #: python/maingui.py:95 msgid "Toggle JACK freewheel mode." msgstr "Commutateur du mode rouelibre de JACK" #: python/maingui.py:168 msgid "File" msgstr "Fichier" #: python/maingui.py:168 python/preferences.py:1130 msgid "View" msgstr "Voir" #: python/maingui.py:169 msgid "JACK Ports" msgstr "Ports JACK" #: python/maingui.py:169 msgid "Help" msgstr "Aide" #: python/maingui.py:171 python/maingui.py:3689 msgid "Streams" msgstr "Flux" #: python/maingui.py:172 msgid "Recorders" msgstr "Enregistreurs" #: python/maingui.py:185 python/maingui.py:224 msgid "Output" msgstr "Sortie" #: python/maingui.py:185 msgid "Preferences" msgstr "Préférences" #: python/maingui.py:185 msgid "Profiles" msgstr "Profiles" #: python/maingui.py:188 python/songdb.py:409 msgid "Music Database" msgstr "Base de donnée musicale" #: python/maingui.py:188 msgid "Channel Meters" msgstr "Canal Mêtres" #: python/maingui.py:188 msgid "Output Meters" msgstr "Sortie Mêtres" #: python/maingui.py:189 msgid "Tabbed Area" msgstr "Zone tabulée" #: python/maingui.py:189 msgid "Button Bar" msgstr "Barre de boutons" #: python/maingui.py:223 python/preferences.py:1485 msgid "Channels" msgstr "Canaux" #: python/maingui.py:223 msgid "Players" msgstr "Lecteur" #: python/maingui.py:224 msgid "VoIP" msgstr "VoIP" #: python/maingui.py:224 python/maingui.py:3129 msgid "DSP" msgstr "DSP" #: python/maingui.py:224 msgid "Mix" msgstr "Mix" #: python/maingui.py:224 msgid "Misc" msgstr "Divers" #: python/maingui.py:269 msgid "Reset" msgstr "RàZ" #: python/maingui.py:272 msgid "Reset the JACK port connections to the default settings." msgstr "Forcer toutes les connexions aux ports JACK à leur valeurs par défaut." #: python/maingui.py:277 msgid "" "Reset all JACK port connections?\n" "\n" "All currently established connections will be lost\n" "and replaced with defaults." msgstr "" "RàZ de toutes les connexions aux ports " "JACK et remise aux paramêtres par défaut." #: python/maingui.py:321 msgid "No compatible ports available." msgstr "Aucun port compatible n'est disponible" #: python/maingui.py:364 #, python-brace-format msgid "{0} profile={1}:{2} settings saved." msgstr "{0} profil={1}:{2} paramêtres sauvegardés." #: python/maingui.py:367 #, python-brace-format msgid "{0} session={1}:{2} settings saved." msgstr "{0} session={1}:{2} paramêtres sauvegardés." #: python/maingui.py:671 msgid "Text" msgstr "Texte" #: python/maingui.py:674 msgid "The opener button's text." msgstr "Texte des boutons d'ouverture" #: python/maingui.py:682 msgid "Icon" msgstr "Icône" #: python/maingui.py:690 msgid "The opener button's icon." msgstr "L'icône d'ouverture." #: python/maingui.py:698 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 "" "Le headroom est le taux de réduction en dB appliqué au volume du lecteur " "quand ce lanceur est activé. Notez que la valeur utilisée sera la plus " "élevée parmis celles des bouttons activés." #: python/maingui.py:703 msgid "The amount of headroom required (dB)" msgstr "Le taux de headroom nécessaire (dB)" #: python/maingui.py:712 msgid "This button will flash as a reminder to close" msgstr "Ce bouton clignottera pour rappeler de le fermer" #: python/maingui.py:713 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 "" "Un certain laps de temps après que le lecteur principal soit actif, " "l'indicateur de status de ce bouton commence à clignotter jusqu'à ce que le " "bouton soit fermé ou le lecteur arrêté." #: python/maingui.py:721 msgid "This button is to be treated as a microphone opener" msgstr "Ce bouton doit être utilisé comme ouvreur de micro" #: python/maingui.py:723 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 "" "Le bouton sera regroupé avec les autres ouvreurs de micro. Il sera affecté " "par les signaux de fermeture de micro. Les canaux associés à ce bouton " "seront mixés différamment lors de l'utilisation des modes VoIP." #: python/maingui.py:732 msgid "This button will automatically cancel JACK freewheel mode" msgstr "" #: python/maingui.py:734 msgid "" "This should be set for all buttons that control input from a live sound " "source or device." msgstr "" "Doit être configuré pour chacun des boutons contrôlant l'entrée du son en " "direct d'une source ou d'un périphérique." #: python/maingui.py:737 msgid "Button Open Triggers" msgstr "Bouton Trieurs" #: python/maingui.py:744 msgid "Playlist advance button" msgstr "Bouton d'avance dans la liste de lecture" #: python/maingui.py:745 python/maingui.py:746 #, python-format msgid "'%s' control" msgstr "contrôle «%s»" #. TC: Insert playlist control to stop the player. #: python/maingui.py:745 python/playergui.py:4393 msgid "Player Stop" msgstr "Arret lecteur" #. TC: Insert playlist control to stop the player. #: python/maingui.py:746 python/playergui.py:4400 msgid "Player Stop 2" msgstr "Arret Lecteur 2" #: python/maingui.py:747 msgid "Announcements" msgstr "Annonces" #: python/maingui.py:759 msgid "When opened close these other buttons" msgstr "Quand il est ouvert, ferme les autres boutons" #: python/maingui.py:770 msgid "Shell Command" msgstr "Commande Shell" #: python/maingui.py:771 msgid "" "Mostly useful issuing 'amixer' commands, in particular for setting capture." msgstr "" "Pratique principalement avec les commandes de «amixer», en particulier pour " "configurer la capture." #: python/maingui.py:791 msgid "On open" msgstr "A l'ouverture" #: python/maingui.py:792 msgid "On close" msgstr "A la fermeture" #: python/maingui.py:836 msgid "Main Panel Opener Buttons" msgstr "Panneau principal des boutons d'ouvreurs" #: python/maingui.py:848 msgid "Indicate button numbers and associated channel numbers" msgstr "Indique le numéro de boutton et les numéros de canaux associés" #: python/maingui.py:850 msgid "A useful feature to have switched on while allocating channel openers." msgstr "" "Une fonctionalité utile à avoir activée lorsque l'on alloue des ouvreurs de " "canaux." #: python/maingui.py:856 msgid "Status Indicator Appearance" msgstr "Apparence de l'indicateur d'état" #: python/maingui.py:859 msgid "" "Each opener button has two vertical bars at the side to make the button " "state more apparent. These settings control their appearance." msgstr "" "Chaque bouton d'ouverture possède une barre verticale pour le rendre plus " "visible. Ces paramêtre contrôlent cette apparence." #: python/maingui.py:868 python/format.py:827 msgid "Width" msgstr "Largeur" #: python/maingui.py:875 msgid "Opened" msgstr "Ouvert" #: python/maingui.py:879 python/preferences.py:503 python/preferences.py:505 msgid "Closed" msgstr "Fermé" #: python/maingui.py:884 msgid "Remind" msgstr "Se rappeler" #. TC: A placeholder text for when there are no opener buttons. #: python/maingui.py:1065 msgid "No Channel Opener Buttons" msgstr "Aucun bouton d'ouverture de canal" #: python/maingui.py:1354 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 "" "Indique l'état des différents flux. Clignottant indique que des paquets du " "flux sont écartés à cause d'une congestion du réseau. Partiellement rouge " "signifie que le tampon d'émission est partiellement plein, indiquant des " "difficultés de comunication avec le serveur. Vert indique que tout va bien." #: python/maingui.py:1377 msgid "The combined total number of listeners in all server tabs." msgstr "Le nombre total d'auditeurs dans tous les onglets de serveurs." #. TC: Record as in, to make a recording. #: python/maingui.py:1825 python/sourceclientgui.py:2784 msgid "Record" msgstr "Enregistrer" #: python/maingui.py:2647 msgid "Confirmation to quit IDJC is required." msgstr "Une confirmation est nécessaire pour quitter IDJC." #: python/maingui.py:2651 msgid "All active recordings and radio streams will terminate." msgstr "Tous les entregistrements et flux radio seront arrêtés." #: python/maingui.py:2653 msgid "All of the active radio streams will terminate." msgstr "Tous les flux radio en cours seront arrêtés." #: python/maingui.py:2655 msgid "All active recordings will cease." msgstr "Tous les enregistrements sen cours seront arrêtés." #. TC: Popup menu item, wipes away the tracks played history text. #: python/maingui.py:2921 python/maingui.py:3353 msgid "Remove Contents" msgstr "Supprimer le contenu" #: python/maingui.py:3076 msgid "Renameable Labels" msgstr "Labels renommables" #: python/maingui.py:3100 msgid "Main Players" msgstr "Lecteur principal" #: python/maingui.py:3153 msgid "Mix voice over IP audio to the output stream." msgstr "Mixe l'audio VoIP au flux de sortie" #: python/maingui.py:3166 msgid "Mix voice over IP audio to the DJ only." msgstr "Mixe l'audio VoIP uniquement au DJ" #: python/maingui.py:3193 msgid "" "This button steps through the active playlist, pausing between tracks. The " "active playlist is defined by the placement of the crossfader." msgstr "" "Ce bouton avance dans la liste de lecture en s'arrêtant entre chaque piste. " "La liste de lecture en cours est définie par l'emplacement du crossfader." #: python/maingui.py:3238 python/preferences.py:873 msgid "The volume control shared by both music players." msgstr "Le contrôle de volume partagé par les deux lecteurs." #: python/maingui.py:3249 msgid "The volume control for the right music player." msgstr "Le Volume du lecteur de droite." #: python/maingui.py:3277 msgid "VoIP level adjustment. 0dB gain is at the mid point." msgstr "Ajustement du niveau VoIP. 0dB est le point milieu." #: python/maingui.py:3300 msgid "The stream volume level to send to the voice over IP connection." msgstr "Le niveau de volume à envoyer à la connexion VoIP." #: python/maingui.py:3327 python/preferences.py:1413 msgid "Tracks Played" msgstr "Pistes lues" #: python/maingui.py:3398 python/maingui.py:3400 python/maingui.py:3424 msgid "Monitor Mix" msgstr "Monitor Mix" #: python/maingui.py:3407 python/maingui.py:3424 python/playergui.py:4334 msgid "DJ" msgstr "DJ" #. TC: binding editor, action pane, first row, toplevel menu. #: python/maingui.py:3410 python/maingui.py:3424 python/midicontrols.py:155 #: python/midicontrols.py:1507 python/playergui.py:4326 #: python/sourceclientgui.py:2792 msgid "Stream" msgstr "Flux" #. TC: Context {0}, {1}, {2} = Monitor Mix, Stream, DJ #. TC: Or whatever they become translated to. #: python/maingui.py:3420 #, python-brace-format 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 "" "Dans IDJC il existe deux chemins et le contrôle «{0}» fait passer de l'un à " "l'autre. Lorsque «{1}» est actif, vous entendez ce que les auditeurs " "entendent effets du crossfader compris. «{0}» doit être positionné sur «{2}» " "pour pouvoir utiliser la fonctionalité VoIP" #. TC: Dropdown box title text widget. #: python/maingui.py:3433 python/maingui.py:3435 msgid "Metadata Source" msgstr "Source de métadonnées" #. TC: The chosen source of track metadata. #: python/maingui.py:3441 python/playergui.py:4044 msgid "Playlist 1" msgstr "Liste de lecture 1" #. TC: The chosen source of track metadata. #: python/maingui.py:3443 python/playergui.py:4045 msgid "Playlist 2" msgstr "Liste de lecture 2" #. TC: The chosen source of track metadata. #: python/maingui.py:3445 python/songdb.py:909 python/songdb.py:1293 msgid "Last Played" msgstr "Dernière lue" #. TC: The chosen source of track metadata. #: python/maingui.py:3447 python/maingui.py:3484 python/maingui.py:3486 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:3449 python/playergui.py:4309 msgid "None" msgstr "Aucune" #. TC: The chosen source of track metadata. In this case no metadata. #: python/maingui.py:3451 msgid "Playlist 3" msgstr "Liste de lecture 3" #: python/maingui.py:3456 msgid "Select the origin for the playing track metadata on the stream." msgstr "Sélectionner l'origine pour la piste de métadonnées" #. TC: Abbreviation of left. #: python/maingui.py:3466 python/maingui.py:3468 msgid "L" msgstr "G" #: python/maingui.py:3478 msgid "Move the crossfader fully left." msgstr "Déplacer le crossfader totalement à gauche" #: python/maingui.py:3498 msgid "The crossfader." msgstr "Le crossfader" #. TC: Abbreviation of right. #: python/maingui.py:3502 python/maingui.py:3504 msgid "R" msgstr "D" #: python/maingui.py:3514 msgid "Move the crossfader fully right." msgstr "Déplacer le crossfader totalement à droite" #. TC: Describes a mid point. #: python/maingui.py:3523 python/maingui.py:3525 msgid "Middle" msgstr "Milieu" #: python/maingui.py:3542 python/maingui.py:3549 msgid "Move the crossfader to the middle of its range of travel." msgstr "Déplacer le crossfader au point milieu de son chemin." #. TC: The attenuation response curve of the crossfader. User selectable. #: python/maingui.py:3554 python/maingui.py:3556 msgid "Response" msgstr "Réponse" #: python/maingui.py:3578 msgid "" "This selects the response curve of the crossfader.\n" "\n" "The mid-point attenuations are -3dB, 0dB, and -22dB respectively." msgstr "" "Sélectionne le type de courbe de réponse du crossfader.\n" "Les atténuations au point milieu sont respectivement -3dB, 0dB et -22dB " #. TC: Duration in seconds. #: python/maingui.py:3592 python/maingui.py:3594 msgid "Time" msgstr "Durée" #: python/maingui.py:3611 msgid "" "The time in seconds that the crossfader will take to automatically pass " "across when the button to the right is clicked." msgstr "" "Durée en secondes que le crossfader met à passer automatiquement lors d'un " "appuis sur le bouton droit." #. TC: The crossfader pass-across button text. #. TC: The actual button appears as [<-->] with this text above it. #: python/maingui.py:3620 python/maingui.py:3622 msgid "Pass" msgstr "Passer" #: python/maingui.py:3635 msgid "" "This button causes the crossfader to move to the opposite side at a speed " "determined by the speed selector to the left." msgstr "" "Ce bouton fait passer le crossfader vers le côté opposé à la vitesse " "déterminée par le sélecteur de vitesse à gauche." #: python/maingui.py:3678 msgid "Peak" msgstr "Pick" #: python/maingui.py:3681 msgid "A peak hold meter indicating the signal strength of the stream audio." msgstr "" "Un indicateur de pic temporisé montrant la force du signal du flux audio." #. TC: This text appears above the stream mix VU meter. #: python/maingui.py:3703 msgid "VU" msgstr "VU" #: python/maingui.py:3707 msgid "A VU meter for the stream audio." msgstr "Un Vumêtre pour le flux audio." #. TC: Appears above the mic meters as a label followed by a number. #: python/maingui.py:3710 msgid "Ch" msgstr "Ch" #: python/maingui.py:3737 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 indicateur de pic temporisé montrant la force du signal du micro et un " "autre indiquant le niveau d'atténuation dans le processeur de signal du " "micro. Vert indique une attenuation par la noise gate, Jaune par le de-" "esseur, Rouge par le limiteur." #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:48 msgid "Tooltips enable" msgstr "Ballons Activer" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:50 msgid "DJ-mix monitor" msgstr "DJ-Mix Monitoring" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:52 msgid "Panning load from presets" msgstr "Placement chargé depuis la présélection" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:54 msgid "Player play/pause" msgstr "Lecteur Lecture/pause" #. TC: Control method. Please keep it as Target:Action. #. TC: Playlist control. #: python/midicontrols.py:56 python/playergui.py:3798 msgid "Player stop" msgstr "Arret lecteur" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:58 msgid "Player advance" msgstr "Lecteur Avance" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:60 msgid "Player play previous" msgstr "Lecteur Lire précédente" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:62 msgid "Player play next" msgstr "Lecteur Lire suivante" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:64 msgid "Player play selected from start" msgstr "Lecteur Reprendre au début" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:66 msgid "Player select previous" msgstr "Lecteur Sélectionner la précédente" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:68 msgid "Player select next" msgstr "Lecteur Sélectionner la suivante" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:70 msgid "Player stream output enable" msgstr "Lecteur de flux Activer la sortie" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:72 msgid "Player DJ output enable" msgstr "Lecteur DJ Activer la sortie" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:74 msgid "Player DJ-only switch" msgstr "Lecteur Commuter DJ seul" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:76 msgid "Player set volume" msgstr "Lecteur Régler le volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:78 msgid "Player set gain" msgstr "Lecteur Régler le gain" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:80 msgid "Player set balance" msgstr "Lecteur Régler la balance" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:82 msgid "Player set pitchbend" msgstr "Lecteur Régler la tonalité" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:85 msgid "Playlist edit tags" msgstr "Liste de lecture Editer les tags" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:87 msgid "Playlist insert stop" msgstr "Liste de lecture Insérer un arret" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:89 msgid "Playlist insert stop 2" msgstr "Liste de lecture Insérer un arret 2" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:91 msgid "Playlist insert announce" msgstr "Liste de lecture Insérer une annonce" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:93 msgid "Playlist insert transfer" msgstr "Liste de lecture Insérer un transfert" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:95 msgid "Playlist insert crossfade" msgstr "Liste de lecture Insérer un crossfader" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:97 msgid "Playlist insert pitchunbend" msgstr "Liste de lecture Revenir à la tonalité originale" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:99 msgid "Playlist insert jump to top" msgstr "Liste de lecture Insérer un saut en haut" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:102 msgid "Players set crossfade" msgstr "Lecteurs Régler le crossfader" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:104 msgid "Players pass crossfade" msgstr "Lecteurs Effectuer un crossfader" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:106 msgid "Players set focus" msgstr "Lecteur Régler le focus" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:108 msgid "Players show pitchbend" msgstr "Lecteurs Afficher la tonalité" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:110 msgid "Players advance" msgstr "Lecteur Avance" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:113 msgid "Channel output enable" msgstr "Canal Activer la sortie" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:115 msgid "Channel set volume" msgstr "Canal Régler le volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:117 msgid "Channel set gain" msgstr "Canal Régler le gain" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:119 msgid "Channel set balance" msgstr "Canal Régler la balance" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:122 msgid "VoIP output enable" msgstr "VoIP Activer la sortie" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:124 msgid "VoIP DJ-only switch" msgstr "VoIP DJ-Seul Commuter" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:126 msgid "VoIP set volume" msgstr "VoIP Régler le volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:128 msgid "VoIP set mixback" msgstr "VoIP Régler le retour" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:130 msgid "VoIP set gain" msgstr "VoIP Régler le gain" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:132 msgid "VoIP set balance" msgstr "VoIP Régler la balance" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:135 msgid "Effect play from start" msgstr "Effet Lire depuis le début" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:138 msgid "Effects stop many" msgstr "Effets Arrèter plusieurs" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:140 msgid "Effects set volume" msgstr "Effets Régler le volume" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:142 msgid "Effects set headroom" msgstr "Effets Régler le headroom" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:145 msgid "Stream set connected" msgstr "Flux Connecter" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:148 msgid "Recorder set recording" msgstr "Enregistreur Enregistrement" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:152 python/midicontrols.py:1493 msgid "Player" msgstr "Lecteur" #. TC: binding editor, action pane, first row, toplevel menu. #. TC: The midi channel. #. TC: Specifically, the numerical midi channel. #: python/midicontrols.py:153 python/midicontrols.py:1499 #: python/midicontrols.py:1568 python/midicontrols.py:1758 msgid "Channel" msgstr "Canal" #: python/midicontrols.py:154 python/preferences.py:599 #: python/preferences.py:609 msgid "Effect" msgstr "Effet" #: python/midicontrols.py:156 msgid "Recorder" msgstr "Enregistreur" #: python/midicontrols.py:157 msgid "Setting" msgstr "Paramètres" #: python/midicontrols.py:161 msgid "Left player" msgstr "Lecteur de gauche" #: python/midicontrols.py:162 msgid "Right player" msgstr "Lecteur de droite" #: python/midicontrols.py:163 msgid "Background player" msgstr "Lecteur de fond" #: python/midicontrols.py:164 msgid "Focused player" msgstr "Lecteur actif" #: python/midicontrols.py:165 msgid "Fadered player" msgstr "Lecteur affaibli" #: python/midicontrols.py:169 msgid "Effects bank 1" msgstr "Effets Banque 1" #: python/midicontrols.py:170 msgid "Effects bank 2" msgstr "Effets Banque 2" #: python/midicontrols.py:171 msgid "All effects" msgstr "Tous les effets" #. TC: The name of the backspace key. #: python/midicontrols.py:405 msgid "BackSpace" msgstr "Retour Arrière" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1469 msgid "Use value" msgstr "Utiliser la valeur" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1471 msgid "Act if" msgstr "Agir si" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1473 msgid "Set to" msgstr "Régler à" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1475 msgid "Adjust by" msgstr "Ajuster par" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1480 python/midicontrols.py:1484 msgid "Control" msgstr "Contrôle" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1482 msgid "Note" msgstr "Note" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1486 msgid "Key" msgstr "Touche" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1491 msgid "Miscellaneous" msgstr "Divers" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1495 msgid "Both players" msgstr "Les deux lecteurs" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1497 msgid "Quick panning" msgstr "Panoramique rapide" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1501 msgid "VoIP channel" msgstr "Canal VoIP" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1503 msgid "Single effect" msgstr "Effet unique" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1505 msgid "Effects bank" msgstr "Banque d'effets" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1509 msgid "Stream recorder" msgstr "Enregistreur de flux" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1514 msgid "Direct fader/held button" msgstr "Bouton fader/premuto" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1516 msgid "One-shot/toggle button" msgstr "Bouton One-shot/Commuter" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1518 msgid "Set value" msgstr "Régler la valeur" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1520 msgid "Alter value" msgstr "Modifier la valeur" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1525 msgid "MIDI control" msgstr "Contrôle MIDI" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1527 msgid "MIDI note" msgstr "Note MIDI" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1529 msgid "MIDI pitch-wheel" msgstr "Tonalité MIDI" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1531 msgid "Keyboard press" msgstr "Touché du clavier" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1533 msgid "XChat command" msgstr "Commande XChat" #. TC: Dialog window title text. #. TC: User is expected to edit a control binding. #: python/midicontrols.py:1542 msgid "Edit control binding" msgstr "Editer les contrôleurs" #. 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:1557 python/midicontrols.py:1638 #: python/midicontrols.py:1737 msgid "Listen for input..." msgstr "Ecouter sur l'entrée…" #. TC: The input source. #: python/midicontrols.py:1565 msgid "Source" msgstr "Source" #. TC: The manner in which the input is interpreted. #: python/midicontrols.py:1584 msgid "Interaction" msgstr "Interraction" #. TC: The effect of the control can be directed upon a specific target. #. TC: e.g. On target [Left player] #: python/midicontrols.py:1590 msgid "On target" msgstr "Destination" #. TC: Checkbutton text. #. TC: Use reverse scale and invert the meaning of button presses. #: python/midicontrols.py:1598 msgid "Reversed" msgstr "Inversé" #: python/midicontrols.py:1599 msgid "Pressed" msgstr "Pressé" #: python/midicontrols.py:1601 msgid "Released" msgstr "Relaché" #. TC: Tree column heading for Inputs e.g. Backspace, F1, S. #: python/midicontrols.py:1631 python/midicontrols.py:1992 msgid "Input" msgstr "Entrée" #: python/midicontrols.py:1635 #, 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 première moitiée d'une liaison est l'entrée qui arrive sous la forme " "d'une pression sur une touche du clavier ou un évènement midi.\n" "\n" "La sélection peut se faire manuellement ou à l'aide de l'option «%s»." #. TC: Tree column heading for actions e.g. Player stop. #: python/midicontrols.py:1671 python/midicontrols.py:1677 #: python/midicontrols.py:2006 msgid "Action" msgstr "Action" #. TC: %s is the translation of 'Action'. #: python/midicontrols.py:1676 #, python-format msgid "The '%s' pane determines how the input is handled, and to what effect." msgstr "" "Le ventail «%s» détermine comment l'entrée est gérée et quels en sont les " "effets." #: python/midicontrols.py:1733 msgid "Listening for input" msgstr "Lecture de l'entrée" #. TC: Refers to key modifiers including Ctrl, Alt, Shift, .... #: python/midicontrols.py:1754 msgid "Shifting" msgstr "Altération" #: python/midicontrols.py:1953 msgid "Singular control" msgstr "Contrôle unique" #: python/midicontrols.py:2015 msgid "Target" msgstr "Obiettivo" #: python/mutagentagger.py:219 msgid "title" msgstr "titre" #: python/mutagentagger.py:219 msgid "artist" msgstr "artiste" #: python/mutagentagger.py:220 msgid "album" msgstr "album" #: python/mutagentagger.py:220 msgid "track/total" msgstr "piste/total" #: python/mutagentagger.py:221 msgid "genre" msgstr "genre" #: python/mutagentagger.py:221 msgid "record date" msgstr "date d'enregistrement" #: 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 "" "Ajoutez ICI n'importe quel tag ID3.\n" "ex. : TIT2 : Titre alternatif\n" "Sera ajouté au TIT2 principal.\n" "\n" "Entrez des champs de texte personalisés comme ceci :\n" "TXXX:nimporte=quoi\n" "\n" "Pour plus d'information visitez www.id3.org." #. TC: Remaining textual ID3 data is show below this heading. #: python/mutagentagger.py:366 msgid " Additional Text Frames " msgstr " Champs texte additionnels " #. TC: The album track number. #: python/mutagentagger.py:376 python/songdb.py:906 python/songdb.py:1295 msgid "Track" msgstr "Piste" #: python/mutagentagger.py:377 msgid "Genre" msgstr "Genre" #: python/mutagentagger.py:377 msgid "Year" msgstr "Année" #. TC: Window title. #: python/mutagentagger.py:688 msgid "IDJC Tagger" msgstr "Taggeur IDJC" #: python/mutagentagger.py:700 python/mutagentagger.py:704 #: python/mutagentagger.py:708 msgid "Filename:" msgstr "Nom du fichier :" #: python/mutagentagger.py:777 msgid "Native" msgstr "Natif" #: python/songdb.py:177 msgid "Connecting" msgstr "Connexion" # python-format #: python/songdb.py:188 #, python-format msgid "Connection failed (try %d)" msgstr "Connexion échouée (essayez %d)" #: python/songdb.py:199 #, fuzzy msgid "Connected: autocommit mode failed" msgstr "Connecté : Echec du mode utf-8" #: python/songdb.py:201 #, fuzzy msgid "Connected: autocommit mode set" msgstr "Connecté : Echec du mode utf-8" #: python/songdb.py:202 msgid "Connected" msgstr "Connecté" #: python/songdb.py:210 msgid "Job dropped" msgstr "Tâche abandonnée" #: python/songdb.py:220 python/songdb.py:431 msgid "Disconnected" msgstr "Disconnecté" #: python/songdb.py:233 msgid "Problem dropping connection" msgstr "Problème lors de l'abandon de la tâche" #: python/songdb.py:235 msgid "Connection dropped" msgstr "Connexion abandonnée" #: python/songdb.py:326 msgid "Hostname[:Port]" msgstr "Hôte[:Port]" #: python/songdb.py:331 msgid "User Name" msgstr "Nom utilisateur" #: python/songdb.py:334 msgid "Database" msgstr "Base de données" #: python/songdb.py:389 msgid "Prokyon3 or Ampache (song title) Database" msgstr "Base de donnée Prokyon3 ou Ampache (titre de chanson)" #: python/songdb.py:390 msgid "" "You can make certain media databases accessible in IDJC for easy drag and " "drop into the playlists." msgstr "" "Vous pouvez rendre certaines bases de données accessibles dans IDJC pour " "plusde facilités lors des glisser/déposer dans les listes de lectures" #: python/songdb.py:438 msgid "Module mysql-python (MySQLdb) required" msgstr "Module mysql-python (MySQLdb) nécessaire" #: python/songdb.py:707 python/songdb.py:723 python/songdb.py:747 #: python/songdb.py:805 msgid "" msgstr "" #: python/songdb.py:741 #, fuzzy msgid "Not Played" msgstr "Dernière lue" #: python/songdb.py:878 msgid "Reload the database." msgstr "Recharger la base de données" #: python/songdb.py:883 msgid "Expand entire tree." msgstr "Développer l'arborescence." #: python/songdb.py:884 msgid "Collapse tree." msgstr "Enrouler l'arborescence." #: python/songdb.py:891 msgid "Browse" msgstr "Parcourrir" #. TC: The disk number of the album track. #: python/songdb.py:904 python/songdb.py:1294 msgid "Disk" msgstr "Disque" #. TC: Track playback time. #. TC: Playback time. #: python/songdb.py:908 python/songdb.py:1296 python/playergui.py:313 msgid "Duration" msgstr "Durée" #: python/songdb.py:910 python/songdb.py:1297 python/format.py:594 #: python/format.py:615 python/format.py:701 python/format.py:722 #: python/format.py:857 python/format.py:962 python/format.py:1012 #: python/format.py:1022 msgid "Bitrate" msgstr "Bitrate" #: python/songdb.py:911 python/songdb.py:1298 msgid "Filename" msgstr "Nom du fichier" #. TC: Directory path to a file. #: python/songdb.py:913 python/songdb.py:1299 msgid "Path" msgstr "Répertoire" #: python/songdb.py:918 msgid "Artist - Album - Title" msgstr "Artiste - Album - Titre" #: python/songdb.py:919 msgid "Album - [Disk] - Title" msgstr "Album - [Disque] - Titre" #: python/songdb.py:939 msgid "Fetching" msgstr "Découverte" #: python/songdb.py:1084 msgid "Tree fetch failed" msgstr "Echec de la découverte de l'arborescence" #: python/songdb.py:1085 msgid "Fetch Failed!" msgstr "Echec de la découverte!" #: python/songdb.py:1098 msgid "Populating" msgstr "Popularité" #: python/songdb.py:1224 #, python-format msgid "Disk %d" msgstr "Disque %d" #. TC: User specified search filter entry box title text. #: python/songdb.py:1243 msgid "Filters" msgstr "Filtres" #. TC: A type of search on any data field matching paritial strings. #: python/songdb.py:1255 msgid "Fuzzy Search" msgstr "Recherche floue" #. TC: WHERE is an SQL keyword. #: python/songdb.py:1264 msgid "WHERE" msgstr "WHERE" #: python/songdb.py:1277 msgid "Search" msgstr "Recherche" #: python/songdb.py:1514 python/songdb.py:1639 msgid "Minutes" msgstr "" #: python/songdb.py:1514 python/songdb.py:1639 #, fuzzy msgid "Hours" msgstr "Couleurs" #: python/songdb.py:1515 python/songdb.py:1639 msgid "Days" msgstr "" #: python/songdb.py:1515 python/songdb.py:1639 python/songdb.py:1709 #: python/songdb.py:1803 msgid "Weeks" msgstr "" #: python/songdb.py:1609 msgid "Catalogs" msgstr "Catalogues" #: python/songdb.py:1616 msgid "Name" msgstr "Nom" #: python/songdb.py:1617 msgid "Catalog Path" msgstr "Chemin du Catalogue" #: python/songdb.py:1618 msgid "Prepend Path" msgstr "Chemin Préfixe" #: python/songdb.py:1626 #, fuzzy msgid "Last Played Scale" msgstr "Dernière lue" #: python/songdb.py:1658 msgid "Path Peel" msgstr "Chemin supprimable" #: python/songdb.py:1737 msgid "N/A" msgstr "S/O" #: python/songdb.py:1918 msgid "Failed to create FULLTEXT index" msgstr "Echec de la création de l'index TEXTE" #: python/songdb.py:1922 msgid "Found existing FULLTEXT index" msgstr "Un index TEXTE exite déjà" #: python/songdb.py:1936 python/songdb.py:1949 msgid "Unrecognised database" msgstr "Base de données non reconnue" #: python/songdb.py:1944 msgid "Found Prokyon 3 schema" msgstr "Schéma Prokyon 3 trouvé" #: python/playergui.py:236 msgid "Cuesheet Playlist" msgstr "Liste de lecture cuesheet" #. TC: Column heading, the track number. #: python/playergui.py:302 msgid "Trk" msgstr "Piste" #. TC: Column heading, the index number. #: python/playergui.py:305 msgid "Ind" msgstr "Index" #: python/playergui.py:414 msgid "External Playlist" msgstr "Liste de lecture externe" #. TC: Button text to activate an external playlist. #: python/playergui.py:425 msgid "Active" msgstr "Attivée" #: python/playergui.py:435 msgid "Choose a playlist file" msgstr "Sélectionner un fichier de liste de lecture" #: python/playergui.py:440 msgid "Choose a media directory" msgstr "Sélectionner un dossier de média" #: python/playergui.py:453 msgid "Choose a playlist file." msgstr "Sélectionner un fichier de liste de lecture." #: python/playergui.py:455 msgid "Choose a folder/directory of music." msgstr "Sélectionner un fichier de musique." #: python/playergui.py:522 msgid "Create a new announcement" msgstr "Créer une nouvelle annonce" #: python/playergui.py:525 msgid "Modify or Delete this announcement" msgstr "Modifier ou supprimer cette annonce" #. TC: Embed a DJ announcement text into the playlist. #: python/playergui.py:528 python/playergui.py:4430 msgid "Announcement" msgstr "Annonce" #. TC: The time format as minutes and seconds. #: python/playergui.py:556 msgid "mm:ss" msgstr "mm:ss" #. TC: Alongside the name of the next track. #: python/playergui.py:609 msgid "Next track" msgstr "Piste suivante" #: python/playergui.py:934 msgid "By Extension" msgstr "Par extention" #: python/playergui.py:934 msgid "M3U playlist" msgstr "Liste de lecture M3U" #: python/playergui.py:934 #, fuzzy msgid "M3U8 playlist" msgstr "Liste de lecture M3U" #: python/playergui.py:935 msgid "XSPF playlist" msgstr "Liste de lecture XSPF" #: python/playergui.py:935 msgid "PLS playlist" msgstr "Liste de lecture PLS" #: python/playergui.py:1007 #, python-format msgid "%d Audio Tracks" msgstr "%d pistes audio" #. TC: Missing metadata text. #: python/playergui.py:1017 msgid "Unknown" msgstr "Inconnu" #: python/playergui.py:1021 msgid "(Cue sheet)" msgstr "(Cue Sheet)" #: python/playergui.py:1058 msgid "Bad Tag" msgstr "Tag erroné" #: python/playergui.py:1888 python/playergui.py:4268 msgid "Manual" msgstr "Manuel" #: python/playergui.py:1892 python/playergui.py:4265 msgid "Play All" msgstr "Tout jouer" #: python/playergui.py:1900 python/playergui.py:1909 python/playergui.py:4266 msgid "Loop All" msgstr "Tout boucler" #: python/playergui.py:1900 python/playergui.py:4269 msgid "Cue Up" msgstr "Pré-écoute" #: python/playergui.py:1901 python/playergui.py:4273 msgid "Fade Over" msgstr "Fondu dessus" #: python/playergui.py:1913 python/playergui.py:1984 python/playergui.py:4267 msgid "Random" msgstr "Aléatoire" #: python/playergui.py:1953 python/playergui.py:4270 msgid "External" msgstr "Externe" #: python/playergui.py:1965 python/playergui.py:1981 python/playergui.py:4272 msgid "Alternate" msgstr "Alternatif" #: python/playergui.py:1965 python/playergui.py:1983 python/playergui.py:4274 msgid "Random Hop" msgstr "Hop aléatoire" #. TC: The remaining playlist time. #: python/playergui.py:2138 python/playergui.py:2144 msgid "Remaining" msgstr "Restant" #. TC: The estimated finish time of the playlist. #. TC: The estimated finish time of the playlist (ETA). #: python/playergui.py:2140 python/playergui.py:2144 python/playergui.py:2158 msgid "Finish" msgstr "Fini" #. TC: The play duration of the block of audio tracks. #: python/playergui.py:2145 python/playergui.py:2156 msgid "Block size" msgstr "Taille de block" #. TC: File dialog title text. #: python/playergui.py:2546 msgid "Add music to left playlist" msgstr "Ajouter de la musique à la liste de gauche" #. TC: File dialog title text. #: python/playergui.py:2549 msgid "Add music to right playlist" msgstr "Ajouter de la musique à la liste de droite" #: python/playergui.py:2551 msgid "Add background music" msgstr "ajouter une musique de fond" #. TC: File filter text. #: python/playergui.py:2563 msgid "Supported Media Formats" msgstr "Formats de média supportés" #. TC: Expander text "Select File Type (.pls)" for the pls file type. #: python/playergui.py:2625 msgid "Select File Type" msgstr "Sélectionner le type de fichier" #: python/playergui.py:3383 msgid "Save left playlist" msgstr "Sauvegarder la liste de lecture de gauche" #: python/playergui.py:3385 msgid "Save right playlist" msgstr "Sauvegarder la liste de lecture de droite" #: python/playergui.py:3387 msgid "Save background playlist" msgstr "Sauvegarder la liste de lecture de fond" #: python/playergui.py:3405 msgid "File Type" msgstr "Type de fichier" #: python/playergui.py:3410 msgid "Extension" msgstr "Extention" #. TC: Playlist control. #. TC: Insert playlist control to do a ten second fade to the next track. #: python/playergui.py:3774 python/playergui.py:4441 msgid "Fade 10s" msgstr "Fondu 10s" #. TC: Playlist control. #. TC: Insert playlist control to do a five second fade to the next track. #: python/playergui.py:3780 python/playergui.py:4448 msgid "Fade 5s" msgstr "Fondu 5s" #. TC: Playlist control. #. TC: Insert playlist control to not do a fade to the next track. #: python/playergui.py:3785 python/playergui.py:4455 msgid "No Fade" msgstr "Aucun Fondu" #. TC: Playlist control. #: python/playergui.py:3793 msgid ">> Normal Speed <<" msgstr ">> Vitesse normale <<" #. TC: Playlist control. #: python/playergui.py:3803 msgid "Player stop 2" msgstr "Arret Lecteur 2" #. TC: Playlist control. #. TC: Insert playlist control to jump to the top of the playlist. #: python/playergui.py:3808 python/playergui.py:4407 msgid "Jump To Top" msgstr "Retour en haut" #. TC: Playlist control. #: python/playergui.py:3813 python/playergui.py:4467 msgid "Stop streaming" msgstr "Arret du flux" #. TC: Playlist control. #: python/playergui.py:3818 python/playergui.py:4475 msgid "Stop recording" msgstr "Arret de l'enregistrement" #: python/playergui.py:3851 #, fuzzy msgid "Announcement:" msgstr "Annonce" #. TC: Playlist control. #: python/playergui.py:3857 msgid ">>> Transfer across >>>" msgstr ">>> Transfer en face >>>" #. TC: Playlist control. #: python/playergui.py:3860 msgid "<<< Transfer across <<<" msgstr "<<< Transfer en face <<<" #. TC: Playlist control. #: python/playergui.py:3865 msgid ">>> Fade across >>>" msgstr ">>> Fondu en face >>>" #. TC: Playlist control. #: python/playergui.py:3868 msgid "<<< Fade across <<<" msgstr "<<< Fondu en face <<<" #. TC: Playlist control. #: python/playergui.py:3874 msgid "Ignored playlist control" msgstr "Contrôle de liste de lecture ignoré" #: python/playergui.py:3942 #, python-brace-format msgid "Playing track {0} of {1}" msgstr "Lecture piste {0} sur {1}" #. TC: Previous line: Playing track {0} of {1} #: python/playergui.py:3955 #, python-format msgid "From the album, %s" msgstr "De l'album, %s" #: python/playergui.py:3962 #, python-format msgid "Total number of tracks %d" msgstr "Nombre de piste total %d" #: python/playergui.py:3966 python/playergui.py:3968 #, python-format msgid "Total play duration %s" msgstr "Durée totale %s" #: python/playergui.py:4018 msgid "" "Left click toggles between showing the amount of time elapsed or remaining " "on the current track being played." msgstr "" "Clic à gauche pour afficher le temps écoulé ou le temps restant pour la " "piste en cours de reproduction." #: python/playergui.py:4036 msgid "" "This slider acts as both a play progress indicator and as a means for " "seeking within the currently playing track." msgstr "" "Ce curseur agit à la fois comme indicateur de progression et comme " "positionneur dans la piste en cours de reproduction." #. TC: File filter text. #: python/playergui.py:4125 msgid "All file types" msgstr "Tout type de fichier" #: python/playergui.py:4130 #, fuzzy msgid "Playlist types" msgstr "Liste de lecture 1" #: python/playergui.py:4145 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 "" "«Taille de block» indique la quantité de temps restant entre la piste en " "cours et le prochain arret.\n" "«Restant» indique le temps restant avant le prochain arret.\n" "«Fin» est le temps calculé lorsque la piste aura fini d'être lue." #: python/playergui.py:4168 msgid "This adjusts the playback speed anywhere from 25% to 400%." msgstr "Ajuste la vitesse de reproduction entre 25% et 400%." #: python/playergui.py:4182 msgid "This sets the playback speed back to normal." msgstr "Remet la vitesse de reproduction à sa valeur normale." #: python/playergui.py:4199 msgid "Previous track." msgstr "Piste précédente" #: python/playergui.py:4211 msgid "Play." msgstr "Lecture" #: python/playergui.py:4221 msgid "Pause." msgstr "Pause" #: python/playergui.py:4231 msgid "Stop." msgstr "Arret" #: python/playergui.py:4241 msgid "Next track." msgstr "Piste suivante" #: python/playergui.py:4253 msgid "Add tracks to the playlist." msgstr "Ajouter des pistes à la liste" #: python/playergui.py:4260 python/preferences.py:71 msgid "Playlist Mode" msgstr "Mode de la liste de lecture" #: python/playergui.py:4279 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 "" "Configure le mode de la liste de lecture définissant le fonctionnement du " "lecteur après qu'une piste ait finie d'être lue.\n" "\n" "«Lire tout» est le mode le plus universel puisqu'il permet l'utilisation des " "élements de contrôle disponibles dans le menu contextuel accessible par un " "clic droit sur la liste de lecture. Lorsqu'aucun élément de contrôle n'est " "présent, les pistes sont lues de manière séquentielles jusqu'à la fin de la " "liste de lecture après quoi le lecteur s'arrète.\n" " \n" "«Boucler» les pistes sont jouées séquentiellement jusquà la fin de la liste " "de lecture, après quoi le liste est relue depuis le début.\n" "\n" "«Aléatoire» rends la liste de lecture infinie, avec les pistes choisies au " "hazard.\n" "\n" "«Manuel» le lecteur s'arrête à la fin de chaque piste.\n" "\n" "«Suivante» comme pour «Manuel» mis à part que la piste suivante est " "sélectionnée.\n" "\n" "«Externe» prend les pistes depuis une autre liste de lecture ou un autre " "dossier, l'une après l'autre. Utile pour diffuser de grandes listes de " "lecture.\n" "\n" "«Alternatif» Sélectionne la piste suivante avant de démarrer le lecteur " "opposé. Le crossfader est activé.\n" "\n" "«Crossfader» Le passage au lecteur opposé est effectué après chaque piste.\n" "\n" "«Emprun Aléatoire» Prends une piste au hazard dans la liste de lecture " "opposée." #. TC: Fade time heading. #: python/playergui.py:4303 python/preferences.py:72 msgid "Fade" msgstr "Fondu" #: python/playergui.py:4315 msgid "This controls the amount of fade between tracks." msgstr "Contrôle le taux de fondu entre les pistes." #: python/playergui.py:4322 msgid "Audio Feed" msgstr "Audio Feed" #: python/playergui.py:4332 msgid "Make output from this player available for streaming." msgstr "Rendre la sortie de ce lecteur disponible pour le flux" #: python/playergui.py:4340 msgid "Make output from this player audible to the DJ." msgstr "Rendre la sortie de ce lecteur audible au DJ" #: python/playergui.py:4342 msgid "Force" msgstr "Forcer" #: python/playergui.py:4348 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 "" "Lorsqu'il est choisi, ce lecteur agis comme le lecteur principal/\n" "Il est affecté par l'aténuation par le micro et ne se mute pas lorsque le " "lecteur principal est en fonction." #. TC: Insert playlist control. #: python/playergui.py:4361 msgid "Insert control" msgstr "Insérer un contrôle" #. TC: The Item submenu. #: python/playergui.py:4370 msgid "Item" msgstr "Elément" #. TC: The Playlist submenu. #: python/playergui.py:4375 msgid "Playlist" msgstr "Liste de lecture" #. TC: Insert playlist control to set playback speed to normal. #: python/playergui.py:4386 msgid "Normal Speed" msgstr "Vitesse normale" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4415 python/playergui.py:4569 msgid "Transfer" msgstr "Transfer" #: python/playergui.py:4423 msgid "Crossfade" msgstr "Crossfader" #. TC: Menu item. Opens the metadata tagger on the selected track. #: python/playergui.py:4488 msgid "Meta Tag" msgstr "Méta Tag" #. TC: Menu Item. Duplicates the selected track in the playlist. #: python/playergui.py:4494 msgid "Duplicate" msgstr "Dupliquer" #. TC: Menu Item. Remove the selected track. #: python/playergui.py:4501 msgid "Remove" msgstr "Supprimer" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4512 msgid "This" msgstr "Ceci" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4519 python/preferences.py:1237 msgid "All" msgstr "Tout" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4526 msgid "From Here" msgstr "Depuis ici" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4533 msgid "To Here" msgstr "Jusqu'ici" #. TC: Open the file dialog for adding music to the chosen playlist. #: python/playergui.py:4546 msgid "Add Music" msgstr "Ajouter de la musique" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4553 msgid "Save" msgstr "Sauvegarder" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4564 msgid "Copy" msgstr "Copier" #: python/playergui.py:4575 msgid "Exchange" msgstr "Echanger" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4582 msgid "Empty" msgstr "Vide" #. TC: Submenu Item. Parent menus are Playlist->Copy. #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4596 python/playergui.py:4635 msgid "Append" msgstr "Après" #. TC: Submenu Item. Parent menus are Playlist->Copy. #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4603 python/playergui.py:4642 msgid "Prepend" msgstr "Avant" #. TC: Submenu Item. Parent menus are Playlist->Copy. #: python/playergui.py:4614 msgid "Append Cursor" msgstr "Ajouter après le curseur" #. TC: Submenu Item. Parent menus are Playlist->Copy. #: python/playergui.py:4621 msgid "Prepend Cursor" msgstr "Ajouter avant le curseur" #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4653 msgid "Append at Cursor" msgstr "Ajouter après au curseur" #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4660 msgid "Prepend at Cursor" msgstr "Ajouter avant au curseur" #: python/preferences.py:85 msgid "Track time elapsed" msgstr "Tempo écoulé" #: python/preferences.py:87 msgid "Track time remaining" msgstr "Temps restant" #: python/preferences.py:89 msgid "Audio to stream" msgstr "Audio vers flux" #: python/preferences.py:90 msgid "Audio to DJ" msgstr "Audio vers DJ" #: python/preferences.py:127 #, python-format 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 or require a stereo source " "remain as stereo then this feature should be turned off.\n" "\n" "Paired channels should be set to 100% left/right unless narrowing of the " "stereo field is the intention." msgstr "" "La panoramique stéréo est une sélection ou une source audio se situe plus ou " "moins à gauche ou a droite par rapport au mix stéréo.\n" "\n" "Ce contrôle garde une puissance audio constante sur toute sa plage, en " "donnant une atténuation de -3dB sur les deux canaux au point milieu.\n" "\n" "Si vous voulez obtenir 0dB au point milieu ou si vous voulez maintenir la " "stéréo de la source, cette fonctionalité doit être désactivée.\n" "\n" "L'appairage des canaux doit être laissé à 100% gauche/droite à moins que la " "réduction du champ stéréo ne soit votre intention." #: python/preferences.py:158 msgid "Presets" msgstr "Présélections" #: python/preferences.py:249 msgid "" "The pan preset selection buttons.\n" "\n" "In the stereo image at a click the DJ can be on the left and a guest on the " "right and when the guest is gone at a click the DJ can be central again.\n" "\n" "Note: preconfiguration of pan preset settings is required." msgstr "" "Les boutons de présélection de panoramique.\n" "\n" "Dans une image stéréo en 1 clic le DJ peut se situer à gauche et l'invité à " "droite et dès que l'invité part, en 1 click le DJ peut se retrouver de " "nouveau au centre.\n" "\n" "Note : Une préconfiguration des présélections est nécessaire." #. TC: Microphone mode combobox text. #: python/preferences.py:274 msgid "Deactivated" msgstr "Désactivé" #. TC: Microphone mode combobox text. #: python/preferences.py:276 msgid "Basic input" msgstr "Entrée de base" #. TC: Microphone mode combobox text. #: python/preferences.py:278 msgid "Processed input" msgstr "Ingresso elaborato" #. TC: Microphone mode combobox text. #: python/preferences.py:280 #, python-format msgid "Partnered with channel %s" msgstr "Associer au canal %s" #: python/preferences.py:432 msgid "A label so you may describe briefly the role of this audio channel." msgstr "Un label décrivant brièvement le rôle de ce canal audio." #: python/preferences.py:464 msgid "The signal processing mode." msgstr "Mode de traitement du signal" #. TC: A frame heading. The channel opener is selected within. #: python/preferences.py:468 msgid "Channel Opener" msgstr "Ouvreur de canal" #: python/preferences.py:471 msgid "" "This controls the allocation of front panel open/unmute buttons. Having one " "button control multiple microphones can save time." msgstr "" "Contrôle l'allocation des boutons Ouvrir/DéMuter du paneau principal. Avoir " "un bouton pour contrôler plusieurs micro peut faire gagner du temps." #. TC: Spinbutton label text. #: python/preferences.py:478 msgid "Main Panel Button" msgstr "Boutton du paneau principal" #: python/preferences.py:495 msgid "This:" msgstr "Ceci :" #: python/preferences.py:504 msgid "Open" msgstr "Ouvrir" #: python/preferences.py:517 msgid "Stereo Panning" msgstr "Panoramique Stéréo" #. TC: A set of controls that perform audio signal matching. #: python/preferences.py:530 msgid "Signal Matching" msgstr "Correspondance de signal" #: python/preferences.py:531 msgid "" "These controls are provided to obtain a decent match between the two " "microphones." msgstr "" "Ces contrôles sont mis à disposition pour obtenir une correction de gain " "convenable entre les micros." #: python/preferences.py:540 msgid "Relative Gain (dB)" msgstr "Gain relatif (dB)" #. TC: Mic audio phase inversion control. #: python/preferences.py:545 python/preferences.py:550 msgid "Invert Signal" msgstr "Invercer le signal" #: python/preferences.py:551 python/preferences.py:571 #: python/preferences.py:667 msgid "" "Useful for when microphones are cancelling one another out, producing a " "hollow sound." msgstr "" "Utile lorsque les micros s'annulent mutuellement provoquant un son caverneux." #. TC: Control whether to mix microphone audio to the DJ mix. #: python/preferences.py:554 msgid "In The DJ's Mix" msgstr "Dans le mix du DJ" #: python/preferences.py:555 python/preferences.py:577 #: python/preferences.py:677 msgid "" "Make the microphone audio audible in the DJ mix. This may not always be " "desirable." msgstr "" "Rendre le micro audio audible dans le mix DJ. Ce n'est pas toujour désiré." #: python/preferences.py:563 msgid "Basic Controls" msgstr "Contrôles de base" #: python/preferences.py:564 python/preferences.py:619 msgid "Boost/Cut (dB)" msgstr "Augmenter/Couper (dB)" #: python/preferences.py:585 msgid "High Pass Filter" msgstr "Filtre passe haut" #: python/preferences.py:586 python/preferences.py:601 #: python/preferences.py:611 msgid "Cutoff Frequency" msgstr "Fréquence de coupure" #. TC: User can set the number of filter stages. #: python/preferences.py:590 msgid "Stages" msgstr "Passes" #: python/preferences.py:593 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 fréquence en Hertz au dessus de laquelle l'audio peut passer à l'étape " "suivante. Utilisez cette fonctionalité pour restreindre les basses " "fréquencestelles que les humms. En paramêtrant un niveau trop haut, la voix " "sonnera aiguë." #. TC: this is the treble control. HF = high frequency. #: python/preferences.py:598 msgid "HF Detail" msgstr "Détails HF" #: python/preferences.py:605 msgid "You can use this to boost the amount of treble in the audio." msgstr "Vous pouvez l'utiliser pour augmenter le taux d'aiguës dans l'audio." #. TC: this is the bass control. LF = low frequency. #: python/preferences.py:608 msgid "LF Detail" msgstr "Détails LF" #: python/preferences.py:615 msgid "You can use this to boost the amount of bass in the audio." msgstr "Vous pouvez l'utiliser pour augmenter le taux de basses dans l'audio." #. TC: lookahead brick wall limiter. #: python/preferences.py:618 msgid "Limiter" msgstr "Limiteur" #. TC: this is the peak signal limit. #: python/preferences.py:623 msgid "Upper Limit" msgstr "Limite supérieure" #: python/preferences.py:625 msgid "" "A look-ahead brick-wall limiter. Audio signals are capped at the upper limit." msgstr "" "Un limiteur prédictif. Les signaux audio sont bloqués à la limite supérieure." #: python/preferences.py:628 msgid "Noise Gate" msgstr "Noise Gate" #. TC: noise gate triggers at this level. #: python/preferences.py:630 msgid "Threshold" msgstr "Profondeur" #. TC: negative gain when the noise gate is active. #. TC: The de-esser attenuation in ess-detected state. #: python/preferences.py:634 python/preferences.py:644 msgid "Gain" msgstr "Gain" #: python/preferences.py:636 msgid "" "Reduce the unwanted quietest sounds and background noise which you don't " "want your listeners to hear with this." msgstr "" "Réduit les sons faibles non désirés et le bruit de fond que vous ne désirez " "transmettre aux auditeurs." #: python/preferences.py:639 msgid "De-esser" msgstr "De-esser" #. TC: Bias has a numeric setting. #: python/preferences.py:641 msgid "Bias" msgstr "Bias" #: python/preferences.py:646 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 "" "Réduit les sons S, T et P que les micros ont tendance à exagérer. " "Idéallement le contrôle du Bias sera mis très bas de façon à ce que le de-" "esseur soit inopérant lorsqu'il y a du silence mais suffisament haut pour " "que les clics de la souris soient détectés et éliminés." #: python/preferences.py:651 msgid "Ducker" msgstr "Atténuateur" #: python/preferences.py:652 msgid "Release" msgstr "Relâche" #: python/preferences.py:655 msgid "Hold" msgstr "Maintenu" #: python/preferences.py:658 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 "" "L'aténuateur réduit automatiquement le niveau du lecteur audio lorsque le DJ " "parle. Ces paramêtres permettent l'ajustement de la durée de " "l'affaiblissement audio." #: python/preferences.py:662 msgid "Other options" msgstr "Autres options" #: python/preferences.py:669 msgid "Phase Rotator" msgstr "Rotacteur de phase" #: python/preferences.py:672 msgid "" "This feature processes the microphone audio so that it sounds more even. The " "effect is particularly noticable on male voices." msgstr "" "Cette fonctionalité traite le micro pour qu'il paraisse plus présent. Cet " "effet est plus audible avec les voix mâles." #: python/preferences.py:855 msgid "The volume control for the left music player." msgstr "Contrôle de volume du lecteur de gauche." #. TC: preferences window title. #: python/preferences.py:911 msgid "IDJC Preferences" msgstr "Préférences de IDJC" #. TC: The DJ's sound level controller. #: python/preferences.py:936 msgid "DJ Audio Level" msgstr "Niveau audio DJ" #: python/preferences.py:948 msgid "This adjusts the sound level of the DJ audio." msgstr "Ajuste le niveau sonore du canal audio DJ." #. TC: The alarm sound level. #: python/preferences.py:953 msgid "Alarm Level" msgstr "Niveau de l'alarme" #: python/preferences.py:967 msgid "Music Loudness Compensation" msgstr "Compensation Loudness" #: python/preferences.py:965 #, 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 "" "Ceci ajuste le niveau du son de l'alarme DJ. Normalement ce doit être aux " "alentours du niveau audio du DJ lorsque la fonction «%s» est utilisée, ou " "sinon un petit peu plus fort." #: python/preferences.py:973 msgid "Player Resample Quality" msgstr "Qualité de rééchantillonnage du lecteur" #: python/preferences.py:979 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 "" "Ajuste la qualité de la méthode de rééchantillonnage audio utilisée lorsque " "la fréquence du fichier lu ne corresponds pas à celle nécessaire au serveur " "JACK. Les meilleurs modes offrent une meilleur qualité sonore mais consoment " "aussi plus de puissance CPU (non recommendé pour les systèmes d'avant 2006). " "Tous ces modes donne une qualité correcte." #: python/preferences.py:987 msgid "Best" msgstr "Meilleure" #: python/preferences.py:996 python/format.py:512 msgid "Medium" msgstr "Moyenne" #: python/preferences.py:1005 msgid "Fast" msgstr "Rapide" #. TC: the set of features - section heading. #: python/preferences.py:1020 msgid "Feature Set" msgstr "Liste de fonctionalités" #. TC: Start in the full featured user interface mode. #: python/preferences.py:1032 msgid "Start Full" msgstr "Démarrer avec tout" #: python/preferences.py:1037 python/preferences.py:1045 msgid "Indicates which mode IDJC will be in when launched." msgstr "Indique quel sera le mode de IDJC au démarrage." #. TC: Start in a reduced user interface mode. #: python/preferences.py:1040 msgid "Start Mini" msgstr "Démarrer avec le minimum" #: python/preferences.py:1053 msgid "Fully Featured" msgstr "Toutes les fonctionalités" #: python/preferences.py:1058 msgid "Run in full functionality mode which uses more CPU power." msgstr "" "Exécuter dans le mode toutes fonctionalités qui utilise plus de puissance " "CPU." #: python/preferences.py:1060 msgid "Basic Streamer" msgstr "Streamer de base" #: python/preferences.py:1064 msgid "" "Run in a reduced functionality mode that lowers the burden on the CPU and " "takes up less screen space." msgstr "" "Exécuter dans le mode fonctionalités réduites qui utilise moins de puissance " "CPU et utilise moins d'espace à l'écran." #: python/preferences.py:1072 msgid "These settings take effect after restarting" msgstr "Ces paramêtres ne prennent effet qu'après un redémarrage." #: python/preferences.py:1093 msgid "Reserve 24 sound effects slots" msgstr "Réserver 24 slots d'effets sonores" #: python/preferences.py:1094 msgid "Only 12" msgstr "Seulement 12" #: python/preferences.py:1106 msgid "Audio input channels" msgstr "Canaux audio en entrée" #: python/preferences.py:1111 msgid "Simultaneous stream(s)" msgstr "Transmission(ws) simultanée(s)" #: python/preferences.py:1117 msgid "Simultaneous recording(s)" msgstr "Enregistrement(s) simultané(s)" #: python/preferences.py:1171 msgid "Fill channel meter void space" msgstr "Remplir l'espace libre du vu-mêtre du canal" #: python/preferences.py:1183 msgid "Player Loudness Normalisation" msgstr "Normalisation du Loudness du lecteur" #: python/preferences.py:1194 msgid "Indicate which tracks have loudness metadata" msgstr "Indique quelles pistes ont une métadonnée de Loudness." #: python/preferences.py:1195 msgid "" "Shows a marker in the playlists next to each track. Either a green circle or " "a red triangle." msgstr "" "Affiche un marqueur à côté de chaque piste dans les listes de lecture. Soit " "un cercle vert, soit un triangle rouge." #: python/preferences.py:1203 msgid "Adjust playback volume in dB" msgstr "Ajuste le volume de rendu en dB" #: python/preferences.py:1204 msgid "Effective only on newly started tracks." msgstr "Effectif uniquement pour les pistes nouvellement jouées." #: python/preferences.py:1210 msgid "R128" msgstr "R128" #: python/preferences.py:1214 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 "" "Il peut ne pas être souhaitable d'utiliser le volume par défaut puisqu'il " "est plutot bas. Il doit se situer 4 ou 5 dB plus haut que le réglage de Gain " "Replay." #: python/preferences.py:1219 msgid "ReplayGain" msgstr "Gain Replay" #: python/preferences.py:1223 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 "" "Il peut ne pas être souhaitable d'utiliser le volume par défaut puisqu'il " "est plutot bas. Il doit se situer 4 ou 5 dB plus bas que le réglage du R128." #: python/preferences.py:1228 msgid "Untagged" msgstr "Non taggé" #: python/preferences.py:1232 msgid "" "Set this so that any unmarked tracks are playing at a roughly similar " "loudness level as the marked ones." msgstr "" "Cocher pour que toutes les pistes non taggés soient jouées approximativement " "au même volume que celle qui le sont." #: python/preferences.py:1241 msgid "A master level control for the media players." msgstr "Un contrôle maitre pour les Lecteurs." #: python/preferences.py:1252 msgid "Recorder Filename (excluding the file extension)" msgstr "Non du fichier d'enregistrement (sans extention)" #: python/preferences.py:1253 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 "" "Les spécifications sont $r pour le numéro d'enregistrement, le reste étant " "documenté dans la page de manuel de strftime.\n" "Les utilisateurs peuvent modifier ceci pour rendre les noms de fichiers " "compatibles avec certains systèmes de fichiers." #: python/preferences.py:1270 msgid "Miscellaneous Features" msgstr "Fonctionalités diverses" #: python/preferences.py:1279 msgid "Trim quiet song endings and trailing silence" msgstr "Eliminer les silences de début et de fin de pistes" #: python/preferences.py:1285 msgid "End tracks containing long passages of silence" msgstr "Terminer les pistes contenant de long segments muets" #: python/preferences.py:1291 msgid "Enable the main-player speed/pitch controls" msgstr "Activer les contrôles de tonalité/vitesse du lecteur principal" #: python/preferences.py:1295 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 "" "Cette option fait apparaitre quelques widgets sous les listes de lecture " "pour permettre l'ajustement de la vitesse entre 25 rt 400% ainsi qu'un " "bouton vitesse normale." #: python/preferences.py:1300 msgid "Separate left/right player volume faders" msgstr "Séparrer les curseurs de volume gauche et droite" #: python/preferences.py:1304 msgid "" "Select this option to use an independent volume fader for the left and right " "music players." msgstr "" "Choisir cette option pour avoir des boutons de fader indépendants pour les " "lecteurs de gauche et de droite." #: python/preferences.py:1308 msgid "Enlarge the time elapsed/remaining windows" msgstr "Elargir les fenêtres de temps écoulé/restant" #: python/preferences.py:1312 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 "" "Les fenêtres de temps écoulé/restant n'apparaissent parfois pas assez larges " "pour contenir tout le texte pour cause de DPI inabituel ou d'un moteur de " "rendu différent. Cette option peut remédier à ce défaut." #: python/preferences.py:1318 msgid "Sound an alarm when the music is due to end" msgstr "Jouer une alarme lorsque la musique arrive à sa fin" #: python/preferences.py:1321 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 "" "Une alarme alerte le DJ lorsque la durée de diffusion restante atteint 9 " "secondes. Fonctionne également sur le monitoring mais la tonalité n'est pas " "diffusée sur le flux.\n" "\n" "Le mode freewheel de JACK est également désengagé automatiquement." #: python/preferences.py:1331 msgid "Apply dither to 16 bit PCM playback" msgstr "Appliquer un adoucissement au rendu 16 bits PCM" #: python/preferences.py:1335 msgid "" "This feature maybe improves the sound quality a little when listening on a " "24 bit sound card." msgstr "" "Cette fonctionalité peut augmenter légèrement la qualité lors de l'écoute " "sur une carte son 24bit" #: python/preferences.py:1338 msgid "Enable tooltips" msgstr "Activer les bulles d'aide" #: python/preferences.py:1342 msgid "" "This, what you are currently reading, is a tooltip. This feature turns them " "on or off." msgstr "" "Ce que vous lisez actuellement est une bulle d'aide. Cette fonctionalité les " "dés/active. " #: python/preferences.py:1361 msgid "Player Settings At Startup" msgstr "Configuration de démarrage du lecteur" #: python/preferences.py:1372 msgid "Restore the previous session" msgstr "Restaurer la session précédente" #: python/preferences.py:1377 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 "" "Au démarrage de IDJC la plupart des paramètres de la fenêtre principale " "resteront comme vous les aviez laissés. Comme alternative, vous pouvez " "spécifier ci-dessous comment ils doivent être initialisés." #: python/preferences.py:1387 msgid "Player 1" msgstr "Lecteur 1" #: python/preferences.py:1389 msgid "Player 2" msgstr "Lecteur 2" #. TC: DJ hears the stream mix. #: python/preferences.py:1417 msgid "Monitor Stream Mix" msgstr "Moniteur du stream Mixé" #. TC: A heading label for miscellaneous settings. #: python/preferences.py:1428 msgid "General" msgstr "Général" #: python/preferences.py:1478 msgid "VoIP panning + mono downmix" msgstr "Placement VoIP + réduction mono" #. TC: Keyboard and MIDI bindings configuration. #: python/preferences.py:1492 msgid "Bindings" msgstr "Scorciatoie" #: python/preferences.py:1540 msgid "Licence" msgstr "Licence" #: python/preferences.py:1563 msgid "Contributors" msgstr "Collaborateurs" #: python/preferences.py:1570 msgid "Translators" msgstr "Traducteurs" #: python/preferences.py:1574 msgid "Build Info" msgstr "" #: python/preferences.py:1591 msgid "About" msgstr "Concernant…" #: python/sourceclientgui.py:91 msgid "Insert Attribute" msgstr "Insérer un attribut" #: python/sourceclientgui.py:135 msgid "Icecast 2 Master" msgstr "Icecast 2 Maitre" #: python/sourceclientgui.py:135 msgid "Shoutcast Master" msgstr "Shoutcast Maitre" #: python/sourceclientgui.py:136 msgid "Icecast 2 Stats/Relay" msgstr "Icecast 2 Stats/Relais" #: python/sourceclientgui.py:136 msgid "Shoutcast Stats/Relay" msgstr "Icecast 2 Stats/Relais" #: python/sourceclientgui.py:139 msgid "Enter new server connection details" msgstr "Insérer de nouveaux détails concernant la connexion au serveur" #: python/sourceclientgui.py:158 msgid "Edit existing server connection details" msgstr "Editer les détails de la connexion au serveur" #: python/sourceclientgui.py:195 msgid "This server is to be scanned for audience figures" msgstr "Ce serveur doit être scanné pour les stats d'audience" #: python/sourceclientgui.py:208 msgid "Server type" msgstr "Type de serveur" #: python/sourceclientgui.py:208 msgid "Port number" msgstr "Numéro du port" #: python/sourceclientgui.py:209 msgid "Mount point" msgstr "Point de montage" #: python/sourceclientgui.py:209 msgid "Login name" msgstr "Nome utente" #: python/sourceclientgui.py:475 msgid "Encoder Format Not Set/Compatible" msgstr "Format d'encodage non défini/incompatible" #. TC: Connection button text when no details have been entered. #: python/sourceclientgui.py:478 msgid "No Master Server Configured" msgstr "Aucun serveur maitre n'es configuré" #: python/sourceclientgui.py:680 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 "" "Une table de serveurs auxquels se connecter. Seul le serveur maitre peut " "être ajouté dans le but de streaming. Tous les autres serveurs apparaitrons " "sous le serveur maitre pour les statistiques, qui peuvent être occultés par " "serveurs." #: python/sourceclientgui.py:696 msgid "Hostname/IP address" msgstr "Hôte/Adresse IP" #. TC: Mount point is a technical term in relation to icecast servers. #: python/sourceclientgui.py:709 msgid "Mount point " msgstr "Point de montage " #. TC: This is the listener count heading. #: python/sourceclientgui.py:718 msgid "Listeners" msgstr "Auditeurs" #: python/sourceclientgui.py:733 msgid "The sum total of listeners in this server tab." msgstr "Nombre total d'auditeurs pour cet onglet serveur" #: python/sourceclientgui.py:760 msgid "Never" msgstr "Jamais" #: python/sourceclientgui.py:763 msgid "Always" msgstr "Toujours" #: python/sourceclientgui.py:765 msgid "If connected" msgstr "Si connecté" #: python/sourceclientgui.py:1021 msgid "Custom user agent string" msgstr "User agent personnalisé" #: python/sourceclientgui.py:1028 msgid "" "Set this on the occasion that the server or its firewall specifically " "refuses to allow libshout based clients." msgstr "" "A configurer au cas ou le serveur ou le pare-feux refuse spécialement " "d'autoriser les clients basés sur libshout." #: python/sourceclientgui.py:1033 msgid "If the connection breaks reconnect to the server" msgstr "Si la connexion est interrompue, se reconnecter au sserveur" #. TC: Label for a comma separated list of delay times. #: python/sourceclientgui.py:1043 msgid "Delay times" msgstr "Temps de délais" #: python/sourceclientgui.py:1047 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 "" "Une liste de délais en secondes, séparés par une virgule, entre les " "tentatives de reconnexion. Notez que de mauvaises valeurs ou inférieures à 5 " "seront interprétées comme 5." #: python/sourceclientgui.py:1053 msgid "Repeat the sequence of delays indefinitely." msgstr "Répéter la saquence de délais indéfiniment." #. TC: User specifies no dialog box to be shown. #: python/sourceclientgui.py:1056 msgid "Quiet" msgstr "Muet" #: python/sourceclientgui.py:1058 msgid "Keep the reconnection dialogue box hidden at all times." msgstr "Laisser la boite de reconnexion cachée tout le temps." #: python/sourceclientgui.py:1063 msgid "The contingency plan upon the stream buffer becoming full is..." msgstr "Le plan d'action lorsque le tampon de streaming est plein est…" #: python/sourceclientgui.py:1072 msgid "Discard audio data for as long as needed." msgstr "Laisser tomber les données audio pour la durée nécessaire." #: python/sourceclientgui.py:1074 msgid "Assume the connection is beyond saving and reconnect." msgstr "" "Assumer que la connexion est interrompue, se déconnecter et se reconnecter." #: python/sourceclientgui.py:1357 python/format.py:1140 msgid "Shoutcast" msgstr "Shoucast" #: python/sourceclientgui.py:1394 msgid "[Metadata suppressed]" msgstr "[Métadonnée supprimmée]" #: python/sourceclientgui.py:1473 msgid "Individual Controls" msgstr "Contrôles individuels" #: python/sourceclientgui.py:1487 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 "" "Se connecter ou se déconnecter du serveur radio. Si le bouton ne reste pas " "enclanché, la connexion a échouée pour une raison quelconque.\n" "\n" "Si le bouton est grisé, cela indique que les paramêtres dans les sections " "«Connexion» et «Formats» sont soit incompatibles soit erronnées.\n" "Pour pouvoir fonctionner, un serveur maitre doit être spécifié et doit être " "capable de sélectionner le format du flux." #. TC: Kick whoever is on the server. #: python/sourceclientgui.py:1504 msgid "Kick Source" msgstr "Kick Source" #: python/sourceclientgui.py:1506 msgid "" "This will disconnect whoever is currently using the server, freeing it up " "for personal use." msgstr "" "Déconnectera tous ceux qui utilisent le serveurs, le libérant ainsi pour une " "utilisation privée." #: python/sourceclientgui.py:1516 msgid "Timer:" msgstr "Timer :" #: python/sourceclientgui.py:1520 msgid "From" msgstr "Depuis" #: python/sourceclientgui.py:1521 msgid "" "Automatically connect to the server at a specific time in 24 hour format, " "midnight being 00:00" msgstr "" "Se connecter à une heure spécifique au format 24 heures, minuit étant 00:00" #: python/sourceclientgui.py:1526 msgid "Kick" msgstr "" #: python/sourceclientgui.py:1528 msgid "Disconnect whoever is using the server just before start time." msgstr "Déconnecter tous ceux qui utilisent le serveur avant de démarrer." #: python/sourceclientgui.py:1537 msgid "To" msgstr "" #: python/sourceclientgui.py:1538 msgid "" "Automatically disconnect from the server at a specific time in 24 hour " "format." msgstr "" "Se déconnecter automatiquement à une heure spécifique au format 24 heures" #: python/sourceclientgui.py:1541 msgid "Fade out" msgstr "Fondu" #: python/sourceclientgui.py:1543 msgid "Fade audio before disconnecting." msgstr "Fondu audio avant la déconnexion." #: python/sourceclientgui.py:1557 msgid "At connect:" msgstr "A la connection :" #. TC: [x] Start player (*) 1 ( ) 2 #: python/sourceclientgui.py:1561 msgid "Start player" msgstr "Démarrer le lecteur" #: python/sourceclientgui.py:1566 msgid "" "Have one of the players start automatically when a radio server connection " "is successfully made." msgstr "" "Pour avoir l'un des lecteurs qui démarre automatiquement lorsque la " "connexion au serveur radio a réussie." #. TC: [x] Start recorder (*) 1 ( ) 2 #: python/sourceclientgui.py:1574 msgid "Start recorder" msgstr "Démarrer l'enregistreur" #: python/sourceclientgui.py:1581 msgid "" "Have a recorder start automatically when a radio server connection is " "successfully made." msgstr "" "Pour démarrer automatiquement un enregistreur lorsqu'une connexion au " "serveur radio est établie." #: python/sourceclientgui.py:1586 python/format.py:521 python/format.py:532 #: python/format.py:542 msgid "Metadata" msgstr "Métadonnées" #: python/sourceclientgui.py:1596 msgid "Format String" msgstr "Chaine de format" #. TC: Label for the metadata fallback value. #: python/sourceclientgui.py:1598 msgid "Fallback" msgstr "Fallback" #: python/sourceclientgui.py:1612 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 "" "Vous pouvez entrer un texte pour accompagner le flux et y spécifier des " "emplacements pour les noms d'artiste, de titre, d'album et de chanson, %r %t " "%l %s, ou laisser ce champ vide pour utiliser les métadonnées par défaut.\n" "\n" "Le nom de la chanson (%s) est dérivé du nom de fichier en cas d'absence ou " "d'insuffisance de métadonnées, alors que les autres emplacements utiliseront " "le texte de remplacement à droite.\n" "\n" "Lorsque ce champ est vide, les flux Ogg utiliseront les tags standards " "vorbis et les mp3 utiliseront %s." #: python/sourceclientgui.py:1620 msgid "" "The fallback text to use when %r %t %l metadata is unavailable. See the " "format string to the left." msgstr "" "Texte de remplacement lorsque les métadonnées %r %t %l ne sont pas " "disponibles. voir Chaine de format à gauche." #: python/sourceclientgui.py:1622 msgid "" "Metadata normally updates only on song title changes but you can force an " "immediate update here." msgstr "" "Les métadonnées se mettent à jour lorsque le titre change mais vous pouvez " "aussi forcer leur mise à jour immédiate ici." #: python/sourceclientgui.py:1641 msgid "Configuration" msgstr "Configuration" #: python/sourceclientgui.py:1642 msgid "The controls for configuring a stream." msgstr "Les contrôles pour configurer un flux." #: python/sourceclientgui.py:1650 msgid "Connection" msgstr "Connexion" #: python/sourceclientgui.py:1655 msgid "Format" msgstr "Format" #. TC: Tab heading. User can enter information about the stream here. #: python/sourceclientgui.py:1664 msgid "Stream Info" msgstr "Informations sur le flux" #: python/sourceclientgui.py:1669 msgid "" "Enter your DJ name or station name here. Typically this information will be " "displayed by listener clients." msgstr "" "Saisissez le nom du DJ ou de la station. Typiquement cette information sera " "affichée par les clients des Auditeurs." #: python/sourceclientgui.py:1672 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'URL de votre station. Ceci ainsi que les informations suivantes sont " "destinées à l'affichage sur un site listant les stations." #: python/sourceclientgui.py:1677 msgid "A description of your radio station." msgstr "Description de votre station." #: python/sourceclientgui.py:1682 msgid "The musical genres you are likely to play." msgstr "Genres musicaux offerts." #: python/sourceclientgui.py:1685 msgid "Make Public" msgstr "Rendre publique" #: python/sourceclientgui.py:1686 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 "" "Publier votre station sur le site de liste. Le site en question dépends de " "la configuration du serveur auquel vous vous connectez." #: python/sourceclientgui.py:1698 msgid "Genre(s)" msgstr "Genere(s)" #: python/sourceclientgui.py:1709 msgid "Master server admin password" msgstr "Mot de passe administrateur principal" #: python/sourceclientgui.py:1714 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 "" "Pour kick et stats des serveyurs maitres Soutcast ayant un mot de passe " "d'administration. Pour ceux n'en possédant pas, laissez vide (le mot de " "passe de la source est suffisant pour eux)" #: python/sourceclientgui.py:1723 msgid "Contact Details" msgstr "Détails de contact" #: python/sourceclientgui.py:1727 msgid "Internet Relay Chat connection info goes here." msgstr "Les informations d'IRC viennent ici" #: python/sourceclientgui.py:1730 msgid "Connection info for AOL instant messenger goes here." msgstr "Informations de connexion au messager AOL viennent ici." #: python/sourceclientgui.py:1733 msgid "ICQ instant messenger connection info goes here." msgstr "Les informations concernant le messager ICQ viennent ici." #: python/sourceclientgui.py:1736 msgid "IRC" msgstr "IRC" #: python/sourceclientgui.py:1737 msgid "AIM" msgstr "AIM" #: python/sourceclientgui.py:1738 msgid "ICQ" msgstr "ICQ" #: python/sourceclientgui.py:1748 msgid "Use ISO-8859-1 encoding for fixed metadata" msgstr "" #: python/sourceclientgui.py:1750 msgid "Enable this if sending to a Shoutcast V1 server." msgstr "" #: python/sourceclientgui.py:1754 msgid "Extra Shoutcast" msgstr "Extra Shoutcast" #: python/sourceclientgui.py:1759 msgid "Troubleshooting" msgstr "Résolution des problèmes" #: python/sourceclientgui.py:1890 msgid "Stop recording." msgstr "Arrêter l'enregistrement" #: python/sourceclientgui.py:1892 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 "" "Démarrer l'enregistrement\n" "\n" "Si le bouton est grisé, cela signifie soit que les paramêtres d'encodage ne " "sont pas corrects ou que les permissions d'écriture ne sont pas obtenues " "pour le dossier de destination." #: python/sourceclientgui.py:1897 msgid "Pause recording." msgstr "Enregistrement en pause" #: python/sourceclientgui.py:1934 msgid "Recording time elapsed." msgstr "Temps d'enregistement écoulé." #. TC: Dialog title bar text. #: python/sourceclientgui.py:1988 msgid "Select the folder to record to" msgstr "Sélection du dossier pour l'enregistrement" #: python/sourceclientgui.py:1999 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 "" "Sélection du flux à enregistrer ou l'option 24 bits FLAC. Si le flux n'est " "pas en cours de lecture, l'encodage commencera automatiquement quels que " "soient les paramêtres actuellement configurés." #: python/sourceclientgui.py:2003 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 "" "Sélection du dossier des sauvegardes Tous les noms de fichiers seront dans " "le format timestamp et auront soit oga mp3 ou flac comme extention. " "Important : vous devez sélectionner un dossier avec les permissions en " "écriture adéquates." #: python/sourceclientgui.py:2110 msgid "Perform operations on multiple servers in unison." msgstr "Effecter des opérations simultanément sur plusieurs serveurs." #: python/sourceclientgui.py:2122 msgid "Connect" msgstr "Connecter" #: python/sourceclientgui.py:2139 msgid "Disconnect" msgstr "Déconnecter" #: python/sourceclientgui.py:2147 msgid "Kick Sources" msgstr "Kick Sources" #: python/sourceclientgui.py:2156 msgid "Metadata:" msgstr "Metadonnées :" #: python/sourceclientgui.py:2186 msgid "Group Controls" msgstr "Contrôles de groupe" #: python/sourceclientgui.py:2692 msgid "Recording Facility Unavailable" msgstr "Fonctionalités d'enregistrement non disponibles" #: python/sourceclientgui.py:2695 msgid "No Recorders Are Correctly Configured" msgstr "Aucun enregistreur configuré correctement" #. TC: Recorder menu format string. #: python/sourceclientgui.py:2708 #, python-brace-format msgid "{numericid} [{source}] > [{directory}]" msgstr "{numericid} [{source}] > [{directory}]" #: python/sourceclientgui.py:2710 msgid "Misconfigured" msgstr "Mal configuré" #: python/sourceclientgui.py:2731 msgid "Streaming Facility Unavailable" msgstr "Fonctionalités de flux non disponibles" #: python/sourceclientgui.py:2733 msgid "No Streams Are Currently Configured" msgstr "Aucun flux actuellement configuré" #: python/sourceclientgui.py:2736 msgid "Group Connect" msgstr "Connexion de groupe" #: python/sourceclientgui.py:2742 msgid "Group Disconnect" msgstr "Déconnetion de groupe" #. TC: Window title bar text. #: python/sourceclientgui.py:2773 msgid "IDJC Output" msgstr "Sortie IDJC" #: python/sourceclientgui.py:2789 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 "" "Chacun de ces onglets représente un enregistreur de flux. La couleur de la " "LED indique : Eteinte=Arret Jaune=Pause Rouge=Enregistrement." #: python/sourceclientgui.py:2797 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 "" "Chacun de ces onglets représente une radio séparée. La couleur de la LED " "indique : Eteinte=Aucune connexion Jaune=En attente d'autentification. " "Verte=Connecté. Clignottante=Perte de paquet du à une mauvaise connexion." #: python/sourceclientgui.py:2815 msgid " Stream " msgstr " Flux " #: python/sourceclientgui.py:2850 msgid "" "A connection to a radio server has " "failed.\n" "\n" "Reconnection will not be attempted." msgstr "" "Une connexion à un serveur radio a " "échouée.\n" "\n" "Aucune tentative de reconnexion ne sera faite." #: python/sourceclientgui.py:2855 msgid "" "A scheduled stream disconnection has " "occurred." msgstr "" "Une déconnexion pré-programmée du flux " "s'est produite." #: python/format.py:419 msgid "Right click for suggested values." msgstr "" #: python/format.py:438 #, fuzzy msgid "Suggested Values" msgstr "Régler la valeur" #: python/format.py:494 #, fuzzy msgid "Pregain" msgstr "Lecteur Régler le gain" #: python/format.py:495 python/format.py:913 msgid "0 dB" msgstr "" #: python/format.py:496 python/format.py:914 msgid "-0.5 dB" msgstr "" #: python/format.py:497 python/format.py:915 msgid "-1.0 dB" msgstr "" #: python/format.py:498 python/format.py:916 msgid "-1.5 dB" msgstr "" #: python/format.py:499 python/format.py:917 msgid "-2.0 dB" msgstr "" #: python/format.py:500 python/format.py:918 msgid "-2.5 dB" msgstr "" #: python/format.py:501 python/format.py:919 msgid "-3.0 dB" msgstr "" #: python/format.py:502 msgid "" "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." msgstr "" #: python/format.py:510 #, fuzzy msgid "Resample Quality" msgstr "Qualité de rééchantillonnage du lecteur" #: python/format.py:511 msgid "Highest" msgstr "La plus élevée" #: python/format.py:513 msgid "Lowest" msgstr "La plus basse" #: python/format.py:514 msgid "" "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." msgstr "" #: python/format.py:522 python/format.py:533 python/format.py:543 #, fuzzy msgid "Suppressed" msgstr "Pressé" #: python/format.py:523 python/format.py:534 msgid "UTF-8" msgstr "" #: python/format.py:524 msgid "Latin1 *" msgstr "" #: python/format.py:525 msgid "" "This affects the stream metadata only. Recordings will use UTF-8 for their " "metadata." msgstr "" #: python/format.py:535 msgid "" "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." msgstr "" #: python/format.py:544 msgid "Latin1" msgstr "" #: python/format.py:545 msgid "Choose whether to send metadata. Recordings will use UTF-8 metadata." msgstr "" #: python/format.py:561 python/format.py:572 python/format.py:583 #: python/format.py:690 python/format.py:818 python/format.py:888 #: python/format.py:897 python/format.py:971 python/format.py:994 #: python/format.py:1003 msgid "Mode" msgstr "" #: python/format.py:562 python/format.py:573 python/format.py:584 #: python/format.py:691 python/format.py:819 python/format.py:889 #: python/format.py:898 python/format.py:972 python/format.py:995 #: python/format.py:1004 msgid "Mono" msgstr "" #: python/format.py:563 python/format.py:574 python/format.py:585 #: python/format.py:692 python/format.py:820 python/format.py:890 #: python/format.py:899 python/format.py:973 python/format.py:996 #: python/format.py:1005 #, fuzzy msgid "Stereo" msgstr "Panoramique Stéréo" #: python/format.py:564 python/format.py:575 python/format.py:586 #: python/format.py:693 msgid "Joint Stereo" msgstr "" #: python/format.py:565 msgid "Joint Stereo is a good choice on streams with low bitrates." msgstr "" #: python/format.py:576 msgid "Due to the high bitrate selected, this codec will only support stereo." msgstr "" #: python/format.py:587 msgid "Due to the low bitrate selected, this codec will only support mono." msgstr "" #: python/format.py:636 python/format.py:646 python/format.py:743 #: python/format.py:753 python/format.py:763 python/format.py:869 #: python/format.py:879 python/format.py:1032 python/format.py:1052 msgid "Samplerate" msgstr "" #. TC: Abbreviation of the word, standard. #: python/format.py:657 python/format.py:774 msgid "Std." msgstr "" #. TC: v stands for version. #: python/format.py:659 python/format.py:776 msgid "V 1" msgstr "" #. TC: v stands for version. #: python/format.py:661 python/format.py:778 msgid "V 2" msgstr "" #: python/format.py:662 msgid "" "MPEG2 introduced lower samplerate options and corresponding lower bitrates. " "Choose 2 if those are required." msgstr "" #: python/format.py:669 python/format.py:797 msgid "Quality" msgstr "" #: python/format.py:670 msgid "0 most" msgstr "" #. TC: * means is the recommended setting. #: python/format.py:673 msgid "2 *" msgstr "" #: python/format.py:675 msgid "Higher quality costs more in terms of CPU cycles." msgstr "" #: python/format.py:694 msgid "Joint Stereo is a good choice on streams with low bitrates" msgstr "" #. TC: v stands for version. #: python/format.py:780 msgid "V 2.5" msgstr "" #: python/format.py:787 msgid "Complexity" msgstr "" #: python/format.py:790 msgid "A quality setting that affects how heavily the CPU is used." msgstr "" #: python/format.py:800 msgid "The higher this setting, the higher the bitrate." msgstr "" #: python/format.py:807 msgid "Bandwidth" msgstr "" #: python/format.py:808 msgid "Ultrawide" msgstr "" #: python/format.py:809 msgid "Wide" msgstr "" #: python/format.py:810 msgid "Narrow" msgstr "" #: python/format.py:811 msgid "Essentially a samplerate setting." msgstr "" #: python/format.py:828 msgid "24 bit" msgstr "" #: python/format.py:829 msgid "20 bit" msgstr "" #: python/format.py:830 msgid "16 bit" msgstr "" #: python/format.py:831 msgid "" "24 bit records with the highest level of detail. If file size is a concern " "maybe FLAC is not the right codec." msgstr "" #: python/format.py:838 python/format.py:927 msgid "Variability" msgstr "" #: python/format.py:839 msgid "Constant" msgstr "" #: python/format.py:840 msgid "±10%" msgstr "" #: python/format.py:841 msgid "±20%" msgstr "" #: python/format.py:842 msgid "±30%" msgstr "" #: python/format.py:843 msgid "±40%" msgstr "" #: python/format.py:844 msgid "±50%" msgstr "" #: python/format.py:845 #, fuzzy msgid "This control is for enabling variable bitrate on Vorbis streams." msgstr "Les contrôles pour configurer un flux." #: python/format.py:906 #, fuzzy msgid "Postgain" msgstr "VoIP Régler le gain" #: python/format.py:907 msgid "3.0 dB" msgstr "" #: python/format.py:908 msgid "2.5 dB" msgstr "" #: python/format.py:909 msgid "2.0 dB" msgstr "" #: python/format.py:910 msgid "1.5 dB" msgstr "" #: python/format.py:911 msgid "1.0 dB" msgstr "" #: python/format.py:912 msgid "0.5 dB" msgstr "" #: python/format.py:920 msgid "A gain adjustment for the player to apply." msgstr "" #: python/format.py:928 msgid "CBR *" msgstr "" #: python/format.py:929 msgid "CVBR" msgstr "" #: python/format.py:930 msgid "VBR" msgstr "" #: python/format.py:931 msgid "" "Bitrate variability. Actual VBR operation may require a higher frame size." msgstr "" #: python/format.py:938 msgid "Frame Size" msgstr "" #: python/format.py:939 msgid "60 ms" msgstr "" #: python/format.py:940 msgid "40 ms" msgstr "" #: python/format.py:941 msgid "20 ms" msgstr "" #: python/format.py:942 msgid "A higher frame size may sound better on very low bitrates." msgstr "" #: python/format.py:949 msgid "CPU" msgstr "" #: python/format.py:952 msgid "The encoder complexity setting which affects CPU load." msgstr "" #: python/format.py:980 python/format.py:1083 msgid "Codec" msgstr "" #: python/format.py:981 msgid "Vorbis" msgstr "" #: python/format.py:982 msgid "FLAC" msgstr "" #: python/format.py:983 msgid "Speex" msgstr "" #: python/format.py:984 msgid "Opus" msgstr "" #: python/format.py:987 msgid "Codecs of the Ogg container." msgstr "" #: python/format.py:1033 msgid "96000 Hz" msgstr "" #: python/format.py:1034 msgid "88200 Hz" msgstr "" #: python/format.py:1035 msgid "64000 Hz" msgstr "" #: python/format.py:1036 python/format.py:1053 msgid "48000 Hz" msgstr "" #: python/format.py:1037 python/format.py:1054 msgid "44100 Hz" msgstr "" #: python/format.py:1038 msgid "32000 Hz" msgstr "" #: python/format.py:1039 msgid "24000 Hz" msgstr "" #: python/format.py:1040 msgid "22050 Hz" msgstr "" #: python/format.py:1041 msgid "16000 Hz" msgstr "" #: python/format.py:1042 msgid "12000 Hz" msgstr "" #: python/format.py:1043 msgid "11025 Hz" msgstr "" #: python/format.py:1044 msgid "8000 Hz" msgstr "" #: python/format.py:1045 msgid "7350 Hz" msgstr "" #: python/format.py:1067 msgid "The MP2 option requires IDJC be rebuilt against libtwolame." msgstr "" #: python/format.py:1070 msgid "Enable the MP3 option by installing libmp3lame." msgstr "" #: python/format.py:1073 msgid "The AAC options require IDJC be rebuilt against libav libraries." msgstr "" #: python/format.py:1076 msgid "" "Specific AAC support not present in libavcodec. More info: idjc.sourceforge." "net." msgstr "" #: python/format.py:1078 msgid "" "Specific AAC+ support not present in libavcodec. More info: idjc.sourceforge." "net." msgstr "" #: python/format.py:1081 msgid "Codecs of the MPEG family." msgstr "" #: python/format.py:1084 msgid "MP2" msgstr "" #: python/format.py:1085 msgid "MP3" msgstr "" #: python/format.py:1086 msgid "AAC" msgstr "" #: python/format.py:1087 msgid "AAC+ v2" msgstr "" #. TC: Codec family e.g. Xiph/Ogg, MPEG etc. #: python/format.py:1099 msgid "Family" msgstr "" #. TC: Xiph.org Ogg container format. #: python/format.py:1101 msgid "Xiph/Ogg" msgstr "" #: python/format.py:1102 msgid "MPEG" msgstr "" #: python/format.py:1103 msgid "Codecs have been grouped by standards body and or container format." msgstr "" #: python/format.py:1128 msgid "Capabilities" msgstr "" #: python/format.py:1140 #, fuzzy msgid "Icecast" msgstr "Icecast 2 Maitre" #: python/format.py:1140 #, fuzzy msgid "Recordable" msgstr "Enregistreur" #~ msgid "Playlist types (*.m3u, *.xspf, *.pls)" #~ msgstr "Type de listes de lecture (*.m3u, *.xspf, *.pls)" #~ msgid "File Path Modify" #~ msgstr "Modifier le chemin" #~ msgid "" #~ "The number of characters to strip from the left hand side of media file " #~ "paths." #~ msgstr "" #~ "Nombre de caractères à supprimer de la partie gauche des chemins vers " #~ "lesfichiers média." #~ msgid "The characters to prefix to the media file paths." #~ msgstr "Caractères à ajouter devant les chemins vers les fichiers média." #~ msgid "Connection timer:" #~ msgstr "Timer de connexion :" #~ msgid "Begin" #~ msgstr "Début" #~ msgid "With kick" #~ msgstr "Avec kick" #~ msgid "End" #~ msgstr "Fin" #~ msgid "SSL" #~ msgstr "SSL" #~ 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 "" #~ "Se connecter azu serveur en utilisant le protocol de sécurité SSL.\n" #~ "\n" #~ "Cette fonctionalité est courrament offerte sur un port différent de celui " #~ "utilisé par la méthode standard et est, souvent mais pas toujours, " #~ "disponible." #~ msgid "Released under the GNU General Public License V2.0 or later." #~ msgstr "" #~ "Distribué selon les termes de la GNU General Public License V2.0 ou " #~ "suivantes." #~ msgid "Copyright 2005-2012 Stephen Fairchild and others." #~ msgstr "Copyright 2005-2012 Stephen Fairchild et autres." #~ msgid "Media Players" #~ msgstr "Lecteur média" #~ msgid "MIDI" #~ msgstr "MIDI" #~ msgid "Left Player" #~ msgstr "Lecteur de gauche" #~ msgid "Right Player" #~ msgstr "Lecteur de droite" #~ msgid "Background" #~ msgstr "En fond" #~ msgid "Select which Deck is responsible for the metadata on the stream." #~ msgstr "Sélection de la platine responsable des métadonnées du flux." #~ msgid "Jingles" #~ msgstr "Jingles" #~ msgid "Effects stop all" #~ msgstr "Effets Tout arrêter" #~ msgid "Background tracks set volume" #~ msgstr "Pistes en fond Régler le volume" #~ msgid "Jingles players" #~ msgstr "Lecteur de jingles" #~ msgid "" #~ "When selected the output from this player doesn't mute whenever either of " #~ "the main players are active." #~ msgstr "" #~ "Sélectionné, la sortie de ce lecteur ne se coupe pas quel que soit le " #~ "lecteur actif." #~ 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 "" #~ "Le placement stéréo est la position ou se situe une source audio, de " #~ "gauche à droite, dans le mix stéréo.\n" #~ "\n" #~ "Ce contrôle concerve la puissance audio sur toute sa plage de " #~ "fonctionnement, donnant une atténuation de -3dB au point central.\n" #~ "\n" #~ "Si vous avez besoin de concerver 0dB au point central, désactivez cette " #~ "fonctionalité." #~ msgid "Meters" #~ msgstr "Indicateurs" #~ msgid "Indicate which tracks have ReplayGain values" #~ msgstr "Indique quelles pistes possèdent des valeurs de Gain Replay" #~ msgid "Show a marker in the playlists next to each track." #~ msgstr "" #~ "Montre un marqueur dans le texte de la liste de lecture après châque piste" #~ msgid "Adjust playback volume" #~ msgstr "Ajuste le volume de reproduction" #~ msgid "Unmarked tracks assumed gain value" #~ msgstr "Décocher les pistes sans valeur de gain" #~ 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 "" #~ "Configurer la valeur de gain typique que vous désirez pour le matériel en " #~ "cours de lecture. Pour la musique Pop et Rock (surtout isssues des studio " #~ "modernes) cela devrait se situer entre -8 ou -9 et pour le classique aux " #~ "alentours de zéro." #~ msgid "Further gain adjustment" #~ msgstr "Ajustement progressif du gain" #~ 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 "" #~ "Pour les matériaux généralement forts, il est conseillé d'utiliser entre " #~ "4 et 8dB, toutefois une valeur trop élevée entraine une perte de " #~ "dynamique. Le Picmêtre est utile pour trouver la bonne valeur." idjc-0.8.15/po/remove-potcdate.sin0000644000175000017500000000066012461430153013667 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.15/po/idjc.pot0000644000175000017500000027753012555351761011542 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.15\n" "Report-Msgid-Bugs-To: putidjcinthesubjectline@bethere.co.uk\n" "POT-Creation-Date: 2015-07-27 07:47+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=UTF-8\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 #, python-brace-format 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 #, python-brace-format msgid "Cannot rename profile {0} to {1}, {1} currently exists." msgstr "" #: python/prelims/__init__.py:795 #, python-brace-format msgid "Error during attempt to rename {0} to {1}." msgstr "" #: python/prelims/__init__.py:805 #, python-brace-format msgid "" "Error while editing profile: {0}.\n" "\n" "{1}" msgstr "" #: python/prelims/__init__.py:824 #, python-brace-format 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:98 #, python-format msgid "Edit profile %s" msgstr "" #. TC: data entry dialog window title text. %s = profile name #: python/prelims/profiledialog.py:101 #, python-format msgid "New profile based upon %s" msgstr "" #. TC: data entry dialog window title text. #: python/prelims/profiledialog.py:105 msgid "New profile details" msgstr "" #. TC: profile dialog window title text. #: python/prelims/profiledialog.py:243 msgid "IDJC Profile Manager" msgstr "" #: python/prelims/profiledialog.py:277 msgid "Profile" msgstr "" #. TC: column heading. The profile nicknames. #. TC: IRC nickname data entry label. #: python/prelims/profiledialog.py:285 python/irc.py:452 msgid "Nickname" msgstr "" #. TC: column heading. #. TC: Station description. #: python/prelims/profiledialog.py:288 python/irc.py:96 #: python/playergui.py:307 python/sourceclientgui.py:1697 msgid "Description" msgstr "" #. TC: column heading. The time a particular profile has been running. #: python/prelims/profiledialog.py:292 msgid "Up-time" msgstr "" #: python/prelims/profiledialog.py:306 msgid "_Auto" msgstr "" #: python/prelims/profiledialog.py:365 #, python-format msgid "" "Delete the data of profile '%s'?\n" "\n" "The profile will remain available with initial settings." msgstr "" #: python/prelims/profiledialog.py:369 #, 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:198 #, python-brace-format 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:254 #, python-format msgid "This is attempt number %d. There is no retry limit." msgstr "" #: python/dialogs.py:283 msgid "_Retry Now" msgstr "" #: python/__init__.py.in.in:101 #, python-format msgid "Copyright 2005-%s Stephen Fairchild and others." msgstr "" #: python/__init__.py.in.in:103 msgid "Released under the GNU General Public License V2.0+." msgstr "" #. TC: IRC message subcategory, triggers on new track announcements. #: python/irc.py:82 msgid "Track announce" msgstr "" #. TC: IRC message subcategory, triggered by a timer. #: python/irc.py:84 msgid "Timer" msgstr "" #. TC: IRC message subcategory, triggered once when the stream starts. #: python/irc.py:86 msgid "On stream up" msgstr "" #. TC: IRC message subcategory, triggered once at the stream's end. #: python/irc.py:88 msgid "On stream down" msgstr "" #. TC: IRC message subcategory, triggered once at the stream's end. #: python/irc.py:90 msgid "Operations" msgstr "" #. TC: Track artist. #: python/irc.py:95 python/mutagentagger.py:375 python/songdb.py:902 #: python/songdb.py:1290 python/sourceclientgui.py:94 msgid "Artist" msgstr "" #: python/irc.py:95 python/mutagentagger.py:375 python/songdb.py:1292 #: python/sourceclientgui.py:94 msgid "Title" msgstr "" #: python/irc.py:95 python/mutagentagger.py:376 python/songdb.py:1291 #: python/sourceclientgui.py:94 msgid "Album" msgstr "" #: python/irc.py:95 python/sourceclientgui.py:95 msgid "Song name" msgstr "" #. TC: The DJ or Stream name. #: python/irc.py:96 python/sourceclientgui.py:1694 msgid "DJ name" msgstr "" #: python/irc.py:96 python/sourceclientgui.py:1695 msgid "Listen URL" msgstr "" #: python/irc.py:96 msgid "Source URI" msgstr "" #. TC: Popup menu item for a GTK text entry widget. #: python/irc.py:139 msgid "Insert Attribute or Colour Code" msgstr "" #. TC: Text formatting style. #: python/irc.py:176 msgid "Bold" msgstr "" #. TC: Text formatting style. #: python/irc.py:178 msgid "Underline" msgstr "" #. TC: Text formatting style. #: python/irc.py:180 msgid "Normal" msgstr "" #: python/irc.py:186 msgid "Colours" msgstr "" #: python/irc.py:403 msgid "Optional data entry field for information only." msgstr "" #. TC: Tab heading text. #: python/irc.py:406 msgid "IRC server" msgstr "" #: python/irc.py:418 msgid "Manual start" msgstr "" #: python/irc.py:420 msgid "Off when restarting IDJC and off initially." msgstr "" #. TC: The IRC network e.g. EFnet. #: python/irc.py:444 msgid "Network" msgstr "" #. TC: label for hostname entry. #: python/irc.py:446 python/sourceclientgui.py:208 msgid "Hostname" msgstr "" #. TC: TCP/IP port number label. #. TC: TCP port number. #: python/irc.py:448 python/sourceclientgui.py:704 msgid "Port" msgstr "" #: python/irc.py:449 msgid "User name" msgstr "" #: python/irc.py:450 python/songdb.py:343 python/sourceclientgui.py:209 msgid "Password" msgstr "" #. TC: Second choice of IRC nickname. #: python/irc.py:454 msgid "Second choice" msgstr "" #. TC: Third choice of IRC nickname. #: python/irc.py:456 msgid "Third choice" msgstr "" #. TC: The IRC user's 'real' name. #: python/irc.py:458 msgid "Real name" msgstr "" #. TC: The NickServ password. #: python/irc.py:460 msgid "NickServ p/w" msgstr "" #. TC: Tooltip to IRC 'User name' field. #: python/irc.py:465 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:475 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:480 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:483 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:511 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:559 msgid "Channels/Users" msgstr "" #: python/irc.py:563 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:616 msgid "Message" msgstr "" #: python/irc.py:620 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:673 msgid "IRC track announce" msgstr "" #. TC: Spinbutton label for a delay value. #: python/irc.py:680 msgid "Delay" msgstr "" #. TC: tooltip on a spinbutton widget. #: python/irc.py:682 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:710 msgid "IRC timed message" msgstr "" #. TC: Spinbutton time offset value label. #: python/irc.py:719 msgid "Offset" msgstr "" #. TC: Spinbutton timed interval duration value label. #: python/irc.py:721 msgid "Interval" msgstr "" #. TC: spinbutton tooltip #: python/irc.py:724 msgid "" "The time offset within the below specified interval at which the message " "will be issued." msgstr "" #: python/irc.py:728 msgid "The interval in seconds of the timed message." msgstr "" #: python/irc.py:967 msgid "This feature requires the installation of python-irc." msgstr "" #. TC: Indicator text: We used a password. #: python/irc.py:1058 msgid "PASSWORD" msgstr "" #. TC: Indicator text: We interact with NickServ. #: python/irc.py:1061 msgid "NICKSERV" msgstr "" #. TC: Indicator text: Server connection started manually. #: python/irc.py:1064 msgid "MANUAL" msgstr "" #. TC: Dialog title text. #: python/irc.py:1089 msgid "IRC stream up message" msgstr "" #. TC: Dialog title text. #: python/irc.py:1091 msgid "IRC stream down message" msgstr "" #. TC: Dialog title text. #: python/irc.py:1093 msgid "IRC station operations" msgstr "" #: python/jingles.py:96 msgid "Stop" msgstr "" #. TC: Column heading, whether to play. #: python/jingles.py:114 python/playergui.py:299 msgid "Play" msgstr "" #: python/jingles.py:123 python/sourceclientgui.py:1051 msgid "Repeat" msgstr "" #: python/jingles.py:136 msgid "Configure" msgstr "" #: python/jingles.py:327 python/playergui.py:4135 msgid "Supported media" msgstr "" #: python/jingles.py:334 #, python-format msgid "Effect %d Config" msgstr "" #: python/jingles.py:349 msgid "Trigger text" msgstr "" #: python/jingles.py:350 msgid "No Name" msgstr "" #: python/jingles.py:357 msgid "Level adjustment (dB)" msgstr "" #: python/jingles.py:432 msgid "Effects volume." msgstr "" #: python/jingles.py:439 msgid "Player headroom that is applied when an effect is playing." msgstr "" #: python/jingles.py:502 msgid "Alternative" msgstr "" #: python/jingles.py:503 msgid "Default" msgstr "" #: python/jingles.py:548 msgid "Effects" msgstr "" #: python/jingles.py:591 #, python-format msgid "Effects %d" msgstr "" #: python/jingles.py:599 python/maingui.py:189 msgid "Background Tracks" msgstr "" #: python/jingles.py:618 msgid "Background Tracks volume." msgstr "" #: python/maingui.py:93 msgid "Show a JACK freewheel control on the main panel" msgstr "" #: python/maingui.py:95 msgid "Toggle JACK freewheel mode." msgstr "" #: python/maingui.py:168 msgid "File" msgstr "" #: python/maingui.py:168 python/preferences.py:1130 msgid "View" msgstr "" #: python/maingui.py:169 msgid "JACK Ports" msgstr "" #: python/maingui.py:169 msgid "Help" msgstr "" #: python/maingui.py:171 python/maingui.py:3689 msgid "Streams" msgstr "" #: python/maingui.py:172 msgid "Recorders" msgstr "" #: python/maingui.py:185 python/maingui.py:224 msgid "Output" msgstr "" #: python/maingui.py:185 msgid "Preferences" msgstr "" #: python/maingui.py:185 msgid "Profiles" msgstr "" #: python/maingui.py:188 python/songdb.py:409 msgid "Music Database" msgstr "" #: python/maingui.py:188 msgid "Channel Meters" msgstr "" #: python/maingui.py:188 msgid "Output Meters" msgstr "" #: python/maingui.py:189 msgid "Tabbed Area" msgstr "" #: python/maingui.py:189 msgid "Button Bar" msgstr "" #: python/maingui.py:223 python/preferences.py:1485 msgid "Channels" msgstr "" #: python/maingui.py:223 msgid "Players" msgstr "" #: python/maingui.py:224 msgid "VoIP" msgstr "" #: python/maingui.py:224 python/maingui.py:3129 msgid "DSP" msgstr "" #: python/maingui.py:224 msgid "Mix" msgstr "" #: python/maingui.py:224 msgid "Misc" msgstr "" #: python/maingui.py:269 msgid "Reset" msgstr "" #: python/maingui.py:272 msgid "Reset the JACK port connections to the default settings." msgstr "" #: python/maingui.py:277 msgid "" "Reset all JACK port connections?\n" "\n" "All currently established connections will be lost\n" "and replaced with defaults." msgstr "" #: python/maingui.py:321 msgid "No compatible ports available." msgstr "" #: python/maingui.py:364 #, python-brace-format msgid "{0} profile={1}:{2} settings saved." msgstr "" #: python/maingui.py:367 #, python-brace-format msgid "{0} session={1}:{2} settings saved." msgstr "" #: python/maingui.py:671 msgid "Text" msgstr "" #: python/maingui.py:674 msgid "The opener button's text." msgstr "" #: python/maingui.py:682 msgid "Icon" msgstr "" #: python/maingui.py:690 msgid "The opener button's icon." msgstr "" #: python/maingui.py:698 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:703 msgid "The amount of headroom required (dB)" msgstr "" #: python/maingui.py:712 msgid "This button will flash as a reminder to close" msgstr "" #: python/maingui.py:713 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:721 msgid "This button is to be treated as a microphone opener" msgstr "" #: python/maingui.py:723 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:732 msgid "This button will automatically cancel JACK freewheel mode" msgstr "" #: python/maingui.py:734 msgid "" "This should be set for all buttons that control input from a live sound " "source or device." msgstr "" #: python/maingui.py:737 msgid "Button Open Triggers" msgstr "" #: python/maingui.py:744 msgid "Playlist advance button" msgstr "" #: python/maingui.py:745 python/maingui.py:746 #, python-format msgid "'%s' control" msgstr "" #. TC: Insert playlist control to stop the player. #: python/maingui.py:745 python/playergui.py:4393 msgid "Player Stop" msgstr "" #. TC: Insert playlist control to stop the player. #: python/maingui.py:746 python/playergui.py:4400 msgid "Player Stop 2" msgstr "" #: python/maingui.py:747 msgid "Announcements" msgstr "" #: python/maingui.py:759 msgid "When opened close these other buttons" msgstr "" #: python/maingui.py:770 msgid "Shell Command" msgstr "" #: python/maingui.py:771 msgid "" "Mostly useful issuing 'amixer' commands, in particular for setting capture." msgstr "" #: python/maingui.py:791 msgid "On open" msgstr "" #: python/maingui.py:792 msgid "On close" msgstr "" #: python/maingui.py:836 msgid "Main Panel Opener Buttons" msgstr "" #: python/maingui.py:848 msgid "Indicate button numbers and associated channel numbers" msgstr "" #: python/maingui.py:850 msgid "A useful feature to have switched on while allocating channel openers." msgstr "" #: python/maingui.py:856 msgid "Status Indicator Appearance" msgstr "" #: python/maingui.py:859 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:868 python/format.py:827 msgid "Width" msgstr "" #: python/maingui.py:875 msgid "Opened" msgstr "" #: python/maingui.py:879 python/preferences.py:503 python/preferences.py:505 msgid "Closed" msgstr "" #: python/maingui.py:884 msgid "Remind" msgstr "" #. TC: A placeholder text for when there are no opener buttons. #: python/maingui.py:1065 msgid "No Channel Opener Buttons" msgstr "" #: python/maingui.py:1354 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:1377 msgid "The combined total number of listeners in all server tabs." msgstr "" #. TC: Record as in, to make a recording. #: python/maingui.py:1825 python/sourceclientgui.py:2784 msgid "Record" msgstr "" #: python/maingui.py:2647 msgid "Confirmation to quit IDJC is required." msgstr "" #: python/maingui.py:2651 msgid "All active recordings and radio streams will terminate." msgstr "" #: python/maingui.py:2653 msgid "All of the active radio streams will terminate." msgstr "" #: python/maingui.py:2655 msgid "All active recordings will cease." msgstr "" #. TC: Popup menu item, wipes away the tracks played history text. #: python/maingui.py:2921 python/maingui.py:3353 msgid "Remove Contents" msgstr "" #: python/maingui.py:3076 msgid "Renameable Labels" msgstr "" #: python/maingui.py:3100 msgid "Main Players" msgstr "" #: python/maingui.py:3153 msgid "Mix voice over IP audio to the output stream." msgstr "" #: python/maingui.py:3166 msgid "Mix voice over IP audio to the DJ only." msgstr "" #: python/maingui.py:3193 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:3238 python/preferences.py:873 msgid "The volume control shared by both music players." msgstr "" #: python/maingui.py:3249 msgid "The volume control for the right music player." msgstr "" #: python/maingui.py:3277 msgid "VoIP level adjustment. 0dB gain is at the mid point." msgstr "" #: python/maingui.py:3300 msgid "The stream volume level to send to the voice over IP connection." msgstr "" #: python/maingui.py:3327 python/preferences.py:1413 msgid "Tracks Played" msgstr "" #: python/maingui.py:3398 python/maingui.py:3400 python/maingui.py:3424 msgid "Monitor Mix" msgstr "" #: python/maingui.py:3407 python/maingui.py:3424 python/playergui.py:4334 msgid "DJ" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/maingui.py:3410 python/maingui.py:3424 python/midicontrols.py:155 #: python/midicontrols.py:1507 python/playergui.py:4326 #: python/sourceclientgui.py:2792 msgid "Stream" msgstr "" #. TC: Context {0}, {1}, {2} = Monitor Mix, Stream, DJ #. TC: Or whatever they become translated to. #: python/maingui.py:3420 #, python-brace-format 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:3433 python/maingui.py:3435 msgid "Metadata Source" msgstr "" #. TC: The chosen source of track metadata. #: python/maingui.py:3441 python/playergui.py:4044 msgid "Playlist 1" msgstr "" #. TC: The chosen source of track metadata. #: python/maingui.py:3443 python/playergui.py:4045 msgid "Playlist 2" msgstr "" #. TC: The chosen source of track metadata. #: python/maingui.py:3445 python/songdb.py:909 python/songdb.py:1293 msgid "Last Played" msgstr "" #. TC: The chosen source of track metadata. #: python/maingui.py:3447 python/maingui.py:3484 python/maingui.py:3486 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:3449 python/playergui.py:4309 msgid "None" msgstr "" #. TC: The chosen source of track metadata. In this case no metadata. #: python/maingui.py:3451 msgid "Playlist 3" msgstr "" #: python/maingui.py:3456 msgid "Select the origin for the playing track metadata on the stream." msgstr "" #. TC: Abbreviation of left. #: python/maingui.py:3466 python/maingui.py:3468 msgid "L" msgstr "" #: python/maingui.py:3478 msgid "Move the crossfader fully left." msgstr "" #: python/maingui.py:3498 msgid "The crossfader." msgstr "" #. TC: Abbreviation of right. #: python/maingui.py:3502 python/maingui.py:3504 msgid "R" msgstr "" #: python/maingui.py:3514 msgid "Move the crossfader fully right." msgstr "" #. TC: Describes a mid point. #: python/maingui.py:3523 python/maingui.py:3525 msgid "Middle" msgstr "" #: python/maingui.py:3542 python/maingui.py:3549 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:3554 python/maingui.py:3556 msgid "Response" msgstr "" #: python/maingui.py:3578 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:3592 python/maingui.py:3594 msgid "Time" msgstr "" #: python/maingui.py:3611 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:3620 python/maingui.py:3622 msgid "Pass" msgstr "" #: python/maingui.py:3635 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:3678 msgid "Peak" msgstr "" #: python/maingui.py:3681 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:3703 msgid "VU" msgstr "" #: python/maingui.py:3707 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:3710 msgid "Ch" msgstr "" #: python/maingui.py:3737 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:48 msgid "Tooltips enable" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:50 msgid "DJ-mix monitor" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:52 msgid "Panning load from presets" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:54 msgid "Player play/pause" msgstr "" #. TC: Control method. Please keep it as Target:Action. #. TC: Playlist control. #: python/midicontrols.py:56 python/playergui.py:3798 msgid "Player stop" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:58 msgid "Player advance" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:60 msgid "Player play previous" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:62 msgid "Player play next" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:64 msgid "Player play selected from start" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:66 msgid "Player select previous" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:68 msgid "Player select next" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:70 msgid "Player stream output enable" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:72 msgid "Player DJ output enable" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:74 msgid "Player DJ-only switch" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:76 msgid "Player set volume" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:78 msgid "Player set gain" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:80 msgid "Player set balance" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:82 msgid "Player set pitchbend" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:85 msgid "Playlist edit tags" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:87 msgid "Playlist insert stop" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:89 msgid "Playlist insert stop 2" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:91 msgid "Playlist insert announce" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:93 msgid "Playlist insert transfer" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:95 msgid "Playlist insert crossfade" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:97 msgid "Playlist insert pitchunbend" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:99 msgid "Playlist insert jump to top" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:102 msgid "Players set crossfade" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:104 msgid "Players pass crossfade" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:106 msgid "Players set focus" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:108 msgid "Players show pitchbend" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:110 msgid "Players advance" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:113 msgid "Channel output enable" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:115 msgid "Channel set volume" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:117 msgid "Channel set gain" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:119 msgid "Channel set balance" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:122 msgid "VoIP output enable" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:124 msgid "VoIP DJ-only switch" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:126 msgid "VoIP set volume" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:128 msgid "VoIP set mixback" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:130 msgid "VoIP set gain" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:132 msgid "VoIP set balance" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:135 msgid "Effect play from start" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:138 msgid "Effects stop many" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:140 msgid "Effects set volume" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:142 msgid "Effects set headroom" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:145 msgid "Stream set connected" msgstr "" #. TC: Control method. Please keep it as Target:Action. #: python/midicontrols.py:148 msgid "Recorder set recording" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:152 python/midicontrols.py:1493 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:153 python/midicontrols.py:1499 #: python/midicontrols.py:1568 python/midicontrols.py:1758 msgid "Channel" msgstr "" #: python/midicontrols.py:154 python/preferences.py:599 #: python/preferences.py:609 msgid "Effect" msgstr "" #: python/midicontrols.py:156 msgid "Recorder" msgstr "" #: python/midicontrols.py:157 msgid "Setting" msgstr "" #: python/midicontrols.py:161 msgid "Left player" msgstr "" #: python/midicontrols.py:162 msgid "Right player" msgstr "" #: python/midicontrols.py:163 msgid "Background player" msgstr "" #: python/midicontrols.py:164 msgid "Focused player" msgstr "" #: python/midicontrols.py:165 msgid "Fadered player" msgstr "" #: python/midicontrols.py:169 msgid "Effects bank 1" msgstr "" #: python/midicontrols.py:170 msgid "Effects bank 2" msgstr "" #: python/midicontrols.py:171 msgid "All effects" msgstr "" #. TC: The name of the backspace key. #: python/midicontrols.py:405 msgid "BackSpace" msgstr "" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1469 msgid "Use value" msgstr "" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1471 msgid "Act if" msgstr "" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1473 msgid "Set to" msgstr "" #. TC: binding editor, action pane, third row, heading text. #: python/midicontrols.py:1475 msgid "Adjust by" msgstr "" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1480 python/midicontrols.py:1484 msgid "Control" msgstr "" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1482 msgid "Note" msgstr "" #. TC: binding editor, input pane, fourth row, heading text. #: python/midicontrols.py:1486 msgid "Key" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1491 msgid "Miscellaneous" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1495 msgid "Both players" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1497 msgid "Quick panning" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1501 msgid "VoIP channel" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1503 msgid "Single effect" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1505 msgid "Effects bank" msgstr "" #. TC: binding editor, action pane, first row, toplevel menu. #: python/midicontrols.py:1509 msgid "Stream recorder" msgstr "" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1514 msgid "Direct fader/held button" msgstr "" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1516 msgid "One-shot/toggle button" msgstr "" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1518 msgid "Set value" msgstr "" #. TC: binding editor, action pane, second row, dropdown text. #: python/midicontrols.py:1520 msgid "Alter value" msgstr "" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1525 msgid "MIDI control" msgstr "" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1527 msgid "MIDI note" msgstr "" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1529 msgid "MIDI pitch-wheel" msgstr "" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1531 msgid "Keyboard press" msgstr "" #. TC: binding editor, input pane, second row, dropdown text. #: python/midicontrols.py:1533 msgid "XChat command" msgstr "" #. TC: Dialog window title text. #. TC: User is expected to edit a control binding. #: python/midicontrols.py:1542 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:1557 python/midicontrols.py:1638 #: python/midicontrols.py:1737 msgid "Listen for input..." msgstr "" #. TC: The input source. #: python/midicontrols.py:1565 msgid "Source" msgstr "" #. TC: The manner in which the input is interpreted. #: python/midicontrols.py:1584 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:1590 msgid "On target" msgstr "" #. TC: Checkbutton text. #. TC: Use reverse scale and invert the meaning of button presses. #: python/midicontrols.py:1598 msgid "Reversed" msgstr "" #: python/midicontrols.py:1599 msgid "Pressed" msgstr "" #: python/midicontrols.py:1601 msgid "Released" msgstr "" #. TC: Tree column heading for Inputs e.g. Backspace, F1, S. #: python/midicontrols.py:1631 python/midicontrols.py:1992 msgid "Input" msgstr "" #: python/midicontrols.py:1635 #, 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:1671 python/midicontrols.py:1677 #: python/midicontrols.py:2006 msgid "Action" msgstr "" #. TC: %s is the translation of 'Action'. #: python/midicontrols.py:1676 #, python-format msgid "The '%s' pane determines how the input is handled, and to what effect." msgstr "" #: python/midicontrols.py:1733 msgid "Listening for input" msgstr "" #. TC: Refers to key modifiers including Ctrl, Alt, Shift, .... #: python/midicontrols.py:1754 msgid "Shifting" msgstr "" #: python/midicontrols.py:1953 msgid "Singular control" msgstr "" #: python/midicontrols.py:2015 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:906 python/songdb.py:1295 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:177 msgid "Connecting" msgstr "" #: python/songdb.py:188 #, python-format msgid "Connection failed (try %d)" msgstr "" #: python/songdb.py:199 msgid "Connected: autocommit mode failed" msgstr "" #: python/songdb.py:201 msgid "Connected: autocommit mode set" msgstr "" #: python/songdb.py:202 msgid "Connected" msgstr "" #: python/songdb.py:210 msgid "Job dropped" msgstr "" #: python/songdb.py:220 python/songdb.py:431 msgid "Disconnected" msgstr "" #: python/songdb.py:233 msgid "Problem dropping connection" msgstr "" #: python/songdb.py:235 msgid "Connection dropped" msgstr "" #: python/songdb.py:326 msgid "Hostname[:Port]" msgstr "" #: python/songdb.py:331 msgid "User Name" msgstr "" #: python/songdb.py:334 msgid "Database" msgstr "" #: python/songdb.py:389 msgid "Prokyon3 or Ampache (song title) Database" msgstr "" #: python/songdb.py:390 msgid "" "You can make certain media databases accessible in IDJC for easy drag and " "drop into the playlists." msgstr "" #: python/songdb.py:438 msgid "Module mysql-python (MySQLdb) required" msgstr "" #: python/songdb.py:707 python/songdb.py:723 python/songdb.py:747 #: python/songdb.py:805 msgid "" msgstr "" #: python/songdb.py:741 msgid "Not Played" msgstr "" #: python/songdb.py:878 msgid "Reload the database." msgstr "" #: python/songdb.py:883 msgid "Expand entire tree." msgstr "" #: python/songdb.py:884 msgid "Collapse tree." msgstr "" #: python/songdb.py:891 msgid "Browse" msgstr "" #. TC: The disk number of the album track. #: python/songdb.py:904 python/songdb.py:1294 msgid "Disk" msgstr "" #. TC: Track playback time. #. TC: Playback time. #: python/songdb.py:908 python/songdb.py:1296 python/playergui.py:313 msgid "Duration" msgstr "" #: python/songdb.py:910 python/songdb.py:1297 python/format.py:594 #: python/format.py:615 python/format.py:701 python/format.py:722 #: python/format.py:857 python/format.py:962 python/format.py:1012 #: python/format.py:1022 msgid "Bitrate" msgstr "" #: python/songdb.py:911 python/songdb.py:1298 msgid "Filename" msgstr "" #. TC: Directory path to a file. #: python/songdb.py:913 python/songdb.py:1299 msgid "Path" msgstr "" #: python/songdb.py:918 msgid "Artist - Album - Title" msgstr "" #: python/songdb.py:919 msgid "Album - [Disk] - Title" msgstr "" #: python/songdb.py:939 msgid "Fetching" msgstr "" #: python/songdb.py:1084 msgid "Tree fetch failed" msgstr "" #: python/songdb.py:1085 msgid "Fetch Failed!" msgstr "" #: python/songdb.py:1098 msgid "Populating" msgstr "" #: python/songdb.py:1224 #, python-format msgid "Disk %d" msgstr "" #. TC: User specified search filter entry box title text. #: python/songdb.py:1243 msgid "Filters" msgstr "" #. TC: A type of search on any data field matching paritial strings. #: python/songdb.py:1255 msgid "Fuzzy Search" msgstr "" #. TC: WHERE is an SQL keyword. #: python/songdb.py:1264 msgid "WHERE" msgstr "" #: python/songdb.py:1277 msgid "Search" msgstr "" #: python/songdb.py:1514 python/songdb.py:1639 msgid "Minutes" msgstr "" #: python/songdb.py:1514 python/songdb.py:1639 msgid "Hours" msgstr "" #: python/songdb.py:1515 python/songdb.py:1639 msgid "Days" msgstr "" #: python/songdb.py:1515 python/songdb.py:1639 python/songdb.py:1709 #: python/songdb.py:1803 msgid "Weeks" msgstr "" #: python/songdb.py:1609 msgid "Catalogs" msgstr "" #: python/songdb.py:1616 msgid "Name" msgstr "" #: python/songdb.py:1617 msgid "Catalog Path" msgstr "" #: python/songdb.py:1618 msgid "Prepend Path" msgstr "" #: python/songdb.py:1626 msgid "Last Played Scale" msgstr "" #: python/songdb.py:1658 msgid "Path Peel" msgstr "" #: python/songdb.py:1737 msgid "N/A" msgstr "" #: python/songdb.py:1918 msgid "Failed to create FULLTEXT index" msgstr "" #: python/songdb.py:1922 msgid "Found existing FULLTEXT index" msgstr "" #: python/songdb.py:1936 python/songdb.py:1949 msgid "Unrecognised database" msgstr "" #: python/songdb.py:1944 msgid "Found Prokyon 3 schema" msgstr "" #: python/playergui.py:236 msgid "Cuesheet Playlist" msgstr "" #. TC: Column heading, the track number. #: python/playergui.py:302 msgid "Trk" msgstr "" #. TC: Column heading, the index number. #: python/playergui.py:305 msgid "Ind" msgstr "" #: python/playergui.py:414 msgid "External Playlist" msgstr "" #. TC: Button text to activate an external playlist. #: python/playergui.py:425 msgid "Active" msgstr "" #: python/playergui.py:435 msgid "Choose a playlist file" msgstr "" #: python/playergui.py:440 msgid "Choose a media directory" msgstr "" #: python/playergui.py:453 msgid "Choose a playlist file." msgstr "" #: python/playergui.py:455 msgid "Choose a folder/directory of music." msgstr "" #: python/playergui.py:522 msgid "Create a new announcement" msgstr "" #: python/playergui.py:525 msgid "Modify or Delete this announcement" msgstr "" #. TC: Embed a DJ announcement text into the playlist. #: python/playergui.py:528 python/playergui.py:4430 msgid "Announcement" msgstr "" #. TC: The time format as minutes and seconds. #: python/playergui.py:556 msgid "mm:ss" msgstr "" #. TC: Alongside the name of the next track. #: python/playergui.py:609 msgid "Next track" msgstr "" #: python/playergui.py:934 msgid "By Extension" msgstr "" #: python/playergui.py:934 msgid "M3U playlist" msgstr "" #: python/playergui.py:934 msgid "M3U8 playlist" msgstr "" #: python/playergui.py:935 msgid "XSPF playlist" msgstr "" #: python/playergui.py:935 msgid "PLS playlist" msgstr "" #: python/playergui.py:1007 #, python-format msgid "%d Audio Tracks" msgstr "" #. TC: Missing metadata text. #: python/playergui.py:1017 msgid "Unknown" msgstr "" #: python/playergui.py:1021 msgid "(Cue sheet)" msgstr "" #: python/playergui.py:1058 msgid "Bad Tag" msgstr "" #: python/playergui.py:1888 python/playergui.py:4268 msgid "Manual" msgstr "" #: python/playergui.py:1892 python/playergui.py:4265 msgid "Play All" msgstr "" #: python/playergui.py:1900 python/playergui.py:1909 python/playergui.py:4266 msgid "Loop All" msgstr "" #: python/playergui.py:1900 python/playergui.py:4269 msgid "Cue Up" msgstr "" #: python/playergui.py:1901 python/playergui.py:4273 msgid "Fade Over" msgstr "" #: python/playergui.py:1913 python/playergui.py:1984 python/playergui.py:4267 msgid "Random" msgstr "" #: python/playergui.py:1953 python/playergui.py:4270 msgid "External" msgstr "" #: python/playergui.py:1965 python/playergui.py:1981 python/playergui.py:4272 msgid "Alternate" msgstr "" #: python/playergui.py:1965 python/playergui.py:1983 python/playergui.py:4274 msgid "Random Hop" msgstr "" #. TC: The remaining playlist time. #: python/playergui.py:2138 python/playergui.py:2144 msgid "Remaining" msgstr "" #. TC: The estimated finish time of the playlist. #. TC: The estimated finish time of the playlist (ETA). #: python/playergui.py:2140 python/playergui.py:2144 python/playergui.py:2158 msgid "Finish" msgstr "" #. TC: The play duration of the block of audio tracks. #: python/playergui.py:2145 python/playergui.py:2156 msgid "Block size" msgstr "" #. TC: File dialog title text. #: python/playergui.py:2546 msgid "Add music to left playlist" msgstr "" #. TC: File dialog title text. #: python/playergui.py:2549 msgid "Add music to right playlist" msgstr "" #: python/playergui.py:2551 msgid "Add background music" msgstr "" #. TC: File filter text. #: python/playergui.py:2563 msgid "Supported Media Formats" msgstr "" #. TC: Expander text "Select File Type (.pls)" for the pls file type. #: python/playergui.py:2625 msgid "Select File Type" msgstr "" #: python/playergui.py:3383 msgid "Save left playlist" msgstr "" #: python/playergui.py:3385 msgid "Save right playlist" msgstr "" #: python/playergui.py:3387 msgid "Save background playlist" msgstr "" #: python/playergui.py:3405 msgid "File Type" msgstr "" #: python/playergui.py:3410 msgid "Extension" msgstr "" #. TC: Playlist control. #. TC: Insert playlist control to do a ten second fade to the next track. #: python/playergui.py:3774 python/playergui.py:4441 msgid "Fade 10s" msgstr "" #. TC: Playlist control. #. TC: Insert playlist control to do a five second fade to the next track. #: python/playergui.py:3780 python/playergui.py:4448 msgid "Fade 5s" msgstr "" #. TC: Playlist control. #. TC: Insert playlist control to not do a fade to the next track. #: python/playergui.py:3785 python/playergui.py:4455 msgid "No Fade" msgstr "" #. TC: Playlist control. #: python/playergui.py:3793 msgid ">> Normal Speed <<" msgstr "" #. TC: Playlist control. #: python/playergui.py:3803 msgid "Player stop 2" msgstr "" #. TC: Playlist control. #. TC: Insert playlist control to jump to the top of the playlist. #: python/playergui.py:3808 python/playergui.py:4407 msgid "Jump To Top" msgstr "" #. TC: Playlist control. #: python/playergui.py:3813 python/playergui.py:4467 msgid "Stop streaming" msgstr "" #. TC: Playlist control. #: python/playergui.py:3818 python/playergui.py:4475 msgid "Stop recording" msgstr "" #: python/playergui.py:3851 msgid "Announcement:" msgstr "" #. TC: Playlist control. #: python/playergui.py:3857 msgid ">>> Transfer across >>>" msgstr "" #. TC: Playlist control. #: python/playergui.py:3860 msgid "<<< Transfer across <<<" msgstr "" #. TC: Playlist control. #: python/playergui.py:3865 msgid ">>> Fade across >>>" msgstr "" #. TC: Playlist control. #: python/playergui.py:3868 msgid "<<< Fade across <<<" msgstr "" #. TC: Playlist control. #: python/playergui.py:3874 msgid "Ignored playlist control" msgstr "" #: python/playergui.py:3942 #, python-brace-format msgid "Playing track {0} of {1}" msgstr "" #. TC: Previous line: Playing track {0} of {1} #: python/playergui.py:3955 #, python-format msgid "From the album, %s" msgstr "" #: python/playergui.py:3962 #, python-format msgid "Total number of tracks %d" msgstr "" #: python/playergui.py:3966 python/playergui.py:3968 #, python-format msgid "Total play duration %s" msgstr "" #: python/playergui.py:4018 msgid "" "Left click toggles between showing the amount of time elapsed or remaining " "on the current track being played." msgstr "" #: python/playergui.py:4036 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:4125 msgid "All file types" msgstr "" #: python/playergui.py:4130 msgid "Playlist types" msgstr "" #: python/playergui.py:4145 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:4168 msgid "This adjusts the playback speed anywhere from 25% to 400%." msgstr "" #: python/playergui.py:4182 msgid "This sets the playback speed back to normal." msgstr "" #: python/playergui.py:4199 msgid "Previous track." msgstr "" #: python/playergui.py:4211 msgid "Play." msgstr "" #: python/playergui.py:4221 msgid "Pause." msgstr "" #: python/playergui.py:4231 msgid "Stop." msgstr "" #: python/playergui.py:4241 msgid "Next track." msgstr "" #: python/playergui.py:4253 msgid "Add tracks to the playlist." msgstr "" #: python/playergui.py:4260 python/preferences.py:71 msgid "Playlist Mode" msgstr "" #: python/playergui.py:4279 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:4303 python/preferences.py:72 msgid "Fade" msgstr "" #: python/playergui.py:4315 msgid "This controls the amount of fade between tracks." msgstr "" #: python/playergui.py:4322 msgid "Audio Feed" msgstr "" #: python/playergui.py:4332 msgid "Make output from this player available for streaming." msgstr "" #: python/playergui.py:4340 msgid "Make output from this player audible to the DJ." msgstr "" #: python/playergui.py:4342 msgid "Force" msgstr "" #: python/playergui.py:4348 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:4361 msgid "Insert control" msgstr "" #. TC: The Item submenu. #: python/playergui.py:4370 msgid "Item" msgstr "" #. TC: The Playlist submenu. #: python/playergui.py:4375 msgid "Playlist" msgstr "" #. TC: Insert playlist control to set playback speed to normal. #: python/playergui.py:4386 msgid "Normal Speed" msgstr "" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4415 python/playergui.py:4569 msgid "Transfer" msgstr "" #: python/playergui.py:4423 msgid "Crossfade" msgstr "" #. TC: Menu item. Opens the metadata tagger on the selected track. #: python/playergui.py:4488 msgid "Meta Tag" msgstr "" #. TC: Menu Item. Duplicates the selected track in the playlist. #: python/playergui.py:4494 msgid "Duplicate" msgstr "" #. TC: Menu Item. Remove the selected track. #: python/playergui.py:4501 msgid "Remove" msgstr "" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4512 msgid "This" msgstr "" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4519 python/preferences.py:1237 msgid "All" msgstr "" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4526 msgid "From Here" msgstr "" #. TC: Submenu Item. Parent menu item is Remove. #: python/playergui.py:4533 msgid "To Here" msgstr "" #. TC: Open the file dialog for adding music to the chosen playlist. #: python/playergui.py:4546 msgid "Add Music" msgstr "" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4553 msgid "Save" msgstr "" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4564 msgid "Copy" msgstr "" #: python/playergui.py:4575 msgid "Exchange" msgstr "" #. TC: Submenu Item. Parent menu is Playlist. #: python/playergui.py:4582 msgid "Empty" msgstr "" #. TC: Submenu Item. Parent menus are Playlist->Copy. #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4596 python/playergui.py:4635 msgid "Append" msgstr "" #. TC: Submenu Item. Parent menus are Playlist->Copy. #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4603 python/playergui.py:4642 msgid "Prepend" msgstr "" #. TC: Submenu Item. Parent menus are Playlist->Copy. #: python/playergui.py:4614 msgid "Append Cursor" msgstr "" #. TC: Submenu Item. Parent menus are Playlist->Copy. #: python/playergui.py:4621 msgid "Prepend Cursor" msgstr "" #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4653 msgid "Append at Cursor" msgstr "" #. TC: Submenu Item. Parent menus are Playlist->Transfer. #: python/playergui.py:4660 msgid "Prepend at Cursor" msgstr "" #: python/preferences.py:85 msgid "Track time elapsed" msgstr "" #: python/preferences.py:87 msgid "Track time remaining" msgstr "" #: python/preferences.py:89 msgid "Audio to stream" msgstr "" #: python/preferences.py:90 msgid "Audio to DJ" msgstr "" #: python/preferences.py:127 #, python-format 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 or require a stereo source " "remain as stereo then this feature should be turned off.\n" "\n" "Paired channels should be set to 100% left/right unless narrowing of the " "stereo field is the intention." msgstr "" #: python/preferences.py:158 msgid "Presets" msgstr "" #: python/preferences.py:249 msgid "" "The pan preset selection buttons.\n" "\n" "In the stereo image at a click the DJ can be on the left and a guest on the " "right and when the guest is gone at a click the DJ can be central again.\n" "\n" "Note: preconfiguration of pan preset settings is required." msgstr "" #. TC: Microphone mode combobox text. #: python/preferences.py:274 msgid "Deactivated" msgstr "" #. TC: Microphone mode combobox text. #: python/preferences.py:276 msgid "Basic input" msgstr "" #. TC: Microphone mode combobox text. #: python/preferences.py:278 msgid "Processed input" msgstr "" #. TC: Microphone mode combobox text. #: python/preferences.py:280 #, python-format msgid "Partnered with channel %s" msgstr "" #: python/preferences.py:432 msgid "A label so you may describe briefly the role of this audio channel." msgstr "" #: python/preferences.py:464 msgid "The signal processing mode." msgstr "" #. TC: A frame heading. The channel opener is selected within. #: python/preferences.py:468 msgid "Channel Opener" msgstr "" #: python/preferences.py:471 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:478 msgid "Main Panel Button" msgstr "" #: python/preferences.py:495 msgid "This:" msgstr "" #: python/preferences.py:504 msgid "Open" msgstr "" #: python/preferences.py:517 msgid "Stereo Panning" msgstr "" #. TC: A set of controls that perform audio signal matching. #: python/preferences.py:530 msgid "Signal Matching" msgstr "" #: python/preferences.py:531 msgid "" "These controls are provided to obtain a decent match between the two " "microphones." msgstr "" #: python/preferences.py:540 msgid "Relative Gain (dB)" msgstr "" #. TC: Mic audio phase inversion control. #: python/preferences.py:545 python/preferences.py:550 msgid "Invert Signal" msgstr "" #: python/preferences.py:551 python/preferences.py:571 #: python/preferences.py:667 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:554 msgid "In The DJ's Mix" msgstr "" #: python/preferences.py:555 python/preferences.py:577 #: python/preferences.py:677 msgid "" "Make the microphone audio audible in the DJ mix. This may not always be " "desirable." msgstr "" #: python/preferences.py:563 msgid "Basic Controls" msgstr "" #: python/preferences.py:564 python/preferences.py:619 msgid "Boost/Cut (dB)" msgstr "" #: python/preferences.py:585 msgid "High Pass Filter" msgstr "" #: python/preferences.py:586 python/preferences.py:601 #: python/preferences.py:611 msgid "Cutoff Frequency" msgstr "" #. TC: User can set the number of filter stages. #: python/preferences.py:590 msgid "Stages" msgstr "" #: python/preferences.py:593 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:598 msgid "HF Detail" msgstr "" #: python/preferences.py:605 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:608 msgid "LF Detail" msgstr "" #: python/preferences.py:615 msgid "You can use this to boost the amount of bass in the audio." msgstr "" #. TC: lookahead brick wall limiter. #: python/preferences.py:618 msgid "Limiter" msgstr "" #. TC: this is the peak signal limit. #: python/preferences.py:623 msgid "Upper Limit" msgstr "" #: python/preferences.py:625 msgid "" "A look-ahead brick-wall limiter. Audio signals are capped at the upper limit." msgstr "" #: python/preferences.py:628 msgid "Noise Gate" msgstr "" #. TC: noise gate triggers at this level. #: python/preferences.py:630 msgid "Threshold" msgstr "" #. TC: negative gain when the noise gate is active. #. TC: The de-esser attenuation in ess-detected state. #: python/preferences.py:634 python/preferences.py:644 msgid "Gain" msgstr "" #: python/preferences.py:636 msgid "" "Reduce the unwanted quietest sounds and background noise which you don't " "want your listeners to hear with this." msgstr "" #: python/preferences.py:639 msgid "De-esser" msgstr "" #. TC: Bias has a numeric setting. #: python/preferences.py:641 msgid "Bias" msgstr "" #: python/preferences.py:646 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:651 msgid "Ducker" msgstr "" #: python/preferences.py:652 msgid "Release" msgstr "" #: python/preferences.py:655 msgid "Hold" msgstr "" #: python/preferences.py:658 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:662 msgid "Other options" msgstr "" #: python/preferences.py:669 msgid "Phase Rotator" msgstr "" #: python/preferences.py:672 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:855 msgid "The volume control for the left music player." msgstr "" #. TC: preferences window title. #: python/preferences.py:911 msgid "IDJC Preferences" msgstr "" #. TC: The DJ's sound level controller. #: python/preferences.py:936 msgid "DJ Audio Level" msgstr "" #: python/preferences.py:948 msgid "This adjusts the sound level of the DJ audio." msgstr "" #. TC: The alarm sound level. #: python/preferences.py:953 msgid "Alarm Level" msgstr "" #: python/preferences.py:967 msgid "Music Loudness Compensation" msgstr "" #: python/preferences.py:965 #, 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:973 msgid "Player Resample Quality" msgstr "" #: python/preferences.py:979 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:987 msgid "Best" msgstr "" #: python/preferences.py:996 python/format.py:512 msgid "Medium" msgstr "" #: python/preferences.py:1005 msgid "Fast" msgstr "" #. TC: the set of features - section heading. #: python/preferences.py:1020 msgid "Feature Set" msgstr "" #. TC: Start in the full featured user interface mode. #: python/preferences.py:1032 msgid "Start Full" msgstr "" #: python/preferences.py:1037 python/preferences.py:1045 msgid "Indicates which mode IDJC will be in when launched." msgstr "" #. TC: Start in a reduced user interface mode. #: python/preferences.py:1040 msgid "Start Mini" msgstr "" #: python/preferences.py:1053 msgid "Fully Featured" msgstr "" #: python/preferences.py:1058 msgid "Run in full functionality mode which uses more CPU power." msgstr "" #: python/preferences.py:1060 msgid "Basic Streamer" msgstr "" #: python/preferences.py:1064 msgid "" "Run in a reduced functionality mode that lowers the burden on the CPU and " "takes up less screen space." msgstr "" #: python/preferences.py:1072 msgid "These settings take effect after restarting" msgstr "" #: python/preferences.py:1093 msgid "Reserve 24 sound effects slots" msgstr "" #: python/preferences.py:1094 msgid "Only 12" msgstr "" #: python/preferences.py:1106 msgid "Audio input channels" msgstr "" #: python/preferences.py:1111 msgid "Simultaneous stream(s)" msgstr "" #: python/preferences.py:1117 msgid "Simultaneous recording(s)" msgstr "" #: python/preferences.py:1171 msgid "Fill channel meter void space" msgstr "" #: python/preferences.py:1183 msgid "Player Loudness Normalisation" msgstr "" #: python/preferences.py:1194 msgid "Indicate which tracks have loudness metadata" msgstr "" #: python/preferences.py:1195 msgid "" "Shows a marker in the playlists next to each track. Either a green circle or " "a red triangle." msgstr "" #: python/preferences.py:1203 msgid "Adjust playback volume in dB" msgstr "" #: python/preferences.py:1204 msgid "Effective only on newly started tracks." msgstr "" #: python/preferences.py:1210 msgid "R128" msgstr "" #: python/preferences.py:1214 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:1219 msgid "ReplayGain" msgstr "" #: python/preferences.py:1223 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:1228 msgid "Untagged" msgstr "" #: python/preferences.py:1232 msgid "" "Set this so that any unmarked tracks are playing at a roughly similar " "loudness level as the marked ones." msgstr "" #: python/preferences.py:1241 msgid "A master level control for the media players." msgstr "" #: python/preferences.py:1252 msgid "Recorder Filename (excluding the file extension)" msgstr "" #: python/preferences.py:1253 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:1270 msgid "Miscellaneous Features" msgstr "" #: python/preferences.py:1279 msgid "Trim quiet song endings and trailing silence" msgstr "" #: python/preferences.py:1285 msgid "End tracks containing long passages of silence" msgstr "" #: python/preferences.py:1291 msgid "Enable the main-player speed/pitch controls" msgstr "" #: python/preferences.py:1295 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:1300 msgid "Separate left/right player volume faders" msgstr "" #: python/preferences.py:1304 msgid "" "Select this option to use an independent volume fader for the left and right " "music players." msgstr "" #: python/preferences.py:1308 msgid "Enlarge the time elapsed/remaining windows" msgstr "" #: python/preferences.py:1312 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:1318 msgid "Sound an alarm when the music is due to end" msgstr "" #: python/preferences.py:1321 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:1331 msgid "Apply dither to 16 bit PCM playback" msgstr "" #: python/preferences.py:1335 msgid "" "This feature maybe improves the sound quality a little when listening on a " "24 bit sound card." msgstr "" #: python/preferences.py:1338 msgid "Enable tooltips" msgstr "" #: python/preferences.py:1342 msgid "" "This, what you are currently reading, is a tooltip. This feature turns them " "on or off." msgstr "" #: python/preferences.py:1361 msgid "Player Settings At Startup" msgstr "" #: python/preferences.py:1372 msgid "Restore the previous session" msgstr "" #: python/preferences.py:1377 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:1387 msgid "Player 1" msgstr "" #: python/preferences.py:1389 msgid "Player 2" msgstr "" #. TC: DJ hears the stream mix. #: python/preferences.py:1417 msgid "Monitor Stream Mix" msgstr "" #. TC: A heading label for miscellaneous settings. #: python/preferences.py:1428 msgid "General" msgstr "" #: python/preferences.py:1478 msgid "VoIP panning + mono downmix" msgstr "" #. TC: Keyboard and MIDI bindings configuration. #: python/preferences.py:1492 msgid "Bindings" msgstr "" #: python/preferences.py:1540 msgid "Licence" msgstr "" #: python/preferences.py:1563 msgid "Contributors" msgstr "" #: python/preferences.py:1570 msgid "Translators" msgstr "" #: python/preferences.py:1574 msgid "Build Info" msgstr "" #: python/preferences.py:1591 msgid "About" msgstr "" #: python/sourceclientgui.py:91 msgid "Insert Attribute" msgstr "" #: python/sourceclientgui.py:135 msgid "Icecast 2 Master" msgstr "" #: python/sourceclientgui.py:135 msgid "Shoutcast Master" msgstr "" #: python/sourceclientgui.py:136 msgid "Icecast 2 Stats/Relay" msgstr "" #: python/sourceclientgui.py:136 msgid "Shoutcast Stats/Relay" msgstr "" #: python/sourceclientgui.py:139 msgid "Enter new server connection details" msgstr "" #: python/sourceclientgui.py:158 msgid "Edit existing server connection details" msgstr "" #: python/sourceclientgui.py:195 msgid "This server is to be scanned for audience figures" msgstr "" #: python/sourceclientgui.py:208 msgid "Server type" msgstr "" #: python/sourceclientgui.py:208 msgid "Port number" msgstr "" #: python/sourceclientgui.py:209 msgid "Mount point" msgstr "" #: python/sourceclientgui.py:209 msgid "Login name" msgstr "" #: python/sourceclientgui.py:475 msgid "Encoder Format Not Set/Compatible" msgstr "" #. TC: Connection button text when no details have been entered. #: python/sourceclientgui.py:478 msgid "No Master Server Configured" msgstr "" #: python/sourceclientgui.py:680 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:696 msgid "Hostname/IP address" msgstr "" #. TC: Mount point is a technical term in relation to icecast servers. #: python/sourceclientgui.py:709 msgid "Mount point " msgstr "" #. TC: This is the listener count heading. #: python/sourceclientgui.py:718 msgid "Listeners" msgstr "" #: python/sourceclientgui.py:733 msgid "The sum total of listeners in this server tab." msgstr "" #: python/sourceclientgui.py:760 msgid "Never" msgstr "" #: python/sourceclientgui.py:763 msgid "Always" msgstr "" #: python/sourceclientgui.py:765 msgid "If connected" msgstr "" #: python/sourceclientgui.py:1021 msgid "Custom user agent string" msgstr "" #: python/sourceclientgui.py:1028 msgid "" "Set this on the occasion that the server or its firewall specifically " "refuses to allow libshout based clients." msgstr "" #: python/sourceclientgui.py:1033 msgid "If the connection breaks reconnect to the server" msgstr "" #. TC: Label for a comma separated list of delay times. #: python/sourceclientgui.py:1043 msgid "Delay times" msgstr "" #: python/sourceclientgui.py:1047 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:1053 msgid "Repeat the sequence of delays indefinitely." msgstr "" #. TC: User specifies no dialog box to be shown. #: python/sourceclientgui.py:1056 msgid "Quiet" msgstr "" #: python/sourceclientgui.py:1058 msgid "Keep the reconnection dialogue box hidden at all times." msgstr "" #: python/sourceclientgui.py:1063 msgid "The contingency plan upon the stream buffer becoming full is..." msgstr "" #: python/sourceclientgui.py:1072 msgid "Discard audio data for as long as needed." msgstr "" #: python/sourceclientgui.py:1074 msgid "Assume the connection is beyond saving and reconnect." msgstr "" #: python/sourceclientgui.py:1357 python/format.py:1140 msgid "Shoutcast" msgstr "" #: python/sourceclientgui.py:1394 msgid "[Metadata suppressed]" msgstr "" #: python/sourceclientgui.py:1473 msgid "Individual Controls" msgstr "" #: python/sourceclientgui.py:1487 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:1504 msgid "Kick Source" msgstr "" #: python/sourceclientgui.py:1506 msgid "" "This will disconnect whoever is currently using the server, freeing it up " "for personal use." msgstr "" #: python/sourceclientgui.py:1516 msgid "Timer:" msgstr "" #: python/sourceclientgui.py:1520 msgid "From" msgstr "" #: python/sourceclientgui.py:1521 msgid "" "Automatically connect to the server at a specific time in 24 hour format, " "midnight being 00:00" msgstr "" #: python/sourceclientgui.py:1526 msgid "Kick" msgstr "" #: python/sourceclientgui.py:1528 msgid "Disconnect whoever is using the server just before start time." msgstr "" #: python/sourceclientgui.py:1537 msgid "To" msgstr "" #: python/sourceclientgui.py:1538 msgid "" "Automatically disconnect from the server at a specific time in 24 hour " "format." msgstr "" #: python/sourceclientgui.py:1541 msgid "Fade out" msgstr "" #: python/sourceclientgui.py:1543 msgid "Fade audio before disconnecting." msgstr "" #: python/sourceclientgui.py:1557 msgid "At connect:" msgstr "" #. TC: [x] Start player (*) 1 ( ) 2 #: python/sourceclientgui.py:1561 msgid "Start player" msgstr "" #: python/sourceclientgui.py:1566 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:1574 msgid "Start recorder" msgstr "" #: python/sourceclientgui.py:1581 msgid "" "Have a recorder start automatically when a radio server connection is " "successfully made." msgstr "" #: python/sourceclientgui.py:1586 python/format.py:521 python/format.py:532 #: python/format.py:542 msgid "Metadata" msgstr "" #: python/sourceclientgui.py:1596 msgid "Format String" msgstr "" #. TC: Label for the metadata fallback value. #: python/sourceclientgui.py:1598 msgid "Fallback" msgstr "" #: python/sourceclientgui.py:1612 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:1620 msgid "" "The fallback text to use when %r %t %l metadata is unavailable. See the " "format string to the left." msgstr "" #: python/sourceclientgui.py:1622 msgid "" "Metadata normally updates only on song title changes but you can force an " "immediate update here." msgstr "" #: python/sourceclientgui.py:1641 msgid "Configuration" msgstr "" #: python/sourceclientgui.py:1642 msgid "The controls for configuring a stream." msgstr "" #: python/sourceclientgui.py:1650 msgid "Connection" msgstr "" #: python/sourceclientgui.py:1655 msgid "Format" msgstr "" #. TC: Tab heading. User can enter information about the stream here. #: python/sourceclientgui.py:1664 msgid "Stream Info" msgstr "" #: python/sourceclientgui.py:1669 msgid "" "Enter your DJ name or station name here. Typically this information will be " "displayed by listener clients." msgstr "" #: python/sourceclientgui.py:1672 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:1677 msgid "A description of your radio station." msgstr "" #: python/sourceclientgui.py:1682 msgid "The musical genres you are likely to play." msgstr "" #: python/sourceclientgui.py:1685 msgid "Make Public" msgstr "" #: python/sourceclientgui.py:1686 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:1698 msgid "Genre(s)" msgstr "" #: python/sourceclientgui.py:1709 msgid "Master server admin password" msgstr "" #: python/sourceclientgui.py:1714 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:1723 msgid "Contact Details" msgstr "" #: python/sourceclientgui.py:1727 msgid "Internet Relay Chat connection info goes here." msgstr "" #: python/sourceclientgui.py:1730 msgid "Connection info for AOL instant messenger goes here." msgstr "" #: python/sourceclientgui.py:1733 msgid "ICQ instant messenger connection info goes here." msgstr "" #: python/sourceclientgui.py:1736 msgid "IRC" msgstr "" #: python/sourceclientgui.py:1737 msgid "AIM" msgstr "" #: python/sourceclientgui.py:1738 msgid "ICQ" msgstr "" #: python/sourceclientgui.py:1748 msgid "Use ISO-8859-1 encoding for fixed metadata" msgstr "" #: python/sourceclientgui.py:1750 msgid "Enable this if sending to a Shoutcast V1 server." msgstr "" #: python/sourceclientgui.py:1754 msgid "Extra Shoutcast" msgstr "" #: python/sourceclientgui.py:1759 msgid "Troubleshooting" msgstr "" #: python/sourceclientgui.py:1890 msgid "Stop recording." msgstr "" #: python/sourceclientgui.py:1892 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:1897 msgid "Pause recording." msgstr "" #: python/sourceclientgui.py:1934 msgid "Recording time elapsed." msgstr "" #. TC: Dialog title bar text. #: python/sourceclientgui.py:1988 msgid "Select the folder to record to" msgstr "" #: python/sourceclientgui.py:1999 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:2003 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:2110 msgid "Perform operations on multiple servers in unison." msgstr "" #: python/sourceclientgui.py:2122 msgid "Connect" msgstr "" #: python/sourceclientgui.py:2139 msgid "Disconnect" msgstr "" #: python/sourceclientgui.py:2147 msgid "Kick Sources" msgstr "" #: python/sourceclientgui.py:2156 msgid "Metadata:" msgstr "" #: python/sourceclientgui.py:2186 msgid "Group Controls" msgstr "" #: python/sourceclientgui.py:2692 msgid "Recording Facility Unavailable" msgstr "" #: python/sourceclientgui.py:2695 msgid "No Recorders Are Correctly Configured" msgstr "" #. TC: Recorder menu format string. #: python/sourceclientgui.py:2708 #, python-brace-format msgid "{numericid} [{source}] > [{directory}]" msgstr "" #: python/sourceclientgui.py:2710 msgid "Misconfigured" msgstr "" #: python/sourceclientgui.py:2731 msgid "Streaming Facility Unavailable" msgstr "" #: python/sourceclientgui.py:2733 msgid "No Streams Are Currently Configured" msgstr "" #: python/sourceclientgui.py:2736 msgid "Group Connect" msgstr "" #: python/sourceclientgui.py:2742 msgid "Group Disconnect" msgstr "" #. TC: Window title bar text. #: python/sourceclientgui.py:2773 msgid "IDJC Output" msgstr "" #: python/sourceclientgui.py:2789 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:2797 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:2815 msgid " Stream " msgstr "" #: python/sourceclientgui.py:2850 msgid "" "A connection to a radio server has " "failed.\n" "\n" "Reconnection will not be attempted." msgstr "" #: python/sourceclientgui.py:2855 msgid "" "A scheduled stream disconnection has " "occurred." msgstr "" #: python/format.py:419 msgid "Right click for suggested values." msgstr "" #: python/format.py:438 msgid "Suggested Values" msgstr "" #: python/format.py:494 msgid "Pregain" msgstr "" #: python/format.py:495 python/format.py:913 msgid "0 dB" msgstr "" #: python/format.py:496 python/format.py:914 msgid "-0.5 dB" msgstr "" #: python/format.py:497 python/format.py:915 msgid "-1.0 dB" msgstr "" #: python/format.py:498 python/format.py:916 msgid "-1.5 dB" msgstr "" #: python/format.py:499 python/format.py:917 msgid "-2.0 dB" msgstr "" #: python/format.py:500 python/format.py:918 msgid "-2.5 dB" msgstr "" #: python/format.py:501 python/format.py:919 msgid "-3.0 dB" msgstr "" #: python/format.py:502 msgid "" "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." msgstr "" #: python/format.py:510 msgid "Resample Quality" msgstr "" #: python/format.py:511 msgid "Highest" msgstr "" #: python/format.py:513 msgid "Lowest" msgstr "" #: python/format.py:514 msgid "" "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." msgstr "" #: python/format.py:522 python/format.py:533 python/format.py:543 msgid "Suppressed" msgstr "" #: python/format.py:523 python/format.py:534 msgid "UTF-8" msgstr "" #: python/format.py:524 msgid "Latin1 *" msgstr "" #: python/format.py:525 msgid "" "This affects the stream metadata only. Recordings will use UTF-8 for their " "metadata." msgstr "" #: python/format.py:535 msgid "" "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." msgstr "" #: python/format.py:544 msgid "Latin1" msgstr "" #: python/format.py:545 msgid "Choose whether to send metadata. Recordings will use UTF-8 metadata." msgstr "" #: python/format.py:561 python/format.py:572 python/format.py:583 #: python/format.py:690 python/format.py:818 python/format.py:888 #: python/format.py:897 python/format.py:971 python/format.py:994 #: python/format.py:1003 msgid "Mode" msgstr "" #: python/format.py:562 python/format.py:573 python/format.py:584 #: python/format.py:691 python/format.py:819 python/format.py:889 #: python/format.py:898 python/format.py:972 python/format.py:995 #: python/format.py:1004 msgid "Mono" msgstr "" #: python/format.py:563 python/format.py:574 python/format.py:585 #: python/format.py:692 python/format.py:820 python/format.py:890 #: python/format.py:899 python/format.py:973 python/format.py:996 #: python/format.py:1005 msgid "Stereo" msgstr "" #: python/format.py:564 python/format.py:575 python/format.py:586 #: python/format.py:693 msgid "Joint Stereo" msgstr "" #: python/format.py:565 msgid "Joint Stereo is a good choice on streams with low bitrates." msgstr "" #: python/format.py:576 msgid "Due to the high bitrate selected, this codec will only support stereo." msgstr "" #: python/format.py:587 msgid "Due to the low bitrate selected, this codec will only support mono." msgstr "" #: python/format.py:636 python/format.py:646 python/format.py:743 #: python/format.py:753 python/format.py:763 python/format.py:869 #: python/format.py:879 python/format.py:1032 python/format.py:1052 msgid "Samplerate" msgstr "" #. TC: Abbreviation of the word, standard. #: python/format.py:657 python/format.py:774 msgid "Std." msgstr "" #. TC: v stands for version. #: python/format.py:659 python/format.py:776 msgid "V 1" msgstr "" #. TC: v stands for version. #: python/format.py:661 python/format.py:778 msgid "V 2" msgstr "" #: python/format.py:662 msgid "" "MPEG2 introduced lower samplerate options and corresponding lower bitrates. " "Choose 2 if those are required." msgstr "" #: python/format.py:669 python/format.py:797 msgid "Quality" msgstr "" #: python/format.py:670 msgid "0 most" msgstr "" #. TC: * means is the recommended setting. #: python/format.py:673 msgid "2 *" msgstr "" #: python/format.py:675 msgid "Higher quality costs more in terms of CPU cycles." msgstr "" #: python/format.py:694 msgid "Joint Stereo is a good choice on streams with low bitrates" msgstr "" #. TC: v stands for version. #: python/format.py:780 msgid "V 2.5" msgstr "" #: python/format.py:787 msgid "Complexity" msgstr "" #: python/format.py:790 msgid "A quality setting that affects how heavily the CPU is used." msgstr "" #: python/format.py:800 msgid "The higher this setting, the higher the bitrate." msgstr "" #: python/format.py:807 msgid "Bandwidth" msgstr "" #: python/format.py:808 msgid "Ultrawide" msgstr "" #: python/format.py:809 msgid "Wide" msgstr "" #: python/format.py:810 msgid "Narrow" msgstr "" #: python/format.py:811 msgid "Essentially a samplerate setting." msgstr "" #: python/format.py:828 msgid "24 bit" msgstr "" #: python/format.py:829 msgid "20 bit" msgstr "" #: python/format.py:830 msgid "16 bit" msgstr "" #: python/format.py:831 msgid "" "24 bit records with the highest level of detail. If file size is a concern " "maybe FLAC is not the right codec." msgstr "" #: python/format.py:838 python/format.py:927 msgid "Variability" msgstr "" #: python/format.py:839 msgid "Constant" msgstr "" #: python/format.py:840 msgid "±10%" msgstr "" #: python/format.py:841 msgid "±20%" msgstr "" #: python/format.py:842 msgid "±30%" msgstr "" #: python/format.py:843 msgid "±40%" msgstr "" #: python/format.py:844 msgid "±50%" msgstr "" #: python/format.py:845 msgid "This control is for enabling variable bitrate on Vorbis streams." msgstr "" #: python/format.py:906 msgid "Postgain" msgstr "" #: python/format.py:907 msgid "3.0 dB" msgstr "" #: python/format.py:908 msgid "2.5 dB" msgstr "" #: python/format.py:909 msgid "2.0 dB" msgstr "" #: python/format.py:910 msgid "1.5 dB" msgstr "" #: python/format.py:911 msgid "1.0 dB" msgstr "" #: python/format.py:912 msgid "0.5 dB" msgstr "" #: python/format.py:920 msgid "A gain adjustment for the player to apply." msgstr "" #: python/format.py:928 msgid "CBR *" msgstr "" #: python/format.py:929 msgid "CVBR" msgstr "" #: python/format.py:930 msgid "VBR" msgstr "" #: python/format.py:931 msgid "" "Bitrate variability. Actual VBR operation may require a higher frame size." msgstr "" #: python/format.py:938 msgid "Frame Size" msgstr "" #: python/format.py:939 msgid "60 ms" msgstr "" #: python/format.py:940 msgid "40 ms" msgstr "" #: python/format.py:941 msgid "20 ms" msgstr "" #: python/format.py:942 msgid "A higher frame size may sound better on very low bitrates." msgstr "" #: python/format.py:949 msgid "CPU" msgstr "" #: python/format.py:952 msgid "The encoder complexity setting which affects CPU load." msgstr "" #: python/format.py:980 python/format.py:1083 msgid "Codec" msgstr "" #: python/format.py:981 msgid "Vorbis" msgstr "" #: python/format.py:982 msgid "FLAC" msgstr "" #: python/format.py:983 msgid "Speex" msgstr "" #: python/format.py:984 msgid "Opus" msgstr "" #: python/format.py:987 msgid "Codecs of the Ogg container." msgstr "" #: python/format.py:1033 msgid "96000 Hz" msgstr "" #: python/format.py:1034 msgid "88200 Hz" msgstr "" #: python/format.py:1035 msgid "64000 Hz" msgstr "" #: python/format.py:1036 python/format.py:1053 msgid "48000 Hz" msgstr "" #: python/format.py:1037 python/format.py:1054 msgid "44100 Hz" msgstr "" #: python/format.py:1038 msgid "32000 Hz" msgstr "" #: python/format.py:1039 msgid "24000 Hz" msgstr "" #: python/format.py:1040 msgid "22050 Hz" msgstr "" #: python/format.py:1041 msgid "16000 Hz" msgstr "" #: python/format.py:1042 msgid "12000 Hz" msgstr "" #: python/format.py:1043 msgid "11025 Hz" msgstr "" #: python/format.py:1044 msgid "8000 Hz" msgstr "" #: python/format.py:1045 msgid "7350 Hz" msgstr "" #: python/format.py:1067 msgid "The MP2 option requires IDJC be rebuilt against libtwolame." msgstr "" #: python/format.py:1070 msgid "Enable the MP3 option by installing libmp3lame." msgstr "" #: python/format.py:1073 msgid "The AAC options require IDJC be rebuilt against libav libraries." msgstr "" #: python/format.py:1076 msgid "" "Specific AAC support not present in libavcodec. More info: idjc.sourceforge." "net." msgstr "" #: python/format.py:1078 msgid "" "Specific AAC+ support not present in libavcodec. More info: idjc.sourceforge." "net." msgstr "" #: python/format.py:1081 msgid "Codecs of the MPEG family." msgstr "" #: python/format.py:1084 msgid "MP2" msgstr "" #: python/format.py:1085 msgid "MP3" msgstr "" #: python/format.py:1086 msgid "AAC" msgstr "" #: python/format.py:1087 msgid "AAC+ v2" msgstr "" #. TC: Codec family e.g. Xiph/Ogg, MPEG etc. #: python/format.py:1099 msgid "Family" msgstr "" #. TC: Xiph.org Ogg container format. #: python/format.py:1101 msgid "Xiph/Ogg" msgstr "" #: python/format.py:1102 msgid "MPEG" msgstr "" #: python/format.py:1103 msgid "Codecs have been grouped by standards body and or container format." msgstr "" #: python/format.py:1128 msgid "Capabilities" msgstr "" #: python/format.py:1140 msgid "Icecast" msgstr "" #: python/format.py:1140 msgid "Recordable" msgstr "" idjc-0.8.15/po/quot.sed0000644000175000017500000000023112461430153011535 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g idjc-0.8.15/po/boldquot.sed0000644000175000017500000000033112461430153012377 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.15/po/fr.gmo0000644000175000017500000023537312555351762011220 00000000000000T 0@@@@ @@ A6A-,B)ZB,B'B2B C C 8CDCwCVUDD|EEMFNFGG GGGG%G "HCH$HCHMSIS ^S7kS SSSSSSSS TT0T9T#HTlTTTTURVYVhV pV ~V&VVV gX qX |XXX4XX XYY/YDY]Y wY YYYYYYYYYYYZ ZZ"Z (Z 4Z@Z)YZ Z>Z ZZZZ ZZ[[\]']C]S]Z]k]']] ] ]]]]]^"^2^+8^d^!t^.^*^#^j_*___ _____` ` ` `=`F`U`u`~` ` ``` `` `````a a aa6aTab b!b4b CbPbUb]bcb lbzbb bXb`b^ccctc|ccccc0c ccd d!d %d0dHd^dpddddQd e0e?e7f Pf^gng6rg,g3g hh$h5hUh dh.phh hhBii i i i7i'j+j :j FjSj Uj _jmkj jjjk kk *k4k HkSk\k ckpk wk kkkk k k/k5lRJll lllllll`l `mjmqm vmm mm'm-m"n&&n MnYnKln nnn n9oRoao}oooooooo o o ooopH!pjpp%p#pp pqq qq+ qLqSq\qdq sq qqqqq/q qq qr rr8rRrWr`r erorrr1r rrrrrrrrs'sEs]s xs ss:ssst"t4tGt^tqttt t ttttt u#u5uLueu nu yu u uuuuuuv3vHv_v xvv v vvv vvvvvvw"w*w@w)Iwsw w xxxx !x ,x6x=x0Fxwx xxxxoy$z7z?z4Hz}z zzzzzz+z z {){8/{h{q{{ {e{9 |D|I|b|u|| |||?|[}(j} }n}h~w~ ~~~ ~~ ~~~/~\eu  +  ,;݀ & -9I^} $F1$݄(:?&"2jFbHv-'U*&"Qt*3Ǎ)Ŏ@.)-Ww&X-.%0TQ+ג :VP-Cwq3-~Ֆ0T]}5a 3֙u%1,͛Yq[uVѡ( .8=CJPXtʢݢ   ',4aeu} U  $',1 E4R Ǥդ%] c qb;:<٩, 2=$Z(-(4EkbΫQZ u ĭʭjs,0Į,"<Zq _ү/2 bn հ$w!#ϱ9*-'X+!β)2Fkdг'((:c| +#Ҵ#&A̶ <7E2}?36$[q t aѻrZV[@ S]s0Ӿ;ƿQ&T{JvV !(1G"+>+j 94EU.j / =EL] IT lzNL&6E_ o{   & 5?C  )0$D"i,- 3   7 EY hr.y#  %>TW gq  = -C: ~ #.92ls| @R*l4/@t=7 !:J PZ c"p& '7F,W  / 4> DNbw bkin 9 ' CP T`y_ O;\%A8?0x' #(LUh  6 + 7D F Rj`  1; P \ iw (,"6OL%  )7|O "#?#c) d;L,_,6 #,06>Ee ! T$5Z*c"& 7>E Tbq  8  !.*Cn ?, 1<D L V`}$*& +4:o!%4Li ! 3Rl}( %'B)j2"$& 6BG Wek(36<s  ! 0 : F0S 0jH  $.C V/` #H!9BzTP ',)T)~ +6 lC1suf    )::Qv< \iz4!!.,[c} '7 J X,bW$p+m>@z' Y^ r x O . @ @ 'Y    *<= 40E)vhwQ)2\6|g<Xi4nh *}4k08i,f*x? 1J.|g76y#x#c$[v$$ $$$$$ %% %0%@%Y%j%p%% % %% %)% %3%-&3&N&V& t&&&&M&''&')'.'3' I'3T'' ''''((!(- );))**** *-E-E-.9.?.Z.2t..+.././8$/&]///w/$+0&P0mw0011172V2g22273>3Y33n31343 4+'4S4j44 44#44b4,[5555)55 6&6%67, 7>M7$7*7'78+$8)P8<z888\9-y99(99 : :4:&R:,y:-:&:Gh{|^^ ^ cwfq2E QV=UT> Eb#+wFVjfoh d$PumT2/1i6Q7*MNb%U6Ar9,ij:]@!c$S3Dm4t`t+R\.[\Rn*gSp}?v`F#6l1eHm<@UiKZfu; L57y%tCS5L K0 C901hq3N4; W,s<z8 \:l T09p87H"vE}yP--d~{FBly_(g|dX`3O&Aj$8VWwuKN>/Zv-H ?n)(!JY&x"kD =J .kD<_#+AOseZ'|'.@ o[(x!"R{eYB}5bW=]?%)GXaI_YC]I&MOp4c;,GxL> a:'J[~*zrkroQaP~X/2s  IqMBzng) Additional Text Frames Stream %d Audio Tracks'%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)-- sub-command: auto -- mark a profile for auto-launch-- sub-command: ls -- list available profiles-- sub-command: new -- make a new profile-- sub-command: noauto -- remove auto-launch-- sub-command: rm -- remove profile(s)-- sub-command: run -- launch the idjc application<<< Fade across <<<<<< Transfer across <<<BoldReset all JACK port connections? All currently established connections will be lost and replaced with defaults.A 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 master level control for the media players.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 background musicAdd music to left playlistAdd music to right playlistAdd tracks to the playlist.Adjust byAdjust playback volume in dBAfter 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.Alarm LevelAlbumAlbum - [Disk] - TitleAllAll active recordings and radio streams will terminate.All active recordings will cease.All effectsAll file typesAll of the active radio streams will terminate.Alter valueAlternateAlternativeAlwaysAn 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. JACK freewheel mode will also be automatically disengaged.AnnouncementAnnouncementsAppendAppend CursorAppend at CursorApply dither to 16 bit PCM playbackArtistArtist - Album - TitleAssume the connection is beyond saving and reconnect.At connect:At start-up do not make any JACK connections. This option delegates all control over restored connections to the session handler.Audio FeedAudio input channelsAudio 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.BackSpaceBackground TracksBackground Tracks volume.Background playerBad TagBasic ControlsBasic StreamerBasic inputBestBiasBindingsBitrateBlock sizeBoost/Cut (dB)Both playersBrowseButton BarButton Open TriggersBy ExtensionCannot rename profile {0} to {1}, {1} currently exists.Catalog PathCatalogsChChannelChannel MetersChannel 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.ClosedCollapse tree.ColoursConfigurationConfigureConfirmation to quit IDJC is required.ConnectConnect to or disconnect from the radio server. If the button does not stay in, the connection failed for some reason. 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. 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.ConnectedConnectingConnectionConnection droppedConnection failed (try %d)Connection info for AOL instant messenger goes here.Contact DetailsContributorsControlCopyCopyright 2005-%s Stephen Fairchild and others.Could not write file %s.Create a new announcementCrossfadeCrossfaderCue UpCuesheet PlaylistCustom user agent stringCutoff FrequencyDJDJ Audio LevelDJ nameDJ-mix monitorDSPDatabaseDe-esserDeactivatedDefaultDelayDelay timesDescriptionDirect fader/held buttonDiscard audio data for as long as needed.DisconnectDisconnect whoever is using the server just before start time.DisconnectedDiskDisk %dDuckerDuplicateDurationEach 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 %sEffectEffect %d ConfigEffect play from startEffective only on newly started tracks.EffectsEffects %dEffects bankEffects bank 1Effects bank 2Effects set headroomEffects set volumeEffects stop manyEffects volume.EmptyEnable the main-player speed/pitch controlsEnable tooltipsEncoder Format Not Set/CompatibleEnd 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}.ExchangeExpand entire tree.ExtensionExternalExternal PlaylistExtra ShoutcastFadeFade 10sFade 5sFade OverFade audio before disconnecting.Fade outFadered playerFailed to create FULLTEXT indexFallbackFastFeature SetFetch Failed!FetchingFileFile TypeFilenameFilename:Fill channel meter void spaceFiltersFinishFocused playerForceFormatFormat StringFound Prokyon 3 schemaFound existing FULLTEXT indexFrequency 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.FromFrom HereFrom the album, %sFully FeaturedFuzzy SearchGainGeneralGenreGenre(s)Group ConnectGroup ControlsGroup DisconnectHF 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.HelpHigh Pass FilterHighestHoldHostnameHostname/IP addressHostname[:Port]ICQICQ 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 numbersIndicate which tracks have loudness metadataIndicates which mode IDJC will be in when launched.Individual ControlsInputInsert AttributeInsert Attribute or Colour CodeInsert controlInteractionInternet Relay Chat connection info goes here.IntervalInvert SignalIt 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.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.ItemJACK PortsJob droppedJump To TopKeep the reconnection dialogue box hidden at all times.KeyKeyboard pressKick SourceKick SourcesLLF DetailLast PlayedLeft click toggles between showing the amount of time elapsed or remaining on the current track being played.Left playerLevel adjustment (dB)LicenceLimiterListen URLListen for input...ListenersListening for inputLogin nameLoop AllLowestM3U playlistMANUALMIDI controlMIDI noteMIDI pitch-wheelMain Panel ButtonMain Panel Opener ButtonsMain PlayersMake 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.ManualManual startMaster server admin passwordMediumMessageMeta TagMetadataMetadata SourceMetadata normally updates only on song title changes but you can force an immediate update here.Metadata:MiddleMiscMiscellaneousMiscellaneous FeaturesMisconfiguredMixMix voice over IP audio to the DJ only.Mix voice over IP audio to the output stream.Modify or Delete this announcementModule mysql-python (MySQLdb) requiredMonitor MixMonitor Stream MixMostly useful issuing 'amixer' commands, in particular for setting capture.Mount pointMount point Move the crossfader fully left.Move the crossfader fully right.Move the crossfader to the middle of its range of travel.Music DatabaseMusic Loudness CompensationN/ANICKSERVNameNativeNetworkNeverNew profile based upon %sNew profile detailsNext trackNext track.NickServ p/wNicknameNo Channel Opener ButtonsNo FadeNo JACK ports will be connected except those listed in the session file.No Master Server ConfiguredNo NameNo Recorders Are Correctly ConfiguredNo Streams Are Currently ConfiguredNo compatible ports available.Noise GateNoneNormalNormal SpeedNoteOff when restarting IDJC and off initially.OffsetOn closeOn openOn stream downOn stream upOn targetOne-shot/toggle buttonOnly 12OpenOpenedOptional data entry field for information only.Other optionsOutputOutput MetersPASSWORDPLS playlistPanning load from presetsPartnered with channel %sPassPasswordPathPath PeelPause recording.Pause.PeakPerform operations on multiple servers in unison.Phase RotatorPlayPlay AllPlay.PlayerPlayer 1Player 2Player DJ output enablePlayer DJ-only switchPlayer Loudness NormalisationPlayer Resample QualityPlayer Settings At StartupPlayer StopPlayer Stop 2Player advancePlayer headroom that is applied when an effect is playing.Player 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 enablePlayersPlayers advancePlayers pass crossfadePlayers set crossfadePlayers set focusPlayers show pitchbendPlaying track {0} of {1}PlaylistPlaylist 1Playlist 2Playlist 3Playlist ModePlaylist advance buttonPlaylist edit tagsPlaylist insert announcePlaylist insert crossfadePlaylist insert jump to topPlaylist insert pitchunbendPlaylist insert stopPlaylist insert stop 2Playlist insert transferPopulatingPortPort numberPreferencesPrependPrepend CursorPrepend PathPrepend at CursorPresetsPressedPrevious track.Problem dropping connectionProcessed inputProfileProfile %s is active.ProfilesProkyon3 or Ampache (song title) DatabasePublish your radio station on a listings website. The website in question will depend on how the server to which you connect is configured.Quick panningQuietRR128RandomRandom HopReal nameRecordRecorderRecorder Filename (excluding the file extension)Recorder set recordingRecordersRecording Facility UnavailableRecording 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.0+.Reload the database.RemainingRemindRemoveRemove ContentsRenameable LabelsRepeatRepeat the sequence of delays indefinitely.ReplayGainReserve 24 sound effects slotsResetReset the JACK port connections to the default settings.ResponseRestore 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.SaveSave background playlistSave left playlistSave right playlistSearchSecond choiceSelect File TypeSelect the folder to record toSelect the origin for the playing track metadata on the stream.Select 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 this so that any unmarked tracks are playing at a roughly similar loudness level as the marked ones.Set toSet valueSettingShell CommandShiftingShoutcastShoutcast MasterShoutcast Stats/RelayShow a JACK freewheel control on the main panelShows a marker in the playlists next to each track. Either a green circle or a red triangle.Signal MatchingSimultaneous recording(s)Simultaneous stream(s)Single effectSingular controlSong nameSound an alarm when the music is due to endSourceStagesStart FullStart MiniStart playerStart recorderStart recording. 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.Status 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 or require a stereo source remain as stereo then this feature should be turned off. Paired channels should be set to 100% left/right unless narrowing of the stereo field is the intention.StopStop recordingStop recording.Stop streamingStop.StreamStream InfoStream recorderStream set connectedStreaming Facility UnavailableStreamsSupported Media FormatsSupported mediaTabbed AreaTargetTemporary 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 pan preset selection buttons. In the stereo image at a click the DJ can be on the left and a guest on the right and when the guest is gone at a click the DJ can be central again. Note: preconfiguration of pan preset settings is required.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 specifiers are $r for the number of the recorder with the rest being documented in the strftime man page. Users may wish to alter this to make filenames that are compatible with particular filesystems.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 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.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.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-irc.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 should be set for all buttons that control input from a live sound source or device.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:ThresholdTimeTimerTimer:TitleTo HereToggle JACK freewheel mode.Tooltips enableTotal number of tracks %dTotal play duration %sTrackTrack announceTrack time elapsedTrack time remainingTracks PlayedTransferTranslatorsTree fetch failedTrigger textTrim quiet song endings and trailing silenceTrkTroubleshootingUnknownUnrecognised databaseUntaggedUp-timeUpper LimitUse valueUseful for when microphones are cancelling one another out, producing a hollow sound.User NameUser nameVUViewVoIPVoIP DJ-only switchVoIP channelVoIP level adjustment. 0dB gain is at the mid point.VoIP output enableVoIP panning + mono downmixVoIP set balanceVoIP set gainVoIP set mixbackVoIP 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 selected this player will be treated like a main player. It will be affected by microphone ducking and won't mute when a main player is operating.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.WidthXChat 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 make certain media databases accessible in IDJC for easy drag and drop into the playlists.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.[Metadata suppressed]_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 serversauto failed: %scould not get a lock on profile {0}: {1}could not write file %sdescription_textdirectory does not exist: %se.g. 'L1:name' for a named Ladish [L1] session called 'name' -- refer to the idjc man page for more detailsfailed to create profile: %sfailed to delete profile: %sfailed to grab bus name -- another session by the same name appears to be runningforce the appearance or non-appearance of the profile chooser dialog -- when used with the -p option the chosen profile is preselectedgenreicon_pathnamekick sources on servers -- note that this will be done before any server connection attempts are madelist available profilesls failed: %smake a new profilemm:ssnew profile name -- will form part of the dbus bus/object/interface name and the JACK client ID -- restrictions therefore applynicknameno profile is setnoauto failed: %spathname to an icon -- defaults to idjc logoposition the crossfader for the specified playerproblem with specified session directory: %sprofile %s does not existprofile %s is already runningprofile does not existprofile name is badprofile_choiceprofile_namerecord dateremove auto-launchremove profile(s)run the main idjc application -- this is the default when no command line options are specifiedselect which profile is to automatically launchserver_namesession={type}:{name}session_detailsshow the version number and exitshow this help message and exitshow 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 commandspecified profile does not exist: %sspecified profile is not valid %stemplate_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 profile to make automaticthe profile to use -- overrides the user interface preferences "show profile dialog" optionthe profile(s) to removethe specified profile name is not validthe specified template '%s' is not validthe template profile '%s' does not existthe voip mode at startuptitletrack/totalunknown session type: %s: must be one of %suser interface settings{0} profile={1}:{2} settings saved.{0} session={1}:{2} settings saved.{numericid} [{source}] > [{directory}]Project-Id-Version: Report-Msgid-Bugs-To: putidjcinthesubjectline@bethere.co.uk POT-Creation-Date: 2015-07-27 07:47+0100 PO-Revision-Date: 2013-11-07 16:47+0000 Last-Translator: Language-Team: English Language: fr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: Lokalize 1.5 Plural-Forms: nplurals=2; plural=(n != 1); Champs texte additionnels Flux %d pistes audiocontrôle «%s»«Taille de block» indique la quantité de temps restant entre la piste en cours et le prochain arret. «Restant» indique le temps restant avant le prochain arret. «Fin» est le temps calculé lorsque la piste aura fini d'être lue.(Cue Sheet)-- sous-commande : auto -- rendre un profil auto-exécutable-- sous-commande : ls -- lister les profils disponibles-- sous-commande : new -- créer un nouveau profil--sous-commande : noauto -- supprimer le démarrage automatique-- sous-commande : rm -- supprimer un/des profil(s)-- sous-commande : run -- exécuter l'application idjc<<< Fondu en face <<<<<< Transfer en face <<<GrasRàZ de toutes les connexions aux ports JACK et remise aux paramêtres par défaut.Une connexion à un serveur radio a échouée. Aucune tentative de reconnexion ne sera faite.Une déconnexion pré-programmée du flux s'est produite.La connexion au serveur de l'onglet {servertab} a échouée. Une tentative de reconnexion sera effectuée dans {countdown} secondes. Ceci est la tentative {attempt} sur {maxtries}.Supprimer le profil «%s» et toutes ses données ? Les données du profil supprimé ne peuvent plus être retrouvées.Supprimer les données du profil «%s»? Le profil restera disponible avec les paramêtres initiaux.Erreur lors de la création du nouveau profil. %sErreur durant l'édition du profil : {0}. {1}Supprimer ce serveur de façon définitive? Cette action effacera aussi tous les messages associés.Sous-ligné>> Vitesse normale <<>>> Fondu en face >>>>>> Transfer en face >>>Un chemin vers un non-dossier existe à : «%s»Un Vumêtre pour le flux audio.Une liste de délais en secondes, séparés par une virgule, entre les tentatives de reconnexion. Notez que de mauvaises valeurs ou inférieures à 5 seront interprétées comme 5.Description de votre station.Un label décrivant brièvement le rôle de ce canal audio.Un limiteur prédictif. Les signaux audio sont bloqués à la limite supérieure.Un contrôle maitre pour les Lecteurs.Un indicateur de pic temporisé montrant la force du signal du micro et un autre indiquant le niveau d'atténuation dans le processeur de signal du micro. Vert indique une attenuation par la noise gate, Jaune par le de-esseur, Rouge par le limiteur.Un indicateur de pic temporisé montrant la force du signal du flux audio.Une table de serveurs auxquels se connecter. Seul le serveur maitre peut être ajouté dans le but de streaming. Tous les autres serveurs apparaitrons sous le serveur maitre pour les statistiques, qui peuvent être occultés par serveurs.Une fonctionalité utile à avoir activée lorsque l'on alloue des ouvreurs de canaux.AIMConcernant…Agir siActionAttivéeAjouter de la musiqueAjoutez ICI n'importe quel tag ID3. ex. : TIT2 : Titre alternatif Sera ajouté au TIT2 principal. Entrez des champs de texte personalisés comme ceci : TXXX:nimporte=quoi Pour plus d'information visitez www.id3.org.ajouter une musique de fondAjouter de la musique à la liste de gaucheAjouter de la musique à la liste de droiteAjouter des pistes à la listeAjuster parAjuste le volume de rendu en dBUn certain laps de temps après que le lecteur principal soit actif, l'indicateur de status de ce bouton commence à clignotter jusqu'à ce que le bouton soit fermé ou le lecteur arrêté.Niveau de l'alarmeAlbumAlbum - [Disque] - TitreToutTous les entregistrements et flux radio seront arrêtés.Tous les enregistrements sen cours seront arrêtés.Tous les effetsTout type de fichierTous les flux radio en cours seront arrêtés.Modifier la valeurAlternatifAlternatifToujoursUne alarme alerte le DJ lorsque la durée de diffusion restante atteint 9 secondes. Fonctionne également sur le monitoring mais la tonalité n'est pas diffusée sur le flux. Le mode freewheel de JACK est également désengagé automatiquement.AnnonceAnnoncesAprèsAjouter après le curseurAjouter après au curseurAppliquer un adoucissement au rendu 16 bits PCMArtisteArtiste - Album - TitreAssumer que la connexion est interrompue, se déconnecter et se reconnecter.A la connection :Ne pas se connecter à JACK au démarrage. Cette option délègue tout le contrôle des connexions à restaurer au gestionnaire de sessions.Audio FeedCanaux audio en entréeAudio vers DJAudio vers fluxSe connecter à une heure spécifique au format 24 heures, minuit étant 00:00Se déconnecter automatiquement à une heure spécifique au format 24 heuresRetour ArrièrePistes de fondVolume des pistes de fondLecteur de fondTag erronéContrôles de baseStreamer de baseEntrée de baseMeilleureBiasScorciatoieBitrateTaille de blockAugmenter/Couper (dB)Les deux lecteursParcourrirBarre de boutonsBouton TrieursPar extentionImpossible de renommer le profil {0} en {1}, {1} existe déjà.Chemin du CatalogueCataloguesChCanalCanal MêtresOuvreur de canalCanal Activer la sortieCanal Régler la balanceCanal Régler le gainCanal Régler le volumeCanauxCanaux/UtilisateursSélectionner un fichier de musique.Sélectionner un dossier de médiaSélectionner un fichier de liste de lectureSélectionner un fichier de liste de lecture.Sélection du dossier des sauvegardes Tous les noms de fichiers seront dans le format timestamp et auront soit oga mp3 ou flac comme extention. Important : vous devez sélectionner un dossier avec les permissions en écriture adéquates.Sélection du flux à enregistrer ou l'option 24 bits FLAC. Si le flux n'est pas en cours de lecture, l'encodage commencera automatiquement quels que soient les paramêtres actuellement configurés.FerméEnrouler l'arborescence.CouleursConfigurationConfigurerUne confirmation est nécessaire pour quitter IDJC.ConnecterSe connecter ou se déconnecter du serveur radio. Si le bouton ne reste pas enclanché, la connexion a échouée pour une raison quelconque. Si le bouton est grisé, cela indique que les paramêtres dans les sections «Connexion» et «Formats» sont soit incompatibles soit erronnées. Pour pouvoir fonctionner, un serveur maitre doit être spécifié et doit être capable de sélectionner le format du flux.ConnectéConnexionConnexionConnexion abandonnéeConnexion échouée (essayez %d)Informations de connexion au messager AOL viennent ici.Détails de contactCollaborateursContrôleCopierCopyright 2005-%s Stephen Fairchild et autres.Impossible d'écrire le fichier %s.Créer une nouvelle annonceCrossfaderCrossfaderPré-écouteListe de lecture cuesheetUser agent personnaliséFréquence de coupureDJNiveau audio DJNom du DJDJ-Mix MonitoringDSPBase de donnéesDe-esserDésactivéDéfautDélaisTemps de délaisDescriptionBouton fader/premutoLaisser tomber les données audio pour la durée nécessaire.DéconnecterDéconnecter tous ceux qui utilisent le serveur avant de démarrer.DisconnectéDisqueDisque %dAtténuateurDupliquerDuréeChacun de ces onglets représente une radio séparée. La couleur de la LED indique : Eteinte=Aucune connexion Jaune=En attente d'autentification. Verte=Connecté. Clignottante=Perte de paquet du à une mauvaise connexion.Chacun de ces onglets représente un enregistreur de flux. La couleur de la LED indique : Eteinte=Arret Jaune=Pause Rouge=Enregistrement.Chaque bouton d'ouverture possède une barre verticale pour le rendre plus visible. Ces paramêtre contrôlent cette apparence.Editer les contrôleursEditer les détails de la connexion au serveurModifier le profil %sEffetConfig effet %dEffet Lire depuis le débutEffectif uniquement pour les pistes nouvellement jouées.EffetsEffet %dBanque d'effetsEffets Banque 1Effets Banque 2Effets Régler le headroomEffets Régler le volumeEffets Arrèter plusieursVolume des effetsVideActiver les contrôles de tonalité/vitesse du lecteur principalActiver les bulles d'aideFormat d'encodage non défini/incompatibleTerminer les pistes contenant de long segments muetsElargir les fenêtres de temps écoulé/restantInsérer de nouveaux détails concernant la connexion au serveurSaisissez le nom du DJ ou de la station. Typiquement cette information sera affichée par les clients des Auditeurs.Erreur lors de la tentative de renommage de {0} en {1}.EchangerDévelopper l'arborescence.ExtentionExterneListe de lecture externeExtra ShoutcastFonduFondu 10sFondu 5sFondu dessusFondu audio avant la déconnexion.FonduLecteur affaibliEchec de la création de l'index TEXTEFallbackRapideListe de fonctionalitésEchec de la découverte!DécouverteFichierType de fichierNom du fichierNom du fichier :Remplir l'espace libre du vu-mêtre du canalFiltresFiniLecteur actifForcerFormatChaine de formatSchéma Prokyon 3 trouvéUn index TEXTE exite déjàLa fréquence en Hertz au dessus de laquelle l'audio peut passer à l'étape suivante. Utilisez cette fonctionalité pour restreindre les basses fréquencestelles que les humms. En paramêtrant un niveau trop haut, la voix sonnera aiguë.DepuisDepuis iciDe l'album, %sToutes les fonctionalitésRecherche floueGainGénéralGenreGenere(s)Connexion de groupeContrôles de groupeDéconnetion de groupeDétails HFPour démarrer automatiquement un enregistreur lorsqu'une connexion au serveur radio est établie.Pour avoir l'un des lecteurs qui démarre automatiquement lorsque la connexion au serveur radio a réussie.AideFiltre passe hautLa plus élevéeMaintenuNom de l'hôteHôte/Adresse IPHôte[:Port]ICQLes informations concernant le messager ICQ viennent ici.Sortie IDJCPréférences de IDJCGestionaire de profils IDJCTaggeur IDJCIRCServeur IRCMessages IRC vers le basMessages IRC vers le hautMessage IRC temporiséAnnonce de pistes IRCIcecast 2 MaitreIcecast 2 Stats/RelaisIcôneIdéalement mettez quelque chose même pour les serveurs permettant l'accès anonyme ou public.Si connectéSi la connexion est interrompue, se reconnecter au sserveurSi cette valeur est renseignée, tenter la récupération du pseudo IRC si nécessaire et se connecter grace à NickServ@services. L'utilisation des services NickServ nécessitent qu'un enregistrement préalable du pseudo ait été effectué avec un client IRC standard.Contrôle de liste de lecture ignoréDans IDJC il existe deux chemins et le contrôle «{0}» fait passer de l'un à l'autre. Lorsque «{1}» est actif, vous entendez ce que les auditeurs entendent effets du crossfader compris. «{0}» doit être positionné sur «{2}» pour pouvoir utiliser la fonctionalité VoIPDans le mix du DJIndexIndique le numéro de boutton et les numéros de canaux associésIndique quelles pistes ont une métadonnée de Loudness.Indique quel sera le mode de IDJC au démarrage.Contrôles individuelsEntréeInsérer un attributInsérer un attribut ou un code couleurInsérer un contrôleInterractionLes informations d'IRC viennent iciIntervalInvercer le signalIl peut ne pas être souhaitable d'utiliser le volume par défaut puisqu'il est plutot bas. Il doit se situer 4 ou 5 dB plus haut que le réglage de Gain Replay.Il peut ne pas être souhaitable d'utiliser le volume par défaut puisqu'il est plutot bas. Il doit se situer 4 ou 5 dB plus bas que le réglage du R128.ElémentPorts JACKTâche abandonnéeRetour en hautLaisser la boite de reconnexion cachée tout le temps.ToucheTouché du clavierKick SourceKick SourcesGDétails LFDernière lueClic à gauche pour afficher le temps écoulé ou le temps restant pour la piste en cours de reproduction.Lecteur de gaucheAjustement des niveaux (dB)LicenceLimiteurURL d'écouteEcouter sur l'entrée…AuditeursLecture de l'entréeNome utenteTout bouclerLa plus basseListe de lecture M3UMANUELContrôle MIDINote MIDITonalité MIDIBoutton du paneau principalPanneau principal des boutons d'ouvreursLecteur principalRendre publiqueRendre la sortie de ce lecteur audible au DJRendre la sortie de ce lecteur disponible pour le fluxRendre le micro audio audible dans le mix DJ. Ce n'est pas toujour désiré.ManuelDépart manuelMot de passe administrateur principalMoyenneMessageMéta TagMétadonnéesSource de métadonnéesLes métadonnées se mettent à jour lorsque le titre change mais vous pouvez aussi forcer leur mise à jour immédiate ici.Metadonnées :MilieuDiversDiversFonctionalités diversesMal configuréMixMixe l'audio VoIP uniquement au DJMixe l'audio VoIP au flux de sortieModifier ou supprimer cette annonceModule mysql-python (MySQLdb) nécessaireMonitor MixMoniteur du stream MixéPratique principalement avec les commandes de «amixer», en particulier pour configurer la capture.Point de montagePoint de montage Déplacer le crossfader totalement à gaucheDéplacer le crossfader totalement à droiteDéplacer le crossfader au point milieu de son chemin.Base de donnée musicaleCompensation LoudnessS/ONICKSERVNomNatifRéseauJamaisNouveau profil basé sur «%s»Détails du nouveau profilPiste suivantePiste suivanteMdP NickServPseudoAucun bouton d'ouverture de canalAucun FonduAucun autre port JACK que ceux listés dans le fichier de session ne sera connecté.Aucun serveur maitre n'es configuréSans nomAucun enregistreur configuré correctementAucun flux actuellement configuréAucun port compatible n'est disponibleNoise GateAucuneNormalVitesse normaleNoteArrêté au redémarrage de IDJC et Arrêté au départOffsetA la fermetureA l'ouvertureEn fin de fluxEn début de fluxDestinationBouton One-shot/CommuterSeulement 12OuvrirOuvertChamp de donnée optionelle pour information uniquement.Autres optionsSortieSortie MêtresMOT DE PASSEListe de lecture PLSPlacement chargé depuis la présélectionAssocier au canal %sPasserMot de passeRépertoireChemin supprimableEnregistrement en pausePausePickEffecter des opérations simultanément sur plusieurs serveurs.Rotacteur de phaseLireTout jouerLectureLecteurLecteur 1Lecteur 2Lecteur DJ Activer la sortieLecteur Commuter DJ seulNormalisation du Loudness du lecteurQualité de rééchantillonnage du lecteurConfiguration de démarrage du lecteurArret lecteurArret Lecteur 2Lecteur AvanceHeadroom appliqué au lecteur quand un effet est lu.Lecteur Lire suivanteLecteur Lire précédenteLecteur Reprendre au débutLecteur Lecture/pauseLecteur Sélectionner la suivanteLecteur Sélectionner la précédenteLecteur Régler la balanceLecteur Régler le gainLecteur Régler la tonalitéLecteur Régler le volumeArret lecteurArret Lecteur 2Lecteur de flux Activer la sortieLecteurLecteur AvanceLecteurs Effectuer un crossfaderLecteurs Régler le crossfaderLecteur Régler le focusLecteurs Afficher la tonalitéLecture piste {0} sur {1}Liste de lectureListe de lecture 1Liste de lecture 2Liste de lecture 3Mode de la liste de lectureBouton d'avance dans la liste de lectureListe de lecture Editer les tagsListe de lecture Insérer une annonceListe de lecture Insérer un crossfaderListe de lecture Insérer un saut en hautListe de lecture Revenir à la tonalité originaleListe de lecture Insérer un arretListe de lecture Insérer un arret 2Liste de lecture Insérer un transfertPopularitéPortNuméro du portPréférencesAvantAjouter avant le curseurChemin PréfixeAjouter avant au curseurPrésélectionsPresséPiste précédenteProblème lors de l'abandon de la tâcheIngresso elaboratoProfilLe profil %s est actif.ProfilesBase de donnée Prokyon3 ou Ampache (titre de chanson)Publier votre station sur le site de liste. Le site en question dépends de la configuration du serveur auquel vous vous connectez.Panoramique rapideMuetDR128AléatoireHop aléatoireNom réelEnregistrerEnregistreurNon du fichier d'enregistrement (sans extention)Enregistreur EnregistrementEnregistreursFonctionalités d'enregistrement non disponiblesTemps d'enregistement écoulé.Réduit les sons S, T et P que les micros ont tendance à exagérer. Idéallement le contrôle du Bias sera mis très bas de façon à ce que le de-esseur soit inopérant lorsqu'il y a du silence mais suffisament haut pour que les clics de la souris soient détectés et éliminés.Réduit les sons faibles non désirés et le bruit de fond que vous ne désirez transmettre aux auditeurs.Gain relatif (dB)RelâcheRelachéDistribué selon les termes de la Licence Publique Générale GNU, V2.0+Recharger la base de donnéesRestantSe rappelerSupprimerSupprimer le contenuLabels renommablesRépéterRépéter la saquence de délais indéfiniment.Gain ReplayRéserver 24 slots d'effets sonoresRàZForcer toutes les connexions aux ports JACK à leur valeurs par défaut.RéponseRestaurer la session précédenteInverséLecteur de droiteExécuter dans le mode fonctionalités réduites qui utilise moins de puissance CPU et utilise moins d'espace à l'écran.Exécuter dans le mode toutes fonctionalités qui utilise plus de puissance CPU.SauvegarderSauvegarder la liste de lecture de fondSauvegarder la liste de lecture de gaucheSauvegarder la liste de lecture de droiteRechercheSecond choixSélectionner le type de fichierSélection du dossier pour l'enregistrementSélectionner l'origine pour la piste de métadonnéesChoisir cette option pour avoir des boutons de fader indépendants pour les lecteurs de gauche et de droite.Séparrer les curseurs de volume gauche et droiteType de serveurA configurer au cas ou le serveur ou le pare-feux refuse spécialement d'autoriser les clients basés sur libshout.Cocher pour que toutes les pistes non taggés soient jouées approximativement au même volume que celle qui le sont.Régler àRégler la valeurParamètresCommande ShellAltérationShoucastShoutcast MaitreIcecast 2 Stats/RelaisAfficher le contrôle rouelibre de JACK en page principaleAffiche un marqueur à côté de chaque piste dans les listes de lecture. Soit un cercle vert, soit un triangle rouge.Correspondance de signalEnregistrement(s) simultané(s)Transmission(ws) simultanée(s)Effet uniqueContrôle uniqueChansonJouer une alarme lorsque la musique arrive à sa finSourcePassesDémarrer avec toutDémarrer avec le minimumDémarrer le lecteurDémarrer l'enregistreurDémarrer l'enregistrement Si le bouton est grisé, cela signifie soit que les paramêtres d'encodage ne sont pas corrects ou que les permissions d'écriture ne sont pas obtenues pour le dossier de destination.Apparence de l'indicateur d'étatPanoramique StéréoLa panoramique stéréo est une sélection ou une source audio se situe plus ou moins à gauche ou a droite par rapport au mix stéréo. Ce contrôle garde une puissance audio constante sur toute sa plage, en donnant une atténuation de -3dB sur les deux canaux au point milieu. Si vous voulez obtenir 0dB au point milieu ou si vous voulez maintenir la stéréo de la source, cette fonctionalité doit être désactivée. L'appairage des canaux doit être laissé à 100% gauche/droite à moins que la réduction du champ stéréo ne soit votre intention.StopperArret de l'enregistrementArrêter l'enregistrementArret du fluxArretFluxInformations sur le fluxEnregistreur de fluxFlux ConnecterFonctionalités de flux non disponiblesFluxFormats de média supportésMédia supportatéZone tabuléeObiettivoEchec de la création du dossier temporaire.TexteLe ventail «%s» détermine comment l'entrée est gérée et quels en sont les effets.L'URL de votre station. Ceci ainsi que les informations suivantes sont destinées à l'affichage sur un site listant les stations.Le taux de headroom nécessaire (dB)Le bouton sera regroupé avec les autres ouvreurs de micro. Il sera affecté par les signaux de fermeture de micro. Les canaux associés à ce bouton seront mixés différamment lors de l'utilisation des modes VoIP.Le profil choisi ent en cours d'exécution.Le nombre total d'auditeurs dans tous les onglets de serveurs.Liste séparée par des virgules des canaux et/ou utilisateurs à qui ce message est destiné. Les canaux protégés sont inclus sous la forme : #canal:motclefLe plan d'action lorsque le tampon de streaming est plein est…Les contrôles pour configurer un flux.Le crossfaderProfil par défautDélais pour ce message. Typiquement les clients des auditeurs temporisent à peu près 10 secondes de données audio ce qui signifie qu'il lisent le flux après cette émission et que sans délais, les messages IRC apparaitraient quelques secondes avant l'audio. Ce paramêtre permet de synchroniser les changements de pistes avec le message.L'aténuateur réduit automatiquement le niveau du lecteur audio lorsque le DJ parle. Ces paramêtres permettent l'ajustement de la durée de l'affaiblissement audio.Texte de remplacement lorsque les métadonnées %r %t %l ne sont pas disponibles. voir Chaine de format à gauche.La première moitiée d'une liaison est l'entrée qui arrive sous la forme d'une pression sur une touche du clavier ou un évènement midi. La sélection peut se faire manuellement ou à l'aide de l'option «%s».Le headroom est le taux de réduction en dB appliqué au volume du lecteur quand ce lanceur est activé. Notez que la valeur utilisée sera la plus élevée parmis celles des bouttons activés.Interval en secondes des messages temporisés.Le message à envoyer. Dans la fenêtre de pop-up (clic droit) se trouvent quelques options utiles pour les métadonnées et le formatage du texte. La fenêtre ci-dessous affiche comment le message apparaitra aux utilisateurs de XChat XChat2 ou HexChat.Genres musicaux offerts.Le nouveau nom de profil n'est pas bon.L'icône d'ouverture.Texte des boutons d'ouvertureLes boutons de présélection de panoramique. Dans une image stéréo en 1 clic le DJ peut se situer à gauche et l'invité à droite et dès que l'invité part, en 1 click le DJ peut se retrouver de nouveau au centre. Note : Une préconfiguration des présélections est nécessaire.Le dossier du profil «%s» existe déjà.La taille du profil est trop importante (max %d caractères)Le nom réel à utiliser, sera disponible que la connexion au réseau soit ou non établie en utilisant le pseudo principal. Remplissez le par quelque chose.Mode de traitement du signalLe modèle «%s» n'est pas bon.Les spécifications sont $r pour le numéro d'enregistrement, le reste étant documenté dans la page de manuel de strftime. Les utilisateurs peuvent modifier ceci pour rendre les noms de fichiers compatibles avec certains systèmes de fichiers.Le niveau de volume à envoyer à la connexion VoIP.Nombre total d'auditeurs pour cet onglet serveurLe modèle de profil «%s» n'existe pas.Les fenêtres de temps écoulé/restant n'apparaissent parfois pas assez larges pour contenir tout le texte pour cause de DPI inabituel ou d'un moteur de rendu différent. Cette option peut remédier à ce défaut.Durée en secondes que le crossfader met à passer automatiquement lors d'un appuis sur le bouton droit.Offset de temps dans l'interval spécifié après lequel le message sera envoyé.Contrôle de volume du lecteur de gauche.Le Volume du lecteur de droite.Le contrôle de volume partagé par les deux lecteurs.Ces contrôles sont mis à disposition pour obtenir une correction de gain convenable entre les micros.Ces paramêtres ne prennent effet qu'après un redémarrage.Troixième choixCeciAjuste la vitesse de reproduction entre 25% et 400%.Ajuste la qualité de la méthode de rééchantillonnage audio utilisée lorsque la fréquence du fichier lu ne corresponds pas à celle nécessaire au serveur JACK. Les meilleurs modes offrent une meilleur qualité sonore mais consoment aussi plus de puissance CPU (non recommendé pour les systèmes d'avant 2006). Tous ces modes donne une qualité correcte.Ceci ajuste le niveau du son de l'alarme DJ. Normalement ce doit être aux alentours du niveau audio du DJ lorsque la fonction «%s» est utilisée, ou sinon un petit peu plus fort.Ajuste le niveau sonore du canal audio DJ.Ce bouton fait passer le crossfader vers le côté opposé à la vitesse déterminée par le sélecteur de vitesse à gauche.Ce bouton doit être utilisé comme ouvreur de microCe bouton avance dans la liste de lecture en s'arrêtant entre chaque piste. La liste de lecture en cours est définie par l'emplacement du crossfader.Ce bouton clignottera pour rappeler de le fermerContrôle l'allocation des boutons Ouvrir/DéMuter du paneau principal. Avoir un bouton pour contrôler plusieurs micro peut faire gagner du temps.Contrôle le taux de fondu entre les pistes.Cette fonctionalité peut augmenter légèrement la qualité lors de l'écoute sur une carte son 24bitCette fonctionalité traite le micro pour qu'il paraisse plus présent. Cet effet est plus audible avec les voix mâles.Cette fonctionalité nécessite l'installation de python-irclibIndique l'état des différents flux. Clignottant indique que des paquets du flux sont écartés à cause d'une congestion du réseau. Partiellement rouge signifie que le tampon d'émission est partiellement plein, indiquant des difficultés de comunication avec le serveur. Vert indique que tout va bien.Tentative %d. Il n'y a aucune limite d'essais.Pour kick et stats des serveyurs maitres Soutcast ayant un mot de passe d'administration. Pour ceux n'en possédant pas, laissez vide (le mot de passe de la source est suffisant pour eux)Cette option fait apparaitre quelques widgets sous les listes de lecture pour permettre l'ajustement de la vitesse entre 25 rt 400% ainsi qu'un bouton vitesse normale.Sélectionne le type de courbe de réponse du crossfader. Les atténuations au point milieu sont respectivement -3dB, 0dB et -22dB Ce serveur doit être scanné pour les stats d'audienceRemet la vitesse de reproduction à sa valeur normale.Configure le mode de la liste de lecture définissant le fonctionnement du lecteur après qu'une piste ait finie d'être lue. «Lire tout» est le mode le plus universel puisqu'il permet l'utilisation des élements de contrôle disponibles dans le menu contextuel accessible par un clic droit sur la liste de lecture. Lorsqu'aucun élément de contrôle n'est présent, les pistes sont lues de manière séquentielles jusqu'à la fin de la liste de lecture après quoi le lecteur s'arrète. «Boucler» les pistes sont jouées séquentiellement jusquà la fin de la liste de lecture, après quoi le liste est relue depuis le début. «Aléatoire» rends la liste de lecture infinie, avec les pistes choisies au hazard. «Manuel» le lecteur s'arrête à la fin de chaque piste. «Suivante» comme pour «Manuel» mis à part que la piste suivante est sélectionnée. «Externe» prend les pistes depuis une autre liste de lecture ou un autre dossier, l'une après l'autre. Utile pour diffuser de grandes listes de lecture. «Alternatif» Sélectionne la piste suivante avant de démarrer le lecteur opposé. Le crossfader est activé. «Crossfader» Le passage au lecteur opposé est effectué après chaque piste. «Emprun Aléatoire» Prends une piste au hazard dans la liste de lecture opposée.Doit être configuré pour chacun des boutons contrôlant l'entrée du son en direct d'une source ou d'un périphérique.Ce curseur agit à la fois comme indicateur de progression et comme positionneur dans la piste en cours de reproduction.Déconnectera tous ceux qui utilisent le serveurs, le libérant ainsi pour une utilisation privée.Ce que vous lisez actuellement est une bulle d'aide. Cette fonctionalité les dés/active. Ceci :ProfondeurDuréeTimerTimer :TitreJusqu'iciCommutateur du mode rouelibre de JACKBallons ActiverNombre de piste total %dDurée totale %sPisteAnnonce des pistesTempo écouléTemps restantPistes luesTransferTraducteursEchec de la découverte de l'arborescenceTexte TriggerEliminer les silences de début et de fin de pistesPisteRésolution des problèmesInconnuBase de données non reconnueNon taggéDurée d'activitéLimite supérieureUtiliser la valeurUtile lorsque les micros s'annulent mutuellement provoquant un son caverneux.Nom utilisateurNom utilisateurVUVoirVoIPVoIP DJ-Seul CommuterCanal VoIPAjustement du niveau VoIP. 0dB est le point milieu.VoIP Activer la sortiePlacement VoIP + réduction monoVoIP Régler la balanceVoIP Régler le gainVoIP Régler le retourVoIP Régler le volumeWHEREQuand un pseudo est déjà utilisé sur le réseau IRC, ces pseudos sont testés les uns après les autres puis une seconde fois en y ajoutant un sous-ligné jusqu'à ce la fin. Cela donne à IDJC un maximum de neuf pseudos à tenter.Quand il est ouvert, ferme les autres boutonsLorsqu'il est choisi, ce lecteur agis comme le lecteur principal/ Il est affecté par l'aténuation par le micro et ne se mute pas lorsque le lecteur principal est en fonction.Au démarrage de IDJC la plupart des paramètres de la fenêtre principale resteront comme vous les aviez laissés. Comme alternative, vous pouvez spécifier ci-dessous comment ils doivent être initialisés.LargeurCommande XChatListe de lecture XSPFAnnéeVous pouvez entrer un texte pour accompagner le flux et y spécifier des emplacements pour les noms d'artiste, de titre, d'album et de chanson, %r %t %l %s, ou laisser ce champ vide pour utiliser les métadonnées par défaut. Le nom de la chanson (%s) est dérivé du nom de fichier en cas d'absence ou d'insuffisance de métadonnées, alors que les autres emplacements utiliseront le texte de remplacement à droite. Lorsque ce champ est vide, les flux Ogg utiliseront les tags standards vorbis et les mp3 utiliseront %s.Vous pouvez rendre certaines bases de données accessibles dans IDJC pour plusde facilités lors des glisser/déposer dans les listes de lecturesVous pouvez l'utiliser pour augmenter le taux de basses dans l'audio.Vous pouvez l'utiliser pour augmenter le taux d'aiguës dans l'audio.[Métadonnée supprimmée]_Auto_Réessayer immédiatementune description du profilun chemin vers un non-dossier existe à : «%s»albumun profil existant à prendre comme modèleartistetenter de se connecter aux serveurs spécifiésEchec de auto : %simpossible d'obtenir le vérouillage du profil {0} : {1}impossible d'écrire le fichier «%s»texte_descriptifle dossier n'existe pas : %s'ex. : «L1:name» pour une session Ladish [L1] appelée «name» -- voir la page de manuel d'idjc pour plus de détailsEchec de la création du profil : %sEchec de la suppression du profil : %sEchec de l'enregistrement du nom dans dbus -- une autre session utilisant ce nom semble déjà être en coursforcer l'apparition/non apparition de la boite de sélection de profil -- lorsque utilisé avec l'option -p le profil choisi est pré-sélectionnégenrechemin_des_icônesBalancer les sources sur les serveurs -- notez que ceci sera fait avant que toute tentative de connection ne soit effectuéelister les profils disponiblesEchec de ls : %scréer un nouveau profilmm:ssnouveau nom de profil -- fera partie du nom bus/object/interface pour dbus ainsi que de l'ID du client JACK -- donc certaines restrictions s'appliquentpseudoaucun profil sélectionnéEchec de noauto : %schemin vers une icône -- par défaut, le logo idjcposition du crossfader pour le lecteur spécifiéproblème avec le dossier de session spécifié : %sle profil «%s» n'existe pasle profil «%s» est en cours d'utilisationle profil n'existe pasmauvais nom de profilsélection du profilnom_du_profildate d'enregistrementsupprimer le démarrage automatiquesupprimer un/des profil(s)exécuter l'application idjc principale -- c'est le défaut lorsqu'aucune option n'est spécifiéeSélection du profil chargé automatiquementnom_du_serveursession={type}:{name}Détails de la sessionAfficher le numéro de version et quitterAfficher cette aide et quitterAfficher ce message d'aide et quitter -- plus d'aide est disponible pour chacune des sous-commandes, par exemple : « %(prog)s run --help » affiche l'aide concernant la commande runle profil spécifié n'existe pas : %sle profil spécifié n'est pas bon %sprofil_modèleéchec de la création du dossier temporairenom alternatif du profil pour la barre de titre de la fenêtreCanaux audio à ouvrir au démarragele profil choisi est en cours d'exécutionNom du serveur Jack auquel se connecterLe nouveau profil n'est pas bonle profil «%s» est en cours d'utilisationle dossier du profil «%s» existe déjàla taille du profil est trop importante (max %d caractères)Profil à rendre automatiqueProfil à utiliser -- remplace l'option des préférences de l'interface utilisateur «afficher le sélecteur de profils»le(s) profil(s) à supprimerLe nom de profil spécifié n'est pas correctle modèle «%s» n'est pas bonLe modèle de profil «%s» n'existe pasLe mode voip au démarragetitrepiste/totaltype de session inconnu : %s : doit être l'un de %sParamêtres de l'interface utilisateur{0} profil={1}:{2} paramêtres sauvegardés.{0} session={1}:{2} paramêtres sauvegardés.{numericid} [{source}] > [{directory}]idjc-0.8.15/po/POTFILES.in0000644000175000017500000000060212457156666011652 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 python/format.py idjc-0.8.15/po/Makefile.in.in0000644000175000017500000003744212461430153012540 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.15/po/ChangeLog0000644000175000017500000000073612220016605011627 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.15/po/en@boldquot.header0000644000175000017500000000247112461430153013506 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.15/aclocal.m40000644000175000017500000016321712555351750011321 00000000000000# generated automatically by aclocal 1.13.4 -*- Autoconf -*- # Copyright (C) 1996-2013 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_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) 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-2013 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.13' 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.13.4], [], [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.13.4])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-2013 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-2013 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-2013 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-2013 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], [{ # Older Autoconf 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"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2013 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.65])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.]) 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 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro 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-2013 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-2013 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-2013 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-2013 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-2013 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 is modern enough. # If it is, 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 --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Copyright (C) 2003-2013 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 we are no longer going to remove this! adjust warning dnl FIXME message accordingly. 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 ]) # -*- Autoconf -*- # Obsolete and "removed" macros, that must however still report explicit # error messages when used, to smooth transition. # # Copyright (C) 1996-2013 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. AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], ['$0': this macro is obsolete. You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl AC_CONFIG_HEADERS($@)]) AC_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc AC_DIAGNOSE([obsolete], ['$0': this macro is obsolete. You should simply use the 'AC][_PROG_CC' macro instead. Also, your code should no longer depend upon 'am_cv_prog_cc_stdc', but upon 'ac_cv_prog_cc_stdc'.])]) AC_DEFUN([AM_C_PROTOTYPES], [AC_FATAL([automatic de-ANSI-fication support has been removed])]) AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2013 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-2013 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-2013 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-2013 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) 2009-2013 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_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2013 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-2013 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-2013 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}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} 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.15/config.guess0000755000175000017500000012536012555760642012002 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright 1992-2015 Free Software Foundation, Inc. timestamp='2015-03-04' # 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 3 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. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # 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 # # Please send patches to . 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 1992-2015 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|GNU/*) # If the system lacks a compiler, then just pick glibc. # We could probably try harder. LIBC=gnu eval $set_cc_for_build cat <<-EOF > $dummy.c #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #else LIBC=gnu #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` ;; 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=`(uname -p 2>/dev/null || \ /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 ;; earmv*) arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'` endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'` machine=${arch}${endian}-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*|earm*|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 # Determine ABI tags. case "${UNAME_MACHINE_ARCH}" in earm*) expr='s/^earmv[0-9]/-eabi/;s/eb$//' abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"` ;; 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}${abi}" 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/lslpp ] ; then IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` 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 ;; *: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 ;; arc:Linux:*:* | arceb:Linux:*:*) 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 ;; e2k:Linux:*:*) echo ${UNAME_MACHINE}-unknown-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; } ;; openrisc*:Linux:*:*) echo or1k-unknown-linux-${LIBC} exit ;; or32:Linux:*:* | or1k*: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 ;; ppc64le:Linux:*:*) echo powerpc64le-unknown-linux-${LIBC} exit ;; ppcle:Linux:*:*) echo powerpcle-unknown-linux-${LIBC} exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux-${LIBC} 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:*:*) eval $set_cc_for_build X86_64_ABI= # If there is a compiler, see if it is configured for 32-bit objects. if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_X32 >/dev/null then X86_64_ABI=x32 fi fi echo x86_64-unknown-linux-gnu${X86_64_ABI} 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 eval $set_cc_for_build if test "$UNAME_PROCESSOR" = unknown ; then UNAME_PROCESSOR=powerpc fi if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then 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 case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi fi elif test "$UNAME_PROCESSOR" = i386 ; then # Avoid executing cc on OS X 10.9, as it ships with a stub # that puts up a graphical alert prompting to install # developer tools. Any system running Mac OS X 10.7 or # later (Darwin 11 and later) is required to have a 64-bit # processor. This is not true of the ARM version of Darwin # that Apple uses in portable devices. UNAME_PROCESSOR=x86_64 fi 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 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.15/Makefile.am0000644000175000017500000000374112467125155011510 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 idjc.appdata.xml.in.in nodist_appmenu_DATA=${PACKAGE_NAME}.desktop appmenudir=${prefix}/share/applications nodist_appdata_DATA=${PACKAGE_NAME}.appdata.xml appdatadir=${datadir}/appdata nodist_pkgdata_DATA=buildinfo ${PACKAGE_NAME}: idjc.in @sed -e 's|$${prefix}|${prefix}|g' -e 's|$${pkglibdir}|${pkglibdir}|g' $? >$@ ${PACKAGE_NAME}.desktop: idjc.desktop.in @sed -e 's|$${prefix}|${prefix}|g' -e 's|$${exec_prefix}|${exec_prefix}|g' $? >$@ ${PACKAGE_NAME}.appdata.xml: idjc.appdata.xml.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 $? >$@ buildinfo: if GIT_VERSION_CONTROL echo Commit hash: $$(git log -n1 "--pretty=format:%H") > buildinfo echo Commit date: $$(git log -n1 "--pretty=format:%aD") >> buildinfo echo Repo status: $$(if test -z "$(git status --porcelain) 2>&1" ; then echo "clean" ; else echo "dirty" ; fi) >> buildinfo echo Remote URL: $$(git config --get remote.origin.url) >> buildinfo echo >> buildinfo else rm buildinfo endif echo Build date: $$(date -R) >> buildinfo clean-local: rm -f buildinfo ChangeLog.gz README.gz NEWS.gz AUTHORS.gz ${PACKAGE_NAME}.desktop ${PACKAGE_NAME}.appdata.xml ${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: buildinfo dtdist sfpublish ${PACKAGE_NAME} ${PACKAGE_NAME}.desktop ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = config.rpath m4/ChangeLog