butt-0.1.26/0000775000175000017500000000000013770656734007603 500000000000000butt-0.1.26/missing0000775000175000017500000001533013751456251011113 00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2013-10-28.13; # UTC # Copyright (C) 1996-2014 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 'autom4te' 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: butt-0.1.26/src/0000775000175000017500000000000013770656734010372 500000000000000butt-0.1.26/src/port_audio.h0000664000175000017500000000356013770206736012625 00000000000000// audio functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef PORT_AUDIO_H #define PORT_AUDIO_H #include #include #include #include "lame_encode.h" typedef struct { char *name; int dev_id; int sr_list[10]; //8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 0 int num_of_sr; int num_of_channels; int left_ch; //<- implementieren int right_ch; }snd_dev_t; enum { SND_STREAM = 0, SND_REC = 1 }; extern bool try_to_connect; extern bool pa_new_frames; extern bool reconnect; extern bool next_file; extern bool silence_detected; extern bool signal_detected; extern FILE *next_fd; int *snd_get_samplerates(int *sr_count); snd_dev_t **snd_get_devices(int *dev_count); void *snd_rec_thread(void *data); void *snd_stream_thread(void *data); void snd_close(void); void snd_update_vu(void); void snd_start_stream(void); void snd_stop_stream(void); void snd_start_rec(void); void snd_stop_rec(void); void snd_reinit(void); int snd_init(void); int snd_open_stream(void); int snd_write_buf(void); void snd_reset_samplerate_conv(int rec_or_stream); int snd_callback(const void *input, void *output, unsigned long frameCount, const PaStreamCallbackTimeInfo* timeInfo, PaStreamCallbackFlags statusFlags, void *userData); #endif butt-0.1.26/src/butt.manifest0000664000175000017500000000071313663226731013010 00000000000000 butt-0.1.26/src/AskForMicPermission.m0000664000175000017500000000363313755440042014346 00000000000000// // AskForMicPermission.m // butt // // Created by Daniel Nöthen on 26.09.20. // Copyright © 2020 Daniel Nöthen. All rights reserved. // #import #import #import #import #import "gettext.h" void showAlert() { dispatch_async(dispatch_get_main_queue(), ^{ NSAlert *alert = [[NSAlert alloc] init]; [alert setMessageText:@(_("Microphone access"))]; [alert setInformativeText:@(_("butt needs access to your microphone\nPlease go to\nSystem Preferences->Security & Privacy->Privacy->Microphone\nand activate the check mark next to the butt entry"))]; [alert addButtonWithTitle:@"Ok"]; [alert runModal]; }); } void askForMicPermission() { if (@available(macOS 10.14, *)) { // Request permission to access the camera and microphone. switch ([AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeAudio]) { case AVAuthorizationStatusAuthorized: { break; } case AVAuthorizationStatusNotDetermined: { // The app hasn't yet asked the user for microphone access. [AVCaptureDevice requestAccessForMediaType:AVMediaTypeAudio completionHandler:^(BOOL granted) { if (granted) { } else { showAlert(); } }]; break; } case AVAuthorizationStatusDenied: { // The user has previously denied access. showAlert(); return; } case AVAuthorizationStatusRestricted: { showAlert(); // The user can't grant access due to restrictions. return; } } } } butt-0.1.26/src/CurrentTrackOSX.h0000664000175000017500000000126613663226731013460 00000000000000// // CurrentTrackOSX.h // butt // // Created by Melchor Garau Madrigal on 8/7/15. // Copyright (c) 2015 Daniel Nöthen. All rights reserved. // #import /** * Gets the current track from iTunes in a string formated as: * TITLE - ARTIST, or NULL if iTunes is closed or stopped. */ const char* getCurrentTrackFromiTunes(); /** * Gets the current track from Spotify in a string formated as: * TITLE - ARTIST, or NULL if Spotify is closed or stopped. */ const char* getCurrentTrackFromSpotify(); /** * Gets the current track from VOX in a string formated as: * TITLE - ARTIST, or NULL if VOX is closed or stopped. */ const char* getCurrentTrackFromVOX(); butt-0.1.26/src/command.h0000664000175000017500000000147013736310753012071 00000000000000#ifndef COMMAND_H #define COMMAND_H #include #define COMMAND_TIMEOUT 1000 #define STATUS_CONNECTED 0x0 #define STATUS_CONNECTING 0x1 #define STATUS_RECORDING 0x2 enum { CMD_EMPTY = 0, CMD_CONNECT = 1, CMD_DISCONNECT = 2, CMD_START_RECORDING = 3, CMD_STOP_RECORDING = 4, CMD_GET_STATUS = 5 }; enum { SERVER_MODE_OFF = 0, SERVER_MODE_LOCAL = 1, SERVER_MODE_ALL = 2 }; typedef struct command { uint32_t cmd; uint32_t param_size; void *param; }command_t; int command_start_server(int port, int mode); int command_send_cmd(command_t command, char *addr, int port); void command_set_new_cmd(command_t command); void command_get_last_cmd(command_t *command); void command_send_status_reply(uint32_t status); int command_recv_status_reply(uint32_t *status); #endif butt-0.1.26/src/aac_encode.cpp0000664000175000017500000001103113751456251013042 00000000000000// aac encoding functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include "config.h" #include "fl_funcs.h" #include "aac_encode.h" #include "wav_header.h" int g_aac_lib_available = 0; #ifdef HAVE_LIBFDK_AAC #if !defined(__APPLE__) && !defined(WIN32) // LINUX #define aacEncOpen_butt aacEncOpen #define aacEncoder_SetParam_butt aacEncoder_SetParam #define aacEncEncode_butt aacEncEncode #define aacEncInfo_butt aacEncInfo #define aacEncClose_butt aacEncClose #endif int aac_enc_init(aac_enc *aac) { int rc; char info_buf[256]; if (g_aac_lib_available == 0) { snprintf(info_buf, sizeof(info_buf), "libfdk-aac-2.dll not loaded"); print_info(info_buf, 1); return 1; } if(aac->overwrite_aot == 0) { if (aac->bitrate < 48) aac->aot = 29; // AAC+v2 else if (aac->bitrate >= 96) aac->aot = 2; // AAC-LC else aac->aot = 5; // AAC+v1 } aacEncOpen_butt(&aac->handle, 0, aac->channel); aacEncoder_SetParam_butt(aac->handle, AACENC_AOT, aac->aot); aacEncoder_SetParam_butt(aac->handle, AACENC_SAMPLERATE, aac->samplerate); aacEncoder_SetParam_butt(aac->handle, AACENC_CHANNELMODE, aac->channel); aacEncoder_SetParam_butt(aac->handle, AACENC_CHANNELORDER, 1); aacEncoder_SetParam_butt(aac->handle, AACENC_BITRATE, aac->bitrate*1000); aacEncoder_SetParam_butt(aac->handle, AACENC_TRANSMUX, 2); // taken from the example aac-enc.c aacEncoder_SetParam_butt(aac->handle, AACENC_AFTERBURNER, 1); // enable after burner if ((rc = aacEncEncode_butt(aac->handle, NULL, NULL, NULL, NULL)) != AACENC_OK) { snprintf(info_buf, sizeof(info_buf), "unable to init aac params %d", rc); print_info(info_buf, 1); return 1; } aacEncInfo_butt(aac->handle, &aac->info); return 0; } int aac_enc_reinit(aac_enc *aac) { if (g_aac_lib_available == 0) { char info_buf[256]; snprintf(info_buf, sizeof(info_buf), "libfdk-aac-2.dll not loaded"); print_info(info_buf, 1); return 1; } if(aac != NULL) { aac_enc_close(aac); return aac_enc_init(aac); } return 1; } void aac_enc_close(aac_enc *aac) { if (g_aac_lib_available == 0) { char info_buf[256]; snprintf(info_buf, sizeof(info_buf), "libfdk-aac-2.dll not loaded"); print_info(info_buf, 1); return; } while(aac->state == AAC_BUSY) ; if (aac->handle != NULL) aacEncClose_butt(&aac->handle); aac->handle = NULL; } int aac_enc_encode(aac_enc *aac, short *pcm_buf, char *enc_buf, int samples, int size) { if (g_aac_lib_available == 0) { char info_buf[256]; snprintf(info_buf, sizeof(info_buf), "libfdk-aac-2.dll not loaded"); print_info(info_buf, 1); return 0; } int rc; AACENC_BufDesc in_buf = { 0 }, out_buf = { 0 }; AACENC_InArgs in_args = { 0 }; AACENC_OutArgs out_args = { 0 }; int in_identifier = IN_AUDIO_DATA; int in_size, in_elem_size; int out_identifier = OUT_BITSTREAM_DATA; int out_size, out_elem_size; void *in_ptr, *out_ptr; if(samples == 0 || aac->handle == NULL) return 0; in_size = samples*sizeof(short)*aac->channel; in_elem_size = sizeof(short); in_ptr = pcm_buf; in_args.numInSamples = samples*aac->channel; in_buf.numBufs = 1; in_buf.bufs = &in_ptr; in_buf.bufferIdentifiers = &in_identifier; in_buf.bufSizes = &in_size; in_buf.bufElSizes = &in_elem_size; out_ptr = enc_buf; out_size = size; out_elem_size = 1; out_buf.numBufs = 1; out_buf.bufs = &out_ptr; out_buf.bufferIdentifiers = &out_identifier; out_buf.bufSizes = &out_size; out_buf.bufElSizes = &out_elem_size; aac->state = AAC_BUSY; if ((rc = aacEncEncode_butt(aac->handle, &in_buf, &out_buf, &in_args, &out_args)) != AACENC_OK) { return 0; } aac->state = AAC_READY; return out_args.numOutBytes; } #endif butt-0.1.26/src/flac_encode.h0000664000175000017500000000316213770206736012700 00000000000000// flac encoding functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef FLAC_ENCODE_H #define FLAC_ENCODE_H #include #define FLAC_ENC_TYPE_REC 0 #define FLAC_ENC_TYPE_STREAM 1 #define FLAC_STATE_OK 0 #define FLAC_STATE_NEW_SONG_AVAILABLE 1 #define FLAC_STATE_UPDATE_META_DATA 2 struct flac_enc { FLAC__StreamEncoder *encoder; int bitrate; int samplerate; int channel; int enc_type; char song_title[256]; int state; FLAC__StreamMetadata vorbis_comment; }; int flac_enc_init(flac_enc *flac); int flac_enc_init_FILE(flac_enc *flac, FILE *fout); int flac_enc_encode(flac_enc *flac, short *pcm_buf, int samples_per_chan, int channel); int flac_enc_encode_stream(flac_enc *flac, short *pcm_buf, uint8_t *enc_buf, int samples_per_chan, int channel, int new_stream); FLAC__bool flac_enc_init_ogg_stream(flac_enc *flac); void flac_update_song_title(flac_enc *flac, char *song_title); void flac_set_initial_song_title(flac_enc *flac, char *song_title); int flac_enc_reinit(flac_enc *flac); FLAC__uint64 flac_enc_get_bytes_written(void); void flac_enc_close(flac_enc *flac); #endif butt-0.1.26/src/ringbuffer.cpp0000664000175000017500000001014413663226731013136 00000000000000// ringbuffer functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // // #include #include #include #include #include "ringbuffer.h" int rb_init(struct ringbuf *rb, unsigned int len) { rb->buf = (char*)malloc(len * sizeof(char)); if(!rb->buf) return -1; rb->r_ptr = rb->buf; rb->w_ptr = rb->buf; rb->size = len; rb->full = 0; pthread_mutex_init(&rb->mutex, NULL); return 0; } int rb_filled(struct ringbuf *rb) { int filled; char *end_ptr; if(rb->w_ptr == rb->r_ptr && rb->full) filled = rb->size; else if(rb->w_ptr == rb->r_ptr && !rb->full) filled = 0; else if(rb->w_ptr > rb->r_ptr) filled = rb->w_ptr - rb->r_ptr; else { end_ptr = rb->buf + rb->size; filled = end_ptr - rb->r_ptr; filled += rb->w_ptr - rb->buf; } return filled; } int rb_space(struct ringbuf *rb) { int space; char *end_ptr; if(rb->r_ptr == rb->w_ptr && rb->full) space = 0; else if(rb->r_ptr == rb->w_ptr && !rb->full) space = rb->size; else if(rb->r_ptr > rb->w_ptr) space = rb->r_ptr - rb->w_ptr; else { end_ptr = rb->buf + rb->size; space = end_ptr - rb->w_ptr; space += rb->r_ptr - rb->buf; } return space; } unsigned int rb_read(struct ringbuf *rb, char *dest) { unsigned int len = 0; char *end_ptr; if(!dest || !rb->buf) return 0; if(len > rb->size) return 0; pthread_mutex_lock(&rb->mutex); end_ptr = rb->buf + rb->size; len = rb_filled(rb); if(rb->r_ptr + len < end_ptr) { memcpy(dest, rb->r_ptr, len); rb->r_ptr += len; } /*buf content crosses the start point of the ring*/ else { /*copy from r_ptr to start of ringbuffer*/ memcpy(dest, rb->r_ptr, end_ptr - rb->r_ptr); /*copy from start of ringbuffer to w_ptr*/ memcpy(dest + (end_ptr - rb->r_ptr), rb->buf, len - (end_ptr - rb->r_ptr)); rb->r_ptr = rb->buf + (len - (end_ptr - rb->r_ptr)); } pthread_mutex_unlock(&rb->mutex); if(rb->w_ptr == rb->r_ptr) rb->full = 0; return len; } unsigned int rb_read_len(struct ringbuf *rb, char *dest, unsigned int len) { char *end_ptr; if(!dest || !rb->buf) return 0; if(len > rb->size) return 0; pthread_mutex_lock(&rb->mutex); end_ptr = rb->buf + rb->size; //len = rb_filled(rb); if(rb->r_ptr + len < end_ptr ) { memcpy(dest, rb->r_ptr, len); rb->r_ptr += len; } /*buf content crosses the start point of the ring*/ else { /*copy from r_ptr to start of ringbuffer*/ memcpy(dest, rb->r_ptr, end_ptr - rb->r_ptr); /*copy from start of ringbuffer to w_ptr*/ memcpy(dest + (end_ptr - rb->r_ptr), rb->buf, len - (end_ptr - rb->r_ptr)); rb->r_ptr = rb->buf + (len - (end_ptr - rb->r_ptr)); } pthread_mutex_unlock(&rb->mutex); if(rb->w_ptr == rb->r_ptr) rb->full = 0; return len; } int rb_write(struct ringbuf *rb, char* src, unsigned int len) { char *end_ptr; if(!src || !rb->buf) return -1; if(len > rb->size) return -1; if(len == 0) return 0; pthread_mutex_lock(&rb->mutex); end_ptr = rb->buf + rb->size; if(rb->w_ptr + len < end_ptr ) { memcpy(rb->w_ptr, src, len); rb->w_ptr += len; } else { memcpy(rb->w_ptr, src, end_ptr - rb->w_ptr); memcpy(rb->buf, src + (end_ptr - rb->w_ptr), len - (end_ptr - rb->w_ptr)); rb->w_ptr = rb->buf + (len - (end_ptr - rb->w_ptr)); } if(rb->w_ptr == rb->r_ptr) rb->full = 1; pthread_mutex_unlock(&rb->mutex); return 0; } int rb_free(struct ringbuf *rb) { free(rb->buf); pthread_mutex_destroy(&rb->mutex); return 0; } butt-0.1.26/src/currentTrackLinux.cpp0000775000175000017500000001515713675606400014506 00000000000000#include #include #include #include #include #include #include "currentTrack.h" static DBusError err; static DBusConnection* conn = NULL; static bool dbus_init(void) { if(conn == NULL) { int ret; dbus_error_init(&err); conn = dbus_bus_get(DBUS_BUS_SESSION, &err); if(dbus_error_is_set(&err)) { printf("Connection Error: %s\n", err.message); dbus_error_free(&err); return false; } ret = dbus_bus_request_name(conn, "me.melchor9000.butt", DBUS_NAME_FLAG_REPLACE_EXISTING, &err); if(dbus_error_is_set(&err)) { printf("Name error: %s\n", err.message); dbus_error_free(&err); } if(ret != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER) { return false; } } return true; } struct DBusMethodCall { const char* target; const char* object; const char* interface; const char* method; void (*arg_iter)(void* data, DBusMessageIter* args); void* data; }; static bool dbus_call_method(const struct DBusMethodCall* opt, unsigned n, ...) { DBusMessage* msg; DBusMessageIter args; DBusPendingCall* pending; va_list va; va_start(va, n); msg = dbus_message_new_method_call(opt->target, opt->object, opt->interface, opt->method); if(msg == NULL) { printf("Message Null\n"); for(unsigned i = 0; i < n; i++) va_arg(va, void*); va_end(va); return false; } dbus_message_iter_init_append(msg, &args); for(unsigned i = 0; i < n; i++) { const char* arg = va_arg(va, const char*); dbus_message_iter_append_basic(&args, DBUS_TYPE_STRING, &arg); } va_end(va); dbus_connection_send_with_reply(conn, msg, &pending, -1); if(pending == NULL) { printf("Pending call null\n"); return false; } dbus_connection_flush(conn); dbus_message_unref(msg); dbus_pending_call_block(pending); msg = dbus_pending_call_steal_reply(pending); if(msg == NULL) { printf("Reply NULL\n"); return false; } dbus_pending_call_unref(pending); if(dbus_message_get_type(msg) != DBUS_MESSAGE_TYPE_ERROR) { if(dbus_message_iter_init(msg, &args)) { do { if(opt->arg_iter) opt->arg_iter(opt->data, &args); } while(dbus_message_iter_next(&args)); } dbus_message_unref(msg); return true; } else { dbus_message_unref(msg); return false; } } static void playbackstatus(void* data, DBusMessageIter* args) { DBusMessageIter var; char* str; dbus_message_iter_recurse(args, &var); dbus_message_iter_get_basic(&var, &str); *((char**) data) = strdup(str); } static void metadata(void* data, DBusMessageIter* args) { DBusMessageIter var, arr, var2, var3, arr2; char* str = NULL; char** values = (char**) data; dbus_message_iter_recurse(args, &var); dbus_message_iter_recurse(&var, &arr); do { dbus_message_iter_recurse(&arr, &var2); dbus_message_iter_get_basic(&var2, &str); dbus_message_iter_next(&var2); if(values[1] == NULL && !strcmp("xesam:artist", str)) { dbus_message_iter_recurse(&var2, &var3); dbus_message_iter_recurse(&var3, &arr2); values[1] = (char*) calloc(1, 1); int s = 1, didFirst = 0; do { dbus_message_iter_get_basic(&arr2, &str); if(strlen(str)) { s += strlen(str) + (didFirst ? 2 : 0); values[1] = (char*) realloc(values[1], s); if(didFirst) strcat(values[1], ", "); strcat(values[1], str); if(!didFirst) didFirst = 1; } } while(dbus_message_iter_next(&arr2)); } else if(values[0] == NULL && !strcmp("xesam:title", str)) { dbus_message_iter_recurse(&var2, &var3); dbus_message_iter_get_basic(&var3, &str); values[0] = strdup(str); } } while(dbus_message_iter_next(&arr)); } static char* get_mpris(const char* target) { char* playbackStatusValue = NULL; char* returnString = NULL; struct DBusMethodCall opt = { target, "/org/mpris/MediaPlayer2", "org.freedesktop.DBus.Properties", "Get", playbackstatus, &playbackStatusValue }; dbus_init(); if(dbus_bus_name_has_owner(conn, target, &err)) { dbus_call_method(&opt, 2, "org.mpris.MediaPlayer2.Player", "PlaybackStatus"); if(playbackStatusValue != NULL && strcmp(playbackStatusValue, "Stopped")) { int len; char* values[2] = { NULL, NULL }; opt.arg_iter = metadata; opt.data = values; dbus_call_method(&opt, 2, "org.mpris.MediaPlayer2.Player", "Metadata"); if (values[0] != NULL && values[1] != NULL) { len = strlen(values[1]) + 3 + strlen(values[0]) + 1; returnString = (char*) malloc(len); snprintf(returnString, len, "%s - %s",values[1], values[0]); free(values[0]); free(values[1]); } else if (values[0] != NULL) { len = strlen(values[0]) + 1; returnString = (char*) malloc(len); snprintf(returnString, len, "%s",values[0]); free(values[0]); } else if (values[1] != NULL) { len = strlen(values[1]) + 1; returnString = (char*) malloc(len); snprintf(returnString, len, "%s",values[1]); free(values[1]); } } if(playbackStatusValue != NULL) free(playbackStatusValue); } return returnString; } const char* getCurrentTrackRhythmbox() { return get_mpris("org.gnome.Rhythmbox3"); } const char* getCurrentTrackClementine() { return get_mpris("org.mpris.MediaPlayer2.clementine"); } const char* getCurrentTrackSpotify() { return get_mpris("org.mpris.MediaPlayer2.spotify"); } const char* getCurrentTrackCantata() { return get_mpris("org.mpris.MediaPlayer2.cantata"); } const char* getCurrentTrackBanshee() { return get_mpris("org.mpris.MediaPlayer2.banshee"); } currentTrackFunction getCurrentTrackFunctionFromId(int i) { switch(i) { case 0: return &getCurrentTrackRhythmbox; case 1: return &getCurrentTrackBanshee; case 2: return &getCurrentTrackClementine; case 3: return &getCurrentTrackSpotify; case 4: return &getCurrentTrackCantata; default: return NULL; } } butt-0.1.26/src/resource.rc0000664000175000017500000000024013663226731012452 00000000000000#include "winuser.h" #define IDI_ICON 101 CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "butt.manifest" IDI_ICON ICON DISCARDABLE "../icons/butt.ico" butt-0.1.26/src/opus_encode.cpp0000775000175000017500000002137413751456251013322 00000000000000// opus encoding functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #include "opus_encode.h" /* Copyright (C)2012 Xiph.Org Foundation File: opus_header.c Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include typedef struct { unsigned char *data; int maxlen; int pos; } Packet; typedef struct { const unsigned char *data; int maxlen; int pos; } ROPacket; static int write_uint32(Packet *p, ogg_uint32_t val) { if (p->pos>p->maxlen-4) return 0; p->data[p->pos ] = (val ) & 0xFF; p->data[p->pos+1] = (val>> 8) & 0xFF; p->data[p->pos+2] = (val>>16) & 0xFF; p->data[p->pos+3] = (val>>24) & 0xFF; p->pos += 4; return 1; } static int write_uint16(Packet *p, ogg_uint16_t val) { if (p->pos>p->maxlen-2) return 0; p->data[p->pos ] = (val ) & 0xFF; p->data[p->pos+1] = (val>> 8) & 0xFF; p->pos += 2; return 1; } static int write_chars(Packet *p, const unsigned char *str, int nb_chars) { int i; if (p->pos>p->maxlen-nb_chars) return 0; for (i=0;idata[p->pos++] = str[i]; return 1; } int opus_header_to_packet(const OpusHeader *h, unsigned char *packet, int len) { int i; Packet p; unsigned char ch; p.data = packet; p.maxlen = len; p.pos = 0; if (len<19)return 0; if (!write_chars(&p, (const unsigned char*)"OpusHead", 8)) return 0; /* Version is 1 */ ch = 1; if (!write_chars(&p, &ch, 1)) return 0; ch = h->channels; if (!write_chars(&p, &ch, 1)) return 0; if (!write_uint16(&p, h->preskip)) return 0; if (!write_uint32(&p, h->input_sample_rate)) return 0; if (!write_uint16(&p, h->gain)) return 0; ch = h->channel_mapping; if (!write_chars(&p, &ch, 1)) return 0; if (h->channel_mapping != 0) { ch = h->nb_streams; if (!write_chars(&p, &ch, 1)) return 0; ch = h->nb_coupled; if (!write_chars(&p, &ch, 1)) return 0; /* Multi-stream support */ for (i=0;ichannels;i++) { if (!write_chars(&p, &h->stream_map[i], 1)) return 0; } } return p.pos; } int opus_enc_init(opus_enc *opus) { int err; err = 0; opus->header = (OpusHeader *)calloc(1, sizeof(OpusHeader)); opus->header_data = (unsigned char *)calloc (1, 1024); opus->tags = (unsigned char *)calloc (1, 1024); opus->buffer = (unsigned char *)calloc (1, 4 * 4096); srand(time(NULL)); ogg_stream_init(&opus->os, rand()); opus->header->gain = 0; opus->header->channels = opus->channel; if ((opus->bitrate < 8000) || (opus->bitrate > 320000)) { opus->bitrate = DEFAULT_OPUS_BITRATE; } opus->header->input_sample_rate = 48000; opus->encoder = opus_encoder_create (opus->header->input_sample_rate, opus->channel, OPUS_APPLICATION_AUDIO, &err); opus_encoder_ctl (opus->encoder, OPUS_SET_BITRATE(opus->bitrate)); if (opus->encoder == NULL) { printf("Opus Encoder creation error: %s\n", opus_strerror (err)); return 1; } opus->last_bitrate = opus->bitrate; opus_encoder_ctl (opus->encoder, OPUS_GET_LOOKAHEAD (&opus->header->preskip)); opus->header_size = opus_header_to_packet (opus->header, opus->header_data, 100); opus->tags_size = 8 + 4 + strlen (opus_get_version_string ()) + 4 + 4 + strlen ("ENCODER=") + strlen (PACKAGE_STRING); memcpy (opus->tags, "OpusTags", 8); opus->tags[8] = strlen (opus_get_version_string ()); memcpy (opus->tags + 12, opus_get_version_string (), strlen (opus_get_version_string ())); opus->tags[12 + strlen (opus_get_version_string ())] = 1; opus->tags[12 + strlen (opus_get_version_string ()) + 4] = strlen ("ENCODER=") + strlen (PACKAGE_STRING); memcpy (opus->tags + 12 + strlen (opus_get_version_string ()) + 4 + 4, "ENCODER=", strlen ("ENCODER=")); memcpy (opus->tags + 12 + strlen (opus_get_version_string ()) + 4 + 4 + strlen ("ENCODER="), PACKAGE_STRING, strlen (PACKAGE_STRING)); //printf("Opus Encoder Created\n"); return 0; } //This function needs to be called before //every connection void opus_enc_write_header(opus_enc *opus) { ogg_packet op; ogg_stream_clear (&opus->os); ogg_stream_init(&opus->os, rand()); opus_encoder_ctl (opus->encoder, OPUS_RESET_STATE); opus->packetno = 0; opus->granulepos = 0; op.b_o_s = 1; op.e_o_s = 0; op.granulepos = 0; op.packetno = opus->packetno++; op.packet = opus->header_data; op.bytes = opus->header_size; ogg_stream_packetin (&opus->os, &op); op.b_o_s = 0; op.e_o_s = 0; op.granulepos = 0; op.packetno = opus->packetno++; op.packet = opus->tags; op.bytes = opus->tags_size; ogg_stream_packetin (&opus->os, &op); } int opus_enc_reinit(opus_enc *opus) { opus_enc_close(opus); return opus_enc_init(opus); } int opus_enc_encode(opus_enc *opus, short *pcm_buf, char *enc_buf, int size) { int w = 0; ogg_packet op; int ret; if(size == 0) return 0; if (opus->encoder == NULL) { //printf("Opus Encoder NULL wtf?\n"); return 0; } while (ogg_stream_flush(&opus->os, &opus->og) != 0) { memcpy(enc_buf+w, opus->og.header, opus->og.header_len); w += opus->og.header_len; memcpy(enc_buf+w, opus->og.body, opus->og.body_len); w += opus->og.body_len; } if (opus->last_bitrate != opus->bitrate) { if ((opus->bitrate < 9600) || (opus->bitrate > 320000)) { opus->bitrate = DEFAULT_OPUS_BITRATE; } opus_encoder_ctl (opus->encoder, OPUS_SET_BITRATE(opus->bitrate)); opus->last_bitrate = opus->bitrate; } ret = opus_encode (opus->encoder, pcm_buf, 960, opus->buffer, 2048 * 4); //printf("Opus Encoder encoding %d samples, got back %d bytes\n", size, ret); op.b_o_s = 0; op.e_o_s = 0; op.granulepos = opus->granulepos; op.packetno = opus->packetno++; op.packet = opus->buffer; op.bytes = ret; opus->granulepos += 960; ogg_stream_packetin (&opus->os, &op); while (ogg_stream_flush(&opus->os, &opus->og) != 0) { memcpy(enc_buf+w, opus->og.header, opus->og.header_len); w += opus->og.header_len; memcpy(enc_buf+w, opus->og.body, opus->og.body_len); w += opus->og.body_len; } return w; } void opus_enc_close(opus_enc *opus) { if (opus->buffer != NULL) { ogg_stream_clear (&opus->os); opus_encoder_destroy (opus->encoder); free (opus->header_data); free (opus->header); free (opus->tags); free (opus->buffer); opus->buffer = NULL; } //printf("Opus Encoder Destroyed\n"); } // Currently unused bool opus_enc_is_valid_srate(int samplerate) { int i; int valid_srates[] = {8000, 12000, 16000, 24000, 48000}; for (i = 0; i < 5; i++) { if (samplerate == valid_srates[i]) return true; } return false; } int opus_enc_get_valid_srate(int samplerate) { int i; int valid_srates[] = {8000, 12000, 16000, 24000, 48000}; if (samplerate > 48000) return 48000; for (i = 0; i < 5; i++) { if (samplerate < valid_srates[i]) return valid_srates[i]; } return -1; } butt-0.1.26/src/Biquad.h0000664000175000017500000000256613663226731011670 00000000000000// // Biquad.h // // Created by Nigel Redmon on 11/24/12 // EarLevel Engineering: earlevel.com // Copyright 2012 Nigel Redmon // // For a complete explanation of the Biquad code: // http://www.earlevel.com/main/2012/11/25/biquad-c-source-code/ // // License: // // This source code is provided as is, without warranty. // You may copy and distribute verbatim copies of this document. // You may modify and use this source code to create binary code // for your own purposes, free or commercial. // // Modifications by melchor629 on 20/08/2016 #ifndef Biquad_h #define Biquad_h enum { bq_type_lowpass = 0, bq_type_highpass, bq_type_bandpass, bq_type_notch, bq_type_peak, bq_type_lowshelf, bq_type_highshelf }; class Biquad { public: Biquad(); Biquad(int type, double Fc, double Q, double peakGainDB); ~Biquad(); void setType(int type); void setQ(double Q); void setFc(double Fc); void setPeakGain(double peakGainDB); void setBiquad(int type, double Fc, double Q, double peakGain); float process(float in); protected: void calcBiquad(void); int type; double a0, a1, a2, b1, b2; double Fc, Q, peakGain; double z1, z2; }; inline float Biquad::process(float in) { double out = in * a0 + z1; z1 = in * a1 + z2 - b1 * out; z2 = in * a2 - b2 * out; return out; } #endif // Biquad_h butt-0.1.26/src/dsp.cpp0000664000175000017500000001263713751456251011604 00000000000000// // dsp.cpp // butt // // Created by Melchor Garau Madrigal on 16/2/16. // Copyright © 2016 Daniel Noethen. All rights reserved. // #include "dsp.hpp" #include #include #include #include "Biquad.h" #include "cfg.h" DSPEffects::DSPEffects(uint32_t frames, uint8_t channels, uint32_t sampleRate) : samplerate(sampleRate) { chans = (channels == 2) ? 2 : 1; dsp_size = frames * channels; dsp_buff = new float[dsp_size]; band1l = new Biquad(bq_type_peak, 100.0 / double(samplerate), 1.9, cfg.dsp.gain1); band2l = new Biquad(bq_type_peak, 350.0 / double(samplerate), 2, cfg.dsp.gain2); band3l = new Biquad(bq_type_peak, 1000.0 / double(samplerate), 2, cfg.dsp.gain3); band4l = new Biquad(bq_type_peak, 3500.0 / double(samplerate), 2, cfg.dsp.gain4); band5l = new Biquad(bq_type_peak, 10000.0 / double(samplerate), 2, cfg.dsp.gain5); band1r = new Biquad(bq_type_peak, 100.0 / double(samplerate), 1.9, cfg.dsp.gain1); band2r = new Biquad(bq_type_peak, 350.0 / double(samplerate), 2, cfg.dsp.gain2); band3r = new Biquad(bq_type_peak, 1000.0 / double(samplerate), 2, cfg.dsp.gain3); band4r = new Biquad(bq_type_peak, 3500.0 / double(samplerate), 2, cfg.dsp.gain4); band5r = new Biquad(bq_type_peak, 10000.0 / double(samplerate), 2, cfg.dsp.gain5); } bool DSPEffects::hasToProcessSamples() { return cfg.main.gain != 1 || cfg.dsp.equalizer || cfg.dsp.compressor; } void DSPEffects::processSamples(short *samples) { if(dsp_buff == NULL) return; if(cfg.dsp.equalizer) { band1l->setPeakGain(cfg.dsp.gain1); band2l->setPeakGain(cfg.dsp.gain2); band3l->setPeakGain(cfg.dsp.gain3); band4l->setPeakGain(cfg.dsp.gain4); band5l->setPeakGain(cfg.dsp.gain5); band1r->setPeakGain(cfg.dsp.gain1); band2r->setPeakGain(cfg.dsp.gain2); band3r->setPeakGain(cfg.dsp.gain3); band4r->setPeakGain(cfg.dsp.gain4); band5r->setPeakGain(cfg.dsp.gain5); } src_short_to_float_array(samples, dsp_buff, dsp_size); if(cfg.main.gain != 1) { for(uint32_t sample = 0; sample < dsp_size; sample += chans) { dsp_buff[sample] *= cfg.main.gain; if (chans == 2) { dsp_buff[sample+1] *= cfg.main.gain; } } } if (cfg.dsp.compressor) { attack_const = expf(-1.0f / (cfg.dsp.attack * samplerate)); release_const = expf(-1.0f / (cfg.dsp.release * samplerate)); float lowpass_time = std::min(cfg.dsp.attack, cfg.dsp.release); lowpass_time = std::max(0.002f, lowpass_time); lowpass_const = expf(-1.0f / (lowpass_const * samplerate)); compress(); } for(uint32_t sample = 0; sample < dsp_size; sample += chans) { if(cfg.dsp.equalizer) { float s = band5l->process(dsp_buff[sample]); s = band4l->process(s); s = band3l->process(s); s = band2l->process(s); dsp_buff[sample] = band1l->process(s); if (chans == 2) { float s = band5r->process(dsp_buff[sample+1]); s = band4r->process(s); s = band3r->process(s); s = band2r->process(s); dsp_buff[sample+1] = band1r->process(s); } } } src_float_to_short_array(dsp_buff, samples, dsp_size); } DSPEffects::~DSPEffects() { delete[] dsp_buff; delete band1l; delete band2l; delete band3l; delete band4l; delete band5l; delete band1r; delete band2r; delete band3r; delete band4r; delete band5r; } // loosely based on https://openaudio.blogspot.com/2017/01/basic-dynamic-range-compressor.html void DSPEffects::compress() { float one_minus_attack_const = 1.0f - attack_const; float one_minus_release_const = 1.0f - release_const; float c1 = lowpass_const, c2 = 1.0f - c1; float ratio = cfg.dsp.ratio; if (ratio < 0.001) ratio = 1.0f; for (uint32_t sample = 0; sample < dsp_size; sample += chans) { // calculate instantaneous signal power // (square signal and average channels) float power = dsp_buff[sample] * dsp_buff[sample]; if (chans == 2) { power += dsp_buff[sample+1] * dsp_buff[sample+1]; } power /= chans; // low-pass filter power = c1*prev_power + c2*power; prev_power = power; // Do not apply compression if signal power is nearly zero to prevent -inf results for log10 calculations if (power < 1.0E-13) continue; // convert to dB float power_dB = std::log10(power) * 10.0f; // calculate instantaneous target gain float above_threshold = power_dB - cfg.dsp.threshold; float gain_dB = (above_threshold / ratio) - above_threshold; if (gain_dB > 0.0f) gain_dB = 0.0f; // smooth gain by attack and release if (std::isnan(prev_gain_dB)) prev_gain_dB = 0.0f; if (gain_dB < prev_gain_dB) { // attack phase gain_dB = attack_const*prev_gain_dB + one_minus_attack_const*gain_dB; } else { // release phase gain_dB = release_const*prev_gain_dB + one_minus_release_const*gain_dB; } prev_gain_dB = gain_dB; // convert to linear gain float gain_linear = pow(10, (gain_dB+cfg.dsp.makeup_gain) / 20.0f); // apply gain to samples dsp_buff[sample] *= gain_linear; if (chans == 2) { dsp_buff[sample+1] *= gain_linear; } } // limit the amount that the state of the smoothing filter can go towards -inf if (prev_power < (1.0E-13)) prev_power = 1.0E-13; // never go less than -130 dbFS } butt-0.1.26/src/tls.cpp0000664000175000017500000003125713751456251011617 00000000000000// OpenSSL functions for butt // // Copyright 2020 by Daniel Noethen. // // 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. // // This OpenSSL implementation is based on the implementation of libshout 2.4.3 https://icecast.org/download/ #include "gettext.h" #include "config.h" #ifdef HAVE_LIBSSL #include #include #include #ifndef WIN32 #include #endif #ifdef __APPLE__ #include // for dirname #include // for _NSGetExecutablePath #endif #include #include #include #include "tls.h" #include "sockfuncs.h" //#define DEBUG 1 //https://en.wikibooks.org/wiki/OpenSSL/Error_handling //#undef HAVE_X509_CHECK_HOST #ifdef DEBUG FILE *fd; static void key_log_cb(const SSL *ssl, const char *line) { fprintf(fd, "%s\n", line); } #endif static void set_error(tls_t *tls, const char *err_msg) { int len = (int)strlen(err_msg)+1; tls->last_err = (char*)realloc(tls->last_err, len); snprintf(tls->last_err, len, "%s", err_msg); } static void clr_error(tls_t *tls) { set_error(tls, "No error"); } /* static void print_error_stack(void) { BIO *bio = BIO_new(BIO_s_mem ()); ERR_print_errors(bio); char *buf = NULL; BIO_get_mem_data(bio, &buf); printf("%s\n", buf); BIO_free (bio); } static int get_peer_certificate_chain(tls_t *tls, char **buf) { int certs; unsigned char *data; unsigned int len; BIO *bio; STACK_OF(X509) *chain; chain = SSL_get_peer_cert_chain(tls->ssl); certs = sk_X509_num(chain); if (certs == 0) return TLS_NOCERT; bio = BIO_new(BIO_s_mem()); if (bio == 0) return TLS_MALLOC; for (int i = 0; i < certs; i++) { X509 *cert = sk_X509_value(chain, i); PEM_write_bio_X509(bio, cert); } len = (unsigned int)BIO_get_mem_data(bio, &data); if (len) { *buf = (char*)malloc(len + 1); memcpy(*buf, data, len); (*buf)[len] = 0; } BIO_free(bio); return TLS_OK; } */ #ifndef HAVE_X509_CHECK_HOST static int check_pattern(const char *key, const char *pattern) { for (; *key && *pattern; key++) { if (*pattern == '*') { for (; *pattern == '*'; pattern++) ; for (; *key && *key != '.'; key++) ; if (!*pattern && !*key) return 1; if (!*pattern || !*key) return 0; } if (tolower(*key) != tolower(*pattern)) return 0; pattern++; } return *key == 0 && *pattern == 0; } #endif #ifndef HAVE_X509_CHECK_HOST static int check_host(tls_t *tls, X509 *cert) { char common_name[256] = ""; X509_NAME *xname = X509_get_subject_name(cert); X509_NAME_ENTRY *xentry; ASN1_STRING *sdata; int i, j; int ret; ret = X509_NAME_get_text_by_NID(xname, NID_commonName, common_name, sizeof(common_name)); if (ret < 1 || (size_t)ret >= (sizeof(common_name)-1)) { set_error(tls, _("check_host: could not read host name from cert")); return TLS_HOSTERR; } if (!check_pattern(tls->host, common_name)) return TLS_HOSTERR; /* check for inlined \0, * see https://www.blackhat.com/html/bh-usa-09/bh-usa-09-archives.html#Marlinspike */ for (i = -1; ; i = j) { j = X509_NAME_get_index_by_NID(xname, NID_commonName, i); if (j == -1) break; } xentry = X509_NAME_get_entry(xname, i); sdata = X509_NAME_ENTRY_get_data(xentry); if ((size_t)ASN1_STRING_length(sdata) != strlen(common_name)) return TLS_HOSTERR; return TLS_OK; } #endif static int check_cert(tls_t *tls) { long ret; X509 *cert = SSL_get_peer_certificate(tls->ssl); if (cert == NULL) { set_error(tls, _("check_cert: No peer certificate available")); return TLS_NOCERT; } if ((ret = SSL_get_verify_result(tls->ssl)) != X509_V_OK) { X509_free(cert); set_error(tls, X509_verify_cert_error_string(ret)); return TLS_CHECK_CERT; } #ifdef HAVE_X509_CHECK_HOST if (X509_check_host(cert, tls->host, 0, 0, NULL) != 1) { X509_free(cert); set_error(tls, _("check_cert: X509_check_host failed")); return TLS_CHECK_HOST; } #else if (check_host(tls, cert) != TLS_OK) { X509_free(cert); set_error(tls, _("check_cert: check_host failed")); return TLS_CHECK_HOST; } #endif X509_free(cert); return TLS_OK; } static int calc_cert_hash(tls_t *tls) { const uint32_t len = 32; char byte[3]; uint8_t sha256_val[len]; X509 *cert = SSL_get_peer_certificate(tls->ssl); if (cert == NULL) { set_error(tls, _("calc_cert_hash: No peer certificate available")); return TLS_NOCERT; } // Calc hash if (X509_digest(cert, EVP_get_digestbyname("sha256"), sha256_val, NULL) != 1) { X509_free(cert); set_error(tls, _("calc_cert_hash: Hash calculation failed")); return TLS_CERTERR; } // Convert hash to a char array memset(tls->sha256, 0, sizeof(tls->sha256)); for (int i = 0; i < len; ++i) { snprintf(byte, sizeof(byte), "%02X", sha256_val[i]); memcpy(tls->sha256+2*i, byte, 2); } X509_free(cert); return TLS_OK; } int tls_setup(tls_t *tls) { int ret = 0; long ssl_opts = 0; tls->ssl = NULL; tls->ssl_ctx = NULL; tls->last_err = NULL; // Checks for OpenSSL version < 1.1.x #if OPENSSL_VERSION_NUMBER < 0x10100000L SSL_library_init(); SSL_load_error_strings(); //SSLeay_add_all_algorithms(); //SSLeay_add_ssl_algorithms(); tls->ssl_ctx = SSL_CTX_new(TLSv1_client_method()); ssl_opts |= SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3; #else tls->ssl_ctx = SSL_CTX_new(TLS_client_method()); SSL_CTX_set_min_proto_version(tls->ssl_ctx, TLS1_VERSION); #endif // Compression is dangerous -> https://en.wikipedia.org/wiki/CRIME ssl_opts |= SSL_OP_NO_COMPRESSION; SSL_CTX_set_options(tls->ssl_ctx, ssl_opts); SSL_CTX_set_default_verify_paths(tls->ssl_ctx); // Add cert file and directory separately. // So in case one contains a invalid path, the other will still work SSL_CTX_load_verify_locations(tls->ssl_ctx, tls->cert_file, NULL); SSL_CTX_load_verify_locations(tls->ssl_ctx, NULL, tls->cert_dir); #ifdef __APPLE__ char path_to_executeable[PATH_MAX]; char path_to_ca_file[PATH_MAX]; uint32_t path_len = (uint32_t)sizeof(path_to_executeable); if (_NSGetExecutablePath(path_to_executeable, &path_len) == 0) { char *folder_of_executable = strdup(dirname(path_to_executeable)); snprintf(path_to_ca_file, PATH_MAX, "%s%s", folder_of_executable, "/../Resources/cacert.pem"); free(folder_of_executable); SSL_CTX_load_verify_locations(tls->ssl_ctx, path_to_ca_file, NULL); } #endif #ifdef WIN32 SSL_CTX_load_verify_locations(tls->ssl_ctx, "cacert.pem", NULL); #endif // We verify by ourself later SSL_CTX_set_verify(tls->ssl_ctx, SSL_VERIFY_NONE, NULL); if (SSL_CTX_set_cipher_list(tls->ssl_ctx, ALLOWED_CIPHERS) != 1) { set_error(tls, _("tls_setup: Could not set cipher list")); return TLS_UNSPECIFICERR; } SSL_CTX_set_mode(tls->ssl_ctx, SSL_MODE_AUTO_RETRY); #ifdef DEBUG fd = fopen("/Users/bip/tls_key.txt", "ab"); SSL_CTX_set_keylog_callback(tls->ssl_ctx, key_log_cb); #endif tls->ssl = SSL_new(tls->ssl_ctx); if (tls->ssl == NULL) { set_error(tls, _("tls_setup: SSL_new failed")); return TLS_UNSPECIFICERR; } // Connect ssl to our socket (creates an internal BIO and inherits blocking/non-blocking from the socket) if (SSL_set_fd(tls->ssl, tls->socket) == 0) { set_error(tls, _("tls_setup: Could not bind socket to SSL")); return TLS_UNSPECIFICERR; } SSL_set_tlsext_host_name(tls->ssl, tls->host); // Set SSL to client mode SSL_set_connect_state(tls->ssl); while ((ret = SSL_connect(tls->ssl)) != 1) { int err; switch (err = SSL_get_error(tls->ssl, ret)) { case SSL_ERROR_WANT_READ: if (sock_select(tls->socket, 5000, READ) <= 0) { set_error(tls, _("tls_setup: SSL_connect read timeout")); return TLS_TIMEOUT; } break; case SSL_ERROR_WANT_WRITE: if (sock_select(tls->socket, 5000, WRITE) <= 0) { set_error(tls, _("tls_setup: SSL_connect write timeout")); return TLS_TIMEOUT; } break; case SSL_ERROR_SYSCALL: // Can occour if the server goes down and a reconnection attempt fails return TLS_TIMEOUT; // Try again break; default: printf("SSL_connect error: %d\n", err); //print_error_stack(); set_error(tls, ERR_error_string(err, NULL)); return TLS_CONNETERR; } } if (calc_cert_hash(tls) != TLS_OK) { set_error(tls, _("tls_setup: Cert hash could not be calculated")); return TLS_CERTERR; } if ( (tls->skip_verification == 0) && ((ret = check_cert(tls)) != TLS_OK) ) return ret; #ifdef DEBUG fclose(fd); #endif clr_error(tls); return TLS_OK; } int tls_send(tls_t *tls, char *buf, int len, int timeout_ms) { int ret; tls->state = TLS_STATE_SENDING; while ( (tls->ssl != NULL) && ((ret = SSL_write(tls->ssl, buf, len)) <= 0) ) { int err; switch (err = SSL_get_error(tls->ssl, ret)) { case SSL_ERROR_WANT_READ: if (sock_select(tls->socket, timeout_ms, READ) <= 0) { set_error(tls, _("tls_send: read timeout")); tls->state = TLS_STATE_IDLE; return TLS_TIMEOUT; } break; case SSL_ERROR_WANT_WRITE: if (sock_select(tls->socket, timeout_ms, WRITE) <= 0) { set_error(tls, _("tls_send: write timeout")); tls->state = TLS_STATE_IDLE; return TLS_TIMEOUT; } break; default: // Occurs if server goes down. Reconnection will be initiated set_error(tls, ERR_error_string(err, NULL)); tls->state = TLS_STATE_IDLE; return TLS_SENDERR; } } tls->state = TLS_STATE_IDLE; return TLS_OK; } int tls_recv(tls_t *tls, char *buf, int len, int timeout_ms) { int ret; tls->state = TLS_STATE_RECEIVING; while ((ret = SSL_read(tls->ssl, buf, len)) <= 0) { int err; switch (err = SSL_get_error(tls->ssl, ret)) { case SSL_ERROR_WANT_READ: if (sock_select(tls->socket, timeout_ms, READ) <= 0) { set_error(tls, _("tls_recv: read timeout")); tls->state = TLS_STATE_IDLE; return TLS_TIMEOUT; } break; case SSL_ERROR_WANT_WRITE: if (sock_select(tls->socket, timeout_ms, WRITE) <= 0) { set_error(tls, _("tls_recv: write timeout")); tls->state = TLS_STATE_IDLE; return TLS_TIMEOUT; } break; default: set_error(tls, ERR_error_string(err, NULL)); tls->state = TLS_STATE_IDLE; return TLS_RECVERR; } } tls->state = TLS_STATE_IDLE; return ret; } void tls_close(tls_t *tls) { // Make sure we don't free anything while the tls system is working while (tls->state != TLS_STATE_IDLE) ; if (tls->ssl) { SSL_shutdown(tls->ssl); SSL_free(tls->ssl); tls->ssl = NULL; } if (tls->ssl_ctx) { SSL_CTX_free(tls->ssl_ctx); tls->ssl_ctx = NULL; } if (tls->last_err != NULL) { free(tls->last_err); tls->last_err = NULL; } } #endif butt-0.1.26/src/Makefile.in0000664000175000017500000007765113770374502012365 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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@ # what flags you want to pass to the C compiler & linker VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } 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@ bin_PROGRAMS = butt$(EXEEXT) @WINDOWS_TRUE@am__append_1 = resource.rc currentTrack.h currentTrack.cpp @WINDOWS_TRUE@am__append_2 = -DHAVE_LIBFDK_AAC @OSX_TRUE@am__append_3 = CurrentTrackOSX.h CurrentTrackOSX.m @LINUX_TRUE@am__append_4 = currentTrack.h currentTrackLinux.cpp @FREEBSD_TRUE@am__append_5 = currentTrack.h currentTrackLinux.cpp subdir = src 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/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) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am__butt_SOURCES_DIST = butt.cpp butt.h cfg.cpp cfg.h icecast.cpp \ icecast.h lame_encode.cpp tls.cpp tls.h lame_encode.h \ parseconfig.cpp parseconfig.h port_audio.cpp port_audio.h \ ringbuffer.cpp ringbuffer.h shoutcast.cpp shoutcast.h \ sockfuncs.cpp sockfuncs.h strfuncs.cpp strfuncs.h timer.cpp \ timer.h util.cpp util.h vorbis_encode.cpp vorbis_encode.h \ vu_meter.cpp vu_meter.h wav_header.cpp wav_header.h \ opus_encode.cpp opus_encode.h flac_encode.cpp flac_encode.h \ dsp.cpp dsp.hpp Biquad.cpp Biquad.h command.cpp command.h \ update.cpp update.h FLTK/Fl_ILM216.cpp FLTK/Fl_ILM216.h \ FLTK/fl_callbacks.cpp FLTK/fl_callbacks.h FLTK/fl_funcs.cpp \ FLTK/fl_funcs.h FLTK/flgui.cpp FLTK/flgui.h \ FLTK/FL/Fl_My_Double_Window.H FLTK/FL/Fl_My_Value_Slider.H \ FLTK/Fl_My_Native_File_Chooser.cxx \ FLTK/FL/Fl_My_Native_File_Chooser.H FLTK/Fl_vu_meter.cpp \ FLTK/Fl_vu_meter.h FLTK/fl_timer_funcs.cpp \ FLTK/fl_timer_funcs.h aac_encode.cpp aac_encode.h resource.rc \ currentTrack.h currentTrack.cpp CurrentTrackOSX.h \ CurrentTrackOSX.m currentTrackLinux.cpp am__dirstamp = $(am__leading_dot)dirstamp @WINDOWS_TRUE@am__objects_1 = resource.$(OBJEXT) \ @WINDOWS_TRUE@ currentTrack.$(OBJEXT) @OSX_TRUE@am__objects_2 = CurrentTrackOSX.$(OBJEXT) @LINUX_TRUE@am__objects_3 = currentTrackLinux.$(OBJEXT) @FREEBSD_TRUE@am__objects_4 = currentTrackLinux.$(OBJEXT) am_butt_OBJECTS = butt.$(OBJEXT) cfg.$(OBJEXT) icecast.$(OBJEXT) \ lame_encode.$(OBJEXT) tls.$(OBJEXT) parseconfig.$(OBJEXT) \ port_audio.$(OBJEXT) ringbuffer.$(OBJEXT) shoutcast.$(OBJEXT) \ sockfuncs.$(OBJEXT) strfuncs.$(OBJEXT) timer.$(OBJEXT) \ util.$(OBJEXT) vorbis_encode.$(OBJEXT) vu_meter.$(OBJEXT) \ wav_header.$(OBJEXT) opus_encode.$(OBJEXT) \ flac_encode.$(OBJEXT) dsp.$(OBJEXT) Biquad.$(OBJEXT) \ command.$(OBJEXT) update.$(OBJEXT) FLTK/Fl_ILM216.$(OBJEXT) \ FLTK/fl_callbacks.$(OBJEXT) FLTK/fl_funcs.$(OBJEXT) \ FLTK/flgui.$(OBJEXT) FLTK/Fl_My_Native_File_Chooser.$(OBJEXT) \ FLTK/Fl_vu_meter.$(OBJEXT) FLTK/fl_timer_funcs.$(OBJEXT) \ aac_encode.$(OBJEXT) $(am__objects_1) $(am__objects_2) \ $(am__objects_3) $(am__objects_4) butt_OBJECTS = $(am_butt_OBJECTS) butt_LDADD = $(LDADD) butt_DEPENDENCIES = 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__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/Biquad.Po \ ./$(DEPDIR)/CurrentTrackOSX.Po ./$(DEPDIR)/aac_encode.Po \ ./$(DEPDIR)/butt.Po ./$(DEPDIR)/cfg.Po ./$(DEPDIR)/command.Po \ ./$(DEPDIR)/currentTrack.Po ./$(DEPDIR)/currentTrackLinux.Po \ ./$(DEPDIR)/dsp.Po ./$(DEPDIR)/flac_encode.Po \ ./$(DEPDIR)/icecast.Po ./$(DEPDIR)/lame_encode.Po \ ./$(DEPDIR)/opus_encode.Po ./$(DEPDIR)/parseconfig.Po \ ./$(DEPDIR)/port_audio.Po ./$(DEPDIR)/ringbuffer.Po \ ./$(DEPDIR)/shoutcast.Po ./$(DEPDIR)/sockfuncs.Po \ ./$(DEPDIR)/strfuncs.Po ./$(DEPDIR)/timer.Po \ ./$(DEPDIR)/tls.Po ./$(DEPDIR)/update.Po ./$(DEPDIR)/util.Po \ ./$(DEPDIR)/vorbis_encode.Po ./$(DEPDIR)/vu_meter.Po \ ./$(DEPDIR)/wav_header.Po FLTK/$(DEPDIR)/Fl_ILM216.Po \ FLTK/$(DEPDIR)/Fl_My_Native_File_Chooser.Po \ FLTK/$(DEPDIR)/Fl_vu_meter.Po FLTK/$(DEPDIR)/fl_callbacks.Po \ FLTK/$(DEPDIR)/fl_funcs.Po FLTK/$(DEPDIR)/fl_timer_funcs.Po \ FLTK/$(DEPDIR)/flgui.Po am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) AM_V_CXX = $(am__v_CXX_@AM_V@) am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) am__v_CXX_0 = @echo " CXX " $@; am__v_CXX_1 = CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) am__v_CXXLD_0 = @echo " CXXLD " $@; am__v_CXXLD_1 = OBJCCOMPILE = $(OBJC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_OBJCFLAGS) $(OBJCFLAGS) AM_V_OBJC = $(am__v_OBJC_@AM_V@) am__v_OBJC_ = $(am__v_OBJC_@AM_DEFAULT_V@) am__v_OBJC_0 = @echo " OBJC " $@; am__v_OBJC_1 = OBJCLD = $(OBJC) OBJCLINK = $(OBJCLD) $(AM_OBJCFLAGS) $(OBJCFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ AM_V_OBJCLD = $(am__v_OBJCLD_@AM_V@) am__v_OBJCLD_ = $(am__v_OBJCLD_@AM_DEFAULT_V@) am__v_OBJCLD_0 = @echo " OBJCLD " $@; am__v_OBJCLD_1 = 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 = $(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 = $(butt_SOURCES) DIST_SOURCES = $(am__butt_SOURCES_DIST) 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 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DBUS_CFLAGS = @DBUS_CFLAGS@ DBUS_LIBS = @DBUS_LIBS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FLTKCONFIG = @FLTKCONFIG@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ 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@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ OBJC = @OBJC@ OBJCDEPMODE = @OBJCDEPMODE@ OBJCFLAGS = @OBJCFLAGS@ OBJEXT = @OBJEXT@ 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@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ XMKMF = @XMKMF@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_OBJC = @ac_ct_OBJC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AM_CPPFLAGS = -IFLTK -DLOCALEDIR='"$(localedir)"' -D_="gettext" \ $(am__append_2) butt_SOURCES = butt.cpp butt.h cfg.cpp cfg.h icecast.cpp icecast.h \ lame_encode.cpp tls.cpp tls.h lame_encode.h parseconfig.cpp \ parseconfig.h port_audio.cpp port_audio.h ringbuffer.cpp \ ringbuffer.h shoutcast.cpp shoutcast.h sockfuncs.cpp \ sockfuncs.h strfuncs.cpp strfuncs.h timer.cpp timer.h util.cpp \ util.h vorbis_encode.cpp vorbis_encode.h vu_meter.cpp \ vu_meter.h wav_header.cpp wav_header.h opus_encode.cpp \ opus_encode.h flac_encode.cpp flac_encode.h dsp.cpp dsp.hpp \ Biquad.cpp Biquad.h command.cpp command.h update.cpp update.h \ FLTK/Fl_ILM216.cpp FLTK/Fl_ILM216.h FLTK/fl_callbacks.cpp \ FLTK/fl_callbacks.h FLTK/fl_funcs.cpp FLTK/fl_funcs.h \ FLTK/flgui.cpp FLTK/flgui.h FLTK/FL/Fl_My_Double_Window.H \ FLTK/FL/Fl_My_Value_Slider.H \ FLTK/Fl_My_Native_File_Chooser.cxx \ FLTK/FL/Fl_My_Native_File_Chooser.H FLTK/Fl_vu_meter.cpp \ FLTK/Fl_vu_meter.h FLTK/fl_timer_funcs.cpp \ FLTK/fl_timer_funcs.h aac_encode.cpp aac_encode.h \ $(am__append_1) $(am__append_3) $(am__append_4) \ $(am__append_5) @WINDOWS_TRUE@LDADD = -lintl all: all-am .SUFFIXES: .SUFFIXES: .cpp .cxx .m .o .obj .rc $(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) --foreign src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign src/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__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ 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-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; 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 echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ 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; \ else { print "f", $$3 "/" $$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_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) FLTK/$(am__dirstamp): @$(MKDIR_P) FLTK @: > FLTK/$(am__dirstamp) FLTK/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) FLTK/$(DEPDIR) @: > FLTK/$(DEPDIR)/$(am__dirstamp) FLTK/Fl_ILM216.$(OBJEXT): FLTK/$(am__dirstamp) \ FLTK/$(DEPDIR)/$(am__dirstamp) FLTK/fl_callbacks.$(OBJEXT): FLTK/$(am__dirstamp) \ FLTK/$(DEPDIR)/$(am__dirstamp) FLTK/fl_funcs.$(OBJEXT): FLTK/$(am__dirstamp) \ FLTK/$(DEPDIR)/$(am__dirstamp) FLTK/flgui.$(OBJEXT): FLTK/$(am__dirstamp) \ FLTK/$(DEPDIR)/$(am__dirstamp) FLTK/Fl_My_Native_File_Chooser.$(OBJEXT): FLTK/$(am__dirstamp) \ FLTK/$(DEPDIR)/$(am__dirstamp) FLTK/Fl_vu_meter.$(OBJEXT): FLTK/$(am__dirstamp) \ FLTK/$(DEPDIR)/$(am__dirstamp) FLTK/fl_timer_funcs.$(OBJEXT): FLTK/$(am__dirstamp) \ FLTK/$(DEPDIR)/$(am__dirstamp) butt$(EXEEXT): $(butt_OBJECTS) $(butt_DEPENDENCIES) $(EXTRA_butt_DEPENDENCIES) @rm -f butt$(EXEEXT) $(AM_V_CXXLD)$(CXXLINK) $(butt_OBJECTS) $(butt_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) -rm -f FLTK/*.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Biquad.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CurrentTrackOSX.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aac_encode.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/butt.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cfg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/command.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/currentTrack.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/currentTrackLinux.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dsp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/flac_encode.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/icecast.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lame_encode.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opus_encode.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parseconfig.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/port_audio.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ringbuffer.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shoutcast.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockfuncs.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strfuncs.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tls.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/update.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vorbis_encode.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vu_meter.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wav_header.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@FLTK/$(DEPDIR)/Fl_ILM216.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@FLTK/$(DEPDIR)/Fl_My_Native_File_Chooser.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@FLTK/$(DEPDIR)/Fl_vu_meter.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@FLTK/$(DEPDIR)/fl_callbacks.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@FLTK/$(DEPDIR)/fl_funcs.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@FLTK/$(DEPDIR)/fl_timer_funcs.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@FLTK/$(DEPDIR)/flgui.Po@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @echo '# dummy' >$@-t && $(am__mv) $@-t $@ am--depfiles: $(am__depfiles_remade) .cpp.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cpp.obj: @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cxx.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cxx.obj: @am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .m.o: @am__fastdepOBJC_TRUE@ $(AM_V_OBJC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepOBJC_TRUE@ $(OBJCCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepOBJC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepOBJC_FALSE@ $(AM_V_OBJC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepOBJC_FALSE@ DEPDIR=$(DEPDIR) $(OBJCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepOBJC_FALSE@ $(AM_V_OBJC@am__nodep@)$(OBJCCOMPILE) -c -o $@ $< .m.obj: @am__fastdepOBJC_TRUE@ $(AM_V_OBJC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepOBJC_TRUE@ $(OBJCCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepOBJC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepOBJC_FALSE@ $(AM_V_OBJC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepOBJC_FALSE@ DEPDIR=$(DEPDIR) $(OBJCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepOBJC_FALSE@ $(AM_V_OBJC@am__nodep@)$(OBJCCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 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: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(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 $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; 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) -rm -f FLTK/$(DEPDIR)/$(am__dirstamp) -rm -f FLTK/$(am__dirstamp) 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-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/Biquad.Po -rm -f ./$(DEPDIR)/CurrentTrackOSX.Po -rm -f ./$(DEPDIR)/aac_encode.Po -rm -f ./$(DEPDIR)/butt.Po -rm -f ./$(DEPDIR)/cfg.Po -rm -f ./$(DEPDIR)/command.Po -rm -f ./$(DEPDIR)/currentTrack.Po -rm -f ./$(DEPDIR)/currentTrackLinux.Po -rm -f ./$(DEPDIR)/dsp.Po -rm -f ./$(DEPDIR)/flac_encode.Po -rm -f ./$(DEPDIR)/icecast.Po -rm -f ./$(DEPDIR)/lame_encode.Po -rm -f ./$(DEPDIR)/opus_encode.Po -rm -f ./$(DEPDIR)/parseconfig.Po -rm -f ./$(DEPDIR)/port_audio.Po -rm -f ./$(DEPDIR)/ringbuffer.Po -rm -f ./$(DEPDIR)/shoutcast.Po -rm -f ./$(DEPDIR)/sockfuncs.Po -rm -f ./$(DEPDIR)/strfuncs.Po -rm -f ./$(DEPDIR)/timer.Po -rm -f ./$(DEPDIR)/tls.Po -rm -f ./$(DEPDIR)/update.Po -rm -f ./$(DEPDIR)/util.Po -rm -f ./$(DEPDIR)/vorbis_encode.Po -rm -f ./$(DEPDIR)/vu_meter.Po -rm -f ./$(DEPDIR)/wav_header.Po -rm -f FLTK/$(DEPDIR)/Fl_ILM216.Po -rm -f FLTK/$(DEPDIR)/Fl_My_Native_File_Chooser.Po -rm -f FLTK/$(DEPDIR)/Fl_vu_meter.Po -rm -f FLTK/$(DEPDIR)/fl_callbacks.Po -rm -f FLTK/$(DEPDIR)/fl_funcs.Po -rm -f FLTK/$(DEPDIR)/fl_timer_funcs.Po -rm -f FLTK/$(DEPDIR)/flgui.Po -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-binPROGRAMS 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 ./$(DEPDIR)/Biquad.Po -rm -f ./$(DEPDIR)/CurrentTrackOSX.Po -rm -f ./$(DEPDIR)/aac_encode.Po -rm -f ./$(DEPDIR)/butt.Po -rm -f ./$(DEPDIR)/cfg.Po -rm -f ./$(DEPDIR)/command.Po -rm -f ./$(DEPDIR)/currentTrack.Po -rm -f ./$(DEPDIR)/currentTrackLinux.Po -rm -f ./$(DEPDIR)/dsp.Po -rm -f ./$(DEPDIR)/flac_encode.Po -rm -f ./$(DEPDIR)/icecast.Po -rm -f ./$(DEPDIR)/lame_encode.Po -rm -f ./$(DEPDIR)/opus_encode.Po -rm -f ./$(DEPDIR)/parseconfig.Po -rm -f ./$(DEPDIR)/port_audio.Po -rm -f ./$(DEPDIR)/ringbuffer.Po -rm -f ./$(DEPDIR)/shoutcast.Po -rm -f ./$(DEPDIR)/sockfuncs.Po -rm -f ./$(DEPDIR)/strfuncs.Po -rm -f ./$(DEPDIR)/timer.Po -rm -f ./$(DEPDIR)/tls.Po -rm -f ./$(DEPDIR)/update.Po -rm -f ./$(DEPDIR)/util.Po -rm -f ./$(DEPDIR)/vorbis_encode.Po -rm -f ./$(DEPDIR)/vu_meter.Po -rm -f ./$(DEPDIR)/wav_header.Po -rm -f FLTK/$(DEPDIR)/Fl_ILM216.Po -rm -f FLTK/$(DEPDIR)/Fl_My_Native_File_Chooser.Po -rm -f FLTK/$(DEPDIR)/Fl_vu_meter.Po -rm -f FLTK/$(DEPDIR)/fl_callbacks.Po -rm -f FLTK/$(DEPDIR)/fl_funcs.Po -rm -f FLTK/$(DEPDIR)/fl_timer_funcs.Po -rm -f FLTK/$(DEPDIR)/flgui.Po -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \ distclean distclean-compile distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-binPROGRAMS 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-compile mostlyclean-generic pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am \ uninstall-binPROGRAMS .PRECIOUS: Makefile # used only under MinGW to compile the resource.rc file (manifest and program icon) .rc.o: windres $^ -o $@ %.o : %.rc windres $^ -o $@ # 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: butt-0.1.26/src/sockfuncs.cpp0000664000175000017500000001144713736310753013011 00000000000000// socket functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #include #ifdef WIN32 #include #ifndef errno #define errno WSAGetLastError() #endif #ifndef EWOULDBLOCK #define EWOULDBLOCK WSAEWOULDBLOCK #endif #else #include #include #include #include //defines IPPROTO_TCP on BSD #include #include #include #endif #include "sockfuncs.h" #ifdef WIN32 typedef int socklen_t; #endif int sock_connect(const char *addr, short port, int timout_ms) { int sock; struct hostent *host_ptr; struct sockaddr_in hostname; #ifdef WIN32 WSADATA wsa; WSAStartup(MAKEWORD(2,2),&wsa); #endif sock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); if(sock == -1) return SOCK_ERR_CREATE; host_ptr = gethostbyname(addr); if(host_ptr == NULL) { host_ptr = gethostbyaddr(addr, strlen(addr), AF_INET); if(host_ptr == NULL) { sock_close(sock); return SOCK_ERR_RESOLVE; } } hostname.sin_family = AF_INET; hostname.sin_port = htons(port); memcpy(&hostname.sin_addr, host_ptr->h_addr, host_ptr->h_length); sock_nonblock(sock); connect(sock, (struct sockaddr*) &hostname, sizeof(hostname)); if(sock_select(sock, timout_ms, WRITE) <= 0) { sock_close(sock); return SOCK_TIMEOUT; } if(!sock_isvalid(sock)) { sock_close(sock); return SOCK_INVALID; } return sock; } int sock_setbufsize(int s, int send_size, int recv_size) { int ret; socklen_t len = sizeof(send_size); if(send_size > 0) { ret = setsockopt(s, SOL_SOCKET, SO_SNDBUF, (char*)(&send_size), len); if(ret) return SOCK_ERR_SET_SBUF; } if(recv_size > 0) { ret = setsockopt(s, SOL_SOCKET, SO_RCVBUF, (char*)(&recv_size), len); if(ret) return SOCK_ERR_SET_RBUF; } return 0; } int sock_send(int s, const char *buf, int len, int timout_ms) { int rc; int sent = 0; int error; while(sent < len) { rc = sock_select(s, 10000, WRITE); //check if socket is connected if(rc == 0) { fflush(stdout); return SOCK_TIMEOUT; } if(rc == -1) { fflush(stdout); return SOCK_TIMEOUT; } if((rc = send(s, buf+sent, len-sent, 0)) < 0) { error = errno; if(error != EWOULDBLOCK) { fflush(stdout); return SOCK_TIMEOUT; } rc = 0; } sent += rc; } return sent; } int sock_recv(int s, char *buf, int len, int timout_ms) { int rc; if(sock_select(s, timout_ms, READ) <= 0) return SOCK_TIMEOUT; rc = recv(s, buf, len, 0); return rc; } int sock_nonblock(int s) { #ifndef WIN32 long arg; arg = fcntl(s, F_GETFL); arg |= O_NONBLOCK; return fcntl(s, F_SETFL, arg); #else unsigned long arg = 1; return ioctlsocket(s, FIONBIO, &arg); #endif } int sock_block(int s) { #ifndef WIN32 long arg; arg = fcntl(s, F_GETFL); arg &= ~O_NONBLOCK; return fcntl(s, F_SETFL, arg); #else unsigned long arg = 0; return ioctlsocket(s, FIONBIO, &arg); #endif } int sock_select(int s, int timout_ms, int mode) { struct timeval tv; fd_set fd_wr, fd_rd; FD_ZERO(&fd_wr); FD_ZERO(&fd_rd); FD_SET(s, &fd_wr); FD_SET(s, &fd_rd); tv.tv_sec = timout_ms/1000; tv.tv_usec = (timout_ms%1000)*1000; switch(mode) { case READ: return select(s+1, &fd_rd, NULL, NULL, &tv); break; case WRITE: return select(s+1, NULL, &fd_wr, NULL, &tv); break; case RW: return select(s+1, &fd_rd, &fd_wr, NULL, &tv); break; default: return SOCK_NO_MODE; } } int sock_isvalid(int s) { int optval; socklen_t len = sizeof(optval); getsockopt(s, SOL_SOCKET, SO_ERROR, (char*)(&optval), &len); if (optval) return 0; return 1; } void sock_close(int s) { #ifdef WIN32 closesocket(s); WSACleanup(); #else close(s); #endif } butt-0.1.26/src/vu_meter.h0000664000175000017500000000211713663226731012301 00000000000000// vu-meter functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef VU_METER #define VU_METER #include #define VU_OFFSET 6 #define TRESHOLD_1 -50 //dB #define TRESHOLD_2 -30 #define TRESHOLD_3 -20 #define TRESHOLD_4 -12 #define TRESHOLD_5 -4 #define TRESHOLD_6 0 #define TRESHOLD_7 1 #define TRESHOLD_8 3 #define TRESHOLD_9 5.5 enum LED_state { OFF = 0, ON = 1 }; struct vu_led_t { float thld; struct { Fl_Widget *widget; int is_peak; }left, right; }; void vu_init(void); void vu_meter(short left, short right); #endif butt-0.1.26/src/sockfuncs.h0000664000175000017500000000274513736310753012457 00000000000000// socket functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef SOCKFUNCS_H #define SOCKFUNCS_H enum { READ = 0, WRITE = 1, RW = 2 }; enum { SOCK_ERR_CREATE = -1, SOCK_ERR_RESOLVE = -2, SOCK_TIMEOUT = -3, SOCK_INVALID = -4, SOCK_NO_MODE = -5, SOCK_ERR_SET_SBUF = -6, SOCK_ERR_SET_RBUF = -7, SOCK_ERR_BIND = -8, SOCK_ERR_LISTEN = -9 }; enum { CONN_TIMEOUT = 1000, SEND_TIMEOUT = 3000, RECV_TIMEOUT = 1000 }; int sock_connect(const char *addr, short port, int timout_ms); int sock_listen(void); int sock_setbufsize(int s, int send_size, int recv_size); int sock_isdisconnected(int s); int sock_send(int s, const char *buf, int len, int timout_ms); int sock_recv(int s, char *buf, int len, int timout_ms); int sock_select(int s, int timout_ms, int mode); int sock_nonblock(int s); int sock_block(int s); int sock_isvalid(int s); void sock_close(int s); void sock_fdinit(int s); void sock_fdclr(int s); void sock_fdzero(void); #endif butt-0.1.26/src/butt.h0000664000175000017500000000337713663226731011442 00000000000000// butt - broadcast using this tool // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef BUTT_H #define BUTT_H #include "config.h" #include "timer.h" #include "lame_encode.h" #include "vorbis_encode.h" #include "opus_encode.h" #include "flac_encode.h" #include "aac_encode.h" extern bool record; extern bool recording; //TRUE if butt is recording extern bool connected; //TRUE if butt is connected to server extern bool disconnect; //TRUE if butt should disconnect extern bool try_connect; //but will try to connect to a server while TRUE extern bool streaming; extern bool song_timeout_running; //TRUE if automatic song updating is running extern bool app_timeout_running; //TRUE if automatic song updating from some app is running extern int stream_socket; extern double kbytes_sent; extern double kbytes_written; extern unsigned int record_start_hour; // the hour when last recording started extern sec_timer rec_timer; extern sec_timer stream_timer; extern lame_enc lame_stream; extern lame_enc lame_rec; extern vorbis_enc vorbis_stream; extern vorbis_enc vorbis_rec; extern opus_enc opus_stream; extern opus_enc opus_rec; extern flac_enc flac_rec; extern flac_enc flac_stream; #ifdef HAVE_LIBFDK_AAC extern aac_enc aac_stream; extern aac_enc aac_rec; #endif #endif butt-0.1.26/src/FLTK/0000775000175000017500000000000013770656734011132 500000000000000butt-0.1.26/src/FLTK/Fl_My_Native_File_Chooser_MAC.mm0000664000175000017500000004645113663226731017023 00000000000000// "$Id$" // // FLTK native OS file chooser widget // // Copyright 1998-2010 by Bill Spitzak and others. // Copyright 2004 Greg Ercolano. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see the license at: // // http://www.fltk.org/COPYING.php // // Please report all bugs and problems to: // // http://www.fltk.org/str.php // // TODO: // o When doing 'open file', only dir is preset, not filename. // Possibly 'preset_file' could be used to select the filename. // #ifdef __APPLE__ #include "Fl_My_Native_File_Chooser_common.cxx" // strnew/strfree/strapp/chrcat #include // dirname(3) #include // stat(2) #include // stat(2) #include #include #include "FL/Fl_My_Native_File_Chooser.H" #include #include // FREE PATHNAMES ARRAY, IF IT HAS ANY CONTENTS void Fl_My_Native_File_Chooser::clear_pathnames() { if ( _pathnames ) { while ( --_tpathnames >= 0 ) { _pathnames[_tpathnames] = strfree(_pathnames[_tpathnames]); } delete [] _pathnames; _pathnames = NULL; } _tpathnames = 0; } // SET A SINGLE PATHNAME void Fl_My_Native_File_Chooser::set_single_pathname(const char *s) { clear_pathnames(); _pathnames = new char*[1]; _pathnames[0] = strnew(s); _tpathnames = 1; } // CONSTRUCTOR Fl_My_Native_File_Chooser::Fl_My_Native_File_Chooser(int val) { _btype = val; _panel = NULL; _options = NO_OPTIONS; _pathnames = NULL; _tpathnames = 0; _title = NULL; _filter = NULL; _filt_names = NULL; memset(_filt_patt, 0, sizeof(char*) * MAXFILTERS); _filt_total = 0; _filt_value = 0; _directory = NULL; _preset_file = NULL; _errmsg = NULL; } // DESTRUCTOR Fl_My_Native_File_Chooser::~Fl_My_Native_File_Chooser() { // _opts // nothing to manage // _options // nothing to manage // _keepstate // nothing to manage // _tempitem // nothing to manage clear_pathnames(); _directory = strfree(_directory); _title = strfree(_title); _preset_file = strfree(_preset_file); _filter = strfree(_filter); //_filt_names // managed by clear_filters() //_filt_patt[i] // managed by clear_filters() //_filt_total // managed by clear_filters() clear_filters(); //_filt_value // nothing to manage _errmsg = strfree(_errmsg); } // GET TYPE OF BROWSER int Fl_My_Native_File_Chooser::type() const { return(_btype); } // SET OPTIONS void Fl_My_Native_File_Chooser::options(int val) { _options = val; } // GET OPTIONS int Fl_My_Native_File_Chooser::options() const { return(_options); } // SHOW THE BROWSER WINDOW // Returns: // 0 - user picked a file // 1 - user cancelled // -1 - failed; errmsg() has reason // int Fl_My_Native_File_Chooser::show() { // Make sure fltk interface updates before posting our dialog Fl::flush(); // POST BROWSER int err = post(); return(err); } // SET ERROR MESSAGE // Internal use only. // void Fl_My_Native_File_Chooser::errmsg(const char *msg) { _errmsg = strfree(_errmsg); _errmsg = strnew(msg); } // RETURN ERROR MESSAGE const char *Fl_My_Native_File_Chooser::errmsg() const { return(_errmsg ? _errmsg : "No error"); } // GET FILENAME const char* Fl_My_Native_File_Chooser::filename() const { if ( _pathnames && _tpathnames > 0 ) return(_pathnames[0]); return(""); } // GET FILENAME FROM LIST OF FILENAMES const char* Fl_My_Native_File_Chooser::filename(int i) const { if ( _pathnames && i < _tpathnames ) return(_pathnames[i]); return(""); } // GET TOTAL FILENAMES CHOSEN int Fl_My_Native_File_Chooser::count() const { return(_tpathnames); } // PRESET PATHNAME // Value can be NULL for none. // void Fl_My_Native_File_Chooser::directory(const char *val) { _directory = strfree(_directory); _directory = strnew(val); } // GET PRESET PATHNAME // Returned value can be NULL if none set. // const char* Fl_My_Native_File_Chooser::directory() const { return(_directory); } // SET TITLE // Value can be NULL if no title desired. // void Fl_My_Native_File_Chooser::title(const char *val) { _title = strfree(_title); _title = strnew(val); } // GET TITLE // Returned value can be NULL if none set. // const char *Fl_My_Native_File_Chooser::title() const { return(_title); } // SET FILTER // Can be NULL if no filter needed // void Fl_My_Native_File_Chooser::filter(const char *val) { _filter = strfree(_filter); _filter = strnew(val); // Parse filter user specified // IN: _filter = "C Files\t*.{cxx,h}\nText Files\t*.txt" // OUT: _filt_names = "C Files\tText Files" // _filt_patt[0] = "*.{cxx,h}" // _filt_patt[1] = "*.txt" // _filt_total = 2 // parse_filter(_filter); } // GET FILTER // Returned value can be NULL if none set. // const char *Fl_My_Native_File_Chooser::filter() const { return(_filter); } // CLEAR ALL FILTERS // Internal use only. // void Fl_My_Native_File_Chooser::clear_filters() { _filt_names = strfree(_filt_names); for (int i=0; i<_filt_total; i++) { _filt_patt[i] = strfree(_filt_patt[i]); } _filt_total = 0; } // PARSE USER'S FILTER SPEC // Parses user specified filter ('in'), // breaks out into _filt_patt[], _filt_names, and _filt_total. // // Handles: // IN: OUT:_filt_names OUT: _filt_patt // ------------------------------------ ------------------ --------------- // "*.{ma,mb}" "*.{ma,mb} Files" "*.{ma,mb}" // "*.[abc]" "*.[abc] Files" "*.[abc]" // "*.txt" "*.txt Files" "*.c" // "C Files\t*.[ch]" "C Files" "*.[ch]" // "C Files\t*.[ch]\nText Files\t*.cxx" "C Files" "*.[ch]" // // Parsing Mode: // IN:"C Files\t*.{cxx,h}" // ||||||| ||||||||| // mode: nnnnnnn wwwwwwwww // \_____/ \_______/ // Name Wildcard // void Fl_My_Native_File_Chooser::parse_filter(const char *in) { clear_filters(); if ( ! in ) return; int has_name = strchr(in, '\t') ? 1 : 0; char mode = has_name ? 'n' : 'w'; // parse mode: n=title, w=wildcard char wildcard[1024] = ""; // parsed wildcard char name[1024] = ""; // Parse filter user specified for ( ; 1; in++ ) { //// DEBUG //// printf("WORKING ON '%c': mode=<%c> name=<%s> wildcard=<%s>\n", //// *in, mode, name, wildcard); switch (*in) { // FINISHED PARSING NAME? case '\t': if ( mode != 'n' ) goto regchar; mode = 'w'; break; // ESCAPE NEXT CHAR case '\\': ++in; goto regchar; // FINISHED PARSING ONE OF POSSIBLY SEVERAL FILTERS? case '\r': case '\n': case '\0': // TITLE // If user didn't specify a name, make one // if ( name[0] == '\0' ) { sprintf(name, "%.*s Files", (int)sizeof(name)-10, wildcard); } // APPEND NEW FILTER TO LIST if ( wildcard[0] ) { // Add to filtername list // Tab delimit if more than one. We later break // tab delimited string into CFArray with // CFStringCreateArrayBySeparatingStrings() // if ( _filt_total ) { _filt_names = strapp(_filt_names, "\t"); } _filt_names = strapp(_filt_names, name); // Add filter to the pattern array _filt_patt[_filt_total++] = strnew(wildcard); } // RESET wildcard[0] = name[0] = '\0'; mode = strchr(in, '\t') ? 'n' : 'w'; // DONE? if ( *in == '\0' ) return; // done else continue; // not done yet, more filters // Parse all other chars default: // handle all non-special chars regchar: // handle regular char switch ( mode ) { case 'n': chrcat(name, *in); continue; case 'w': chrcat(wildcard, *in); continue; } break; } } //NOTREACHED } // SET PRESET FILE // Value can be NULL for none. // void Fl_My_Native_File_Chooser::preset_file(const char* val) { _preset_file = strfree(_preset_file); _preset_file = strnew(val); } // PRESET FILE // Returned value can be NULL if none set. // const char* Fl_My_Native_File_Chooser::preset_file() const { return(_preset_file); } void Fl_My_Native_File_Chooser::filter_value(int val) { _filt_value = val; } int Fl_My_Native_File_Chooser::filter_value() const { return(_filt_value); } int Fl_My_Native_File_Chooser::filters() const { return(_filt_total); } #import #define UNLIKELYPREFIX "___fl_very_unlikely_prefix_" int Fl_My_Native_File_Chooser::get_saveas_basename(void) { char *q = strdup( [[[(NSSavePanel*)_panel URL] path] UTF8String] ); if ( !(_options & SAVEAS_CONFIRM) ) { const char *d = [[[[(NSSavePanel*)_panel URL] path] stringByDeletingLastPathComponent] UTF8String]; int l = (int)strlen(d) + 1; if (strcmp(d, "/") == 0) l = 1; int lu = strlen(UNLIKELYPREFIX); // Remove UNLIKELYPREFIX between directory and filename parts // Daniel //memmove(q + l, q + l + lu, strlen(q + l + lu) + 1); orig from fltk //1.3.5 //fixes file picker on catalina if (memcmp(q+l, UNLIKELYPREFIX, lu) == 0) memmove(q + l, q + l + lu, strlen(q + l + lu) + 1); } set_single_pathname( q ); free(q); return 0; } // SET THE TYPE OF BROWSER void Fl_My_Native_File_Chooser::type(int val) { _btype = val; } /* Input filter= "C files\t*.{c,h}\nText files\t*.txt\n" patterns[0] = "*.{c,h}" patterns[1] = "*.txt" count = 2 Return: "C files (*.{c,h})\nText files (*.txt)\n" */ static char *prepareMacFilter(int count, const char *filter, char **patterns) { int rank = 0, l = 0; for (int i = 0; i < count; i++) { l += strlen(patterns[i]) + 3; } const char *p = filter; char *q; q = new char[strlen(p) + l + 1]; const char *r, *s; char *t; t = q; do { // copy to t what is in filter removing what is between \t and \n, if any r = strchr(p, '\n'); if (!r) r = p + strlen(p); s = strchr(p, '\t'); if (s && s < r) { memcpy(q, p, s - p); q += s - p; if (rank < count) { sprintf(q, " (%s)", patterns[rank]); q += strlen(q); } } else { memcpy(q, p, r - p); q += r - p; } rank++; *(q++) = '\n'; if (*r) p = r + 1; else p = r; } while(*p); *q = 0; return t; } @interface FLopenDelegate : NSObject #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 #endif { NSPopUpButton *nspopup; char **filter_pattern; } - (FLopenDelegate*)setPopup:(NSPopUpButton*)popup filter_pattern:(char**)pattern; - (BOOL)panel:(id)sender shouldShowFilename:(NSString *)filename; - (BOOL)panel:(id)sender shouldEnableURL:(NSURL *)url; @end @implementation FLopenDelegate - (FLopenDelegate*)setPopup:(NSPopUpButton*)popup filter_pattern:(char**)pattern { nspopup = popup; filter_pattern = pattern; return self; } - (BOOL)panel:(id)sender shouldShowFilename:(NSString *)filename { if ( [nspopup indexOfSelectedItem] == [nspopup numberOfItems] - 1) return YES; BOOL isdir = NO; [[NSFileManager defaultManager] fileExistsAtPath:filename isDirectory:&isdir]; if (isdir) return YES; if ( fl_filename_match([filename fileSystemRepresentation], filter_pattern[ [nspopup indexOfSelectedItem] ]) ) return YES; return NO; } - (BOOL)panel:(id)sender shouldEnableURL:(NSURL *)url { return [self panel:sender shouldShowFilename:[url path]]; } @end @interface FLsaveDelegate : NSObject #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 #endif { NSSavePanel *dialog; BOOL saveas_confirm; } - (NSString *)panel:(id)sender userEnteredFilename:(NSString *)filename confirmed:(BOOL)okFlag; - (void)changedPopup:(id)sender; - (void)panel:(NSSavePanel*)p; - (void)option:(BOOL)o; @end @implementation FLsaveDelegate - (NSString *)panel:(id)sender userEnteredFilename:(NSString *)filename confirmed:(BOOL)okFlag { if ( !okFlag || saveas_confirm ) return filename; // User has clicked save, and no overwrite confirmation should occur. // To get the latter, we need to change the name we return (hence the prefix): return [@ UNLIKELYPREFIX stringByAppendingString:filename]; } - (void)changedPopup:(id)sender // runs when the save panel popup menu changes output file type // correspondingly changes the extension of the output file name { if (fl_mac_os_version < 100600) return; // because of setNameFieldStringValue and nameFieldStringValue char *s = strdup([[(NSPopUpButton*)sender titleOfSelectedItem] UTF8String]); if (!s) return; char *p = strchr(s, '('); if (!p) p = s; p = strchr(p, '.'); if (!p) {free(s); return;} p++; while (*p == ' ') p++; if (!p || *p == '{') {free(s); return;} char *q = p+1; while (*q != ' ' && *q != ')' && *q != 0) q++; *q = 0; NSString *ns = [NSString stringWithFormat:@"%@.%@", [[dialog performSelector:@selector(nameFieldStringValue)] stringByDeletingPathExtension], [NSString stringWithUTF8String:p]]; free(s); [dialog performSelector:@selector(setNameFieldStringValue:) withObject:ns]; } - (void)panel:(NSSavePanel*)p { dialog = p; } - (void) option:(BOOL)o { saveas_confirm = o; } @end static NSPopUpButton *createPopupAccessory(NSSavePanel *panel, const char *filter, const char *title, int rank) { NSPopUpButton *popup; NSRect rectview = NSMakeRect(5, 5, 350, 30 ); NSView *view = [[[NSView alloc] initWithFrame:rectview] autorelease]; NSRect rectbox = NSMakeRect(0, 3, 140, 20 ); NSBox *box = [[[NSBox alloc] initWithFrame:rectbox] autorelease]; NSRect rectpop = NSMakeRect(105, 0, 246, 30 ); popup = [[[NSPopUpButton alloc ] initWithFrame:rectpop pullsDown:NO] autorelease]; [view addSubview:box]; [view addSubview:popup]; [box setBorderType:NSNoBorder]; NSString *nstitle = [[NSString alloc] initWithUTF8String:title]; [box setTitle:nstitle]; [nstitle release]; NSFont *font = [NSFont controlContentFontOfSize:NSRegularControlSize]; [box setTitleFont:font]; [box sizeToFit]; // horizontally move box to fit the locale-dependent width of its title NSRect r=[box frame]; NSPoint o = r.origin; o.x = rectpop.origin.x - r.size.width + 15; [box setFrameOrigin:o]; CFStringRef tab = CFSTR("\n"); CFStringRef tmp_cfs; tmp_cfs = CFStringCreateWithCString(NULL, filter, kCFStringEncodingUTF8); CFArrayRef array = CFStringCreateArrayBySeparatingStrings(NULL, tmp_cfs, tab); CFRelease(tmp_cfs); CFRelease(tab); [popup addItemsWithTitles:(NSArray*)array]; NSMenuItem *item = [popup itemWithTitle:@""]; if (item) [popup removeItemWithTitle:@""]; CFRelease(array); [popup selectItemAtIndex:rank]; [panel setAccessoryView:view]; return popup; } int Fl_My_Native_File_Chooser::runmodal() { NSString *dir = nil; NSString *fname = nil; NSString *preset = nil; NSInteger retval; if (_preset_file) { preset = [[NSString alloc] initWithUTF8String:_preset_file]; if (strchr(_preset_file, '/') != NULL) { dir = [[NSString alloc] initWithString:[preset stringByDeletingLastPathComponent]]; } fname = [preset lastPathComponent]; } if (_directory && !dir) dir = [[NSString alloc] initWithUTF8String:_directory]; if (fl_mac_os_version >= 100600) { if (dir) [(NSSavePanel*)_panel performSelector:@selector(setDirectoryURL:) withObject:[NSURL fileURLWithPath:dir]]; if (fname) [(NSSavePanel*)_panel performSelector:@selector(setNameFieldStringValue:) withObject:fname]; retval = [(NSSavePanel*)_panel runModal]; } else { retval = [(id)_panel runModalForDirectory:dir file:fname]; } [dir release]; [preset release]; return (retval == NSFileHandlingPanelOKButton ? 1 : 0); } // POST BROWSER // Internal use only. // Assumes '_opts' has been initialized. // // Returns: // 0 - user picked a file // 1 - user cancelled // -1 - failed; errmsg() has reason // int Fl_My_Native_File_Chooser::post() { // INITIALIZE BROWSER if ( _filt_total == 0 ) { // Make sure they match _filt_value = 0; // TBD: move to someplace more logical? } fl_open_display(); NSAutoreleasePool *localPool; localPool = [[NSAutoreleasePool alloc] init]; switch (_btype) { case BROWSE_FILE: case BROWSE_MULTI_FILE: case BROWSE_DIRECTORY: case BROWSE_MULTI_DIRECTORY: _panel = [NSOpenPanel openPanel]; break; case BROWSE_SAVE_DIRECTORY: case BROWSE_SAVE_FILE: _panel = [NSSavePanel savePanel]; break; } BOOL is_open_panel = [(NSSavePanel*)_panel isKindOfClass:[NSOpenPanel class]]; if (_title) { SEL title_or_message = (is_open_panel && fl_mac_os_version >= 101200) ? @selector(setMessage:) : @selector(setTitle:); [(NSSavePanel*)_panel performSelector:title_or_message withObject:[NSString stringWithUTF8String:_title]]; } switch (_btype) { case BROWSE_MULTI_FILE: [(NSOpenPanel*)_panel setAllowsMultipleSelection:YES]; break; case BROWSE_MULTI_DIRECTORY: [(NSOpenPanel*)_panel setAllowsMultipleSelection:YES]; /* FALLTHROUGH */ case BROWSE_DIRECTORY: [(NSOpenPanel*)_panel setCanChooseDirectories:YES]; break; case BROWSE_SAVE_DIRECTORY: [(NSSavePanel*)_panel setCanCreateDirectories:YES]; break; } // SHOW THE DIALOG NSWindow *key = [NSApp keyWindow]; NSPopUpButton *popup = nil; if ( is_open_panel ) { if (_filt_total) { char *t = prepareMacFilter(_filt_total, _filter, _filt_patt); popup = createPopupAccessory((NSSavePanel*)_panel, t, Fl_File_Chooser::show_label, 0); delete[] t; [[popup menu] addItem:[NSMenuItem separatorItem]]; [popup addItemWithTitle:[NSString stringWithUTF8String:Fl_File_Chooser::all_files_label]]; [popup setAction:@selector(validateVisibleColumns)]; [popup setTarget:(NSObject*)_panel]; FLopenDelegate *openDelegate = [[[FLopenDelegate alloc] init] autorelease]; [openDelegate setPopup:popup filter_pattern:_filt_patt]; [(NSOpenPanel*)_panel setDelegate:openDelegate]; } } else { FLsaveDelegate *saveDelegate = [[[FLsaveDelegate alloc] init] autorelease]; [(NSSavePanel*)_panel setAllowsOtherFileTypes:YES]; [(NSSavePanel*)_panel setDelegate:saveDelegate]; [saveDelegate option:(_options & SAVEAS_CONFIRM)]; if (_filt_total) { if (_filt_value >= _filt_total) _filt_value = _filt_total - 1; char *t = prepareMacFilter(_filt_total, _filter, _filt_patt); popup = createPopupAccessory((NSSavePanel*)_panel, t, [[(NSSavePanel*)_panel nameFieldLabel] UTF8String], _filt_value); delete[] t; if (_options & USE_FILTER_EXT) { [popup setAction:@selector(changedPopup:)]; [popup setTarget:saveDelegate]; [saveDelegate panel:(NSSavePanel*)_panel]; } [(NSSavePanel*)_panel setCanSelectHiddenExtension:YES]; } } int retval = runmodal(); if (_filt_total) { _filt_value = (int)[popup indexOfSelectedItem]; } if ( retval == 1 ) { if (is_open_panel) { clear_pathnames(); NSArray *array = [(NSOpenPanel*)_panel URLs]; _tpathnames = (int)[array count]; _pathnames = new char*[_tpathnames]; for(int i = 0; i < _tpathnames; i++) { _pathnames[i] = strnew([[(NSURL*)[array objectAtIndex:i] path] UTF8String]); } } else get_saveas_basename(); } [key makeKeyWindow]; [localPool release]; return (retval == 1 ? 0 : 1); } #endif // __APPLE__ // // End of "$Id$". // butt-0.1.26/src/FLTK/Fl_My_Native_File_Chooser_FLTK.cxx0000664000175000017500000003721513663226731017352 00000000000000// "$Id$" // // FLTK native file chooser widget wrapper for GTK's GtkFileChooserDialog // // Copyright 1998-2014 by Bill Spitzak and others. // Copyright 2012 IMM // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see the license at: // // http://www.fltk.org/COPYING.php // // Please report all bugs and problems to: // // http://www.fltk.org/str.php // #include #include #include #define FLTK_CHOOSER_SINGLE Fl_File_Chooser::SINGLE #define FLTK_CHOOSER_DIRECTORY Fl_File_Chooser::DIRECTORY #define FLTK_CHOOSER_MULTI Fl_File_Chooser::MULTI #define FLTK_CHOOSER_CREATE Fl_File_Chooser::CREATE #include "Fl_My_Native_File_Chooser_common.cxx" #include "Fl_My_Native_File_Chooser_GTK.cxx" #include #include int Fl_My_Native_File_Chooser::have_looked_for_GTK_libs = 0; /** The constructor. Internally allocates the native widgets. Optional \p val presets the type of browser this will be, which can also be changed with type(). */ Fl_My_Native_File_Chooser::Fl_My_Native_File_Chooser(int val) { #if FLTK_ABI_VERSION <= 10302 _btype = val; _options = NO_OPTIONS; _filter = NULL; _filtvalue = 0; _parsedfilt = NULL; _preset_file = NULL; _prevvalue = NULL; _directory = NULL; _errmsg = NULL; #endif // FLTK_ABI_VERSION if (have_looked_for_GTK_libs == 0) { // First Time here, try to find the GTK libs if they are installed #if HAVE_DLSYM && HAVE_DLFCN_H if (Fl::option(Fl::OPTION_FNFC_USES_GTK)) { Fl_GTK_File_Chooser::probe_for_GTK_libs(); } #endif have_looked_for_GTK_libs = -1; } // if we found all the GTK functions we need, we will use the GtkFileChooserDialog if (Fl_GTK_File_Chooser::did_find_GTK_libs) _gtk_file_chooser = new Fl_GTK_File_Chooser(val); else _x11_file_chooser = new Fl_FLTK_File_Chooser(val); } /** Destructor. Deallocates any resources allocated to this widget. */ Fl_My_Native_File_Chooser::~Fl_My_Native_File_Chooser() { delete _x11_file_chooser; } /** Sets the current Fl_My_Native_File_Chooser::Type of browser. */ void Fl_My_Native_File_Chooser::type(int t) { return _x11_file_chooser->type(t); } /** Gets the current Fl_My_Native_File_Chooser::Type of browser. */ int Fl_My_Native_File_Chooser::type() const { return _x11_file_chooser->type(); } /** Sets the platform specific chooser options to \p val. \p val is expected to be one or more Fl_My_Native_File_Chooser::Option flags ORed together. Some platforms have OS-specific functions that can be enabled/disabled via this method.

\code Flag Description Win Mac Other -------------- ----------------------------------------------- ------- ------- ------- NEW_FOLDER Shows the 'New Folder' button. Ignored Used Used PREVIEW Enables the 'Preview' mode by default. Ignored Ignored Used SAVEAS_CONFIRM Confirm dialog if BROWSE_SAVE_FILE file exists. Used Used Used USE_FILTER_EXT Chooser filter pilots the output file extension. Ignored Used Used (GTK) \endcode */ void Fl_My_Native_File_Chooser::options(int o) { _x11_file_chooser->options(o); } /** Gets the platform specific Fl_My_Native_File_Chooser::Option flags. */ int Fl_My_Native_File_Chooser::options() const { return _x11_file_chooser->options(); } /** Returns the number of filenames (or directory names) the user selected.

\b Example: \code if ( fnfc->show() == 0 ) { // Print all filenames user selected for (int n=0; ncount(); n++ ) { printf("%d) '%s'\n", n, fnfc->filename(n)); } } \endcode */ int Fl_My_Native_File_Chooser::count() const { return _x11_file_chooser->count(); } /** Return the filename the user chose. Use this if only expecting a single filename. If more than one filename is expected, use filename(int) instead. Return value may be "" if no filename was chosen (eg. user cancelled). */ const char *Fl_My_Native_File_Chooser::filename() const { return _x11_file_chooser->filename(); } /** Return one of the filenames the user selected. Use count() to determine how many filenames the user selected.

\b Example: \code if ( fnfc->show() == 0 ) { // Print all filenames user selected for (int n=0; ncount(); n++ ) { printf("%d) '%s'\n", n, fnfc->filename(n)); } } \endcode */ const char *Fl_My_Native_File_Chooser::filename(int i) const { return _x11_file_chooser->filename(i); } /** Preset the directory the browser will show when opened. If \p val is NULL, or no directory is specified, the chooser will attempt to use the last non-cancelled folder. */ void Fl_My_Native_File_Chooser::directory(const char *val) { _x11_file_chooser->directory(val); } /** Returns the current preset directory() value. */ const char *Fl_My_Native_File_Chooser::directory() const { return _x11_file_chooser->directory(); } /** Set the title of the file chooser's dialog window. Can be NULL if no title desired. The default title varies according to the platform, so you are advised to set the title explicitly. */ void Fl_My_Native_File_Chooser::title(const char *t) { _x11_file_chooser->title(t); } /** Get the title of the file chooser's dialog window. Return value may be NULL if no title was set. */ const char* Fl_My_Native_File_Chooser::title() const { return _x11_file_chooser->title(); } /** Returns the filter string last set. Can be NULL if no filter was set. */ const char *Fl_My_Native_File_Chooser::filter() const { return _x11_file_chooser->filter(); } /** Sets the filename filters used for browsing. The default is NULL, which browses all files.

The filter string can be any of:

- A single wildcard (eg. "*.txt") - Multiple wildcards (eg. "*.{cxx,h,H}") - A descriptive name followed by a "\t" and a wildcard (eg. "Text Files\t*.txt") - A list of separate wildcards with a "\n" between each (eg. "*.{cxx,H}\n*.txt") - A list of descriptive names and wildcards (eg. "C++ Files\t*.{cxx,H}\nTxt Files\t*.txt")

The format of each filter is a wildcard, or an optional user description followed by '\\t' and the wildcard.

On most platforms, each filter is available to the user via a pulldown menu in the file chooser. The 'All Files' option is always available to the user. */ void Fl_My_Native_File_Chooser::filter(const char *f) { _x11_file_chooser->filter(f); } /** Gets how many filters were available, not including "All Files" */ int Fl_My_Native_File_Chooser::filters() const { return _x11_file_chooser->filters(); } /** Sets which filter will be initially selected. The first filter is indexed as 0. If filter_value()==filters(), then "All Files" was chosen. If filter_value() > filters(), then a custom filter was set. */ void Fl_My_Native_File_Chooser::filter_value(int i) { _x11_file_chooser->filter_value(i); } /** Returns which filter value was last selected by the user. This is only valid if the chooser returns success. */ int Fl_My_Native_File_Chooser::filter_value() const { return _x11_file_chooser->filter_value(); } /** Sets the default filename for the chooser. Use directory() to set the default directory. Mainly used to preset the filename for save dialogs, and on most platforms can be used for opening files as well. */ void Fl_My_Native_File_Chooser::preset_file(const char* f) { _x11_file_chooser->preset_file(f); } /** Get the preset filename. */ const char* Fl_My_Native_File_Chooser::preset_file() const { return _x11_file_chooser->preset_file(); } /** Returns a system dependent error message for the last method that failed. This message should at least be flagged to the user in a dialog box, or to some kind of error log. Contents will be valid only for methods that document errmsg() will have info on failures. */ const char *Fl_My_Native_File_Chooser::errmsg() const { return _x11_file_chooser->errmsg(); } /** Post the chooser's dialog. Blocks until dialog has been completed or cancelled. \returns - 0 -- user picked a file - 1 -- user cancelled - -1 -- failed; errmsg() has reason */ int Fl_My_Native_File_Chooser::show() { return _x11_file_chooser->show(); } Fl_FLTK_File_Chooser::Fl_FLTK_File_Chooser(int val) { _btype = 0; _options = 0; _filter = NULL; _filtvalue = 0; _parsedfilt = NULL; _preset_file = NULL; _prevvalue = NULL; _directory = NULL; _errmsg = NULL; _file_chooser= NULL; if (val >= 0) { _file_chooser = new Fl_File_Chooser(NULL, NULL, 0, NULL); type(val); // do this after _file_chooser created } _nfilters = 0; } Fl_FLTK_File_Chooser::~Fl_FLTK_File_Chooser() { delete _file_chooser; _file_chooser = NULL; _filter = strfree(_filter); _parsedfilt = strfree(_parsedfilt); _preset_file = strfree(_preset_file); _prevvalue = strfree(_prevvalue); _directory = strfree(_directory); _errmsg = strfree(_errmsg); } // PRIVATE: SET ERROR MESSAGE void Fl_FLTK_File_Chooser::errmsg(const char *msg) { _errmsg = strfree(_errmsg); _errmsg = strnew(msg); } // PRIVATE: translate Native types to Fl_File_Chooser types int Fl_FLTK_File_Chooser::type_fl_file(int val) { switch (val) { case Fl_My_Native_File_Chooser::BROWSE_FILE: return(Fl_File_Chooser::SINGLE); case Fl_My_Native_File_Chooser::BROWSE_DIRECTORY: return(Fl_File_Chooser::SINGLE | Fl_File_Chooser::DIRECTORY); case Fl_My_Native_File_Chooser::BROWSE_MULTI_FILE: return(Fl_File_Chooser::MULTI); case Fl_My_Native_File_Chooser::BROWSE_MULTI_DIRECTORY: return(Fl_File_Chooser::DIRECTORY | Fl_File_Chooser::MULTI); case Fl_My_Native_File_Chooser::BROWSE_SAVE_FILE: return(Fl_File_Chooser::SINGLE | Fl_File_Chooser::CREATE); case Fl_My_Native_File_Chooser::BROWSE_SAVE_DIRECTORY: return(Fl_File_Chooser::DIRECTORY | Fl_File_Chooser::MULTI | Fl_File_Chooser::CREATE); default: return(Fl_File_Chooser::SINGLE); } } void Fl_FLTK_File_Chooser::type(int val) { _btype = val; _file_chooser->type(type_fl_file(val)); } int Fl_FLTK_File_Chooser::type() const { return(_btype); } void Fl_FLTK_File_Chooser::options(int val) { _options = val; } int Fl_FLTK_File_Chooser::options() const { return(_options); } int Fl_FLTK_File_Chooser::show() { // FILTER if ( _parsedfilt ) { _file_chooser->filter(_parsedfilt); } // FILTER VALUE // Set this /after/ setting the filter // _file_chooser->filter_value(_filtvalue); // DIRECTORY if ( _directory && _directory[0] ) { _file_chooser->directory(_directory); } else { _file_chooser->directory(_prevvalue); } // PRESET FILE if ( _preset_file ) { _file_chooser->value(_preset_file); } // OPTIONS: PREVIEW _file_chooser->preview( (options() & Fl_My_Native_File_Chooser::PREVIEW) ? 1 : 0); // OPTIONS: NEW FOLDER if ( options() & Fl_My_Native_File_Chooser::NEW_FOLDER ) _file_chooser->type(_file_chooser->type() | Fl_File_Chooser::CREATE); // on // SHOW _file_chooser->show(); // BLOCK WHILE BROWSER SHOWN while ( _file_chooser->shown() ) { Fl::wait(); } if ( _file_chooser->value() && _file_chooser->value()[0] ) { _prevvalue = strfree(_prevvalue); _prevvalue = strnew(_file_chooser->value()); _filtvalue = _file_chooser->filter_value(); // update filter value // HANDLE SHOWING 'SaveAs' CONFIRM if ( options() & Fl_My_Native_File_Chooser::SAVEAS_CONFIRM && type() == Fl_My_Native_File_Chooser::BROWSE_SAVE_FILE ) { struct stat buf; if ( stat(_file_chooser->value(), &buf) != -1 ) { if ( buf.st_mode & S_IFREG ) { // Regular file + exists? if ( exist_dialog() == 0 ) { return(1); } } } } } if ( _file_chooser->count() ) return(0); else return(1); } const char *Fl_FLTK_File_Chooser::errmsg() const { return(_errmsg ? _errmsg : "No error"); } const char* Fl_FLTK_File_Chooser::filename() const { if ( _file_chooser->count() > 0 ) { return(_file_chooser->value()); } return(""); } const char* Fl_FLTK_File_Chooser::filename(int i) const { if ( i < _file_chooser->count() ) return(_file_chooser->value(i+1)); // convert fltk 1 based to our 0 based return(""); } void Fl_FLTK_File_Chooser::title(const char *val) { _file_chooser->label(val); } const char *Fl_FLTK_File_Chooser::title() const { return(_file_chooser->label()); } void Fl_FLTK_File_Chooser::filter(const char *val) { _filter = strfree(_filter); _filter = strnew(val); parse_filter(); } const char *Fl_FLTK_File_Chooser::filter() const { return(_filter); } int Fl_FLTK_File_Chooser::filters() const { return(_nfilters); } void Fl_FLTK_File_Chooser::filter_value(int val) { _filtvalue = val; } int Fl_FLTK_File_Chooser::filter_value() const { return _filtvalue; } int Fl_FLTK_File_Chooser::count() const { return _file_chooser->count(); } void Fl_FLTK_File_Chooser::directory(const char *val) { _directory = strfree(_directory); _directory = strnew(val); } const char *Fl_FLTK_File_Chooser::directory() const { return _directory; } // PRIVATE: Convert our filter format to fltk's chooser format // FROM TO (FLTK) // ------------------------- -------------------------- // "*.cxx" "*.cxx Files(*.cxx)" // "C Files\t*.{cxx,h}" "C Files(*.{cxx,h})" // "C Files\t*.{cxx,h}\nText Files\t*.txt" "C Files(*.{cxx,h})\tText Files(*.txt)" // // Returns a modified version of the filter that the caller is responsible // for freeing with strfree(). // void Fl_FLTK_File_Chooser::parse_filter() { _parsedfilt = strfree(_parsedfilt); // clear previous parsed filter (if any) _nfilters = 0; char *in = _filter; if ( !in ) return; int has_name = strchr(in, '\t') ? 1 : 0; char mode = has_name ? 'n' : 'w'; // parse mode: n=title, w=wildcard char wildcard[1024] = ""; // parsed wildcard char name[1024] = ""; // Parse filter user specified for ( ; 1; in++ ) { /*** DEBUG printf("WORKING ON '%c': mode=<%c> name=<%s> wildcard=<%s>\n", *in, mode, name, wildcard); ***/ switch (*in) { // FINISHED PARSING NAME? case '\t': if ( mode != 'n' ) goto regchar; mode = 'w'; break; // ESCAPE NEXT CHAR case '\\': ++in; goto regchar; // FINISHED PARSING ONE OF POSSIBLY SEVERAL FILTERS? case '\r': case '\n': case '\0': // APPEND NEW FILTER TO LIST if ( wildcard[0] ) { // OUT: "name(wild)\tname(wild)" char comp[2048]; sprintf(comp, "%s%.511s(%.511s)", ((_parsedfilt)?"\t":""), name, wildcard); _parsedfilt = strapp(_parsedfilt, comp); _nfilters++; //DEBUG printf("DEBUG: PARSED FILT NOW <%s>\n", _parsedfilt); } // RESET wildcard[0] = name[0] = '\0'; mode = strchr(in, '\t') ? 'n' : 'w'; // DONE? if ( *in == '\0' ) return; // done else continue; // not done yet, more filters // Parse all other chars default: // handle all non-special chars regchar: // handle regular char switch ( mode ) { case 'n': chrcat(name, *in); continue; case 'w': chrcat(wildcard, *in); continue; } break; } } //NOTREACHED } void Fl_FLTK_File_Chooser::preset_file(const char* val) { _preset_file = strfree(_preset_file); _preset_file = strnew(val); } const char* Fl_FLTK_File_Chooser::preset_file() const { return _preset_file; } int Fl_FLTK_File_Chooser::exist_dialog() { return fl_choice("%s", fl_cancel, fl_ok, NULL, Fl_My_Native_File_Chooser::file_exists_message); } // // End of "$Id$". // butt-0.1.26/src/FLTK/Fl_ILM216.cpp0000664000175000017500000005526613663226731013056 00000000000000// // "$Id: Fl_ILM216.cxx,v 1.8 2003/02/26 01:59:31 easysw Exp $" // // ILM-216 LCD emulator widget code for flcdsim. // // Copyright 2003 by Michael Sweet. // // 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. // // Contents: // // Fl_ILM216::Fl_ILM216() - Create a new ILM-216 widget. // Fl_ILM216::~Fl_ILM216() - Delete an ILM-216 widget. // Fl_ILM216::draw() - Draw the widget. // Fl_LCD216::load_char() - Load a single character in the font. // Fl_LCD216::load_font() - Load the standard ILM-216 font. // Fl_LCD216::process() - Process data like an ILM-216. // //modified by Daniel Noethen // // Include necessary headers... // #include #include #include #include #include #include #include "butt.h" #include "flgui.h" #include "../xpm/rec.xpm" //rec_xpm #include "../xpm/rec_dark.xpm" //rec_xpm #include "../xpm/rec_armed.xpm" //rec_xpm #include "../xpm/conn.xpm" //conn_xpm #include "../xpm/conn_dark.xpm" //conn_xpm // // Font data for the LCD-216... // // // static const uchar standard_font[224][8] = { // 0x20 to 0x2f { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x04, 0x04, 0x04, 0x04, 0x00, 0x00, 0x04, 0x00 }, { 0x0a, 0x0a, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x0a, 0x0a, 0x1f, 0x0a, 0x1f, 0x0a, 0x0a, 0x00 }, { 0x04, 0x0f, 0x14, 0x0e, 0x05, 0x1e, 0x04, 0x00 }, { 0x18, 0x19, 0x02, 0x04, 0x08, 0x13, 0x03, 0x00 }, { 0x0c, 0x12, 0x14, 0x08, 0x15, 0x12, 0x0d, 0x00 }, { 0x0c, 0x04, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x02, 0x04, 0x08, 0x08, 0x08, 0x04, 0x02, 0x00 }, { 0x08, 0x04, 0x02, 0x02, 0x02, 0x04, 0x08, 0x00 }, { 0x00, 0x04, 0x15, 0x0e, 0x15, 0x04, 0x00, 0x00 }, { 0x00, 0x04, 0x04, 0x1f, 0x04, 0x04, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x04, 0x08 }, { 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x0c, 0x00 }, { 0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x00, 0x00 }, // 0x30 to 0x3f { 0x0e, 0x11, 0x13, 0x15, 0x19, 0x11, 0x0e, 0x00 }, { 0x04, 0x0c, 0x04, 0x04, 0x04, 0x04, 0x1f, 0x00 }, { 0x0e, 0x11, 0x01, 0x02, 0x04, 0x08, 0x1f, 0x00 }, { 0x1f, 0x02, 0x04, 0x02, 0x01, 0x11, 0x0e, 0x00 }, { 0x02, 0x06, 0x0a, 0x12, 0x1f, 0x02, 0x02, 0x00 }, { 0x1f, 0x10, 0x1e, 0x01, 0x01, 0x11, 0x0e, 0x00 }, { 0x06, 0x08, 0x10, 0x1e, 0x11, 0x11, 0x0e, 0x00 }, { 0x1f, 0x01, 0x02, 0x04, 0x08, 0x08, 0x08, 0x00 }, { 0x0e, 0x11, 0x11, 0x0e, 0x11, 0x11, 0x0e, 0x00 }, { 0x0e, 0x11, 0x11, 0x0f, 0x01, 0x02, 0x0c, 0x00 }, { 0x00, 0x0c, 0x0c, 0x00, 0x0c, 0x0c, 0x00, 0x00 }, { 0x00, 0x0c, 0x0c, 0x00, 0x0c, 0x04, 0x08, 0x00 }, { 0x02, 0x04, 0x08, 0x10, 0x08, 0x04, 0x02, 0x00 }, { 0x00, 0x00, 0x1f, 0x00, 0x1f, 0x00, 0x00, 0x00 }, { 0x08, 0x04, 0x02, 0x01, 0x02, 0x04, 0x08, 0x00 }, { 0x0e, 0x11, 0x01, 0x02, 0x04, 0x00, 0x04, 0x00 }, // 0x40 to 0x4f { 0x0e, 0x11, 0x01, 0x0d, 0x15, 0x15, 0x0e, 0x00 }, { 0x0e, 0x11, 0x11, 0x11, 0x1f, 0x11, 0x11, 0x00 }, { 0x1e, 0x11, 0x11, 0x1e, 0x11, 0x11, 0x1e, 0x00 }, { 0x0e, 0x11, 0x10, 0x10, 0x10, 0x11, 0x0e, 0x00 }, { 0x1c, 0x12, 0x11, 0x11, 0x11, 0x12, 0x1c, 0x00 }, { 0x1f, 0x10, 0x10, 0x1e, 0x10, 0x10, 0x1f, 0x00 }, { 0x1f, 0x10, 0x10, 0x1e, 0x10, 0x10, 0x10, 0x00 }, { 0x0e, 0x11, 0x10, 0x17, 0x11, 0x11, 0x0f, 0x00 }, { 0x11, 0x11, 0x11, 0x1f, 0x11, 0x11, 0x11, 0x00 }, { 0x1f, 0x04, 0x04, 0x04, 0x04, 0x04, 0x1f, 0x00 }, { 0x07, 0x02, 0x02, 0x02, 0x02, 0x12, 0x0c, 0x00 }, { 0x11, 0x12, 0x14, 0x18, 0x14, 0x12, 0x11, 0x00 }, { 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x1f, 0x00 }, { 0x11, 0x1b, 0x15, 0x15, 0x11, 0x11, 0x11, 0x00 }, { 0x11, 0x11, 0x19, 0x15, 0x13, 0x11, 0x11, 0x00 }, { 0x0e, 0x11, 0x11, 0x11, 0x11, 0x11, 0x0e, 0x00 }, // 0x50 to 0x5f { 0x1e, 0x11, 0x11, 0x1e, 0x10, 0x10, 0x10, 0x00 }, { 0x0e, 0x11, 0x11, 0x11, 0x15, 0x12, 0x0d, 0x00 }, { 0x1e, 0x11, 0x11, 0x1e, 0x14, 0x12, 0x11, 0x00 }, { 0x0f, 0x10, 0x10, 0x0e, 0x01, 0x01, 0x1e, 0x00 }, { 0x1f, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x00 }, { 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x0e, 0x00 }, { 0x11, 0x11, 0x11, 0x11, 0x11, 0x0a, 0x04, 0x00 }, { 0x11, 0x11, 0x11, 0x15, 0x15, 0x15, 0x0a, 0x00 }, { 0x11, 0x11, 0x0a, 0x04, 0x0a, 0x11, 0x11, 0x00 }, { 0x11, 0x11, 0x11, 0x0a, 0x04, 0x04, 0x04, 0x00 }, { 0x1f, 0x01, 0x02, 0x04, 0x08, 0x10, 0x1f, 0x00 }, { 0x0e, 0x08, 0x08, 0x08, 0x08, 0x08, 0x0e, 0x00 }, { 0x11, 0x0a, 0x1f, 0x04, 0x1f, 0x04, 0x04, 0x00 }, { 0x0e, 0x02, 0x02, 0x02, 0x02, 0x02, 0x0e, 0x00 }, { 0x04, 0x0a, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f }, // 0x60 to 0x6f { 0x08, 0x04, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x0e, 0x01, 0x0f, 0x11, 0x0f, 0x00 }, { 0x10, 0x10, 0x16, 0x19, 0x11, 0x11, 0x1e, 0x00 }, { 0x00, 0x00, 0x0e, 0x10, 0x10, 0x11, 0x0e, 0x00 }, { 0x01, 0x01, 0x0d, 0x13, 0x11, 0x11, 0x0f, 0x00 }, { 0x00, 0x00, 0x0e, 0x11, 0x1f, 0x10, 0x0e, 0x00 }, { 0x06, 0x09, 0x08, 0x1c, 0x08, 0x08, 0x08, 0x00 }, { 0x00, 0x0f, 0x11, 0x11, 0x0f, 0x01, 0x0e, 0x00 }, { 0x10, 0x10, 0x16, 0x19, 0x11, 0x11, 0x11, 0x00 }, { 0x04, 0x00, 0x0c, 0x04, 0x04, 0x04, 0x0e, 0x00 }, { 0x02, 0x00, 0x02, 0x02, 0x02, 0x12, 0x0c, 0x00 }, { 0x10, 0x10, 0x12, 0x14, 0x18, 0x14, 0x12, 0x00 }, { 0x0c, 0x04, 0x04, 0x04, 0x04, 0x04, 0x0e, 0x00 }, { 0x00, 0x00, 0x1a, 0x15, 0x15, 0x11, 0x11, 0x00 }, { 0x00, 0x00, 0x16, 0x19, 0x11, 0x11, 0x11, 0x00 }, { 0x00, 0x00, 0x0e, 0x11, 0x11, 0x11, 0x0e, 0x00 }, // 0x70 to 0x7f { 0x00, 0x1e, 0x11, 0x11, 0x1e, 0x10, 0x10, 0x00 }, { 0x00, 0x0d, 0x13, 0x11, 0x0f, 0x01, 0x01, 0x00 }, { 0x00, 0x00, 0x16, 0x19, 0x10, 0x10, 0x10, 0x00 }, { 0x00, 0x00, 0x0e, 0x10, 0x0e, 0x01, 0x1e, 0x00 }, { 0x08, 0x08, 0x1c, 0x08, 0x08, 0x09, 0x06, 0x00 }, { 0x00, 0x00, 0x11, 0x11, 0x11, 0x13, 0x0d, 0x00 }, { 0x00, 0x00, 0x11, 0x11, 0x11, 0x0a, 0x04, 0x00 }, { 0x00, 0x00, 0x11, 0x11, 0x15, 0x15, 0x0a, 0x00 }, { 0x00, 0x00, 0x11, 0x0a, 0x04, 0x0a, 0x11, 0x00 }, { 0x00, 0x11, 0x11, 0x11, 0x0f, 0x01, 0x0e, 0x00 }, { 0x00, 0x00, 0x1f, 0x02, 0x04, 0x08, 0x1f, 0x00 }, { 0x02, 0x04, 0x04, 0x08, 0x04, 0x04, 0x02, 0x00 }, { 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x00 }, { 0x08, 0x04, 0x04, 0x02, 0x04, 0x04, 0x08, 0x00 }, { 0x00, 0x04, 0x02, 0x1f, 0x02, 0x04, 0x00, 0x00 }, { 0x00, 0x04, 0x08, 0x1f, 0x08, 0x04, 0x00, 0x00 }, // 0x80 to 0x8f { 0x1c, 0x10, 0x18, 0x10, 0x12, 0x02, 0x02, 0x02 }, { 0x1c, 0x10, 0x18, 0x16, 0x11, 0x02, 0x04, 0x07 }, { 0x1c, 0x10, 0x18, 0x16, 0x11, 0x02, 0x01, 0x06 }, { 0x1c, 0x10, 0x18, 0x15, 0x15, 0x07, 0x01, 0x01 }, { 0x08, 0x14, 0x14, 0x08, 0x05, 0x06, 0x05, 0x05 }, { 0x08, 0x14, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f }, { 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // 0x90 to 0x9f { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // 0xa0 to 0xaf { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x14, 0x1c }, { 0x07, 0x04, 0x04, 0x04, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x04, 0x04, 0x04, 0x1c }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x08, 0x04 }, { 0x00, 0x00, 0x00, 0x0c, 0x0c, 0x00, 0x00, 0x00 }, { 0x00, 0x1f, 0x01, 0x1f, 0x01, 0x02, 0x04, 0x00 }, { 0x00, 0x00, 0x00, 0x1f, 0x01, 0x06, 0x04, 0x08 }, { 0x00, 0x00, 0x00, 0x02, 0x04, 0x0c, 0x14, 0x04 }, { 0x00, 0x00, 0x00, 0x04, 0x1f, 0x11, 0x01, 0x06 }, { 0x00, 0x00, 0x00, 0x00, 0x1f, 0x04, 0x04, 0x1f }, { 0x00, 0x00, 0x00, 0x02, 0x1f, 0x06, 0x0a, 0x12 }, { 0x00, 0x00, 0x00, 0x08, 0x1f, 0x09, 0x0a, 0x08 }, { 0x00, 0x00, 0x00, 0x00, 0x0e, 0x02, 0x02, 0x1f }, { 0x00, 0x00, 0x00, 0x1e, 0x02, 0x1e, 0x02, 0x1e }, { 0x00, 0x00, 0x00, 0x00, 0x15, 0x15, 0x01, 0x06 }, // 0xb0 to 0xbf { 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00 }, { 0x1f, 0x01, 0x05, 0x06, 0x04, 0x04, 0x08, 0x00 }, { 0x01, 0x02, 0x04, 0x0c, 0x14, 0x04, 0x04, 0x00 }, { 0x04, 0x1f, 0x11, 0x11, 0x01, 0x02, 0x04, 0x00 }, { 0x00, 0x1f, 0x04, 0x04, 0x04, 0x04, 0x1f, 0x00 }, { 0x02, 0x1f, 0x02, 0x06, 0x0a, 0x12, 0x02, 0x00 }, { 0x08, 0x1f, 0x09, 0x09, 0x09, 0x09, 0x12, 0x00 }, { 0x04, 0x1f, 0x04, 0x1f, 0x04, 0x04, 0x04, 0x00 }, { 0x00, 0x0f, 0x09, 0x11, 0x01, 0x02, 0x0c, 0x00 }, { 0x08, 0x0f, 0x12, 0x02, 0x02, 0x02, 0x04, 0x00 }, { 0x00, 0x1f, 0x01, 0x01, 0x01, 0x01, 0x1f, 0x00 }, { 0x0a, 0x1f, 0x0a, 0x0a, 0x02, 0x04, 0x08, 0x00 }, { 0x00, 0x18, 0x01, 0x19, 0x01, 0x02, 0x1c, 0x00 }, { 0x00, 0x1f, 0x01, 0x02, 0x04, 0x0a, 0x11, 0x00 }, { 0x08, 0x1f, 0x09, 0x0a, 0x08, 0x08, 0x07, 0x00 }, { 0x00, 0x11, 0x11, 0x09, 0x01, 0x02, 0x0c, 0x00 }, // 0xc0 to 0xcf { 0x00, 0x0f, 0x09, 0x15, 0x03, 0x02, 0x0c, 0x00 }, { 0x02, 0x1c, 0x04, 0x1f, 0x04, 0x04, 0x08, 0x00 }, { 0x00, 0x15, 0x15, 0x15, 0x01, 0x02, 0x04, 0x00 }, { 0x0e, 0x00, 0x1f, 0x04, 0x04, 0x04, 0x08, 0x00 }, { 0x08, 0x08, 0x08, 0x0c, 0x0a, 0x08, 0x08, 0x00 }, { 0x04, 0x04, 0x1f, 0x04, 0x04, 0x08, 0x10, 0x00 }, { 0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x1f, 0x00 }, { 0x00, 0x1f, 0x01, 0x0a, 0x04, 0x0a, 0x10, 0x00 }, { 0x04, 0x1f, 0x02, 0x04, 0x0e, 0x15, 0x04, 0x00 }, { 0x02, 0x02, 0x02, 0x02, 0x02, 0x04, 0x08, 0x00 }, { 0x00, 0x04, 0x02, 0x11, 0x11, 0x11, 0x11, 0x00 }, { 0x10, 0x10, 0x1f, 0x10, 0x10, 0x10, 0x0f, 0x00 }, { 0x00, 0x1f, 0x01, 0x01, 0x01, 0x02, 0x04, 0x00 }, { 0x00, 0x08, 0x14, 0x02, 0x01, 0x01, 0x00, 0x00 }, { 0x04, 0x1f, 0x04, 0x04, 0x15, 0x15, 0x04, 0x00 }, { 0x00, 0x1f, 0x01, 0x01, 0x0a, 0x04, 0x02, 0x00 }, // 0xd0 to 0xdf { 0x00, 0x0e, 0x00, 0x0e, 0x00, 0x0e, 0x01, 0x00 }, { 0x00, 0x04, 0x08, 0x10, 0x11, 0x1f, 0x01, 0x00 }, { 0x00, 0x01, 0x01, 0x0a, 0x04, 0x0a, 0x10, 0x00 }, { 0x00, 0x1f, 0x08, 0x1f, 0x08, 0x08, 0x07, 0x00 }, { 0x08, 0x08, 0x1f, 0x09, 0x0a, 0x08, 0x08, 0x00 }, { 0x00, 0x0e, 0x02, 0x02, 0x02, 0x02, 0x1f, 0x00 }, { 0x00, 0x1f, 0x01, 0x1f, 0x01, 0x01, 0x1f, 0x00 }, { 0x0e, 0x00, 0x1f, 0x01, 0x01, 0x02, 0x04, 0x00 }, { 0x12, 0x12, 0x12, 0x12, 0x02, 0x04, 0x08, 0x00 }, { 0x00, 0x04, 0x14, 0x14, 0x15, 0x15, 0x16, 0x00 }, { 0x00, 0x10, 0x10, 0x11, 0x12, 0x14, 0x18, 0x00 }, { 0x00, 0x1f, 0x11, 0x11, 0x11, 0x11, 0x1f, 0x00 }, { 0x00, 0x1f, 0x11, 0x11, 0x01, 0x02, 0x04, 0x00 }, { 0x00, 0x18, 0x00, 0x01, 0x01, 0x02, 0x1c, 0x00 }, { 0x04, 0x12, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x1c, 0x14, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00 }, // 0xe0 to 0xef { 0x00, 0x00, 0x09, 0x15, 0x12, 0x12, 0x0d, 0x00 }, { 0x0a, 0x00, 0x0e, 0x01, 0x0f, 0x11, 0x0f, 0x00 }, { 0x00, 0x00, 0x0e, 0x11, 0x1e, 0x11, 0x1e, 0x00 }, { 0x00, 0x00, 0x0e, 0x10, 0x0c, 0x11, 0x0e, 0x00 }, { 0x00, 0x00, 0x11, 0x11, 0x13, 0x1d, 0x10, 0x00 }, { 0x00, 0x00, 0x0f, 0x14, 0x12, 0x11, 0x0e, 0x00 }, { 0x00, 0x00, 0x06, 0x19, 0x11, 0x19, 0x16, 0x00 }, { 0x00, 0x00, 0x0f, 0x11, 0x11, 0x13, 0x0d, 0x00 }, { 0x00, 0x00, 0x07, 0x04, 0x04, 0x14, 0x08, 0x00 }, { 0x00, 0x02, 0x1a, 0x02, 0x00, 0x00, 0x00, 0x00 }, { 0x02, 0x00, 0x06, 0x02, 0x02, 0x02, 0x02, 0x00 }, { 0x00, 0x14, 0x08, 0x14, 0x00, 0x00, 0x00, 0x00 }, { 0x00, 0x04, 0x0e, 0x14, 0x15, 0x0e, 0x04, 0x00 }, { 0x08, 0x08, 0x1c, 0x08, 0x1c, 0x08, 0x0f, 0x00 }, { 0x0e, 0x00, 0x16, 0x19, 0x11, 0x11, 0x11, 0x00 }, { 0x0a, 0x00, 0x0e, 0x11, 0x11, 0x11, 0x0e, 0x00 }, // 0xf0 to 0xff { 0x00, 0x00, 0x16, 0x19, 0x11, 0x19, 0x16, 0x00 }, { 0x00, 0x00, 0x0d, 0x13, 0x11, 0x13, 0x0d, 0x00 }, { 0x00, 0x0e, 0x11, 0x1f, 0x11, 0x11, 0x0e, 0x00 }, { 0x00, 0x00, 0x00, 0x0b, 0x11, 0x1a, 0x00, 0x00 }, { 0x00, 0x00, 0x0e, 0x11, 0x11, 0x0a, 0x1b, 0x00 }, { 0x0a, 0x00, 0x11, 0x11, 0x11, 0x13, 0x0d, 0x00 }, { 0x1f, 0x80, 0x04, 0x02, 0x04, 0x08, 0x1f, 0x00 }, { 0x00, 0x00, 0x1f, 0x0a, 0x0a, 0x0a, 0x13, 0x00 }, { 0x1f, 0x00, 0x11, 0x0a, 0x04, 0x0a, 0x11, 0x00 }, { 0x00, 0x00, 0x11, 0x11, 0x11, 0x11, 0x0f, 0x00 }, { 0x00, 0x01, 0x1e, 0x04, 0x1f, 0x04, 0x04, 0x00 }, { 0x00, 0x00, 0x1f, 0x08, 0x0f, 0x09, 0x11, 0x00 }, { 0x00, 0x00, 0x1f, 0x15, 0x1f, 0x11, 0x11, 0x00 }, { 0x00, 0x00, 0x04, 0x00, 0x1f, 0x00, 0x04, 0x00 }, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f } }; // // 'Fl_ILM216::Fl_ILM216()' - Create a new ILM-216 widget. // Fl_ILM216::Fl_ILM216(int X, // I - X position int Y, // I - Y position int W, // I - Width int H, // I - Height const char *L) // I - Label string : Fl_Widget(X, Y, W, H, L) { // Initialize defaults... backlight_ = 0; rec_ = new Fl_Pixmap(rec_xpm); rec_dark_ = new Fl_Pixmap(rec_dark_xpm); rec_armed_ = new Fl_Pixmap(rec_armed_xpm); conn_ = new Fl_Pixmap(conn_xpm); conn_dark_ = new Fl_Pixmap(conn_dark_xpm); // Load the standard font... load_font(); } // // 'Fl_ILM216::~Fl_ILM216()' - Delete an ILM-216 widget. // Fl_ILM216::~Fl_ILM216(void) { // Unload the font data... for (int i = 0; i < 256; i ++) { if (font_[i]) delete font_[i]; if (outline_[i]) delete outline_[i]; } delete rec_; delete rec_dark_; delete rec_armed_; delete conn_; delete conn_dark_; } int Fl_ILM216::handle(int event) { if(event == FL_RELEASE) do_callback(); return 1; } // 'Fl_ILM216::draw()' - Draw the widget. // void Fl_ILM216::draw(void) { int i; // Looping var int X = x() + (w() - 16 * 24) / 2; // X base position int Y = y() + (h() - 2 * 40) / 2; // Y base position Fl_Color oc; // Outline color // Draw the background... if (backlight_) { draw_box(box(), x(), y(), w(), h(), fl_lighter((Fl_Color)cfg.main.bg_color)); oc = fl_color_average((Fl_Color)cfg.main.txt_color, fl_lighter((Fl_Color)cfg.main.bg_color), 0.5f); } else { draw_box(box(), x(), y(), w(), h(), (Fl_Color)cfg.main.bg_color); oc = fl_color_average((Fl_Color)cfg.main.txt_color, (Fl_Color)cfg.main.bg_color, 0.5f); } //draw the right line fl_color((Fl_Color)cfg.main.txt_color); fl_line_style(FL_SOLID, 1, NULL); fl_line(X + 15*25-15, Y, X + 15*25-15, Y+40*2); fl_line_style(0); //draw the status symbols if(connected) conn_->draw(X + 15*25 -5, Y+8); else conn_dark_->draw(X + 15*25 -5, Y+8); if(recording) rec_->draw(X + 15*25 -7, Y+8+50); else if (cfg.rec.start_rec) rec_armed_->draw(X + 15*25 -7, Y+8+50); else rec_dark_->draw(X + 15*25 -7, Y+8+50); // Draw the LCD contents... for (i = 0; i < 16; i ++) { fl_color((Fl_Color)cfg.main.txt_color); if (font_[chars_[i + 0]]) font_[chars_[i + 0]]->draw(X + i * 24, Y); if (font_[chars_[i + 16]]) font_[chars_[i + 16]]->draw(X + i * 24, Y + 40); fl_color(oc); if (outline_[chars_[i + 0]]) outline_[chars_[i + 0]]->draw(X + i * 24, Y); if (outline_[chars_[i + 16]]) outline_[chars_[i + 16]]->draw(X + i * 24, Y + 40); } } // // 'Fl_LCD216::load_char()' - Load a single character in the font. // void Fl_ILM216::load_char(uchar ch, // I - Character const uchar *data) // I - 5x8 bitmap data { int i; // Looping var uchar *fdata; // Pointer to font data uchar *odata; // Pointer to outline data // Delete the existing character, if any... if (font_[ch]) { delete font_[ch]; font_[ch] = 0; } if (outline_[ch]) { //delete outline_[ch]; outline_[ch] = 0; } // Don't need to define blank chars... if (data[0] == 0 && !memcmp(data, data + 1, 7)) return; // Create a 20x32 bitmap from the 5x8 data, so that it looks like the // LCD display. fdata = fdata_[ch - ' ']; odata = odata_[ch - ' ']; memset(fdata, 0, 96); memset(odata, 0, 96); for (i = 0; i < 8; i ++, fdata += 12, odata += 12, data ++) { // Each bit in the source byte is mapped to a 3x3 "pixel" and a 4x4 // "outline" in the LCD bitmap. if (*data & 0x10) { fdata[0] |= 0x07; fdata[3] |= 0x07; fdata[6] |= 0x07; odata[0] |= 0x08; odata[3] |= 0x08; odata[6] |= 0x08; odata[9] |= 0x0f; } if (*data & 0x08) { fdata[0] |= 0x70; fdata[3] |= 0x70; fdata[6] |= 0x70; odata[0] |= 0x80; odata[3] |= 0x80; odata[6] |= 0x80; odata[9] |= 0xf0; } if (*data & 0x04) { fdata[1] |= 0x07; fdata[4] |= 0x07; fdata[7] |= 0x07; odata[1] |= 0x08; odata[4] |= 0x08; odata[7] |= 0x08; odata[10] |= 0x0f; } if (*data & 0x02) { fdata[1] |= 0x70; fdata[4] |= 0x70; fdata[7] |= 0x70; odata[1] |= 0x80; odata[4] |= 0x80; odata[7] |= 0x80; odata[10] |= 0xf0; } if (*data & 0x01) { fdata[2] |= 0x07; fdata[5] |= 0x07; fdata[8] |= 0x07; odata[2] |= 0x08; odata[5] |= 0x08; odata[8] |= 0x08; odata[11] |= 0x0f; } } // Create the bitmap image for this char... font_[ch] = new Fl_Bitmap(fdata_[ch - ' '], 20, 32); outline_[ch] = new Fl_Bitmap(odata_[ch - ' '], 20, 32); } // // 'Fl_LCD216::load_font()' - Load the standard ILM-216 font. // void Fl_ILM216::load_font(void) { // Clear the font list... memset(font_, 0, sizeof(font_)); memset(outline_, 0, sizeof(outline_)); // Load standard font data for 224 chars... for (int i = 0; i < 224; i ++) load_char(i + ' ', standard_font[i]); } // // 'Fl_LCD216::process()' - Process data like an ILM-216. // int Fl_ILM216::print(const uchar *in, int inbytes) { int nbytes; // Loop through the input bytes... nbytes = 0; for (; inbytes > 0; inbytes --, in ++) { chars_[cursor_pos_++] = *in; if(*in == '\n') cursor_pos_ = 16; } redraw(); // Return the number of bytes of output... return (nbytes); } // // End of "$Id: Fl_ILM216.cxx,v 1.8 2003/02/26 01:59:31 easysw Exp $". // butt-0.1.26/src/FLTK/fl_timer_funcs.h0000664000175000017500000000206713675605067014224 00000000000000// FLTK GUI related functions // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef FL_TIMER_FUNCS_H #define FL_TIMER_FUNCS_H void display_info_timer(void*); void vu_meter_timer(void*); void cmd_timer(void*); void is_connected_timer(void*); void cfg_win_pos_timer(void*); void songfile_timer(void*); void split_recording_timer(void*); void stream_silence_timer(void*); void record_silence_timer(void*); void stream_signal_timer(void*); void record_signal_timer(void*); void display_rotate_timer(void*); void app_timer(void*); extern const char* (*current_track_app)(void); #endif butt-0.1.26/src/FLTK/Fl_My_Native_File_Chooser_common.cxx0000664000175000017500000000342713663226731020100 00000000000000// "$Id$" // // FLTK native OS file chooser widget // // Copyright 1998-2010 by Bill Spitzak and others. // Copyright 2004 Greg Ercolano. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see the license at: // // http://www.fltk.org/COPYING.php // // Please report all bugs and problems to: // // http://www.fltk.org/str.php // #include #include // COPY A STRING WITH 'new' // Value can be NULL // static char *strnew(const char *val) { if ( val == NULL ) return(NULL); char *s = new char[strlen(val)+1]; strcpy(s, val); return(s); } // FREE STRING CREATED WITH strnew(), NULLS OUT STRING // Value can be NULL // static char *strfree(char *val) { if ( val ) delete [] val; return(NULL); } // 'DYNAMICALLY' APPEND ONE STRING TO ANOTHER // Returns newly allocated string, or NULL // if s && val == NULL. // 's' can be NULL; returns a strnew(val). // 'val' can be NULL; s is returned unmodified. // // Usage: // char *s = strnew("foo"); // s = "foo" // s = strapp(s, "bar"); // s = "foobar" // #if !defined(WIN32) static char *strapp(char *s, const char *val) { if ( ! val ) { return(s); // Nothing to append? return s } if ( ! s ) { return(strnew(val)); // New string? return copy of val } char *news = new char[strlen(s)+strlen(val)+1]; strcpy(news, s); strcat(news, val); delete [] s; // delete old string return(news); // return new copy } #endif // APPEND A CHARACTER TO A STRING // This does NOT allocate space for the new character. // static void chrcat(char *s, char c) { char tmp[2] = { c, '\0' }; strcat(s, tmp); } // // End of "$Id$". // butt-0.1.26/src/FLTK/Fl_My_Native_File_Chooser.cxx0000664000175000017500000000165613663226731016532 00000000000000// "$Id$" // // FLTK native OS file chooser widget // // Copyright 1998-2010 by Bill Spitzak and others. // Copyright 2004 Greg Ercolano. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see the license at: // // http://www.fltk.org/COPYING.php // // Please report all bugs and problems to: // // http://www.fltk.org/str.php // // Use Windows' chooser #ifdef WIN32 #include "Fl_My_Native_File_Chooser_WIN32.cxx" #endif // Use Apple's chooser #ifdef __APPLE__ #include "FL/Fl_My_Native_File_Chooser.H" #endif // All else falls back to FLTK's own chooser #if ! defined(__APPLE__) && !defined(WIN32) #include "Fl_My_Native_File_Chooser_FLTK.cxx" #endif const char *Fl_My_Native_File_Chooser::file_exists_message = "File exists. Are you sure you want to overwrite?"; // // End of "$Id$". // butt-0.1.26/src/FLTK/Fl_vu_meter.h0000664000175000017500000000147413742356652013473 00000000000000#ifndef FL_VU_METER_H #define FL_VU_METER_H #include #include #include #include #include #include #include class VUMeter : public Fl_Group { float left_dB, right_dB; float left_peak_dB, right_peak_dB; float min_value, max_value; int channel_height; int width, height; int x_origin, y_origin; int left_chan_y1, left_chan_y2; int right_chan_y1, right_chan_y2; int tick_distance_dB; int tick_distance_px; int num_of_ticks; Fl_Color bg_color; public: VUMeter(int X, int Y, int W, int H, const char*L=0); void value(float left, float right, float left_peak, float right_peak); int dB_to_xpos(float dB); void draw(); }; #endif // FL_VU_METER_H butt-0.1.26/src/FLTK/fl_timer_funcs.cpp0000664000175000017500000003635713770344616014564 00000000000000// FLTK GUI related functions // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #include #include #include #include #ifndef WIN32 #include #endif #include "gettext.h" #include "config.h" #include "cfg.h" #include "butt.h" #include "util.h" #include "port_audio.h" #include "timer.h" #include "flgui.h" #include "fl_funcs.h" #include "shoutcast.h" #include "icecast.h" #include "strfuncs.h" #include "fl_timer_funcs.h" #include "command.h" #if __APPLE__ && __MACH__ #include "CurrentTrackOSX.h" #endif const char* (*current_track_app)(void); void cmd_timer(void*) { command_t command; command_get_last_cmd(&command); switch(command.cmd) { case CMD_CONNECT: if (!connected) { if (command.param_size > 0) { char *srv_name = (char*)command.param; int idx; if ((idx = fl_g->choice_cfg_act_srv->find_index(srv_name)) != -1) { fl_g->choice_cfg_act_srv->value(idx); fl_g->choice_cfg_act_srv->do_callback(); button_connect_cb(); } else Fl::repeat_timeout(0.25, &cmd_timer); if (command.param != NULL) { free(command.param); } } else button_connect_cb(); } // Fl::repeat_timeout(0.25, &cmd_timer) is called in button_connect_cb() after the connect_thread() has returned (crashes if called here) else Fl::repeat_timeout(0.25, &cmd_timer); break; case CMD_DISCONNECT: button_disconnect_cb(); Fl::repeat_timeout(0.25, &cmd_timer); break; case CMD_START_RECORDING: if (!recording) button_record_cb(); Fl::repeat_timeout(0.25, &cmd_timer); break; case CMD_STOP_RECORDING: stop_recording(false); Fl::repeat_timeout(0.25, &cmd_timer); break; case CMD_GET_STATUS: uint32_t status; status = (connected<type == SHOUTCAST) sc_disconnect(); else ic_disconnect(); Fl::remove_timeout(&display_info_timer); Fl::remove_timeout(&is_connected_timer); //reconnect button_connect_cb(); return; } Fl::repeat_timeout(0.5, &is_connected_timer); } void cfg_win_pos_timer(void*) { #ifdef WIN32 fl_g->window_cfg->position(fl_g->window_main->x() + fl_g->window_main->w()+0, fl_g->window_main->y()); #else //UNIX fl_g->window_cfg->position(fl_g->window_main->x() + fl_g->window_main->w(), fl_g->window_main->y()); #endif Fl::repeat_timeout(0.1, &cfg_win_pos_timer); } void split_recording_timer(void* mode) { int i; int button_clicked = 0; static int with_repeat = 0; char *insert_pos; char *path; char *ext; char file_num_str[12]; char *path_for_index_loop; struct tm *local_time; const time_t t = time(NULL); if (recording == 0) return; if(*((int*)mode) == 1) with_repeat = 1; else button_clicked = 1; // Values < 0 are not allowed if(fl_g->input_rec_split_time->value() < 0) { fl_g->input_rec_split_time->value(0); return; } path = strdup(cfg.rec.path_fmt); expand_string(&path); ext = util_get_file_extension(cfg.rec.filename); if(ext == NULL) { print_info(_("Could not find a file extension in current filename\n" "Automatic file splitting is deactivated"), 0); free(path); return; } path_for_index_loop = strdup(path); //check if the file already exists if((next_fd = fl_fopen(path, "rb")) != NULL) { fclose(next_fd); //increment the index until we find a filename that doesn't exist yet for(i = 1; /*inf*/; i++) // index_loop { free(path); path = strdup(path_for_index_loop); //find beginn of the file extension insert_pos = strrstr(path, ext); //Put index between end of file name end beginning of extension snprintf(file_num_str, sizeof(file_num_str), "-%d", i); strinsrt(&path, file_num_str, insert_pos-1); if((next_fd = fl_fopen(path, "rb")) == NULL) break; // found valid file name fclose(next_fd); if (i == 0x7FFFFFFF) // 2^31-1 { free(path); free(path_for_index_loop); print_info(_("Could not find a valid filename for next file" "\nbutt keeps recording to current file"), 0); return; } } } free(path_for_index_loop); if((next_fd = fl_fopen(path, "wb")) == NULL) { fl_alert(_("Could not open:\n%s"), path); free(path); return; } print_info(_("Recording to:"), 0); print_info(path, 0); next_file = 1; free(path); if(with_repeat == 1 && button_clicked == 0) { local_time = localtime(&t); // Make sure that the 60 minutes boundary is not violated in case sync_to_hour == 1 if((cfg.rec.sync_to_hour == 1) && ((local_time->tm_min + cfg.rec.split_time) > 60)) Fl::repeat_timeout(60*(60 - local_time->tm_min), &split_recording_timer, &with_repeat); else Fl::repeat_timeout(60*cfg.rec.split_time, &split_recording_timer, &with_repeat); } } void stream_signal_timer(void*) { //printf("stream_signal_timer\n"); static sec_timer signal_timer; if (signal_detected == true) { if (signal_timer.is_running == false) timer_init(&signal_timer, cfg.main.signal_threshold); if (timer_is_elapsed(&signal_timer)) { //print_info("Audio signal detected", 0); button_connect_cb(); timer_reset(&signal_timer); return; } } else timer_reset(&signal_timer); Fl::repeat_timeout(1, &stream_signal_timer); } void record_signal_timer(void*) { //printf("record_signal_timer\n"); static sec_timer signal_timer; if (signal_detected == true) { if (signal_timer.is_running == false) timer_init(&signal_timer, cfg.rec.signal_threshold); if (timer_is_elapsed(&signal_timer)) { //print_info("Audio signal detected", 0); button_record_cb(); timer_reset(&signal_timer); return; } } else timer_reset(&signal_timer); Fl::repeat_timeout(1, &record_signal_timer); } void stream_silence_timer(void*) { //printf("stream_silence_timer\n"); static sec_timer silence_timer; if (silence_detected == true) { if (silence_timer.is_running == false) timer_init(&silence_timer, cfg.main.silence_threshold); if (timer_is_elapsed(&silence_timer)) { //print_info("Streaming silence threshold has been reached", 0); button_disconnect_cb(); timer_reset(&silence_timer); return; } } else timer_reset(&silence_timer); Fl::repeat_timeout(1, &stream_silence_timer); } void record_silence_timer(void*) { //printf("record_silence_timer\n"); static sec_timer silence_timer; if (silence_detected == true) { if (silence_timer.is_running == false) timer_init(&silence_timer, cfg.rec.silence_threshold); if (timer_is_elapsed(&silence_timer)) { //print_info("Recording silence threshold has been reached", 0); stop_recording(false); timer_reset(&silence_timer); return; } } else timer_reset(&silence_timer); Fl::repeat_timeout(1, &record_silence_timer); } void songfile_timer(void* user_data) { size_t len; int i; int num_of_lines; int num_of_newlines; char song[501]; char msg[100]; float repeat_time = 1; int reset; if (user_data != NULL) reset = *((int*)user_data); else reset = 0; #ifdef WIN32 struct _stat s; #else struct stat s; #endif static time_t old_t; if (reset == 1) { old_t = 0; } char *last_line = NULL; if( (cfg.main.song_path == NULL) || (connected == 0) ) goto exit; if(fl_stat(cfg.main.song_path, (struct stat*)&s) != 0) { // File was probably locked by another application // retry in 5 seconds repeat_time = 5; goto exit; } if(old_t == s.st_mtime) //file hasn't changed goto exit; if((cfg.main.song_fd = fl_fopen(cfg.main.song_path, "rb")) == NULL) { snprintf(msg, sizeof(msg), _("Warning\nCould not open: %s.\nWill retry in 5 seconds"), cfg.main.song_path); print_info(msg, 1); repeat_time = 5; goto exit; } old_t = s.st_mtime; if(cfg.main.read_last_line == 1) { /* Read last line instead of first */ fseek(cfg.main.song_fd, -100, SEEK_END); len = fread(song, sizeof(char), 100, cfg.main.song_fd); if(len == 0) { fclose(cfg.main.song_fd); goto exit; } // Count number of lines within the last 100 characters of the file // Some programs add a new line to the end of the file and some don't // We have to take this into account when counting the number of lines num_of_newlines = 0; for(i = 0; i < len; i++) { if (song[i] == '\n') num_of_newlines++; } if(num_of_newlines == 0) num_of_lines = 1; else if (num_of_newlines > 0 && song[len-1] != '\n') num_of_lines = num_of_newlines+1; else num_of_lines = num_of_newlines; if(num_of_lines > 1) // file has multiple lines { // Remove newlines at end of file if(song[len-2] == '\r') // Windows song[len-2] = '\0'; else if(song[len-1] == '\n') // OSX, Linux song[len-1] = '\0'; else song[len] = '\0'; last_line = strrchr(song, '\n')+1; } else // file has only one line { // Remove newlines at end of file if(song[len-2] == '\r') // Windows song[len-2] = '\0'; else if(song[len-1] == '\n') // OSX, Linux song[len-1] = '\0'; else song[len] = '\0'; last_line = song; } cfg.main.song = (char*) realloc(cfg.main.song, strlen(last_line) +1); strcpy(cfg.main.song, last_line); update_song(0); } else { // read first line if(fgets(song, 500, cfg.main.song_fd) != NULL) { len = strlen(song); //remove newline character if(song[len-2] == '\r') // Windows song[len-2] = '\0'; else if(song[len-1] == '\n') // OSX, Linux song[len-1] = '\0'; cfg.main.song = (char*) realloc(cfg.main.song, strlen(song) +1); strcpy(cfg.main.song, song); update_song(0); } } fclose(cfg.main.song_fd); exit: Fl::repeat_timeout(repeat_time, &songfile_timer); } void app_timer(void* user_data) { int reset; if (user_data != NULL) reset = *((int*)user_data); else reset = 0; if(current_track_app != NULL) { const char* track = current_track_app(); if(track != NULL) { if(cfg.main.song == NULL || strcmp(cfg.main.song, track) || reset == 1) { cfg.main.song = (char*) realloc(cfg.main.song, strlen(track) + 1); strcpy(cfg.main.song, track); update_song(0); } free((void*)track); } else { if(cfg.main.song != NULL && strcmp(cfg.main.song, "")) { cfg.main.song = (char*) realloc(cfg.main.song, 1); strcpy(cfg.main.song, ""); update_song(0); } } } Fl::repeat_timeout(1, &app_timer); } butt-0.1.26/src/FLTK/fl_callbacks.h0000664000175000017500000001125213770206736013615 00000000000000// FLTK callback functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef FL_CALLBACKS_H #define FL_CALLBACKS_H enum { STREAM_TIME = 0, REC_TIME, SENT_DATA, REC_DATA }; enum { STREAM = 0, RECORD }; class flgui; extern int display_info; extern flgui *fl_g; void button_cfg_cb(void); void button_info_cb(void); void button_record_cb(void); void button_connect_cb(void); void choice_cfg_dev_cb(void); void button_disconnect_cb(void); void button_add_icy_add_cb(void); void button_cfg_del_srv_cb(void); void button_cfg_del_icy_cb(void); void choice_cfg_act_srv_cb(void); void choice_cfg_act_icy_cb(void); void button_cfg_add_srv_cb(void); void button_cfg_add_icy_cb(void); void choice_cfg_bitrate_cb(void); void choice_cfg_samplerate_cb(void); void button_cfg_song_go_cb(void); void choice_cfg_codec_mp3_cb(void); void choice_cfg_codec_ogg_cb(void); void choice_cfg_codec_opus_cb(void); void choice_cfg_codec_aac_cb(void); void choice_cfg_codec_flac_cb(void); void button_cfg_export_cb(void); void button_cfg_import_cb(void); void check_cfg_mono_to_stereo_cb(void); void button_add_icy_save_cb(void); void button_add_srv_cancel_cb(void); void button_add_icy_cancel_cb(void); void choice_cfg_channel_stereo_cb(void); void choice_cfg_channel_mono_cb(void); void button_cfg_browse_songfile_cb(void); void input_cfg_song_file_cb(void); void input_cfg_song_cb(void); void input_cfg_song_prefix_cb(void); void input_cfg_song_suffix_cb(void); void input_cfg_buffer_cb(bool print_message); void input_cfg_signal_cb(void); void input_cfg_silence_cb(void); void input_cfg_(void); void input_cfg_present_level_cb(void); void input_cfg_absent_level_cb(void); void choice_cfg_resample_mode_cb(void); void button_cfg_check_for_updates_cb(void); void choice_cfg_right_channel_cb(void); void choice_cfg_left_channel_cb(void); void button_add_srv_add_cb(void); void button_add_srv_save_cb(void); void button_add_srv_show_pwd_cb(void); void radio_add_srv_shoutcast_cb(void); void radio_add_srv_icecast_cb(void); void button_add_srv_revoke_cert_cb(void); void check_update_at_startup_cb(void); void button_rec_browse_cb(void); void button_rec_split_now_cb(void); void choice_rec_bitrate_cb(void); void choice_rec_samplerate_cb(void); void choice_rec_channel_stereo_cb(void); void choice_rec_channel_mono_cb(void); void choice_rec_codec_mp3_cb(void); void choice_rec_codec_ogg_cb(void); void choice_rec_codec_wav_cb(void); void choice_rec_codec_opus_cb(void); void choice_rec_codec_aac_cb(void); void choice_rec_codec_flac_cb(void); void input_rec_signal_cb(void); void input_rec_silence_cb(void); void input_tls_cert_file_cb(void); void input_tls_cert_dir_cb(void); void button_tls_browse_file_cb(void); void button_tls_browse_dir_cb(void); void button_cfg_edit_srv_cb(void); void button_cfg_edit_icy_cb(void); void check_song_update_active_cb(void); void check_read_last_line_cb(void); void check_sync_to_full_hour_cb(void); void input_rec_filename_cb(void); void input_rec_folder_cb(void); void input_rec_split_time_cb(void); void input_log_filename_cb(void); void button_cfg_log_browse_cb(void); void check_gui_attach_cb(void); void check_gui_ontop_cb(void); void check_gui_hide_log_window_cb(void); void check_gui_remember_pos_cb(void); void check_gui_lcd_auto_cb(void); void button_gui_bg_color_cb(void); void button_gui_text_color_cb(void); void choice_gui_language_cb(void); void slider_gain_cb(void); void check_activate_eq_cb(void); void slider_equalizer1_cb(double); void slider_equalizer2_cb(double); void slider_equalizer3_cb(double); void slider_equalizer4_cb(double); void slider_equalizer5_cb(double); void check_activate_drc_cb(void); void slider_threshold_cb(double); void slider_ratio_cb(double); void slider_attack_cb(double); void slider_release_cb(double); void slider_makeup_cb(double); void check_cfg_auto_start_rec_cb(void); void check_cfg_auto_stop_rec_cb(void); void check_cfg_rec_after_launch_cb(void); void check_cfg_rec_hourly_cb(void); void check_cfg_connect_cb(void); void check_cfg_force_reconnecting_cb(void); void lcd_rotate(void*); void ILM216_cb(void); void window_main_close_cb(void); void check_cfg_use_app_cb(void); void choice_cfg_app_cb(void); void update_song(int called_from_connect_cb); bool stop_recording(bool ask); #endif butt-0.1.26/src/FLTK/fl_callbacks.cpp0000664000175000017500000030666313770206736014165 00000000000000// FLTK callback functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #include #include #include #include #ifdef WIN32 #define usleep(us) Sleep(us/1000) #else #include #endif #include #include #include #include "gettext.h" #include "config.h" #include "FL/Fl_My_Native_File_Chooser.H" //#include //#define Fl_My_Native_File_Chooser Fl_Native_File_Chooser #include "cfg.h" #include "butt.h" #include "port_audio.h" #include "timer.h" #include "shoutcast.h" #include "icecast.h" #include "lame_encode.h" #include "opus_encode.h" #include "fl_callbacks.h" #include "strfuncs.h" #include "flgui.h" #include "util.h" #include "fl_timer_funcs.h" #include "fl_funcs.h" #include "update.h" flgui *fl_g; int display_info = STREAM_TIME; pthread_t pt_connect; int ask_user = 0; void *connect_thread(void *data) { int ret; int (*xc_connect)() = NULL; if (cfg.srv[cfg.selected_srv]->type == SHOUTCAST) xc_connect = &sc_connect; else //(cfg.srv[cfg.selected_srv]->type == ICECAST) xc_connect = &ic_connect; //try to connect as long as xc_connect returns non-zero and try_to_connect == 1 while ( ((ret = xc_connect()) != IC_OK) && (try_to_connect == 1) ) //xc_connect returns 0 when connected { // Stop connecting in case of a fatal error if (ret == IC_ABORT) { fl_g->lcd->clear(); fl_g->lcd->print((const uchar*)_("idle"), strlen(_("idle"))); break; } if (ret == IC_ASK) { ask_user = 1; while (ask_user_get_has_clicked() != 1) usleep(100000); // 100ms if (ask_user_get_answer() == IC_ABORT) { fl_g->lcd->clear(); fl_g->lcd->print((const uchar*)_("idle"), strlen(_("idle"))); ask_user_reset(); break; } ask_user_reset(); } usleep(100000); // 100ms } //Connection established, we are not trying to connect anymore try_to_connect = 0; return NULL; } // Print "Connecting..." on the LCD as long as we are trying to connect void print_connecting_timeout(void *) { static int dummy = 0; if (try_to_connect == 1) { if(dummy == 0) { print_lcd(_("connecting"), strlen(_("connecting")), 0, 1); dummy++; } else if(dummy <= 3) { print_lcd(".", 1, 0, 0); dummy++; } else if(dummy > 3) { dummy = 0; } else dummy++; Fl::repeat_timeout(0.25, &print_connecting_timeout); } else { dummy = 0; } } void button_connect_cb(void) { char text_buf[256]; if(connected) return; if(try_to_connect) return; if(cfg.main.num_of_srv < 1) { print_info(_("Error: No server entry found.\nPlease add a server in the settings-window."), 1); return; } if(!strcmp(cfg.audio.codec, "ogg") && (cfg.audio.bitrate < 48)) { print_info(_("Error: ogg vorbis encoder doesn't support bitrates\n" "lower than 48kbit"),1); return; } if(cfg.srv[cfg.selected_srv]->type == SHOUTCAST) { if( (!strcmp(cfg.audio.codec, "ogg")) || (!strcmp(cfg.audio.codec, "opus")) ) { snprintf(text_buf, sizeof(text_buf), _("Warning: %s is not supported by every ShoutCast version"), cfg.audio.codec); print_info(text_buf, 1); } if(!strcmp(cfg.audio.codec, "flac")) { print_info(_("Error: FLAC is not supported by ShoutCast"), 1); return; } } if(cfg.srv[cfg.selected_srv]->type == SHOUTCAST) snprintf(text_buf, sizeof(text_buf), _("Connecting to %s:%u (%u) ..."), cfg.srv[cfg.selected_srv]->addr, cfg.srv[cfg.selected_srv]->port+1, cfg.srv[cfg.selected_srv]->port); else snprintf(text_buf, sizeof(text_buf), _("Connecting to %s:%u ..."), cfg.srv[cfg.selected_srv]->addr, cfg.srv[cfg.selected_srv]->port); print_info(text_buf, 0); //Clear libsamplerate state snd_reset_samplerate_conv(SND_STREAM); try_to_connect = 1; pthread_create(&pt_connect, NULL, connect_thread, NULL); Fl::add_timeout(0, &print_connecting_timeout); while(try_to_connect) { if (ask_user == 1) { ask_user_ask(); ask_user = 0; } usleep(10000); //10 ms Fl::wait(0); //update gui and parse user events } Fl::add_timeout(0.25, &cmd_timer); if(!connected) return; //we have to make sure that the first audio data //the server sees are the ogg headers if(!strcmp(cfg.audio.codec, "ogg")) vorbis_enc_write_header(&vorbis_stream); if(!strcmp(cfg.audio.codec, "opus")) opus_enc_write_header(&opus_stream); // Reset the internal flac frame counter to zero to // make sure that the header is sent to the server upon next connect if(!strcmp(cfg.audio.codec, "flac")) flac_enc_reinit(&flac_stream); char bitrate_str[32]; if (strcmp(cfg.audio.codec, "flac") == 0) snprintf(bitrate_str, sizeof(bitrate_str), "-"); else snprintf(bitrate_str, sizeof(bitrate_str), "%dkbps", cfg.audio.bitrate); print_info(_("Connection established"), 0); snprintf(text_buf, sizeof(text_buf), "Settings:\n" "Type:\t\t%s\n" "Codec:\t\t%s\n" "Bitrate:\t%s\n" "Samplerate:\t%dHz\n", cfg.srv[cfg.selected_srv]->type == SHOUTCAST ? "ShoutCast" : "IceCast", cfg.audio.codec, bitrate_str, strcmp(cfg.audio.codec, "opus") == 0 ? 48000 : cfg.audio.samplerate ); if(cfg.srv[cfg.selected_srv]->type == ICECAST) snprintf(text_buf+strlen(text_buf), sizeof(text_buf)-strlen(text_buf), "Mountpoint:\t%s\n" "User:\t\t%s\n" "SSL/TLS:\t%s\n", cfg.srv[cfg.selected_srv]->mount, cfg.srv[cfg.selected_srv]->usr, cfg.srv[cfg.selected_srv]->tls == 0 ? _("no") : _("yes") ); print_info(text_buf, 0); if (!cfg.main.song_update && !cfg.main.app_update) update_song(1); //the user may not change the audio device while streaming fl_g->choice_cfg_dev->deactivate(); //the sames applies to the codecs fl_g->choice_cfg_codec->deactivate(); // and the mono to stereo conversion fl_g->check_cfg_mono_to_stereo->deactivate(); //Changing any audio settings while streaming does not work with //ogg/vorbis & ogg/opus :( if((!strcmp(cfg.audio.codec, "ogg")) || (!strcmp(cfg.audio.codec, "opus"))) { fl_g->choice_cfg_bitrate->deactivate(); fl_g->choice_cfg_samplerate->deactivate(); fl_g->choice_cfg_channel->deactivate(); } //Changing the sample rate while streaming does not work with aac if(!strcmp(cfg.audio.codec, "aac")) { fl_g->choice_cfg_samplerate->deactivate(); } pa_new_frames = 0; //Just in case the record routine started a check_time timeout //already Fl::remove_timeout(&display_info_timer); Fl::add_timeout(0.1, &display_info_timer); Fl::add_timeout(0.1, &is_connected_timer); if(cfg.main.song_update) { static int reset = 1; Fl::remove_timeout(&songfile_timer); Fl::add_timeout(0.5, &songfile_timer, &reset); } if(cfg.main.app_update) { static int reset = 1; current_track_app = getCurrentTrackFunctionFromId(cfg.main.app_update_service); Fl::remove_timeout(&app_timer); Fl::add_timeout(0.5, &app_timer, &reset); } if(cfg.main.silence_threshold > 0) Fl::add_timeout(1, &stream_silence_timer); snd_start_stream(); if(cfg.rec.start_rec && !recording) { button_record_cb(); timer_init(&rec_timer, 1); } snprintf(text_buf, sizeof(text_buf), _("Connected to: %s"), cfg.srv[cfg.selected_srv]->name); fl_g->window_main->label(text_buf); display_info = STREAM_TIME; } void button_cfg_cb(void) { if(fl_g->window_cfg->shown()) { fl_g->window_cfg->hide(); Fl::remove_timeout(&cfg_win_pos_timer); } else { /* * This is a bit stupid. Well, its Win32... * We need to place the cfg window a bit more to the right, otherwise * the main and the cfg window would overlap */ #ifdef WIN32 fl_g->window_cfg->position(fl_g->window_main->x() + fl_g->window_main->w()+0, fl_g->window_main->y()); #else fl_g->window_cfg->position(fl_g->window_main->x() + fl_g->window_main->w(), fl_g->window_main->y()); #endif fl_g->window_cfg->show(); fill_cfg_widgets(); if(cfg.gui.attach) Fl::add_timeout(0.1, &cfg_win_pos_timer); } } // add server void button_add_srv_add_cb(void) { int i; //error checking if((fl_g->radio_add_srv_icecast->value()) && (strlen(fl_g->input_add_srv_mount->value()) == 0)) { fl_alert(_("No mountpoint specified\nSetting mountpoint to \"stream\"")); fl_g->input_add_srv_mount->value("stream"); } if((fl_g->radio_add_srv_icecast->value()) && (strlen(fl_g->input_add_srv_usr->value()) == 0)) { fl_alert(_("No user specified\nSetting user to \"source\"")); fl_g->input_add_srv_usr->value("source"); } if(strlen(fl_g->input_add_srv_name->value()) == 0) { fl_alert(_("No name specified")); return; } if(cfg.main.srv_ent != NULL) { if(strlen(fl_g->input_add_srv_name->value()) + strlen(cfg.main.srv_ent) > 1000) { fl_alert(_("The number of characters of all your server names exeeds 1000\n" "Please reduce the number of characters of each server name")); return; } } if(strpbrk(fl_g->input_add_srv_name->value(), ";\\/\n\r") != NULL) { fl_alert(_("No newline characters and ;/\\ are allowed in the name field")); return; } if(strlen(fl_g->input_add_srv_addr->value()) == 0) { fl_alert(_("No address specified")); return; } if(strlen(fl_g->input_add_srv_pwd->value()) == 0) { fl_alert(_("No password specified")); return; } if(strlen(fl_g->input_add_srv_port->value()) == 0) { fl_alert(_("No port specified")); return; } else if((atoi(fl_g->input_add_srv_port->value()) > 65535) || (atoi(fl_g->input_add_srv_port->value()) < 1) ) { fl_alert(_("Invalid port number\nThe port number must be between 1 and 65535")); return; } //check if the name already exists for(i = 0; i < cfg.main.num_of_srv; i++) { if(!strcmp(fl_g->input_add_srv_name->value(), cfg.srv[i]->name)) { fl_alert(_("Server name already exist!")); return; } } i = cfg.main.num_of_srv; cfg.main.num_of_srv++; cfg.srv = (server_t**)realloc(cfg.srv, cfg.main.num_of_srv * sizeof(server_t*)); cfg.srv[i] = (server_t*)malloc(sizeof(server_t)); cfg.srv[i]->name = (char*)malloc(strlen(fl_g->input_add_srv_name->value())+1); strcpy(cfg.srv[i]->name, fl_g->input_add_srv_name->value()); cfg.srv[i]->addr = (char*)malloc(strlen(fl_g->input_add_srv_addr->value())+1); strcpy(cfg.srv[i]->addr, fl_g->input_add_srv_addr->value()); cfg.srv[i]->cert_hash = NULL; //strip leading http:// from addr if(strstr(cfg.srv[i]->addr, "http://")) cfg.srv[i]->addr += strlen("http://"); if(strstr(cfg.srv[i]->addr, "https://")) cfg.srv[i]->addr += strlen("https://"); cfg.srv[i]->pwd = (char*)malloc(strlen(fl_g->input_add_srv_pwd->value())+1); strcpy(cfg.srv[i]->pwd, fl_g->input_add_srv_pwd->value()); cfg.srv[i]->port = atoi(fl_g->input_add_srv_port->value()); if(fl_g->radio_add_srv_icecast->value()) { cfg.srv[i]->mount = (char*)malloc(strlen(fl_g->input_add_srv_mount->value())+1); strcpy(cfg.srv[i]->mount, fl_g->input_add_srv_mount->value()); cfg.srv[i]->usr = (char*)malloc(strlen(fl_g->input_add_srv_usr->value())+1); strcpy(cfg.srv[i]->usr, fl_g->input_add_srv_usr->value()); cfg.srv[i]->type = ICECAST; } else { cfg.srv[i]->mount = NULL; cfg.srv[i]->usr = NULL; cfg.srv[i]->type = SHOUTCAST; } cfg.srv[i]->tls = fl_g->check_add_srv_tls->value(); if(cfg.main.num_of_srv > 1) { cfg.main.srv_ent = (char*)realloc(cfg.main.srv_ent, strlen(cfg.main.srv_ent) + strlen(cfg.srv[i]->name) +2); sprintf(cfg.main.srv_ent, "%s;%s", cfg.main.srv_ent, cfg.srv[i]->name); } else { cfg.main.srv_ent = (char*)malloc(strlen(cfg.srv[i]->name) +1); sprintf(cfg.main.srv_ent, "%s", cfg.srv[i]->name); } cfg.main.srv = (char*)realloc(cfg.main.srv, strlen(cfg.srv[i]->name)+1); strcpy(cfg.main.srv, cfg.srv[i]->name); //reset the input fields and hide the window fl_g->input_add_srv_name->value(""); fl_g->input_add_srv_addr->value(""); fl_g->input_add_srv_port->value(""); fl_g->input_add_srv_pwd->value(""); fl_g->input_add_srv_mount->value(""); fl_g->input_add_srv_usr->value(""); fl_g->window_add_srv->hide(); fl_g->check_add_srv_tls->value(0); fl_g->choice_cfg_act_srv->add(cfg.srv[i]->name); fl_g->choice_cfg_act_srv->redraw(); //Activate del and edit buttons fl_g->button_cfg_edit_srv->activate(); fl_g->button_cfg_del_srv->activate(); fl_g->choice_cfg_act_srv->activate(); // make added server the active server fl_g->choice_cfg_act_srv->value(i); choice_cfg_act_srv_cb(); } void button_cfg_del_srv_cb(void) { int i; int diff; if(cfg.main.num_of_srv == 0) return; diff = cfg.main.num_of_srv-1 - cfg.selected_srv; for(i = 0; i < diff; i++) { memcpy(cfg.srv[cfg.selected_srv+i], cfg.srv[cfg.selected_srv+i+1], sizeof(server_t)); } free(cfg.srv[cfg.main.num_of_srv-1]); cfg.main.num_of_srv--; //rearrange the string that contains all server names memset(cfg.main.srv_ent, 0, strlen(cfg.main.srv_ent)); for(i = 0; i < (int)cfg.main.num_of_srv; i++) { strcat(cfg.main.srv_ent, cfg.srv[i]->name); //the last entry doesn't have a trailing seperator ";" if(i < (int)cfg.main.num_of_srv-1) strcat(cfg.main.srv_ent, ";"); } fl_g->choice_cfg_act_srv->remove(cfg.selected_srv); fl_g->choice_cfg_act_srv->redraw(); //Yes we need this :-( if(cfg.main.num_of_srv == 0) { fl_g->button_cfg_edit_srv->deactivate(); fl_g->button_cfg_del_srv->deactivate(); fl_g->choice_cfg_act_srv->deactivate(); } if(cfg.selected_srv > 0) cfg.selected_srv--; else cfg.selected_srv = 0; if(cfg.main.num_of_srv > 0) { fl_g->choice_cfg_act_srv->value(cfg.selected_srv); choice_cfg_act_srv_cb(); } } void button_cfg_del_icy_cb(void) { int i; int diff; if(cfg.main.num_of_icy == 0) return; diff = cfg.main.num_of_icy-1 - cfg.selected_icy; for(i = 0; i < diff; i++) { memcpy(cfg.icy[cfg.selected_icy+i], cfg.icy[cfg.selected_icy+i+1], sizeof(icy_t)); } free(cfg.icy[cfg.main.num_of_icy-1]); cfg.main.num_of_icy--; //rearrange the string that contains all ICY names memset(cfg.main.icy_ent, 0, strlen(cfg.main.icy_ent)); for(i = 0; i < (int)cfg.main.num_of_icy; i++) { strcat(cfg.main.icy_ent, cfg.icy[i]->name); //the last entry doesn't have a trailing seperator ";" if(i < (int)cfg.main.num_of_icy-1) strcat(cfg.main.icy_ent, ";"); } fl_g->choice_cfg_act_icy->remove(cfg.selected_icy); fl_g->choice_cfg_act_icy->redraw(); if(cfg.main.num_of_icy == 0) { fl_g->button_cfg_edit_icy->deactivate(); fl_g->button_cfg_del_icy->deactivate(); fl_g->choice_cfg_act_icy->deactivate(); } if(cfg.selected_icy > 0) cfg.selected_icy--; else cfg.selected_icy = 0; if(cfg.main.num_of_icy > 0) { fl_g->choice_cfg_act_icy->value(cfg.selected_icy); choice_cfg_act_icy_cb(); } } void button_disconnect_cb(void) { if(!connected && recording) stop_recording(true); // true = ask user if recording shall be stopped if(connected && recording && cfg.rec.stop_rec) stop_recording(false); // false = do not ask user if(!recording) { fl_g->lcd->clear(); fl_g->lcd->print((const uchar*)_("idle"), strlen(_("idle"))); } // We are not trying to connect anymore try_to_connect = 0; if(cfg.main.signal_threshold > 0) Fl::add_timeout(1, &stream_signal_timer); if(!connected) return; fl_g->choice_cfg_dev->activate(); fl_g->choice_cfg_codec->activate(); fl_g->choice_cfg_bitrate->activate(); fl_g->choice_cfg_samplerate->activate(); fl_g->choice_cfg_channel->activate(); fl_g->check_cfg_mono_to_stereo->activate(); if(!recording) Fl::remove_timeout(&display_info_timer); else display_info = REC_TIME; Fl::remove_timeout(&songfile_timer); Fl::remove_timeout(&app_timer); if(connected) { Fl::remove_timeout(&is_connected_timer); Fl::remove_timeout(&stream_silence_timer); snd_stop_stream(); if(cfg.srv[cfg.selected_srv]->type == SHOUTCAST) sc_disconnect(); else ic_disconnect(); fl_g->window_main->label(PACKAGE_STRING); } else print_info("Connecting canceled\n", 0); } bool stop_recording(bool ask) { if(!recording) return false; if(ask == true) { int rc = 0; rc = fl_choice(_("stop recording?"), _("No"), _("Yes"), NULL); if(rc == 0)//if NO pressed return false; } Fl::remove_timeout(&split_recording_timer); Fl::remove_timeout(&record_silence_timer); snd_stop_rec(); // Let the user change record settings after stopping the recording fl_g->choice_rec_codec->activate(); fl_g->choice_rec_bitrate->activate(); if(!connected) { fl_g->choice_cfg_channel->activate(); fl_g->choice_cfg_dev->activate(); fl_g->choice_cfg_samplerate->activate(); fl_g->lcd->clear(); fl_g->lcd->print((const uchar*)_("idle"), strlen(_("idle"))); Fl::remove_timeout(&display_info_timer); } else display_info = STREAM_TIME; if (cfg.rec.signal_threshold > 0) Fl::add_timeout(1, &record_signal_timer); return true; } void button_record_cb(void) { int i; int rc = 0; int cancel = 0; static int with_repeat = 1; char mode[3]; char i_str[12]; bool index = 0; char *path_with_placeholder = NULL; char *path_for_index_loop = NULL; char *path_for_index_loop_fmt = NULL; char *path_without_split_time = NULL; FILE *fd; struct tm *local_time; const time_t t = time(NULL); if(recording) { stop_recording(true); return; } if(strlen(cfg.rec.filename) == 0) { fl_alert(_("No recording filename specified")); return; } cfg.rec.path = (char*) malloc((strlen(cfg.rec.folder) + strlen(cfg.rec.filename)) * sizeof(char) + 10); strcpy(cfg.rec.path, cfg.rec.folder); strcat(cfg.rec.path, cfg.rec.filename); cfg.rec.path_fmt = strdup(cfg.rec.path); //expand string like file_%d_%m_%y to file_05_11_2014 expand_string(&cfg.rec.path); //check if there is an index marker in the filename if(strstr(cfg.rec.filename, "%i")) { index = 1; path_with_placeholder = strdup(cfg.rec.path); path_for_index_loop = strdup(cfg.rec.path); path_for_index_loop_fmt = strdup(cfg.rec.path_fmt); strrpl(&cfg.rec.path, (char*)"%i", (char*)"1", MODE_ALL); strrpl(&cfg.rec.path_fmt, (char*)"%i", (char*)"1", MODE_ALL); } path_without_split_time = strdup(cfg.rec.path); //check if the file already exists if((fd = fl_fopen(cfg.rec.path, "rb")) != NULL) { fclose(fd); if(index) { //increment the index until we find a filename that doesn't exist yet for(i = 2; /*inf*/; i++) // index_loop { free(cfg.rec.path); free(cfg.rec.path_fmt); cfg.rec.path = strdup(path_for_index_loop); cfg.rec.path_fmt = strdup(path_for_index_loop_fmt); snprintf(i_str, sizeof(i_str), "%d", i); strrpl(&cfg.rec.path, (char*)"%i", i_str, MODE_ALL); strrpl(&cfg.rec.path_fmt, (char*)"%i", i_str, MODE_ALL); path_without_split_time = strdup(path_with_placeholder); strrpl(&path_without_split_time, (char*)"%i", i_str, MODE_ALL); if((fd = fl_fopen(cfg.rec.path, "rb")) == NULL) break; fclose(fd); if (i == 0x7FFFFFFF) // 2^31-1 { free(path_for_index_loop); free(path_for_index_loop_fmt); free(path_without_split_time); if (path_with_placeholder != NULL) free(path_with_placeholder); print_info(_("Could not find a valid filename"), 0); return; } } free(path_for_index_loop); free(path_for_index_loop_fmt); strcpy(mode, "wb"); } else { rc = fl_choice(_("%s already exists!"), _("cancel"), _("overwrite"), _("append"), cfg.rec.path); switch(rc) { case 0: //cancel pressed cancel = 1; break; case 1: //overwrite pressed strcpy(mode, "wb"); break; case 2: //append pressed strcpy(mode, "ab"); } } } else //selected file doesn't exist yet { strcpy(mode, "wb"); if (path_for_index_loop != NULL) free(path_for_index_loop); if (path_for_index_loop_fmt != NULL) free(path_for_index_loop_fmt); } if (path_with_placeholder != NULL) free(path_with_placeholder); if(cancel == 1) { if (path_without_split_time != NULL) free(path_without_split_time); return; } if((cfg.rec.fd = fl_fopen(cfg.rec.path, mode)) == NULL) { fl_alert(_("Could not open:\n%s"), cfg.rec.path); if (path_without_split_time != NULL) free(path_without_split_time); return; } record = 1; timer_init(&rec_timer, 1); //Clear libsamplerate state snd_reset_samplerate_conv(SND_REC); // Allow the flac codec to access the file pointed to by cfg.rec.fd if (!strcmp(cfg.rec.codec, "flac")) { flac_enc_init(&flac_rec); flac_enc_init_FILE(&flac_rec, cfg.rec.fd); } // User may not change any record related audio settings while recording fl_g->choice_rec_codec->deactivate(); fl_g->choice_rec_bitrate->deactivate(); fl_g->choice_cfg_channel->deactivate(); fl_g->choice_cfg_dev->deactivate(); fl_g->choice_cfg_samplerate->deactivate(); //create the recording thread snd_start_rec(); if (cfg.rec.split_time > 0) { free(cfg.rec.path); cfg.rec.path = strdup(path_without_split_time); local_time = localtime(&t); // Make sure that the 60 minutes boundary is not violated in case // sync_to_hour == 1 if((cfg.rec.sync_to_hour == 1) && ((local_time->tm_min + cfg.rec.split_time) > 60)) Fl::add_timeout(60*(60 - local_time->tm_min), &split_recording_timer, &with_repeat); else Fl::add_timeout(60*cfg.rec.split_time, &split_recording_timer, &with_repeat); } if (cfg.rec.silence_threshold > 0) Fl::add_timeout(1, &record_silence_timer); Fl::remove_timeout(&record_signal_timer); if(!connected) { display_info = REC_TIME; Fl::add_timeout(0.1, &display_info_timer); } if (path_without_split_time != NULL) free(path_without_split_time); } void button_info_cb() //changed "Info" text to "More" { if (!fl_g->info_visible) { // Show info output... fl_g->window_main->resize(fl_g->window_main->x(), fl_g->window_main->y(), fl_g->window_main->w(), fl_g->info_output->y() + 185); fl_g->info_output->show(); fl_g->button_info->label(_("Hide log")); fl_g->info_visible = 1; } else { // Hide info output... fl_g->window_main->resize(fl_g->window_main->x(), fl_g->window_main->y(), fl_g->window_main->w(), fl_g->info_output->y() - 30); fl_g->info_output->hide(); fl_g->button_info->label(_("Show log")); fl_g->info_visible = 0; } } void choice_cfg_act_srv_cb(void) { cfg.selected_srv = fl_g->choice_cfg_act_srv->value(); cfg.main.srv = (char*)realloc(cfg.main.srv, strlen(cfg.srv[cfg.selected_srv]->name)+1); strcpy(cfg.main.srv, cfg.srv[cfg.selected_srv]->name); } void choice_cfg_act_icy_cb(void) { cfg.selected_icy = fl_g->choice_cfg_act_icy->value(); cfg.main.icy = (char*)realloc(cfg.main.icy, strlen(cfg.icy[cfg.selected_icy]->name)+1); strcpy(cfg.main.icy, cfg.icy[cfg.selected_icy]->name); } void button_cfg_add_srv_cb(void) { fl_g->window_add_srv->label(_("Add Server")); fl_g->radio_add_srv_shoutcast->setonly(); fl_g->input_add_srv_mount->deactivate(); fl_g->input_add_srv_usr->deactivate(); fl_g->check_add_srv_tls->deactivate(); fl_g->frame_add_srv_tls->deactivate(); fl_g->button_add_srv_revoke_cert->deactivate(); fl_g->input_add_srv_pwd->input_type(FL_SECRET_INPUT); fl_g->input_add_srv_pwd->redraw(); fl_g->button_cfg_show_pw->label(_("Show")); fl_g->button_add_srv_save->hide(); fl_g->button_add_srv_add->show(); fl_g->window_add_srv->position(fl_g->window_cfg->x(), fl_g->window_cfg->y()); fl_g->input_add_srv_name->take_focus(); fl_g->window_add_srv->show(); } void button_cfg_edit_srv_cb(void) { char dummy[10]; int srv; if(cfg.main.num_of_srv < 1) return; fl_g->window_add_srv->label(_("Edit Server")); srv = fl_g->choice_cfg_act_srv->value(); fl_g->input_add_srv_name->value(cfg.srv[srv]->name); fl_g->input_add_srv_addr->value(cfg.srv[srv]->addr); snprintf(dummy, 6, "%u", cfg.srv[srv]->port); fl_g->input_add_srv_port->value(dummy); fl_g->input_add_srv_pwd->value(cfg.srv[srv]->pwd); fl_g->input_add_srv_pwd->input_type(FL_SECRET_INPUT); fl_g->input_add_srv_pwd->redraw(); fl_g->button_cfg_show_pw->label(_("Show")); if(cfg.srv[srv]->type == SHOUTCAST) { fl_g->input_add_srv_mount->value(""); fl_g->input_add_srv_mount->deactivate(); fl_g->input_add_srv_usr->value(""); fl_g->input_add_srv_usr->deactivate(); fl_g->check_add_srv_tls->deactivate(); fl_g->frame_add_srv_tls->deactivate(); fl_g->button_add_srv_revoke_cert->deactivate(); fl_g->radio_add_srv_shoutcast->setonly(); } else //if(cfg.srv[srv]->type == ICECAST) { fl_g->input_add_srv_mount->value(cfg.srv[srv]->mount); fl_g->input_add_srv_mount->activate(); fl_g->input_add_srv_usr->value(cfg.srv[srv]->usr); fl_g->input_add_srv_usr->activate(); fl_g->radio_add_srv_icecast->setonly(); #ifdef HAVE_LIBSSL fl_g->check_add_srv_tls->activate(); fl_g->frame_add_srv_tls->activate(); #else fl_g->check_add_srv_tls->deactivate(); fl_g->frame_add_srv_tls->deactivate(); #endif if ( (cfg.srv[srv]->cert_hash != NULL) && (strlen(cfg.srv[srv]->cert_hash) == 64) ) fl_g->button_add_srv_revoke_cert->activate(); else fl_g->button_add_srv_revoke_cert->deactivate(); } fl_g->check_add_srv_tls->value(cfg.srv[srv]->tls); fl_g->input_add_srv_name->take_focus(); fl_g->button_add_srv_add->hide(); fl_g->button_add_srv_save->show(); fl_g->window_add_srv->position(fl_g->window_cfg->x(), fl_g->window_cfg->y()); fl_g->window_add_srv->show(); } void button_cfg_add_icy_cb(void) { fl_g->window_add_icy->label(_("Add Server Infos")); fl_g->button_add_icy_save->hide(); fl_g->button_add_icy_add->show(); fl_g->window_add_icy->position(fl_g->window_cfg->x(), fl_g->window_cfg->y()); //give the "name" input field the input focus fl_g->input_add_icy_name->take_focus(); fl_g->window_add_icy->show(); } void update_song(int called_from_connect_cb) { static int is_updating = 0; int prefix_len = 0; int suffix_len = 0; char text_buf[512]; char song_buf[512]; song_buf[0] = '\0'; int (*xc_update_song)(char *song_name) = NULL; if(!connected || cfg.main.song == NULL) return; // Make sure this function is not executed from different places at the same time if (is_updating == 1) return; is_updating = 1; if (cfg.main.song_prefix != NULL) { prefix_len = strlen(cfg.main.song_prefix); strncat(song_buf, cfg.main.song_prefix, sizeof(song_buf)-1); } strncat(song_buf, cfg.main.song, sizeof(song_buf)-1 - prefix_len); if (cfg.main.song_suffix != NULL) { suffix_len = strlen(cfg.main.song_suffix); strncat(song_buf, cfg.main.song_suffix, sizeof(song_buf)-1 - prefix_len - suffix_len); } if (!strcmp(cfg.audio.codec, "flac")) { if (called_from_connect_cb == 0) flac_update_song_title(&flac_stream, song_buf); else flac_set_initial_song_title(&flac_stream, song_buf); } if (cfg.srv[cfg.selected_srv]->type == SHOUTCAST) xc_update_song = &sc_update_song; else //if(cfg.srv[cfg.selected_srv]->type == ICECAST) xc_update_song = &ic_update_song; if (xc_update_song(song_buf) == 0) { snprintf(text_buf, sizeof(text_buf), _("Updated songname to:\n%s\n"), song_buf); print_info(text_buf, 0); } else print_info(_("Updating songname failed"), 1); is_updating = 0; } void button_cfg_song_go_cb(void) { cfg.main.song = (char*)realloc(cfg.main.song, strlen(fl_g->input_cfg_song->value())+1); strcpy(cfg.main.song, fl_g->input_cfg_song->value()); update_song(0); // Set focus on the song input field and mark the whole text fl_g->input_cfg_song->take_focus(); fl_g->input_cfg_song->position(0); fl_g->input_cfg_song->mark(fl_g->input_cfg_song->maximum_size()); } void input_cfg_song_cb(void) { if (strlen(fl_g->input_cfg_song->value()) == 0) { if (cfg.main.song != NULL) free(cfg.main.song); cfg.main.song = NULL; } } void input_cfg_song_prefix_cb(void) { if (strlen(fl_g->input_cfg_song_prefix->value()) == 0) { if (cfg.main.song_prefix != NULL) free(cfg.main.song_prefix); cfg.main.song_prefix = NULL; } else { cfg.main.song_prefix = (char*)realloc(cfg.main.song_prefix, strlen(fl_g->input_cfg_song_prefix->value())+1); strcpy(cfg.main.song_prefix, fl_g->input_cfg_song_prefix->value()); } } void input_cfg_song_suffix_cb(void) { if (strlen(fl_g->input_cfg_song_suffix->value()) == 0) { if (cfg.main.song_suffix != NULL) free(cfg.main.song_suffix); cfg.main.song_suffix = NULL; } else { cfg.main.song_suffix = (char*)realloc(cfg.main.song_suffix, strlen(fl_g->input_cfg_song_suffix->value())+1); strcpy(cfg.main.song_suffix, fl_g->input_cfg_song_suffix->value()); } } void input_cfg_buffer_cb(bool print_message) { int ms; char text_buf[256]; ms = fl_g->input_cfg_buffer->value(); if(ms < 1) return; cfg.audio.buffer_ms = ms; snd_reinit(); if(print_message) { snprintf(text_buf, sizeof(text_buf), _("Audio buffer has been set to %d ms"), ms); print_info(text_buf, 0); } } void choice_cfg_resample_mode_cb(void) { cfg.audio.resample_mode = fl_g->choice_cfg_resample_mode->value(); snd_reinit(); switch(cfg.audio.resample_mode) { case SRC_SINC_BEST_QUALITY: print_info("Changed resample quality to SINC_BEST_QUALITY", 0); break; case SRC_SINC_MEDIUM_QUALITY: print_info("Changed resample quality to SINC_MEDIUM_QUALITY", 0); break; case SRC_SINC_FASTEST: print_info("Changed resample quality to SINC_FASTEST", 0); break; case SRC_ZERO_ORDER_HOLD: print_info("Changed resample quality to ZERO_ORDER_HOLD", 0); break; case SRC_LINEAR: print_info("Changed resample quality to LINEAR", 0); break; default: break; } } void radio_add_srv_shoutcast_cb(void) { fl_g->input_add_srv_mount->deactivate(); fl_g->input_add_srv_usr->deactivate(); fl_g->check_add_srv_tls->deactivate(); fl_g->frame_add_srv_tls->deactivate(); } void radio_add_srv_icecast_cb(void) { fl_g->input_add_srv_mount->activate(); fl_g->input_add_srv_usr->activate(); fl_g->input_add_srv_mount->value("stream"); fl_g->input_add_srv_usr->value("source"); #ifdef HAVE_LIBSSL fl_g->check_add_srv_tls->activate(); fl_g->frame_add_srv_tls->activate(); #else fl_g->check_add_srv_tls->deactivate(); fl_g->frame_add_srv_tls->deactivate(); #endif } void button_add_srv_show_pwd_cb(void) { if(fl_g->input_add_srv_pwd->input_type() == FL_SECRET_INPUT) { fl_g->input_add_srv_pwd->input_type(FL_NORMAL_INPUT); fl_g->input_add_srv_pwd->redraw(); fl_g->button_cfg_show_pw->label(_("Hide")); } else { fl_g->input_add_srv_pwd->input_type(FL_SECRET_INPUT); fl_g->input_add_srv_pwd->redraw(); fl_g->button_cfg_show_pw->label(_("Show")); } } void button_add_srv_revoke_cert_cb(void) { int srv; srv = fl_g->choice_cfg_act_srv->value(); if (cfg.srv[srv]->cert_hash != NULL) { free(cfg.srv[srv]->cert_hash); cfg.srv[srv]->cert_hash = NULL; fl_g->button_add_srv_revoke_cert->deactivate(); } else { fl_alert(_("Could not revoke trust for certificate")); } } // edit server void button_add_srv_save_cb(void) { int i; if(cfg.main.num_of_srv < 1) return; int srv_num = fl_g->choice_cfg_act_srv->value(); int len = 0; //error checking if((fl_g->radio_add_srv_icecast->value()) && (strlen(fl_g->input_add_srv_mount->value()) == 0)) { fl_alert(_("No mountpoint specified\nSetting mountpoint to \"stream\"")); fl_g->input_add_srv_mount->value("stream"); } if((fl_g->radio_add_srv_icecast->value()) && (strlen(fl_g->input_add_srv_usr->value()) == 0)) { fl_alert(_("No user specified\nSetting user to \"source\"")); fl_g->input_add_srv_usr->value("source"); } if(strlen(fl_g->input_add_srv_name->value()) == 0) { fl_alert(_("No name specified")); return; } if(cfg.main.srv_ent != NULL) { if(strlen(fl_g->input_add_srv_name->value()) + strlen(cfg.main.srv_ent) > 1000) { fl_alert(_("The number of characters of all your server names exeeds 1000\n" "Please reduce the number of characters of each server name")); return; } } if(strpbrk(fl_g->input_add_srv_name->value(), ";\\/\n\r") != NULL) { fl_alert(_("No newline characters and ;/\\ are allowed in the name field")); return; } if(strlen(fl_g->input_add_srv_addr->value()) == 0) { fl_alert(_("No address specified")); return; } if(strlen(fl_g->input_add_srv_pwd->value()) == 0) { fl_alert(_("No password specified")); return; } if(strlen(fl_g->input_add_srv_port->value()) == 0) { fl_alert(_("No port specified")); return; } else if(( atoi(fl_g->input_add_srv_port->value()) > 65535) || (atoi(fl_g->input_add_srv_port->value()) < 1) ) { fl_alert(_("Invalid port number\nThe port number must be between 1 and 65535")); return; } //check if the name already exists for(i = 0; i < cfg.main.num_of_srv; i++) { if(i == srv_num) //don't check name against it self continue; if(!strcmp(fl_g->input_add_srv_name->value(), cfg.srv[i]->name)) { fl_alert(_("Server name already exist!")); return; } } //update current server name cfg.srv[srv_num]->name = (char*) realloc(cfg.srv[srv_num]->name, sizeof(char) * strlen(fl_g->input_add_srv_name->value())+1); strcpy(cfg.srv[srv_num]->name, fl_g->input_add_srv_name->value()); //rewrite the string that contains all server names //first get the needed memory space for(int i = 0; i < cfg.main.num_of_srv; i++) len += strlen(cfg.srv[i]->name) + 1; //allocate enough memory cfg.main.srv_ent = (char*) realloc(cfg.main.srv_ent, sizeof(char)*len +1); memset(cfg.main.srv_ent, 0, len); //now append the server strings for(int i = 0; i < cfg.main.num_of_srv; i++) { strcat(cfg.main.srv_ent, cfg.srv[i]->name); if(i < cfg.main.num_of_srv-1) strcat(cfg.main.srv_ent, ";"); } //update current server address cfg.srv[srv_num]->addr = (char*) realloc(cfg.srv[srv_num]->addr, sizeof(char) * strlen(fl_g->input_add_srv_addr->value())+1); strcpy(cfg.srv[srv_num]->addr, fl_g->input_add_srv_addr->value()); //strip leading http:// from addr if(strstr(cfg.srv[srv_num]->addr, "http://")) cfg.srv[srv_num]->addr += strlen("http://"); if(strstr(cfg.srv[srv_num]->addr, "https://")) cfg.srv[srv_num]->addr += strlen("https://"); //update current server port cfg.srv[srv_num]->port = (unsigned int)atoi(fl_g->input_add_srv_port->value()); //update current server password cfg.srv[srv_num]->pwd = (char*) realloc(cfg.srv[srv_num]->pwd, strlen(fl_g->input_add_srv_pwd->value())+1); strcpy(cfg.srv[srv_num]->pwd, fl_g->input_add_srv_pwd->value()); //update current server type if(fl_g->radio_add_srv_shoutcast->value()) cfg.srv[srv_num]->type = SHOUTCAST; if(fl_g->radio_add_srv_icecast->value()) cfg.srv[srv_num]->type = ICECAST; //update current server mountpoint and user if(cfg.srv[srv_num]->type == ICECAST) { cfg.srv[srv_num]->mount = (char*) realloc(cfg.srv[srv_num]->mount, sizeof(char) * strlen(fl_g->input_add_srv_mount->value())+1); strcpy(cfg.srv[srv_num]->mount, fl_g->input_add_srv_mount->value()); cfg.srv[srv_num]->usr = (char*) realloc(cfg.srv[srv_num]->usr, sizeof(char) * strlen(fl_g->input_add_srv_usr->value())+1); strcpy(cfg.srv[srv_num]->usr, fl_g->input_add_srv_usr->value()); } cfg.srv[srv_num]->tls = fl_g->check_add_srv_tls->value(); fl_g->choice_cfg_act_srv->replace(srv_num, cfg.srv[srv_num]->name); fl_g->choice_cfg_act_srv->redraw(); //reset the input fields and hide the window fl_g->input_add_srv_name->value(""); fl_g->input_add_srv_addr->value(""); fl_g->input_add_srv_port->value(""); fl_g->input_add_srv_pwd->value(""); fl_g->input_add_srv_mount->value(""); fl_g->input_add_srv_usr->value(""); fl_g->check_add_srv_tls->value(0); fl_g->window_add_srv->hide(); choice_cfg_act_srv_cb(); } void button_add_icy_save_cb(void) { int i; if(cfg.main.num_of_icy < 1) return; int icy_num = fl_g->choice_cfg_act_icy->value(); int len = 0; if(strlen(fl_g->input_add_icy_name->value()) == 0) { fl_alert(_("No name specified")); return; } if(cfg.main.icy_ent != NULL) { if(strlen(fl_g->input_add_icy_name->value()) + strlen(cfg.main.icy_ent) > 1000) { fl_alert(_("The number of characters of all your icy names exeeds 1000\n" "Please reduce the count of characters of each icy name")); return; } } if(strpbrk(fl_g->input_add_icy_name->value(), ";\\/\n\r") != NULL) { fl_alert(_("No newline characters and ;/\\ are allowed in the name field")); return; } //check if the name already exists for(i = 0; i < cfg.main.num_of_icy; i++) { if(i == icy_num) //don't check name against it self continue; if(!strcmp(fl_g->input_add_icy_name->value(), cfg.icy[i]->name)) { fl_alert(_("Icy name already exist!")); return; } } //update current icy name cfg.icy[icy_num]->name = (char*) realloc(cfg.icy[icy_num]->name, sizeof(char) * strlen(fl_g->input_add_icy_name->value())+1); strcpy(cfg.icy[icy_num]->name, fl_g->input_add_icy_name->value()); //rewrite the string that contains all server names //first get the needed memory space for(int i = 0; i < cfg.main.num_of_icy; i++) len += strlen(cfg.icy[i]->name) + 1; //reserve enough memory cfg.main.icy_ent = (char*) realloc(cfg.main.icy_ent, sizeof(char)*len +1); memset(cfg.main.icy_ent, 0, len); //now append the server strings for(int i = 0; i < cfg.main.num_of_icy; i++) { strcat(cfg.main.icy_ent, cfg.icy[i]->name); if(i < cfg.main.num_of_icy-1) strcat(cfg.main.icy_ent, ";"); } cfg.icy[icy_num]->desc = (char*)realloc(cfg.icy[icy_num]->desc, strlen(fl_g->input_add_icy_desc->value())+1 ); strcpy(cfg.icy[icy_num]->desc, fl_g->input_add_icy_desc->value()); cfg.icy[icy_num]->genre = (char*)realloc(cfg.icy[icy_num]->genre, strlen(fl_g->input_add_icy_genre->value())+1 ); strcpy(cfg.icy[icy_num]->genre, fl_g->input_add_icy_genre->value()); cfg.icy[icy_num]->url = (char*)realloc(cfg.icy[icy_num]->url, strlen(fl_g->input_add_icy_url->value())+1 ); strcpy(cfg.icy[icy_num]->url, fl_g->input_add_icy_url->value()); cfg.icy[icy_num]->icq = (char*)realloc(cfg.icy[icy_num]->icq, strlen(fl_g->input_add_icy_icq->value())+1 ); strcpy(cfg.icy[icy_num]->icq, fl_g->input_add_icy_icq->value()); cfg.icy[icy_num]->irc = (char*)realloc(cfg.icy[icy_num]->irc, strlen(fl_g->input_add_icy_irc->value())+1 ); strcpy(cfg.icy[icy_num]->irc, fl_g->input_add_icy_irc->value()); cfg.icy[icy_num]->aim = (char*)realloc(cfg.icy[icy_num]->aim, strlen(fl_g->input_add_icy_aim->value())+1 ); strcpy(cfg.icy[icy_num]->aim, fl_g->input_add_icy_aim->value()); sprintf(cfg.icy[icy_num]->pub, "%d", fl_g->check_add_icy_pub->value()); fl_g->input_add_icy_name->value(""); fl_g->input_add_icy_desc->value(""); fl_g->input_add_icy_url->value(""); fl_g->input_add_icy_genre->value(""); fl_g->input_add_icy_irc->value(""); fl_g->input_add_icy_icq->value(""); fl_g->input_add_icy_aim->value(""); fl_g->check_add_icy_pub->value(0); fl_g->window_add_icy->hide(); fl_g->choice_cfg_act_icy->replace(icy_num, cfg.icy[icy_num]->name); fl_g->choice_cfg_act_icy->redraw(); choice_cfg_act_icy_cb(); } /* void choice_cfg_edit_srv_cb(void) { char dummy[10]; int server = fl_g->choice_cfg_edit_srv->value(); fl_g->input_cfg_addr->value(cfg.srv[server]->addr); snprintf(dummy, 6, "%u", cfg.srv[server]->port); fl_g->input_cfg_port->value(dummy); fl_g->input_cfg_passwd->value(cfg.srv[server]->pwd); if(cfg.srv[server]->type == SHOUTCAST) { fl_g->input_cfg_mount->value(""); fl_g->input_cfg_mount->deactivate(); fl_g->radio_cfg_shoutcast->value(1); fl_g->radio_cfg_icecast->value(0); } else //if(cfg.srv[server]->type == ICECAST) { fl_g->input_cfg_mount->value(cfg.srv[server]->mount); fl_g->input_cfg_mount->activate(); fl_g->radio_cfg_icecast->value(1); fl_g->radio_cfg_shoutcast->value(0); } } */ void choice_cfg_bitrate_cb(void) { int rc; int old_br; int sel_br; int br_list[] = { 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320 }; char text_buf[256]; old_br = cfg.audio.bitrate; for(int i = 0; i < 14; i++) if(br_list[i] == cfg.audio.bitrate) old_br = i; sel_br = fl_g->choice_cfg_bitrate->value(); cfg.audio.bitrate = br_list[sel_br]; lame_stream.bitrate = br_list[sel_br]; vorbis_stream.bitrate = br_list[sel_br]; #ifdef HAVE_LIBFDK_AAC aac_stream.bitrate = br_list[sel_br]; #endif opus_stream.bitrate = br_list[sel_br]*1000; if(fl_g->choice_cfg_codec->value() == CHOICE_MP3) { rc = lame_enc_reinit(&lame_stream); if(rc != 0) { print_info(_("Warning:\nThe stream Sample-/Bitrate combination is invalid"), 1); fl_g->choice_cfg_bitrate->value(old_br); fl_g->choice_cfg_bitrate->redraw(); cfg.audio.bitrate = br_list[old_br]; lame_stream.bitrate = br_list[old_br]; lame_enc_reinit(&lame_stream); print_info(_("The previous values have been set\n"), 1); return; } } if(fl_g->choice_cfg_codec->value() == CHOICE_OGG) { rc = vorbis_enc_reinit(&vorbis_stream); if(rc != 0) { print_info(_("Warning:\nThe stream Sample-/Bitrate combination is invalid"), 1); cfg.audio.bitrate = br_list[old_br]; vorbis_stream.bitrate = br_list[old_br]; fl_g->choice_cfg_bitrate->value(old_br); fl_g->choice_cfg_bitrate->redraw(); vorbis_enc_reinit(&vorbis_stream); print_info(_("The previous values have been set\n"), 1); return; } } if(fl_g->choice_cfg_codec->value() == CHOICE_OPUS) { rc = opus_enc_reinit(&opus_stream); if(rc != 0) { print_info(_("Warning:\nThe stream Sample-/Bitrate combination is invalid"), 1); cfg.audio.bitrate = br_list[old_br]; opus_stream.bitrate = br_list[old_br]*1000; fl_g->choice_cfg_bitrate->value(old_br); fl_g->choice_cfg_bitrate->redraw(); opus_enc_reinit(&opus_stream); print_info(_("The previous values have been set\n"), 1); return; } } #ifdef HAVE_LIBFDK_AAC if(fl_g->choice_cfg_codec->value() == CHOICE_AAC) { rc = aac_enc_reinit(&aac_stream); if(rc != 0) { print_info(_("Warning:\nThe stream Sample-/Bitrate combination is invalid"), 1); cfg.audio.bitrate = br_list[old_br]; aac_stream.bitrate = br_list[old_br]; fl_g->choice_cfg_bitrate->value(old_br); fl_g->choice_cfg_bitrate->redraw(); aac_enc_reinit(&aac_stream); print_info(_("The previous values have been set\n"), 1); return; } } #endif snprintf(text_buf, sizeof(text_buf), _("Stream bitrate set to: %dk"), cfg.audio.bitrate); print_info(text_buf, 0); } void choice_rec_bitrate_cb(void) { int rc; int old_br; int sel_br; int br_list[] = { 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320 }; char text_buf[256]; old_br = cfg.rec.bitrate; for(int i = 0; i < 14; i++) if(br_list[i] == cfg.rec.bitrate) old_br = i; sel_br = fl_g->choice_rec_bitrate->value(); cfg.rec.bitrate = br_list[sel_br]; lame_rec.bitrate = br_list[sel_br]; vorbis_rec.bitrate = br_list[sel_br]; opus_rec.bitrate = br_list[sel_br]*1000; #ifdef HAVE_LIBFDK_AAC aac_rec.bitrate = br_list[sel_br]; #endif if(fl_g->choice_rec_codec->value() == CHOICE_MP3) { rc = lame_enc_reinit(&lame_rec); if(rc != 0) { print_info(_("Warning:\nThe record Sample-/Bitrate combination is invalid"), 1); cfg.rec.bitrate = br_list[old_br]; fl_g->choice_rec_bitrate->value(old_br); fl_g->choice_rec_bitrate->redraw(); lame_rec.bitrate = br_list[old_br]; lame_enc_reinit(&lame_rec); print_info(_("The previous values have been set"), 1); return; } } if(fl_g->choice_rec_codec->value() == CHOICE_OGG) { rc = vorbis_enc_reinit(&vorbis_rec); if(rc != 0) { print_info(_("Warning:\nThe record Sample-/Bitrate combination is invalid"), 1); cfg.rec.bitrate = br_list[old_br]; vorbis_rec.bitrate = br_list[old_br]; fl_g->choice_rec_bitrate->value(old_br); fl_g->choice_rec_bitrate->redraw(); vorbis_enc_reinit(&vorbis_rec); print_info(_("The previous values have been set"), 1); return; } } if(fl_g->choice_rec_codec->value() == CHOICE_OPUS) { rc = opus_enc_reinit(&opus_rec); if(rc != 0) { print_info(_("Warning:\nThe record Sample-/Bitrate combination is invalid"), 1); cfg.rec.bitrate = br_list[old_br]; opus_rec.bitrate = br_list[old_br]*1000; fl_g->choice_rec_bitrate->value(old_br); fl_g->choice_rec_bitrate->redraw(); opus_enc_reinit(&opus_rec); print_info(_("The previous values have been set"), 1); return; } } #ifdef HAVE_LIBFDK_AAC if(fl_g->choice_rec_codec->value() == CHOICE_AAC) { rc = aac_enc_reinit(&aac_rec); if(rc != 0) { print_info(_("Warning:\nThe record Sample-/Bitrate combination is invalid"), 1); cfg.rec.bitrate = br_list[old_br]; aac_rec.bitrate = br_list[old_br]; fl_g->choice_rec_bitrate->value(old_br); fl_g->choice_rec_bitrate->redraw(); aac_enc_reinit(&aac_rec); print_info(_("The previous values have been set"), 1); return; } } #endif snprintf(text_buf, sizeof(text_buf), _("Record bitrate set to: %dk"), cfg.rec.bitrate); print_info(text_buf, 0); } void choice_cfg_samplerate_cb() { int rc; int old_sr; int sel_sr; int *sr_list; char text_buf[256]; sr_list = cfg.audio.pcm_list[cfg.audio.dev_num]->sr_list; old_sr = cfg.audio.samplerate; for(int i = 0; i < 9; i++) if(sr_list[i] == cfg.audio.samplerate) old_sr = i; sel_sr = fl_g->choice_cfg_samplerate->value(); cfg.audio.samplerate = sr_list[sel_sr]; // Reinit streaming codecs lame_stream.samplerate = sr_list[sel_sr]; vorbis_stream.samplerate = sr_list[sel_sr]; opus_stream.samplerate = sr_list[sel_sr]; #ifdef HAVE_LIBFDK_AAC aac_stream.samplerate = sr_list[sel_sr]; #endif flac_stream.samplerate = sr_list[sel_sr]; if(fl_g->choice_cfg_codec->value() == CHOICE_MP3) { rc = lame_enc_reinit(&lame_stream); if(rc != 0) { print_info(_("Warning:\nThe stream Sample-/Bitrate combination is invalid"), 1); fl_g->choice_cfg_samplerate->value(old_sr); fl_g->choice_cfg_samplerate->redraw(); cfg.audio.samplerate = sr_list[old_sr]; lame_stream.samplerate = sr_list[old_sr]; lame_enc_reinit(&lame_stream); print_info(_("The previous values have been set"), 1); return; } } if(fl_g->choice_cfg_codec->value() == CHOICE_OGG) { rc = vorbis_enc_reinit(&vorbis_stream); if(rc != 0) { print_info(_("Warning:\nThe stream Sample-/Bitrate combination is invalid"), 1); cfg.audio.samplerate = sr_list[old_sr]; vorbis_stream.samplerate = sr_list[old_sr]; fl_g->choice_cfg_samplerate->value(old_sr); fl_g->choice_cfg_samplerate->redraw(); vorbis_enc_reinit(&vorbis_stream); print_info(_("The previous values have been set"), 1); return; } } if(fl_g->choice_cfg_codec->value() == CHOICE_OPUS) { rc = opus_enc_reinit(&opus_stream); if(rc != 0) { print_info(_("Warning:\nThe stream Sample-/Bitrate combination is invalid"), 1); cfg.audio.samplerate = sr_list[old_sr]; opus_stream.samplerate = sr_list[old_sr]; fl_g->choice_cfg_samplerate->value(old_sr); fl_g->choice_cfg_samplerate->redraw(); opus_enc_reinit(&opus_stream); print_info(_("The previous values have been set"), 1); return; } } #ifdef HAVE_LIBFDK_AAC if(fl_g->choice_cfg_codec->value() == CHOICE_AAC) { rc = aac_enc_reinit(&aac_stream); if(rc != 0) { print_info(_("Warning:\nThe stream Sample-/Bitrate combination is invalid"), 1); cfg.audio.samplerate = sr_list[old_sr]; aac_stream.samplerate = sr_list[old_sr]; fl_g->choice_cfg_samplerate->value(old_sr); fl_g->choice_cfg_samplerate->redraw(); aac_enc_reinit(&aac_stream); print_info(_("The previous values have been set"), 1); return; } } #endif if(fl_g->choice_cfg_codec->value() == CHOICE_FLAC) { rc = flac_enc_reinit(&flac_stream); if(rc != 0) { print_info(_("Warning:\nThe stream Sample-/Bitrate combination is invalid"), 1); cfg.audio.samplerate = sr_list[old_sr]; flac_stream.samplerate = sr_list[old_sr]; fl_g->choice_cfg_samplerate->value(old_sr); fl_g->choice_cfg_samplerate->redraw(); flac_enc_reinit(&flac_stream); print_info(_("The previous values have been set"), 1); return; } } //Reinit record codecs lame_rec.samplerate = sr_list[sel_sr]; vorbis_rec.samplerate = sr_list[sel_sr]; opus_rec.samplerate = sr_list[sel_sr]; #ifdef HAVE_LIBFDK_AAC aac_rec.samplerate = sr_list[sel_sr]; #endif flac_rec.samplerate = sr_list[sel_sr]; if(fl_g->choice_rec_codec->value() == CHOICE_MP3) { rc = lame_enc_reinit(&lame_rec); if(rc != 0) { print_info(_("Warning:\nThe record Sample-/Bitrate combination is invalid"), 1); cfg.audio.samplerate = sr_list[old_sr]; lame_stream.samplerate = sr_list[old_sr]; lame_rec.samplerate = sr_list[old_sr]; fl_g->choice_cfg_samplerate->value(old_sr); fl_g->choice_cfg_samplerate->redraw(); lame_enc_reinit(&lame_stream); lame_enc_reinit(&lame_rec); print_info(_("The previous values have been set"), 1); return; } } if(fl_g->choice_rec_codec->value() == CHOICE_OGG) { rc = vorbis_enc_reinit(&vorbis_rec); if(rc != 0) { print_info(_("Warning:\nThe record Sample-/Bitrate combination is invalid"), 1); cfg.audio.samplerate = sr_list[old_sr]; vorbis_stream.samplerate = sr_list[old_sr]; vorbis_rec.samplerate = sr_list[old_sr]; fl_g->choice_cfg_samplerate->value(old_sr); fl_g->choice_cfg_samplerate->redraw(); vorbis_enc_reinit(&vorbis_stream); vorbis_enc_reinit(&vorbis_rec); print_info(_("The previous values have been set"), 1); return; } } if(fl_g->choice_rec_codec->value() == CHOICE_OPUS) { rc = opus_enc_reinit(&opus_rec); if(rc != 0) { print_info(_("Warning:\nThe record Sample-/Bitrate combination is invalid"), 1); cfg.audio.samplerate = sr_list[old_sr]; opus_stream.samplerate = sr_list[old_sr]; opus_rec.samplerate = sr_list[old_sr]; fl_g->choice_cfg_samplerate->value(old_sr); fl_g->choice_cfg_samplerate->redraw(); opus_enc_reinit(&opus_stream); opus_enc_reinit(&opus_rec); print_info(_("The previous values have been set"), 1); return; } } #ifdef HAVE_LIBFDK_AAC if(fl_g->choice_rec_codec->value() == CHOICE_AAC) { rc = aac_enc_reinit(&aac_rec); if(rc != 0) { print_info(_("Warning:\nThe record Sample-/Bitrate combination is invalid"), 1); cfg.audio.samplerate = sr_list[old_sr]; aac_stream.samplerate = sr_list[old_sr]; aac_rec.samplerate = sr_list[old_sr]; fl_g->choice_cfg_samplerate->value(old_sr); fl_g->choice_cfg_samplerate->redraw(); aac_enc_reinit(&aac_stream); aac_enc_reinit(&aac_rec); print_info(_("The previous values have been set"), 1); return; } } #endif if(fl_g->choice_rec_codec->value() == CHOICE_FLAC) { rc = flac_enc_reinit(&flac_rec); if(rc != 0) { print_info(_("Warning:\nThe record Sample-/Bitrate combination is invalid"), 1); cfg.audio.samplerate = sr_list[old_sr]; flac_rec.samplerate = sr_list[old_sr]; fl_g->choice_cfg_samplerate->value(old_sr); fl_g->choice_cfg_samplerate->redraw(); flac_enc_reinit(&flac_rec); print_info(_("The previous values have been set"), 1); return; } } //The buffer size is dependand on the samplerate input_cfg_buffer_cb(0); snprintf(text_buf, sizeof(text_buf), _("Samplerate set to: %dHz"), cfg.audio.samplerate); print_info(text_buf, 0); //reinit portaudio snd_reinit(); } void choice_cfg_channel_stereo_cb(void) { cfg.audio.channel = 2; // Reinit streaming codecs lame_stream.channel = 2; vorbis_stream.channel = 2; opus_stream.channel = 2; #ifdef HAVE_LIBFDK_AAC aac_stream.channel = 2; #endif flac_stream.channel = 2; if(fl_g->choice_cfg_codec->value() == CHOICE_MP3) lame_enc_reinit(&lame_stream); if(fl_g->choice_cfg_codec->value() == CHOICE_OGG) vorbis_enc_reinit(&vorbis_stream); if(fl_g->choice_cfg_codec->value() == CHOICE_OPUS) opus_enc_reinit(&opus_stream); #ifdef HAVE_LIBFDK_AAC if(fl_g->choice_cfg_codec->value() == CHOICE_AAC) aac_enc_reinit(&aac_stream); #endif if(fl_g->choice_cfg_codec->value() == CHOICE_FLAC) flac_enc_reinit(&flac_stream); // Reinit recording codecs lame_rec.channel = 2; vorbis_rec.channel = 2; opus_rec.channel = 2; #ifdef HAVE_LIBFDK_AAC aac_rec.channel = 2; #endif flac_rec.channel = 2; if(fl_g->choice_rec_codec->value() == CHOICE_MP3) lame_enc_reinit(&lame_rec); if(fl_g->choice_rec_codec->value() == CHOICE_OGG) vorbis_enc_reinit(&vorbis_rec); if(fl_g->choice_rec_codec->value() == CHOICE_OPUS) opus_enc_reinit(&opus_rec); #ifdef HAVE_LIBFDK_AAC if(fl_g->choice_rec_codec->value() == CHOICE_AAC) aac_enc_reinit(&aac_rec); #endif if(fl_g->choice_rec_codec->value() == CHOICE_FLAC) flac_enc_reinit(&flac_rec); snd_reinit(); print_info(_("Channels set to: stereo"), 0); } void choice_cfg_channel_mono_cb(void) { cfg.audio.channel = 1; // Reinit streaming codecs lame_stream.channel = 1; vorbis_stream.channel = 1; opus_stream.channel = 1; #ifdef HAVE_LIBFDK_AAC aac_stream.channel = 1; #endif flac_stream.channel = 1; if(fl_g->choice_cfg_codec->value() == CHOICE_MP3) lame_enc_reinit(&lame_stream); if(fl_g->choice_cfg_codec->value() == CHOICE_OGG) vorbis_enc_reinit(&vorbis_stream); if(fl_g->choice_cfg_codec->value() == CHOICE_OPUS) opus_enc_reinit(&opus_stream); #ifdef HAVE_LIBFDK_AAC if(fl_g->choice_cfg_codec->value() == CHOICE_AAC) aac_enc_reinit(&aac_stream); #endif if(fl_g->choice_cfg_codec->value() == CHOICE_FLAC) flac_enc_reinit(&flac_stream); // Reinit recording codecs lame_rec.channel = 1; vorbis_rec.channel = 1; opus_rec.channel = 1; #ifdef HAVE_LIBFDK_AAC aac_rec.channel = 1; #endif flac_rec.channel = 1; if(fl_g->choice_rec_codec->value() == CHOICE_MP3) lame_enc_reinit(&lame_rec); if(fl_g->choice_rec_codec->value() == CHOICE_OGG) vorbis_enc_reinit(&vorbis_rec); if(fl_g->choice_rec_codec->value() == CHOICE_OPUS) opus_enc_reinit(&opus_rec); #ifdef HAVE_LIBFDK_AAC if(fl_g->choice_rec_codec->value() == CHOICE_AAC) aac_enc_reinit(&aac_rec); #endif if(fl_g->choice_rec_codec->value() == CHOICE_FLAC) flac_enc_reinit(&flac_rec); //Reinit PortAudio snd_reinit(); print_info(_("Channels set to: mono"), 0); } void button_add_srv_cancel_cb(void) { fl_g->input_add_srv_name->value(""); fl_g->input_add_srv_addr->value(""); fl_g->input_add_srv_port->value(""); fl_g->input_add_srv_pwd->value(""); fl_g->input_add_srv_mount->value(""); fl_g->input_add_srv_usr->value(""); fl_g->check_add_srv_tls->value(0); fl_g->window_add_srv->hide(); } void button_add_icy_add_cb(void) { int i; //error checking if(strlen(fl_g->input_add_icy_name->value()) == 0) { fl_alert(_("No name specified")); return; } if(cfg.main.icy_ent != NULL) { if(strlen(fl_g->input_add_icy_name->value()) + strlen(cfg.main.icy_ent) > 1000) { fl_alert(_("The number of characters of all your icy names exeeds 1000\n" "Please reduce the number of characters of each icy name")); return; } } if(strpbrk(fl_g->input_add_icy_name->value(), ";\\/\n\r") != NULL) { fl_alert(_("No newline characters and ;/\\ are allowed in the name field")); return; } //check if the name already exists for(i = 0; i < cfg.main.num_of_icy; i++) { if(!strcmp(fl_g->input_add_icy_name->value(), cfg.icy[i]->name)) { fl_alert(_("Server name already exist!")); return; } } i = cfg.main.num_of_icy; cfg.main.num_of_icy++; cfg.icy = (icy_t**)realloc(cfg.icy, cfg.main.num_of_icy * sizeof(icy_t*)); cfg.icy[i] = (icy_t*)malloc(sizeof(icy_t)); cfg.icy[i]->name = (char*)malloc(strlen(fl_g->input_add_icy_name->value())+1 ); strcpy(cfg.icy[i]->name, fl_g->input_add_icy_name->value()); cfg.icy[i]->desc = (char*)malloc(strlen(fl_g->input_add_icy_desc->value())+1 ); strcpy(cfg.icy[i]->desc, fl_g->input_add_icy_desc->value()); cfg.icy[i]->url = (char*)malloc(strlen(fl_g->input_add_icy_url->value())+1 ); strcpy(cfg.icy[i]->url, fl_g->input_add_icy_url->value()); cfg.icy[i]->genre = (char*)malloc(strlen(fl_g->input_add_icy_genre->value())+1 ); strcpy(cfg.icy[i]->genre, fl_g->input_add_icy_genre->value()); cfg.icy[i]->irc = (char*)malloc(strlen(fl_g->input_add_icy_irc->value())+1 ); strcpy(cfg.icy[i]->irc, fl_g->input_add_icy_irc->value()); cfg.icy[i]->icq = (char*)malloc(strlen(fl_g->input_add_icy_icq->value())+1 ); strcpy(cfg.icy[i]->icq, fl_g->input_add_icy_icq->value()); cfg.icy[i]->aim = (char*)malloc(strlen(fl_g->input_add_icy_aim->value())+1 ); strcpy(cfg.icy[i]->aim, fl_g->input_add_icy_aim->value()); cfg.icy[i]->pub = (char*)malloc(2 * sizeof(char)); snprintf(cfg.icy[i]->pub, 2, "%d", fl_g->check_add_icy_pub->value()); if(cfg.main.num_of_icy > 1) { cfg.main.icy_ent = (char*)realloc(cfg.main.icy_ent, strlen(cfg.main.icy_ent) + strlen(cfg.icy[i]->name) +2); sprintf(cfg.main.icy_ent, "%s;%s", cfg.main.icy_ent, cfg.icy[i]->name); } else { cfg.main.icy_ent = (char*)malloc(strlen(cfg.icy[i]->name) +1); sprintf(cfg.main.icy_ent, "%s", cfg.icy[i]->name); } cfg.main.icy = (char*)realloc(cfg.main.icy, strlen(cfg.icy[i]->name)+1); strcpy(cfg.main.icy, cfg.icy[i]->name); fl_g->input_add_icy_name->value(""); fl_g->input_add_icy_desc->value(""); fl_g->input_add_icy_url->value(""); fl_g->input_add_icy_genre->value(""); fl_g->input_add_icy_irc->value(""); fl_g->input_add_icy_icq->value(""); fl_g->input_add_icy_aim->value(""); fl_g->check_add_icy_pub->value(0); fl_g->window_add_icy->hide(); fl_g->choice_cfg_act_icy->add(cfg.icy[i]->name); fl_g->choice_cfg_act_icy->redraw(); fl_g->button_cfg_edit_icy->activate(); fl_g->button_cfg_del_icy->activate(); fl_g->choice_cfg_act_icy->activate(); // make added icy data the active icy entry fl_g->choice_cfg_act_icy->value(i); choice_cfg_act_icy_cb(); } void button_add_icy_cancel_cb(void) { fl_g->input_add_icy_name->value(""); fl_g->input_add_icy_desc->value(""); fl_g->input_add_icy_url->value(""); fl_g->input_add_icy_genre->value(""); fl_g->input_add_icy_irc->value(""); fl_g->input_add_icy_icq->value(""); fl_g->input_add_icy_aim->value(""); fl_g->check_add_icy_pub->value(0); fl_g->window_add_icy->hide(); } void button_cfg_edit_icy_cb(void) { if(cfg.main.num_of_icy < 1) return; int icy = fl_g->choice_cfg_act_icy->value(); fl_g->window_add_icy->label(_("Edit Server Infos")); fl_g->button_add_icy_add->hide(); fl_g->button_add_icy_save->show(); fl_g->input_add_icy_name->value(cfg.icy[icy]->name); fl_g->input_add_icy_desc->value(cfg.icy[icy]->desc); fl_g->input_add_icy_genre->value(cfg.icy[icy]->genre); fl_g->input_add_icy_url->value(cfg.icy[icy]->url); fl_g->input_add_icy_irc->value(cfg.icy[icy]->irc); fl_g->input_add_icy_icq->value(cfg.icy[icy]->icq); fl_g->input_add_icy_aim->value(cfg.icy[icy]->aim); if(!strcmp(cfg.icy[icy]->pub, "1")) fl_g->check_add_icy_pub->value(1); else fl_g->check_add_icy_pub->value(0); fl_g->window_add_icy->position(fl_g->window_cfg->x(), fl_g->window_cfg->y()); //give the "name" input field the input focus fl_g->input_add_icy_name->take_focus(); fl_g->window_add_icy->show(); } void choice_cfg_dev_cb(void) { cfg.audio.dev_num = fl_g->choice_cfg_dev->value(); update_samplerates(); snd_reinit(); update_channel_lists(); } void choice_cfg_left_channel_cb(void) { cfg.audio.left_ch = fl_g->choice_cfg_left_channel->value()+1; } void choice_cfg_right_channel_cb(void) { cfg.audio.right_ch = fl_g->choice_cfg_right_channel->value()+1; } void choice_cfg_codec_mp3_cb(void) { if(lame_enc_reinit(&lame_stream) != 0) { print_info(_("MP3 encoder doesn't support current\n" "Sample-/Bitrate combination"), 1); if(!strcmp(cfg.audio.codec, "ogg")) fl_g->choice_cfg_codec->value(CHOICE_OGG); else if (!strcmp(cfg.audio.codec, "opus")) fl_g->choice_cfg_codec->value(CHOICE_OPUS); else if (!strcmp(cfg.audio.codec, "aac")) fl_g->choice_cfg_codec->value(CHOICE_AAC); else if (!strcmp(cfg.audio.codec, "flac")) fl_g->choice_cfg_codec->value(CHOICE_FLAC); return; } strcpy(cfg.audio.codec, "mp3"); print_info(_("Stream codec set to mp3"), 0); fl_g->choice_cfg_bitrate->activate(); fl_g->choice_cfg_bitrate->show(); } void choice_cfg_codec_ogg_cb(void) { if(vorbis_enc_reinit(&vorbis_stream) != 0) { print_info(_("OGG Vorbis encoder doesn't support current\n" "Sample-/Bitrate combination"), 1); if(!strcmp(cfg.audio.codec, "mp3")) fl_g->choice_cfg_codec->value(CHOICE_MP3); else if (!strcmp(cfg.audio.codec, "opus")) fl_g->choice_cfg_codec->value(CHOICE_OPUS); else if (!strcmp(cfg.audio.codec, "aac")) fl_g->choice_cfg_codec->value(CHOICE_AAC); else if (!strcmp(cfg.audio.codec, "flac")) fl_g->choice_cfg_codec->value(CHOICE_FLAC); return; } strcpy(cfg.audio.codec, "ogg"); print_info(_("Stream codec set to ogg/vorbis"), 0); fl_g->choice_cfg_bitrate->activate(); fl_g->choice_cfg_bitrate->show(); } void choice_cfg_codec_opus_cb(void) { if(opus_enc_reinit(&opus_stream) != 0) { print_info(_("Opus encoder doesn't support current\n" "Sample-/Bitrate combination"), 1); if(!strcmp(cfg.audio.codec, "mp3")) fl_g->choice_cfg_codec->value(CHOICE_MP3); else if (!strcmp(cfg.audio.codec, "ogg")) fl_g->choice_cfg_codec->value(CHOICE_OGG); else if (!strcmp(cfg.audio.codec, "aac")) fl_g->choice_cfg_codec->value(CHOICE_AAC); else if (!strcmp(cfg.audio.codec, "flac")) fl_g->choice_cfg_codec->value(CHOICE_FLAC); return; } print_info(_("Stream codec set to opus"), 0); strcpy(cfg.audio.codec, "opus"); fl_g->choice_cfg_bitrate->activate(); fl_g->choice_cfg_bitrate->show(); } void choice_cfg_codec_aac_cb(void) { #ifdef HAVE_LIBFDK_AAC if (g_aac_lib_available == 0) { fl_alert(_("Could not find aac library.\nPlease follow the instructions in the manual for adding aac support.")); if(!strcmp(cfg.audio.codec, "ogg")) fl_g->choice_cfg_codec->value(CHOICE_OGG); else if (!strcmp(cfg.audio.codec, "opus")) fl_g->choice_cfg_codec->value(CHOICE_OPUS); else if (!strcmp(cfg.audio.codec, "mp3")) fl_g->choice_cfg_codec->value(CHOICE_MP3); else if (!strcmp(cfg.audio.codec, "flac")) fl_g->choice_cfg_codec->value(CHOICE_FLAC); return; } if(aac_enc_reinit(&aac_stream) != 0) { print_info(_("AAC encoder doesn't support current\n" "Sample-/Bitrate combination"), 1); if(!strcmp(cfg.audio.codec, "ogg")) fl_g->choice_cfg_codec->value(CHOICE_OGG); else if (!strcmp(cfg.audio.codec, "opus")) fl_g->choice_cfg_codec->value(CHOICE_OPUS); else if (!strcmp(cfg.audio.codec, "mp3")) fl_g->choice_cfg_codec->value(CHOICE_MP3); else if (!strcmp(cfg.audio.codec, "flac")) fl_g->choice_cfg_codec->value(CHOICE_FLAC); return; } strcpy(cfg.audio.codec, "aac"); print_info(_("Stream codec set to aac"), 0); fl_g->choice_cfg_bitrate->activate(); fl_g->choice_cfg_bitrate->show(); #endif } void choice_cfg_codec_flac_cb(void) { if(flac_enc_reinit(&flac_stream) != 0) { print_info(_("ERROR: While initializing flac settings"), 1); if(!strcmp(cfg.audio.codec, "mp3")) fl_g->choice_rec_codec->value(CHOICE_MP3); else if(!strcmp(cfg.audio.codec, "ogg")) fl_g->choice_rec_codec->value(CHOICE_OGG); else if(!strcmp(cfg.audio.codec, "opus")) fl_g->choice_rec_codec->value(CHOICE_OPUS); else if(!strcmp(cfg.audio.codec, "aac")) fl_g->choice_rec_codec->value(CHOICE_AAC); return; } strcpy(cfg.audio.codec, "flac"); print_info(_("Stream codec set to flac"), 0); fl_g->choice_cfg_bitrate->hide(); fl_g->window_cfg->redraw(); } void choice_rec_codec_mp3_cb(void) { if(lame_enc_reinit(&lame_rec) != 0) { print_info(_("MP3 encoder doesn't support current\n" "Sample-/Bitrate combination"), 1); //fall back to old rec codec if(!strcmp(cfg.rec.codec, "ogg")) fl_g->choice_rec_codec->value(CHOICE_OGG); else if(!strcmp(cfg.rec.codec, "wav")) fl_g->choice_rec_codec->value(CHOICE_WAV); else if(!strcmp(cfg.rec.codec, "opus")) fl_g->choice_rec_codec->value(CHOICE_OPUS); else if(!strcmp(cfg.rec.codec, "aac")) fl_g->choice_rec_codec->value(CHOICE_AAC); else if(!strcmp(cfg.rec.codec, "flac")) fl_g->choice_rec_codec->value(CHOICE_FLAC); return; } strcpy(cfg.rec.codec, "mp3"); //check if the extension of the filename matches //the current selected codec test_file_extension(); print_info(_("Record codec set to mp3"), 0); fl_g->choice_rec_bitrate->activate(); fl_g->choice_rec_bitrate->show(); } void choice_rec_codec_ogg_cb(void) { if(vorbis_enc_reinit(&vorbis_rec) != 0) { print_info(_("OGG Vorbis encoder doesn't support current\n" "Sample-/Bitrate combination"), 1); if(!strcmp(cfg.rec.codec, "mp3")) fl_g->choice_rec_codec->value(CHOICE_MP3); else if(!strcmp(cfg.rec.codec, "wav")) fl_g->choice_rec_codec->value(CHOICE_WAV); else if(!strcmp(cfg.rec.codec, "opus")) fl_g->choice_rec_codec->value(CHOICE_OPUS); else if(!strcmp(cfg.rec.codec, "aac")) fl_g->choice_rec_codec->value(CHOICE_AAC); else if(!strcmp(cfg.rec.codec, "flac")) fl_g->choice_rec_codec->value(CHOICE_FLAC); return; } strcpy(cfg.rec.codec, "ogg"); //check if the extension of the filename matches //the current selected codec test_file_extension(); print_info(_("Record codec set to ogg/vorbis"), 0); fl_g->choice_rec_bitrate->activate(); fl_g->choice_rec_bitrate->show(); } void choice_rec_codec_opus_cb(void) { if(opus_enc_reinit(&opus_rec) != 0) { print_info(_("Opus encoder doesn't support current\n" "Sample-/Bitrate combination"), 1); if(!strcmp(cfg.rec.codec, "mp3")) fl_g->choice_rec_codec->value(CHOICE_MP3); else if(!strcmp(cfg.rec.codec, "wav")) fl_g->choice_rec_codec->value(CHOICE_WAV); else if(!strcmp(cfg.rec.codec, "ogg")) fl_g->choice_rec_codec->value(CHOICE_OGG); else if(!strcmp(cfg.rec.codec, "aac")) fl_g->choice_rec_codec->value(CHOICE_AAC); else if(!strcmp(cfg.rec.codec, "flac")) fl_g->choice_rec_codec->value(CHOICE_FLAC); return; } strcpy(cfg.rec.codec, "opus"); //check if the extension of the filename matches //the current selected codec test_file_extension(); print_info(_("Record codec set to opus"), 0); fl_g->choice_rec_bitrate->activate(); fl_g->choice_rec_bitrate->show(); } void choice_rec_codec_aac_cb(void) { #ifdef HAVE_LIBFDK_AAC if (g_aac_lib_available == 0) { fl_alert(_("Could not find aac library.\nPlease follow the instructions in the manual for adding aac support.")); if(!strcmp(cfg.audio.codec, "ogg")) fl_g->choice_cfg_codec->value(CHOICE_OGG); else if (!strcmp(cfg.audio.codec, "opus")) fl_g->choice_cfg_codec->value(CHOICE_OPUS); else if (!strcmp(cfg.audio.codec, "mp3")) fl_g->choice_cfg_codec->value(CHOICE_MP3); else if (!strcmp(cfg.audio.codec, "flac")) fl_g->choice_cfg_codec->value(CHOICE_FLAC); return; } if(aac_enc_reinit(&aac_rec) != 0) { print_info(_("AAC encoder doesn't support current\n" "Sample-/Bitrate combination"), 1); //fall back to old rec codec if(!strcmp(cfg.rec.codec, "ogg")) fl_g->choice_rec_codec->value(CHOICE_OGG); else if(!strcmp(cfg.rec.codec, "wav")) fl_g->choice_rec_codec->value(CHOICE_WAV); else if(!strcmp(cfg.rec.codec, "opus")) fl_g->choice_rec_codec->value(CHOICE_OPUS); else if(!strcmp(cfg.rec.codec, "flac")) fl_g->choice_rec_codec->value(CHOICE_FLAC); else if(!strcmp(cfg.rec.codec, "mp3")) fl_g->choice_rec_codec->value(CHOICE_MP3); return; } strcpy(cfg.rec.codec, "aac"); //check if the extension of the filename matches //the current selected codec test_file_extension(); print_info(_("Record codec set to aac"), 0); fl_g->choice_rec_bitrate->activate(); fl_g->choice_rec_bitrate->show(); #endif } void choice_rec_codec_flac_cb(void) { if(flac_enc_reinit(&flac_rec) != 0) { print_info(_("ERROR: While initializing flac settings"), 1); if(!strcmp(cfg.rec.codec, "mp3")) fl_g->choice_rec_codec->value(CHOICE_MP3); else if(!strcmp(cfg.rec.codec, "ogg")) fl_g->choice_rec_codec->value(CHOICE_OGG); else if(!strcmp(cfg.rec.codec, "opus")) fl_g->choice_rec_codec->value(CHOICE_OPUS); else if(!strcmp(cfg.rec.codec, "wav")) fl_g->choice_rec_codec->value(CHOICE_WAV); else if(!strcmp(cfg.rec.codec, "aac")) fl_g->choice_rec_codec->value(CHOICE_AAC); return; } strcpy(cfg.rec.codec, "flac"); //check if the extension of the filename matches //the current selected codec test_file_extension(); print_info(_("Record codec set to flac"), 0); fl_g->choice_rec_bitrate->hide(); fl_g->window_cfg->redraw(); } void choice_rec_codec_wav_cb(void) { fl_g->choice_rec_bitrate->hide(); fl_g->window_cfg->redraw(); strcpy(cfg.rec.codec, "wav"); //check if the extension of the filename matches //the current selected codec test_file_extension(); print_info(_("Record codec set to wav"), 0); } void input_tls_cert_file_cb(void) { cfg.tls.cert_file = (char*)realloc(cfg.tls.cert_file, strlen(fl_g->input_tls_cert_file->value())+1); strcpy(cfg.tls.cert_file, fl_g->input_tls_cert_file->value()); fl_g->input_tls_cert_file->tooltip(cfg.tls.cert_file); } void input_tls_cert_dir_cb(void) { int len = strlen(fl_g->input_tls_cert_dir->value()); cfg.tls.cert_dir = (char*)realloc(cfg.tls.cert_dir, len +2); strcpy(cfg.tls.cert_dir, fl_g->input_tls_cert_dir->value()); #ifdef WIN32 //Replace all "Windows slashes" with "unix slashes" strrpl(&cfg.tls.cert_dir, (char*)"\\", (char*)"/", MODE_ALL); #endif //Append an '/' if there isn't one if ( (len > 0) && (cfg.tls.cert_dir[len-1] != '/')) strcat(cfg.tls.cert_dir, "/"); fl_g->input_tls_cert_dir->value(cfg.tls.cert_dir); fl_g->input_tls_cert_dir->tooltip(cfg.tls.cert_dir); } void button_tls_browse_file_cb(void) { Fl_My_Native_File_Chooser nfc; nfc.title(_("Select certificate file...")); nfc.type(Fl_My_Native_File_Chooser::BROWSE_FILE); switch(nfc.show()) { case -1: fl_alert(_("ERROR: %s"), nfc.errmsg()); break; case 1: break; //cancel pressed default: fl_g->input_tls_cert_file->value(nfc.filename()); input_tls_cert_file_cb(); } } void button_tls_browse_dir_cb(void) { Fl_My_Native_File_Chooser nfc; nfc.title(_("Select certificate directory...")); nfc.type(Fl_My_Native_File_Chooser::BROWSE_DIRECTORY); nfc.options(Fl_My_Native_File_Chooser::NEW_FOLDER); nfc.directory(fl_g->input_tls_cert_dir->value()); switch(nfc.show()) { case -1: fl_alert(_("ERROR: %s"), nfc.errmsg()); //error break; case 1: break; //cancel pressed default: fl_g->input_tls_cert_dir->value(nfc.filename()); input_tls_cert_dir_cb(); break; } } void ILM216_cb(void) { if(Fl::event_button() == 1) //left mouse button { //change the display mode only when connected or recording //this will prevent confusing the user if(!connected && !recording) return; switch(display_info) { case STREAM_TIME: if(recording) display_info = REC_TIME; else display_info = SENT_DATA; break; case REC_TIME: if(connected) display_info = SENT_DATA; else display_info = REC_DATA; break; case SENT_DATA: if(recording) display_info = REC_DATA; else display_info = STREAM_TIME; break; case REC_DATA: if(connected) display_info = STREAM_TIME; else display_info = REC_TIME; } } /* if(Fl::event_button() == 3) //right mouse button { uchar r, g, b; Fl_Color bg, txt; bg = (Fl_Color)cfg.main.bg_color; txt = (Fl_Color)cfg.main.txt_color; //Set the r g b values the color_chooser should start with r = (bg & 0xFF000000) >> 24; g = (bg & 0x00FF0000) >> 16; b = (bg & 0x0000FF00) >> 8; fl_color_chooser((const char*)"select background color", r, g, b); //The color_chooser changes the r, g, b, values to selected color cfg.main.bg_color = fl_rgb_color(r, g, b); fl_g->lcd->redraw(); r = (txt & 0xFF000000) >> 24; g = (txt & 0x00FF0000) >> 16; b = (txt & 0x0000FF00) >> 8; fl_color_chooser((const char*)"select text color", r, g, b); cfg.main.txt_color = fl_rgb_color(r, g, b); fl_g->lcd->redraw(); }*/ } void button_rec_browse_cb(void) { Fl_My_Native_File_Chooser nfc; nfc.title(_("Record to...")); nfc.type(Fl_My_Native_File_Chooser::BROWSE_DIRECTORY); nfc.options(Fl_My_Native_File_Chooser::NEW_FOLDER); nfc.directory(fl_g->input_rec_folder->value()); switch(nfc.show()) { case -1: fl_alert(_("ERROR: %s"), nfc.errmsg()); //error break; case 1: break; //cancel default: fl_g->input_rec_folder->value(nfc.filename()); input_rec_folder_cb(); break; } } void button_rec_split_now_cb(void) { int mode = 0; split_recording_timer(&mode); } void input_rec_filename_cb(void) { char *tooltip; cfg.rec.filename = (char*)realloc(cfg.rec.filename, strlen(fl_g->input_rec_filename->value())+1); strcpy(cfg.rec.filename, fl_g->input_rec_filename->value()); //check if the extension of the filename matches //the current selected codec test_file_extension(); tooltip = strdup(cfg.rec.filename); expand_string(&tooltip); fl_g->input_rec_filename->copy_tooltip(tooltip); free(tooltip); } void input_rec_folder_cb(void) { int len = strlen(fl_g->input_rec_folder->value()); cfg.rec.folder = (char*)realloc(cfg.rec.folder, len +2); strcpy(cfg.rec.folder, fl_g->input_rec_folder->value()); #ifdef WIN32 //Replace all "Windows slashes" with "unix slashes" char *p; p = cfg.rec.folder; while(*p != '\0') { if(*p == '\\') *p = '/'; p++; } #endif //Append an '/' if there isn't one if(cfg.rec.folder[len-1] != '/') strcat(cfg.rec.folder, "/"); fl_g->input_rec_folder->value(cfg.rec.folder); fl_g->input_rec_folder->tooltip(cfg.rec.folder); } void input_log_filename_cb(void) { cfg.main.log_file = (char*)realloc(cfg.main.log_file, strlen(fl_g->input_log_filename->value())+1); strcpy(cfg.main.log_file, fl_g->input_log_filename->value()); fl_g->input_log_filename->tooltip(cfg.main.log_file); } void button_cfg_browse_songfile_cb(void) { Fl_My_Native_File_Chooser nfc; nfc.title(_("Select Songfile")); nfc.type(Fl_My_Native_File_Chooser::BROWSE_FILE); switch(nfc.show()) { case -1: fl_alert(_("ERROR: %s"), nfc.errmsg()); break; case 1: break; //cancel default: fl_g->input_cfg_song_file->value(nfc.filename()); input_cfg_song_file_cb(); } } void input_cfg_song_file_cb(void) { int len = strlen(fl_g->input_cfg_song_file->value()); cfg.main.song_path = (char*)realloc(cfg.main.song_path, len +1); strcpy(cfg.main.song_path, fl_g->input_cfg_song_file->value()); #ifdef WIN32 //Replace all "Windows slashes" with "unix slashes" char *p; p = cfg.main.song_path; while(*p != '\0') { if(*p == '\\') *p = '/'; p++; } #endif fl_g->input_cfg_song_file->value(cfg.main.song_path); fl_g->input_cfg_song_file->tooltip(cfg.main.song_path); } void check_gui_attach_cb(void) { if(fl_g->check_gui_attach->value()) { cfg.gui.attach = 1; Fl::add_timeout(0.1, &cfg_win_pos_timer); } else { cfg.gui.attach = 0; Fl::remove_timeout(&cfg_win_pos_timer); } } void check_gui_ontop_cb(void) { if(fl_g->check_gui_ontop->value()) { fl_g->window_main->stay_on_top(1); fl_g->window_cfg->stay_on_top(1); cfg.gui.ontop = 1; } else { fl_g->window_main->stay_on_top(0); fl_g->window_cfg->stay_on_top(0); cfg.gui.ontop = 0; } } void check_gui_hide_log_window_cb(void) { if(fl_g->check_gui_hide_log_window->value()) cfg.gui.hide_log_window = 1; else cfg.gui.hide_log_window = 0; } void check_gui_remember_pos_cb(void) { if(fl_g->check_gui_remember_pos->value()) cfg.gui.remember_pos = 1; else cfg.gui.remember_pos = 0; } void check_gui_lcd_auto_cb(void) { if(fl_g->check_gui_lcd_auto->value()) { cfg.gui.lcd_auto = 1; } else { cfg.gui.lcd_auto = 0; } } void button_gui_bg_color_cb(void) { uchar r, g, b; Fl_Color bg; bg = (Fl_Color)cfg.main.bg_color; //Set the r g b values the color_chooser should start with r = (bg & 0xFF000000) >> 24; g = (bg & 0x00FF0000) >> 16; b = (bg & 0x0000FF00) >> 8; fl_color_chooser(_("select background color"), r, g, b); //The color_chooser changes the r, g, b, values to selected color cfg.main.bg_color = fl_rgb_color(r, g, b); fl_g->button_gui_bg_color->color(cfg.main.bg_color, fl_lighter((Fl_Color)cfg.main.bg_color)); fl_g->button_gui_bg_color->redraw(); fl_g->lcd->redraw(); } void button_gui_text_color_cb(void) { uchar r, g, b; Fl_Color txt; txt = (Fl_Color)cfg.main.txt_color; //Set the r g b values the color_chooser should start with r = (txt & 0xFF000000) >> 24; g = (txt & 0x00FF0000) >> 16; b = (txt & 0x0000FF00) >> 8; fl_color_chooser(_("select text color"), r, g, b); //The color_chooser changes the r, g, b, values to selected color cfg.main.txt_color = fl_rgb_color(r, g, b); fl_g->button_gui_text_color->color(cfg.main.txt_color, fl_lighter((Fl_Color)cfg.main.txt_color)); fl_g->button_gui_text_color->redraw(); fl_g->lcd->redraw(); } void choice_gui_language_cb(void) { switch (fl_g->choice_gui_language->value()) { case LANG_DE: cfg.gui.lang = LANG_DE; break; case LANG_EN: cfg.gui.lang = LANG_EN; break; default: cfg.gui.lang = LANG_SYSTEM; break; } fl_alert(_("Please restart butt to apply new language.")); } void check_cfg_auto_start_rec_cb(void) { cfg.rec.start_rec = fl_g->check_cfg_auto_start_rec->value(); fl_g->lcd->redraw(); //update the little record icon } void check_cfg_auto_stop_rec_cb(void) { cfg.rec.stop_rec = fl_g->check_cfg_auto_stop_rec->value(); } void check_cfg_rec_after_launch_cb(void) { cfg.rec.rec_after_launch = fl_g->check_cfg_rec_after_launch->value(); } void check_cfg_rec_hourly_cb(void) { //cfg.rec.start_rec_hourly = fl_g->check_cfg_rec_hourly->value(); } void check_cfg_connect_cb(void) { cfg.main.connect_at_startup = fl_g->check_cfg_connect->value(); } void check_cfg_force_reconnecting_cb(void) { cfg.main.force_reconnecting = fl_g->check_cfg_force_reconnecting->value(); } void input_cfg_signal_cb(void) { // Values < 0 are not allowed if(fl_g->input_cfg_signal->value() <= 0) { fl_g->input_cfg_signal->value(0); Fl::remove_timeout(&stream_signal_timer); } else Fl::add_timeout(1, &stream_signal_timer); cfg.main.signal_threshold = fl_g->input_cfg_signal->value(); } void input_cfg_present_level_cb(void) { if(fl_g->input_cfg_present_level->value() < -90) { fl_alert(_("Value must be a number between -90.0 and 0")); fl_g->input_cfg_present_level->value(-cfg.audio.signal_level); } if(fl_g->input_cfg_present_level->value() > 0) { fl_alert(_("Value must be a number between -90.0 and 0")); fl_g->input_cfg_present_level->value(-cfg.audio.signal_level); } cfg.audio.signal_level = -fl_g->input_cfg_present_level->value(); } void input_cfg_absent_level_cb(void) { if(fl_g->input_cfg_absent_level->value() < -90) { fl_alert(_("Value must be a number between -90.0 and 0")); fl_g->input_cfg_absent_level->value(-cfg.audio.silence_level); } if(fl_g->input_cfg_absent_level->value() > 0) { fl_alert(_("Value must be a number between -90.0 and 0")); fl_g->input_cfg_absent_level->value(-cfg.audio.silence_level); } cfg.audio.silence_level = -fl_g->input_cfg_absent_level->value(); } void input_cfg_silence_cb(void) { // Values < 0 are not allowed if(fl_g->input_cfg_silence->value() < 0) { fl_g->input_cfg_silence->value(0); Fl::remove_timeout(&stream_silence_timer); } else Fl::add_timeout(1, &stream_silence_timer); cfg.main.silence_threshold = fl_g->input_cfg_silence->value(); } void input_rec_signal_cb(void) { // Values < 0 are not allowed if(fl_g->input_rec_signal->value() <= 0) { fl_g->input_rec_signal->value(0); Fl::remove_timeout(&record_signal_timer); } else Fl::add_timeout(1, &record_signal_timer); cfg.rec.signal_threshold = fl_g->input_rec_signal->value(); } void input_rec_silence_cb(void) { // Values < 0 are not allowed if(fl_g->input_rec_silence->value() < 0) { fl_g->input_rec_silence->value(0); Fl::remove_timeout(&record_silence_timer); } else Fl::add_timeout(1, &record_silence_timer); cfg.rec.silence_threshold = fl_g->input_rec_silence->value(); } void check_song_update_active_cb(void) { if(fl_g->check_song_update_active->value()) { if(connected) { static int reset = 1; Fl::remove_timeout(&songfile_timer); Fl::add_timeout(0.1, &songfile_timer, &reset); } cfg.main.song_update = 1; } else { Fl::remove_timeout(&songfile_timer); if (cfg.main.song != NULL) { free(cfg.main.song); cfg.main.song = NULL; } cfg.main.song_update = 0; } } void check_read_last_line_cb(void) { cfg.main.read_last_line = fl_g->check_read_last_line->value(); } void check_sync_to_full_hour_cb(void) { if(fl_g->check_sync_to_full_hour->value()) cfg.rec.sync_to_hour = 1; else cfg.rec.sync_to_hour = 0; } void slider_gain_cb(void) { float gain_db; //Without redrawing the main window the slider knob is not redrawn correctly fl_g->window_main->redraw(); gain_db = (float)fl_g->slider_gain->value(); if((int)gain_db == 0) cfg.main.gain = 1; else cfg.main.gain = util_db_to_factor(gain_db); fl_g->slider_gain->value_cb2("dB"); } void input_rec_split_time_cb(void) { // Values < 0 are not allowed if (fl_g->input_rec_split_time->value() < 0) { fl_g->input_rec_split_time->value(0); } cfg.rec.split_time = fl_g->input_rec_split_time->value(); } void button_cfg_export_cb(void) { char *filename; Fl_My_Native_File_Chooser nfc; nfc.title(_("Export to...")); nfc.type(Fl_My_Native_File_Chooser::BROWSE_SAVE_FILE); nfc.options(Fl_My_Native_File_Chooser::NEW_FOLDER); switch(nfc.show()) { case -1: fl_alert(_("ERROR: %s"), nfc.errmsg()); //error return; break; case 1: return; // cancel break; default: filename = (char*)nfc.filename(); } cfg_write_file(filename); } void button_cfg_import_cb(void) { char *filename; char info_buf[256]; Fl_My_Native_File_Chooser nfc; nfc.title(_("Import...")); nfc.type(Fl_My_Native_File_Chooser::BROWSE_FILE); switch(nfc.show()) { case -1: fl_alert(_("ERROR: %s"), nfc.errmsg()); //error return; break; case 1: return; // cancel break; default: filename = (char*)nfc.filename(); break; } //read config and initialize config struct if(cfg_set_values(filename) != 0) { snprintf(info_buf, sizeof(info_buf), _("Could not import config %s"), filename); print_info(info_buf, 1); return; } //re-initialize some stuff after config has been successfully imported init_main_gui_and_audio(); fill_cfg_widgets(); snd_reinit(); snprintf(info_buf, sizeof(info_buf), _("Config imported %s"), filename); print_info(info_buf, 1); } void check_update_at_startup_cb(void) { cfg.main.check_for_update = fl_g->check_update_at_startup->value(); } void button_cfg_check_for_updates_cb(void) { int rc; char uri[100]; char *new_version; int ret = update_check_for_new_version(); switch(ret) { case UPDATE_NEW_VERSION: new_version = update_get_version(); rc = fl_choice(_("New version available: %s\nYou have version %s"), _("Cancel"), _("Get new version"), NULL, new_version, VERSION); if(rc == 1) { //snprintf(uri, sizeof(uri)-1, "https://sourceforge.net/projects/butt/files/butt/butt-%s/", new_version); snprintf(uri, sizeof(uri)-1, "https://danielnoethen.de/butt/index.html#_download"); fl_open_uri(uri); } break; case UPDATE_SOCKET_ERROR: fl_alert(_("Could not get update information.\nReason: Network error")); break; case UPDATE_ILLEGAL_ANSWER: fl_alert(_("Could not get update information.\nReason: Unknown answer from server")); break; case UPDATE_UP_TO_DATE: fl_alert(_("You have the latest version!")); break; default: fl_alert(_("Could not get update information.\nReason: Unknown")); break; } } void check_cfg_mono_to_stereo_cb(void) { cfg.audio.mono_to_stereo = fl_g->check_cfg_mono_to_stereo->value(); } void button_cfg_log_browse_cb(void) { Fl_My_Native_File_Chooser nfc; nfc.title(_("Select logfile...")); nfc.type(Fl_My_Native_File_Chooser::BROWSE_SAVE_FILE); nfc.options(Fl_My_Native_File_Chooser::NEW_FOLDER); switch(nfc.show()) { case -1: fl_alert(_("ERROR: %s"), nfc.errmsg()); break; case 1: break; //cancel default: fl_g->input_log_filename->value(nfc.filename()); input_log_filename_cb(); } } void window_main_close_cb(void) { if(connected || recording) { int ret; if(connected) ret = fl_choice(_("butt is currently streaming.\n" "Do you really want to close butt now?"), _("no"), _("yes"), NULL); else ret = fl_choice(_("butt is currently recording.\n" "Do you really want to close butt now?"), _("no"), _("yes"), NULL); if(ret == 0) return; } if (cfg.gui.remember_pos) { cfg.gui.x_pos = fl_g->window_main->x_root(); cfg.gui.y_pos = fl_g->window_main->y_root(); } cfg_write_file(NULL); exit(0); } void check_cfg_use_app_cb() { if(fl_g->check_cfg_use_app->value()) { int app = fl_g->choice_cfg_app->value(); current_track_app = getCurrentTrackFunctionFromId(app); cfg.main.app_update = 1; cfg.main.app_update_service = app; static int reset = 1; Fl::remove_timeout(&app_timer); Fl::add_timeout(0.1, &app_timer, &reset); } else { cfg.main.app_update = 0; Fl::remove_timeout(&app_timer); if (cfg.main.song != NULL) { free(cfg.main.song); cfg.main.song = NULL; } } } void choice_cfg_app_cb() { current_track_app = getCurrentTrackFunctionFromId(fl_g->choice_cfg_app->value()); cfg.main.app_update_service = fl_g->choice_cfg_app->value(); } void check_activate_eq_cb(void) { cfg.dsp.equalizer = fl_g->check_activate_eq->value(); } void slider_equalizer1_cb(double v) { static char str[10]; cfg.dsp.gain1 = v; snprintf(str, 10, "%+.1f", v); fl_g->equalizerGain1->label(str); fl_g->equalizerSlider1->value_cb2("dB"); // updates the tooltip } void slider_equalizer2_cb(double v) { static char str[10]; cfg.dsp.gain2 = v; snprintf(str, 10, "%+.1f", v); fl_g->equalizerGain2->label(str); fl_g->equalizerSlider2->value_cb2("dB"); } void slider_equalizer3_cb(double v) { static char str[10]; cfg.dsp.gain3 = v; snprintf(str, 10, "%+.1f", v); fl_g->equalizerGain3->label(str); fl_g->equalizerSlider3->value_cb2("dB"); } void slider_equalizer4_cb(double v) { static char str[10]; cfg.dsp.gain4 = v; snprintf(str, 10, "%+.1f", v); fl_g->equalizerGain4->label(str); fl_g->equalizerSlider4->value_cb2("dB"); } void slider_equalizer5_cb(double v) { static char str[10]; cfg.dsp.gain5 = v; snprintf(str, 10, "%+.1f", v); fl_g->equalizerGain5->label(str); fl_g->equalizerSlider5->value_cb2("dB"); } void check_activate_drc_cb(void) { cfg.dsp.compressor = fl_g->check_activate_drc->value(); } void slider_threshold_cb(double v) { static char str[10]; cfg.dsp.threshold = v; snprintf(str, 10, "%+.1f", v); fl_g->threshold->label(str); fl_g->thresholdSlider->value_cb2("dBFS"); // updates the tooltip } void slider_ratio_cb(double v) { static char str[10]; cfg.dsp.ratio = v; snprintf(str, 10, "%.1f", v); fl_g->ratio->label(str); fl_g->ratioSlider->value_cb2(":1"); } void slider_attack_cb(double v) { static char str[10]; cfg.dsp.attack = v; snprintf(str, 10, "%.1fs", v); fl_g->attack->label(str); fl_g->attackSlider->value_cb2("s"); } void slider_release_cb(double v) { static char str[10]; cfg.dsp.release = v; snprintf(str, 10, "%.1fs", v); fl_g->release->label(str); fl_g->releaseSlider->value_cb2("s"); } void slider_makeup_cb(double v) { static char str[10]; cfg.dsp.makeup_gain = v; snprintf(str, 10, "%+.1f", v); fl_g->makeup->label(str); fl_g->makeupSlider->value_cb2("dB"); } butt-0.1.26/src/FLTK/flgui.cpp0000664000175000017500000030003013770344616012651 00000000000000// generated by Fast Light User Interface Designer (fluid) version 1.0305 #include "../../gettext.h" #include "flgui.h" void flgui::cb_window_main_i(Fl_My_Double_Window*, void*) { window_main_close_cb(); } void flgui::cb_window_main(Fl_My_Double_Window* o, void* v) { ((flgui*)(o->user_data()))->cb_window_main_i(o,v); } void flgui::cb_lcd_i(Fl_ILM216*, void*) { ILM216_cb(); } void flgui::cb_lcd(Fl_ILM216* o, void* v) { ((flgui*)(o->parent()->parent()->user_data()))->cb_lcd_i(o,v); } void flgui::cb_button_connect_i(Fl_Button*, void*) { button_connect_cb(); } void flgui::cb_button_connect(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->user_data()))->cb_button_connect_i(o,v); } void flgui::cb_button_disconnect_i(Fl_Button*, void*) { button_disconnect_cb(); } void flgui::cb_button_disconnect(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->user_data()))->cb_button_disconnect_i(o,v); } void flgui::cb_button_record_i(Fl_Button*, void*) { button_record_cb(); } void flgui::cb_button_record(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->user_data()))->cb_button_record_i(o,v); } void flgui::cb_button_info_i(Fl_Button*, void*) { button_info_cb(); } void flgui::cb_button_info(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->user_data()))->cb_button_info_i(o,v); } void flgui::cb_button_cfg_i(Fl_Button*, void*) { button_cfg_cb(); } void flgui::cb_button_cfg(Fl_Button* o, void* v) { ((flgui*)(o->parent()->user_data()))->cb_button_cfg_i(o,v); } void flgui::cb_slider_gain_i(Fl_My_Value_Slider*, void*) { slider_gain_cb(); } void flgui::cb_slider_gain(Fl_My_Value_Slider* o, void* v) { ((flgui*)(o->parent()->user_data()))->cb_slider_gain_i(o,v); } void flgui::cb_window_cfg_i(Fl_My_Double_Window*, void*) { window_cfg->hide(); button_cfg->label("Settings@>"); } void flgui::cb_window_cfg(Fl_My_Double_Window* o, void* v) { ((flgui*)(o->user_data()))->cb_window_cfg_i(o,v); } void flgui::cb_choice_cfg_act_srv_i(Fl_Choice*, void*) { choice_cfg_act_srv_cb(); } void flgui::cb_choice_cfg_act_srv(Fl_Choice* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_choice_cfg_act_srv_i(o,v); } void flgui::cb_ADD_i(Fl_Button*, void*) { button_cfg_add_srv_cb(); } void flgui::cb_ADD(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_ADD_i(o,v); } void flgui::cb_button_cfg_edit_srv_i(Fl_Button*, void*) { button_cfg_edit_srv_cb(); } void flgui::cb_button_cfg_edit_srv(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_button_cfg_edit_srv_i(o,v); } void flgui::cb_button_cfg_del_srv_i(Fl_Button*, void*) { button_cfg_del_srv_cb(); } void flgui::cb_button_cfg_del_srv(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_button_cfg_del_srv_i(o,v); } void flgui::cb_choice_cfg_act_icy_i(Fl_Choice*, void*) { choice_cfg_act_icy_cb(); } void flgui::cb_choice_cfg_act_icy(Fl_Choice* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_choice_cfg_act_icy_i(o,v); } void flgui::cb_ADD1_i(Fl_Button*, void*) { button_cfg_add_icy_cb(); } void flgui::cb_ADD1(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_ADD1_i(o,v); } void flgui::cb_button_cfg_edit_icy_i(Fl_Button*, void*) { button_cfg_edit_icy_cb(); } void flgui::cb_button_cfg_edit_icy(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_button_cfg_edit_icy_i(o,v); } void flgui::cb_button_cfg_del_icy_i(Fl_Button*, void*) { button_cfg_del_icy_cb(); } void flgui::cb_button_cfg_del_icy(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_button_cfg_del_icy_i(o,v); } void flgui::cb_input_log_filename_i(Fl_Input*, void*) { input_log_filename_cb(); } void flgui::cb_input_log_filename(Fl_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_log_filename_i(o,v); } void flgui::cb__i(Fl_Button*, void*) { button_cfg_log_browse_cb(); } void flgui::cb_(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb__i(o,v); } #include static const unsigned char idata_folder[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,19,19,0, 4,4,4,0,2,2,2,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; static Fl_Image *image_folder() { static Fl_Image *image = new Fl_RGB_Image(idata_folder, 24, 24, 4, 0); return image; } void flgui::cb_Import_i(Fl_Button*, void*) { button_cfg_import_cb(); } void flgui::cb_Import(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_Import_i(o,v); } void flgui::cb_Save_i(Fl_Button*, void*) { cfg_write_file(NULL); } void flgui::cb_Save(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_Save_i(o,v); } void flgui::cb_Export_i(Fl_Button*, void*) { button_cfg_export_cb(); } void flgui::cb_Export(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_Export_i(o,v); } void flgui::cb_Check_i(Fl_Button*, void*) { button_cfg_check_for_updates_cb(); } void flgui::cb_Check(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_Check_i(o,v); } void flgui::cb_check_update_at_startup_i(Fl_Check_Button*, void*) { check_update_at_startup_cb(); } void flgui::cb_check_update_at_startup(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_update_at_startup_i(o,v); } void flgui::cb_choice_cfg_dev_i(Fl_Choice*, void*) { choice_cfg_dev_cb(); } void flgui::cb_choice_cfg_dev(Fl_Choice* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_choice_cfg_dev_i(o,v); } void flgui::cb_Stereo_i(Fl_Menu_*, void*) { choice_cfg_channel_stereo_cb(); } void flgui::cb_Stereo(Fl_Menu_* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_Stereo_i(o,v); } void flgui::cb_Mono_i(Fl_Menu_*, void*) { choice_cfg_channel_mono_cb(); } void flgui::cb_Mono(Fl_Menu_* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_Mono_i(o,v); } unsigned char flgui::menu_choice_cfg_channel_i18n_done = 0; Fl_Menu_Item flgui::menu_choice_cfg_channel[] = { {"Stereo", 0, (Fl_Callback*)flgui::cb_Stereo, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"Mono", 0, (Fl_Callback*)flgui::cb_Mono, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {0,0,0,0,0,0,0,0,0} }; void flgui::cb_choice_cfg_samplerate_i(Fl_Choice*, void*) { choice_cfg_samplerate_cb(); } void flgui::cb_choice_cfg_samplerate(Fl_Choice* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_choice_cfg_samplerate_i(o,v); } void flgui::cb_choice_cfg_left_channel_i(Fl_Choice*, void*) { choice_cfg_left_channel_cb(); } void flgui::cb_choice_cfg_left_channel(Fl_Choice* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_choice_cfg_left_channel_i(o,v); } void flgui::cb_choice_cfg_right_channel_i(Fl_Choice*, void*) { choice_cfg_right_channel_cb(); } void flgui::cb_choice_cfg_right_channel(Fl_Choice* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_choice_cfg_right_channel_i(o,v); } void flgui::cb_MP3_i(Fl_Menu_*, void*) { choice_cfg_codec_mp3_cb(); } void flgui::cb_MP3(Fl_Menu_* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_MP3_i(o,v); } void flgui::cb_OGG_i(Fl_Menu_*, void*) { choice_cfg_codec_ogg_cb(); } void flgui::cb_OGG(Fl_Menu_* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_OGG_i(o,v); } void flgui::cb_OPUS_i(Fl_Menu_*, void*) { choice_cfg_codec_opus_cb(); } void flgui::cb_OPUS(Fl_Menu_* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_OPUS_i(o,v); } void flgui::cb_menu_item_cfg_aac_i(Fl_Menu_*, void*) { choice_cfg_codec_aac_cb(); } void flgui::cb_menu_item_cfg_aac(Fl_Menu_* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_menu_item_cfg_aac_i(o,v); } void flgui::cb_FLAC_i(Fl_Menu_*, void*) { choice_cfg_codec_flac_cb(); } void flgui::cb_FLAC(Fl_Menu_* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_FLAC_i(o,v); } unsigned char flgui::menu_choice_cfg_codec_i18n_done = 0; Fl_Menu_Item flgui::menu_choice_cfg_codec[] = { {"MP3", 0, (Fl_Callback*)flgui::cb_MP3, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"OGG/VORBIS", 0, (Fl_Callback*)flgui::cb_OGG, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"OPUS", 0, (Fl_Callback*)flgui::cb_OPUS, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"AAC+", 0, (Fl_Callback*)flgui::cb_menu_item_cfg_aac, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"FLAC", 0, (Fl_Callback*)flgui::cb_FLAC, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {0,0,0,0,0,0,0,0,0} }; Fl_Menu_Item* flgui::menu_item_cfg_aac = flgui::menu_choice_cfg_codec + 3; void flgui::cb_choice_cfg_bitrate_i(Fl_Choice*, void*) { choice_cfg_bitrate_cb(); } void flgui::cb_choice_cfg_bitrate(Fl_Choice* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_choice_cfg_bitrate_i(o,v); } unsigned char flgui::menu_choice_cfg_bitrate_i18n_done = 0; Fl_Menu_Item flgui::menu_choice_cfg_bitrate[] = { {"8k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"16k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"24k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"32k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"40k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"48k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"56k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"64k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"80k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"96k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"112k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"128k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"160k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"192k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"224k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"256k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"320k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {0,0,0,0,0,0,0,0,0} }; void flgui::cb_check_cfg_mono_to_stereo_i(Fl_Check_Button*, void*) { check_cfg_mono_to_stereo_cb(); } void flgui::cb_check_cfg_mono_to_stereo(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_cfg_mono_to_stereo_i(o,v); } void flgui::cb_MP31_i(Fl_Menu_*, void*) { choice_rec_codec_mp3_cb(); } void flgui::cb_MP31(Fl_Menu_* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_MP31_i(o,v); } void flgui::cb_OGG1_i(Fl_Menu_*, void*) { choice_rec_codec_ogg_cb(); } void flgui::cb_OGG1(Fl_Menu_* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_OGG1_i(o,v); } void flgui::cb_OPUS1_i(Fl_Menu_*, void*) { choice_rec_codec_opus_cb(); } void flgui::cb_OPUS1(Fl_Menu_* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_OPUS1_i(o,v); } void flgui::cb_menu_item_rec_aac_i(Fl_Menu_*, void*) { choice_rec_codec_aac_cb(); } void flgui::cb_menu_item_rec_aac(Fl_Menu_* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_menu_item_rec_aac_i(o,v); } void flgui::cb_FLAC1_i(Fl_Menu_*, void*) { choice_rec_codec_flac_cb(); } void flgui::cb_FLAC1(Fl_Menu_* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_FLAC1_i(o,v); } void flgui::cb_WAV_i(Fl_Menu_*, void*) { choice_rec_codec_wav_cb(); } void flgui::cb_WAV(Fl_Menu_* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_WAV_i(o,v); } unsigned char flgui::menu_choice_rec_codec_i18n_done = 0; Fl_Menu_Item flgui::menu_choice_rec_codec[] = { {"MP3", 0, (Fl_Callback*)flgui::cb_MP31, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"OGG/VORBIS", 0, (Fl_Callback*)flgui::cb_OGG1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"OPUS", 0, (Fl_Callback*)flgui::cb_OPUS1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"AAC+", 0, (Fl_Callback*)flgui::cb_menu_item_rec_aac, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"FLAC", 0, (Fl_Callback*)flgui::cb_FLAC1, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"WAV", 0, (Fl_Callback*)flgui::cb_WAV, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {0,0,0,0,0,0,0,0,0} }; Fl_Menu_Item* flgui::menu_item_rec_aac = flgui::menu_choice_rec_codec + 3; void flgui::cb_choice_rec_bitrate_i(Fl_Choice*, void*) { choice_rec_bitrate_cb(); } void flgui::cb_choice_rec_bitrate(Fl_Choice* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_choice_rec_bitrate_i(o,v); } unsigned char flgui::menu_choice_rec_bitrate_i18n_done = 0; Fl_Menu_Item flgui::menu_choice_rec_bitrate[] = { {"8k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"16k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"24k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"32k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"40k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"48k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"56k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"64k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"80k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"96k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"112k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"128k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"160k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"192k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"224k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"256k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"320k", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {0,0,0,0,0,0,0,0,0} }; void flgui::cb_button_advanced_i(Fl_Button*, void*) { static int show_advanced = 0; if (!show_advanced) { window_cfg->size(window_cfg->w(), 450); show_advanced = 1; fl_g->button_advanced->label("Standard..."); } else { window_cfg->size(window_cfg->w(), 380); show_advanced = 0; fl_g->button_advanced->label("Advanced..."); }; } void flgui::cb_button_advanced(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->user_data()))->cb_button_advanced_i(o,v); } void flgui::cb_input_cfg_buffer_i(Fl_Value_Input*, void*) { input_cfg_buffer_cb(1); } void flgui::cb_input_cfg_buffer(Fl_Value_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->user_data()))->cb_input_cfg_buffer_i(o,v); } void flgui::cb_choice_cfg_resample_mode_i(Fl_Choice*, void*) { choice_cfg_resample_mode_cb(); } void flgui::cb_choice_cfg_resample_mode(Fl_Choice* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->user_data()))->cb_choice_cfg_resample_mode_i(o,v); } unsigned char flgui::menu_choice_cfg_resample_mode_i18n_done = 0; Fl_Menu_Item flgui::menu_choice_cfg_resample_mode[] = { {"SINC_BEST", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"SINC_MEDIUM", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"SINC_FASTEST", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"ZERO_ORDER_HOLD", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"LINEAR", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {0,0,0,0,0,0,0,0,0} }; void flgui::cb_input_cfg_present_level_i(Fl_Value_Input*, void*) { input_cfg_present_level_cb(); } void flgui::cb_input_cfg_present_level(Fl_Value_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_cfg_present_level_i(o,v); } void flgui::cb_input_cfg_absent_level_i(Fl_Value_Input*, void*) { input_cfg_absent_level_cb(); } void flgui::cb_input_cfg_absent_level(Fl_Value_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_cfg_absent_level_i(o,v); } void flgui::cb_input_cfg_song_file_i(Fl_Input*, void*) { input_cfg_song_file_cb(); } void flgui::cb_input_cfg_song_file(Fl_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_cfg_song_file_i(o,v); } void flgui::cb_button_songfile_browse_i(Fl_Button*, void*) { button_cfg_browse_songfile_cb(); } void flgui::cb_button_songfile_browse(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_button_songfile_browse_i(o,v); } void flgui::cb_check_song_update_active_i(Fl_Check_Button*, void*) { check_song_update_active_cb(); } void flgui::cb_check_song_update_active(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_song_update_active_i(o,v); } void flgui::cb_check_read_last_line_i(Fl_Check_Button*, void*) { check_read_last_line_cb(); } void flgui::cb_check_read_last_line(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_read_last_line_i(o,v); } void flgui::cb_input_cfg_song_i(Fl_Input*, void*) { input_cfg_song_cb(); } void flgui::cb_input_cfg_song(Fl_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_cfg_song_i(o,v); } void flgui::cb_OK_i(Fl_Button*, void*) { button_cfg_song_go_cb(); } void flgui::cb_OK(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_OK_i(o,v); } void flgui::cb_check_cfg_use_app_i(Fl_Check_Button*, void*) { check_cfg_use_app_cb(); } void flgui::cb_check_cfg_use_app(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_cfg_use_app_i(o,v); } void flgui::cb_choice_cfg_app_i(Fl_Choice*, void*) { choice_cfg_app_cb(); } void flgui::cb_choice_cfg_app(Fl_Choice* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_choice_cfg_app_i(o,v); } void flgui::cb_check_cfg_connect_i(Fl_Check_Button*, void*) { check_cfg_connect_cb(); } void flgui::cb_check_cfg_connect(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_cfg_connect_i(o,v); } void flgui::cb_input_cfg_silence_i(Fl_Value_Input*, void*) { input_cfg_silence_cb(); } void flgui::cb_input_cfg_silence(Fl_Value_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_cfg_silence_i(o,v); } void flgui::cb_input_cfg_signal_i(Fl_Value_Input*, void*) { input_cfg_signal_cb(); } void flgui::cb_input_cfg_signal(Fl_Value_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_cfg_signal_i(o,v); } void flgui::cb_check_cfg_force_reconnecting_i(Fl_Check_Button*, void*) { check_cfg_force_reconnecting_cb(); } void flgui::cb_check_cfg_force_reconnecting(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_cfg_force_reconnecting_i(o,v); } void flgui::cb_input_cfg_song_prefix_i(Fl_Input*, void*) { input_cfg_song_prefix_cb(); } void flgui::cb_input_cfg_song_prefix(Fl_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_cfg_song_prefix_i(o,v); } void flgui::cb_input_cfg_song_suffix_i(Fl_Input*, void*) { input_cfg_song_suffix_cb(); } void flgui::cb_input_cfg_song_suffix(Fl_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_cfg_song_suffix_i(o,v); } void flgui::cb_input_rec_filename_i(Fl_Input*, void*) { input_rec_filename_cb(); } void flgui::cb_input_rec_filename(Fl_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->user_data()))->cb_input_rec_filename_i(o,v); } void flgui::cb_input_rec_folder_i(Fl_Input*, void*) { input_rec_folder_cb(); } void flgui::cb_input_rec_folder(Fl_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->user_data()))->cb_input_rec_folder_i(o,v); } void flgui::cb_button_rec_browse_i(Fl_Button*, void*) { button_rec_browse_cb(); } void flgui::cb_button_rec_browse(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->user_data()))->cb_button_rec_browse_i(o,v); } void flgui::cb_input_rec_split_time_i(Fl_Value_Input*, void*) { input_rec_split_time_cb(); } void flgui::cb_input_rec_split_time(Fl_Value_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_rec_split_time_i(o,v); } void flgui::cb_check_sync_to_full_hour_i(Fl_Check_Button*, void*) { check_sync_to_full_hour_cb(); } void flgui::cb_check_sync_to_full_hour(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_sync_to_full_hour_i(o,v); } void flgui::cb_Split_i(Fl_Button*, void*) { button_rec_split_now_cb(); } void flgui::cb_Split(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_Split_i(o,v); } void flgui::cb_check_cfg_auto_start_rec_i(Fl_Check_Button*, void*) { check_cfg_auto_start_rec_cb(); } void flgui::cb_check_cfg_auto_start_rec(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_cfg_auto_start_rec_i(o,v); } void flgui::cb_check_cfg_rec_after_launch_i(Fl_Check_Button*, void*) { check_cfg_rec_after_launch_cb(); } void flgui::cb_check_cfg_rec_after_launch(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_cfg_rec_after_launch_i(o,v); } void flgui::cb_input_rec_signal_i(Fl_Value_Input*, void*) { input_rec_signal_cb(); } void flgui::cb_input_rec_signal(Fl_Value_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_rec_signal_i(o,v); } void flgui::cb_check_cfg_auto_stop_rec_i(Fl_Check_Button*, void*) { check_cfg_auto_stop_rec_cb(); } void flgui::cb_check_cfg_auto_stop_rec(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_cfg_auto_stop_rec_i(o,v); } void flgui::cb_input_rec_silence_i(Fl_Value_Input*, void*) { input_rec_silence_cb(); } void flgui::cb_input_rec_silence(Fl_Value_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_rec_silence_i(o,v); } void flgui::cb_input_tls_cert_file_i(Fl_Input*, void*) { input_tls_cert_file_cb(); } void flgui::cb_input_tls_cert_file(Fl_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_tls_cert_file_i(o,v); } void flgui::cb_input_tls_cert_dir_i(Fl_Input*, void*) { input_tls_cert_dir_cb(); } void flgui::cb_input_tls_cert_dir(Fl_Input* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_input_tls_cert_dir_i(o,v); } void flgui::cb_button_tls_browse_dir_i(Fl_Button*, void*) { button_tls_browse_dir_cb(); } void flgui::cb_button_tls_browse_dir(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_button_tls_browse_dir_i(o,v); } void flgui::cb_button_tls_browse_file_i(Fl_Button*, void*) { button_tls_browse_file_cb(); } void flgui::cb_button_tls_browse_file(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_button_tls_browse_file_i(o,v); } void flgui::cb_check_activate_eq_i(Fl_Check_Button*, void*) { check_activate_eq_cb(); } void flgui::cb_check_activate_eq(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_activate_eq_i(o,v); } void flgui::cb_equalizerSlider1_i(Fl_My_Value_Slider* o, void*) { slider_equalizer1_cb(o->value()); } void flgui::cb_equalizerSlider1(Fl_My_Value_Slider* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_equalizerSlider1_i(o,v); } void flgui::cb_equalizerSlider2_i(Fl_My_Value_Slider* o, void*) { slider_equalizer2_cb(o->value()); } void flgui::cb_equalizerSlider2(Fl_My_Value_Slider* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_equalizerSlider2_i(o,v); } void flgui::cb_equalizerSlider3_i(Fl_My_Value_Slider* o, void*) { slider_equalizer3_cb(o->value()); } void flgui::cb_equalizerSlider3(Fl_My_Value_Slider* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_equalizerSlider3_i(o,v); } void flgui::cb_equalizerSlider4_i(Fl_My_Value_Slider* o, void*) { slider_equalizer4_cb(o->value()); } void flgui::cb_equalizerSlider4(Fl_My_Value_Slider* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_equalizerSlider4_i(o,v); } void flgui::cb_equalizerSlider5_i(Fl_My_Value_Slider* o, void*) { slider_equalizer5_cb(o->value()); } void flgui::cb_equalizerSlider5(Fl_My_Value_Slider* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_equalizerSlider5_i(o,v); } void flgui::cb_Reset_i(Fl_Button*, void*) { fl_g->equalizerSlider1->value(0); fl_g->equalizerSlider2->value(0); fl_g->equalizerSlider3->value(0); fl_g->equalizerSlider4->value(0); fl_g->equalizerSlider5->value(0); slider_equalizer1_cb(0); slider_equalizer2_cb(0); slider_equalizer3_cb(0); slider_equalizer4_cb(0); slider_equalizer5_cb(0); } void flgui::cb_Reset(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_Reset_i(o,v); } void flgui::cb_check_activate_drc_i(Fl_Check_Button*, void*) { check_activate_drc_cb(); } void flgui::cb_check_activate_drc(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_activate_drc_i(o,v); } void flgui::cb_thresholdSlider_i(Fl_My_Value_Slider* o, void*) { slider_threshold_cb(o->value()); } void flgui::cb_thresholdSlider(Fl_My_Value_Slider* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_thresholdSlider_i(o,v); } void flgui::cb_ratioSlider_i(Fl_My_Value_Slider* o, void*) { slider_ratio_cb(o->value()); } void flgui::cb_ratioSlider(Fl_My_Value_Slider* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_ratioSlider_i(o,v); } void flgui::cb_attackSlider_i(Fl_My_Value_Slider* o, void*) { slider_attack_cb(o->value()); } void flgui::cb_attackSlider(Fl_My_Value_Slider* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_attackSlider_i(o,v); } void flgui::cb_releaseSlider_i(Fl_My_Value_Slider* o, void*) { slider_release_cb(o->value()); } void flgui::cb_releaseSlider(Fl_My_Value_Slider* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_releaseSlider_i(o,v); } void flgui::cb_Reset1_i(Fl_Button*, void*) { fl_g->thresholdSlider->value(-20); fl_g->ratioSlider->value(5); fl_g->attackSlider->value(0.01); fl_g->releaseSlider->value(1); fl_g->makeupSlider->value(0); slider_threshold_cb(-20); slider_ratio_cb(5); slider_attack_cb(0.01); slider_release_cb(1); slider_makeup_cb(0); } void flgui::cb_Reset1(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_Reset1_i(o,v); } void flgui::cb_makeupSlider_i(Fl_My_Value_Slider* o, void*) { slider_makeup_cb(o->value()); } void flgui::cb_makeupSlider(Fl_My_Value_Slider* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_makeupSlider_i(o,v); } void flgui::cb_button_gui_text_color_i(Fl_Button*, void*) { button_gui_text_color_cb(); } void flgui::cb_button_gui_text_color(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_button_gui_text_color_i(o,v); } void flgui::cb_button_gui_bg_color_i(Fl_Button*, void*) { button_gui_bg_color_cb(); } void flgui::cb_button_gui_bg_color(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_button_gui_bg_color_i(o,v); } void flgui::cb_check_gui_attach_i(Fl_Check_Button*, void*) { check_gui_attach_cb(); } void flgui::cb_check_gui_attach(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_gui_attach_i(o,v); } void flgui::cb_check_gui_ontop_i(Fl_Check_Button*, void*) { check_gui_ontop_cb(); } void flgui::cb_check_gui_ontop(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_gui_ontop_i(o,v); } void flgui::cb_check_gui_lcd_auto_i(Fl_Check_Button*, void*) { check_gui_lcd_auto_cb(); } void flgui::cb_check_gui_lcd_auto(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_gui_lcd_auto_i(o,v); } void flgui::cb_check_gui_hide_log_window_i(Fl_Check_Button*, void*) { check_gui_hide_log_window_cb(); } void flgui::cb_check_gui_hide_log_window(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_gui_hide_log_window_i(o,v); } void flgui::cb_check_gui_remember_pos_i(Fl_Check_Button*, void*) { check_gui_remember_pos_cb(); } void flgui::cb_check_gui_remember_pos(Fl_Check_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_check_gui_remember_pos_i(o,v); } void flgui::cb_choice_gui_language_i(Fl_Choice*, void*) { choice_gui_language_cb(); } void flgui::cb_choice_gui_language(Fl_Choice* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_choice_gui_language_i(o,v); } unsigned char flgui::menu_choice_gui_language_i18n_done = 0; Fl_Menu_Item flgui::menu_choice_gui_language[] = { {"System", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"Deutsch", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {"English", 0, 0, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 14, 0}, {0,0,0,0,0,0,0,0,0} }; void flgui::cb_Donate_i(Fl_Button*, void*) { fl_open_uri("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LTRSQNTWN4L6L&source=url"); } void flgui::cb_Donate(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_Donate_i(o,v); } void flgui::cb_Become_i(Fl_Button*, void*) { fl_open_uri("https://www.patreon.com/butt_broadcast"); } void flgui::cb_Become(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->parent()->parent()->user_data()))->cb_Become_i(o,v); } void flgui::cb_radio_add_srv_shoutcast_i(Fl_Round_Button*, void*) { radio_add_srv_shoutcast_cb(); } void flgui::cb_radio_add_srv_shoutcast(Fl_Round_Button* o, void* v) { ((flgui*)(o->parent()->parent()->user_data()))->cb_radio_add_srv_shoutcast_i(o,v); } void flgui::cb_radio_add_srv_icecast_i(Fl_Round_Button*, void*) { radio_add_srv_icecast_cb(); } void flgui::cb_radio_add_srv_icecast(Fl_Round_Button* o, void* v) { ((flgui*)(o->parent()->parent()->user_data()))->cb_radio_add_srv_icecast_i(o,v); } void flgui::cb_Cancel_i(Fl_Button*, void*) { button_add_srv_cancel_cb(); } void flgui::cb_Cancel(Fl_Button* o, void* v) { ((flgui*)(o->parent()->user_data()))->cb_Cancel_i(o,v); } void flgui::cb_button_add_srv_add_i(Fl_Button*, void*) { button_add_srv_add_cb(); } void flgui::cb_button_add_srv_add(Fl_Button* o, void* v) { ((flgui*)(o->parent()->user_data()))->cb_button_add_srv_add_i(o,v); } void flgui::cb_button_add_srv_save_i(Fl_Button*, void*) { button_add_srv_save_cb(); } void flgui::cb_button_add_srv_save(Fl_Button* o, void* v) { ((flgui*)(o->parent()->user_data()))->cb_button_add_srv_save_i(o,v); } void flgui::cb_button_cfg_show_pw_i(Fl_Button*, void*) { button_add_srv_show_pwd_cb(); } void flgui::cb_button_cfg_show_pw(Fl_Button* o, void* v) { ((flgui*)(o->parent()->user_data()))->cb_button_cfg_show_pw_i(o,v); } void flgui::cb_button_add_srv_revoke_cert_i(Fl_Button*, void*) { button_add_srv_revoke_cert_cb(); } void flgui::cb_button_add_srv_revoke_cert(Fl_Button* o, void* v) { ((flgui*)(o->parent()->parent()->user_data()))->cb_button_add_srv_revoke_cert_i(o,v); } void flgui::cb_Cancel1_i(Fl_Button*, void*) { button_add_icy_cancel_cb(); } void flgui::cb_Cancel1(Fl_Button* o, void* v) { ((flgui*)(o->parent()->user_data()))->cb_Cancel1_i(o,v); } void flgui::cb_button_add_icy_add_i(Fl_Button*, void*) { button_add_icy_add_cb(); } void flgui::cb_button_add_icy_add(Fl_Button* o, void* v) { ((flgui*)(o->parent()->user_data()))->cb_button_add_icy_add_i(o,v); } void flgui::cb_button_add_icy_save_i(Fl_Button*, void*) { button_add_icy_save_cb(); } void flgui::cb_button_add_icy_save(Fl_Button* o, void* v) { ((flgui*)(o->parent()->user_data()))->cb_button_add_icy_save_i(o,v); } flgui::flgui() { { window_main = new Fl_My_Double_Window(430, 380); window_main->box(FL_FLAT_BOX); window_main->color(FL_BACKGROUND_COLOR); window_main->selection_color(FL_BACKGROUND_COLOR); window_main->labeltype(FL_NO_LABEL); window_main->labelfont(0); window_main->labelsize(14); window_main->labelcolor(FL_FOREGROUND_COLOR); window_main->callback((Fl_Callback*)cb_window_main, (void*)(this)); window_main->align(Fl_Align(FL_ALIGN_TOP)); window_main->when(FL_WHEN_RELEASE); { Fl_Group* o = new Fl_Group(0, -1, 430, 426); { lcd = new Fl_ILM216(10, 9, 410, 95); lcd->tooltip(gettext("press left mouse to toggle lcd info")); lcd->box(FL_ENGRAVED_BOX); lcd->color(FL_SELECTION_COLOR); lcd->selection_color((Fl_Color)41); lcd->labeltype(FL_NORMAL_LABEL); lcd->labelfont(0); lcd->labelsize(14); lcd->labelcolor(FL_FOREGROUND_COLOR); lcd->callback((Fl_Callback*)cb_lcd); lcd->align(Fl_Align(FL_ALIGN_CENTER)); lcd->when(FL_WHEN_RELEASE); } // Fl_ILM216* lcd { button_connect = new Fl_Button(102, 121, 30, 30, gettext("@> ")); button_connect->tooltip(gettext("connect to server")); button_connect->box(FL_ENGRAVED_BOX); button_connect->shortcut(0x40063); button_connect->down_box(FL_ENGRAVED_BOX); button_connect->color((Fl_Color)48); button_connect->selection_color((Fl_Color)40); button_connect->labelfont(1); button_connect->labelcolor(FL_BACKGROUND2_COLOR); button_connect->callback((Fl_Callback*)cb_button_connect); } // Fl_Button* button_connect { button_disconnect = new Fl_Button(62, 121, 30, 30, gettext("@-3square")); button_disconnect->tooltip(gettext("disconnect from server")); button_disconnect->box(FL_ENGRAVED_BOX); button_disconnect->shortcut(0x40064); button_disconnect->down_box(FL_ENGRAVED_BOX); button_disconnect->color((Fl_Color)48); button_disconnect->selection_color((Fl_Color)40); button_disconnect->labelfont(1); button_disconnect->labelcolor(FL_BACKGROUND2_COLOR); button_disconnect->callback((Fl_Callback*)cb_button_disconnect); } // Fl_Button* button_disconnect { button_record = new Fl_Button(10, 121, 30, 30, gettext("@-3circle")); button_record->tooltip(gettext("start/stop recording")); button_record->box(FL_ENGRAVED_BOX); button_record->shortcut(0x40072); button_record->down_box(FL_ENGRAVED_BOX); button_record->color((Fl_Color)48); button_record->selection_color((Fl_Color)40); button_record->labelfont(1); button_record->labelcolor((Fl_Color)1); button_record->callback((Fl_Callback*)cb_button_record); } // Fl_Button* button_record { button_info = new Fl_Button(340, 143, 80, 15, gettext("Show log")); button_info->tooltip(gettext("show/hide info window")); button_info->box(FL_ENGRAVED_BOX); button_info->shortcut(0x40076); button_info->color((Fl_Color)48); button_info->labelsize(10); button_info->callback((Fl_Callback*)cb_button_info); } // Fl_Button* button_info { vumeter = new VUMeter(156, 115, 174, 43); vumeter->box(FL_BORDER_BOX); vumeter->color(FL_BACKGROUND_COLOR); vumeter->selection_color(FL_BACKGROUND_COLOR); vumeter->labeltype(FL_NORMAL_LABEL); vumeter->labelfont(0); vumeter->labelsize(14); vumeter->labelcolor(FL_FOREGROUND_COLOR); vumeter->align(Fl_Align(FL_ALIGN_TOP)); vumeter->when(FL_WHEN_RELEASE); vumeter->end(); } // VUMeter* vumeter o->end(); } // Fl_Group* o { info_output = new Fl_Text_Display(0, 195, 430, 184); info_output->box(FL_EMBOSSED_BOX); info_output->textfont(4); info_output->textsize(15); } // Fl_Text_Display* info_output { button_cfg = new Fl_Button(340, 114, 80, 22, gettext("Settings")); button_cfg->tooltip(gettext("show/hide config window")); button_cfg->box(FL_ENGRAVED_BOX); button_cfg->shortcut(0x40066); button_cfg->color((Fl_Color)48); button_cfg->labelsize(11); button_cfg->callback((Fl_Callback*)cb_button_cfg); } // Fl_Button* button_cfg { Fl_Box* o = new Fl_Box(10, 167, 30, 16, gettext("-24 dB")); o->labelsize(10); } // Fl_Box* o { slider_gain = new Fl_My_Value_Slider(50, 168, 335, 15); slider_gain->tooltip(gettext("Gain")); slider_gain->type(5); slider_gain->box(FL_NO_BOX); slider_gain->color(FL_BACKGROUND_COLOR); slider_gain->selection_color(FL_BACKGROUND_COLOR); slider_gain->labeltype(FL_NORMAL_LABEL); slider_gain->labelfont(0); slider_gain->labelsize(14); slider_gain->labelcolor(FL_FOREGROUND_COLOR); slider_gain->minimum(-24); slider_gain->maximum(24); slider_gain->step(0.1); slider_gain->callback((Fl_Callback*)cb_slider_gain); slider_gain->align(Fl_Align(FL_ALIGN_BOTTOM)); slider_gain->when(FL_WHEN_CHANGED); } // Fl_My_Value_Slider* slider_gain { Fl_Box* o = new Fl_Box(390, 167, 30, 16, gettext("+24 dB")); o->labelsize(10); } // Fl_Box* o window_main->size_range(430, 155, 430); window_main->end(); } // Fl_My_Double_Window* window_main { window_cfg = new Fl_My_Double_Window(400, 550, gettext("butt settings")); window_cfg->box(FL_FLAT_BOX); window_cfg->color(FL_BACKGROUND_COLOR); window_cfg->selection_color(FL_BACKGROUND_COLOR); window_cfg->labeltype(FL_NO_LABEL); window_cfg->labelfont(0); window_cfg->labelsize(14); window_cfg->labelcolor(FL_FOREGROUND_COLOR); window_cfg->callback((Fl_Callback*)cb_window_cfg, (void*)(this)); window_cfg->align(Fl_Align(FL_ALIGN_TOP)); window_cfg->when(FL_WHEN_RELEASE); { Settings = new Fl_Tabs(0, 0, 406, 560); Settings->selection_color((Fl_Color)41); { Fl_Group* o = new Fl_Group(0, 20, 400, 530, gettext("Main")); o->when(FL_WHEN_RELEASE_ALWAYS); { Fl_Group* o = new Fl_Group(37, 55, 326, 155, gettext("Server Settings")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { choice_cfg_act_srv = new Fl_Choice(45, 75, 310, 20, gettext("Server")); choice_cfg_act_srv->tooltip(gettext("Server to connect to")); choice_cfg_act_srv->down_box(FL_BORDER_BOX); choice_cfg_act_srv->callback((Fl_Callback*)cb_choice_cfg_act_srv); choice_cfg_act_srv->align(Fl_Align(FL_ALIGN_TOP_LEFT)); } // Fl_Choice* choice_cfg_act_srv { Fl_Button* o = new Fl_Button(45, 100, 43, 20, gettext("ADD")); o->tooltip(gettext("Add server")); o->box(FL_ENGRAVED_BOX); o->callback((Fl_Callback*)cb_ADD); } // Fl_Button* o { button_cfg_edit_srv = new Fl_Button(178, 100, 43, 20, gettext("EDIT")); button_cfg_edit_srv->tooltip(gettext("Edit selected server")); button_cfg_edit_srv->box(FL_ENGRAVED_BOX); button_cfg_edit_srv->callback((Fl_Callback*)cb_button_cfg_edit_srv); } // Fl_Button* button_cfg_edit_srv { button_cfg_del_srv = new Fl_Button(312, 100, 43, 20, gettext("DEL")); button_cfg_del_srv->tooltip(gettext("Delete selected server")); button_cfg_del_srv->box(FL_ENGRAVED_BOX); button_cfg_del_srv->callback((Fl_Callback*)cb_button_cfg_del_srv); } // Fl_Button* button_cfg_del_srv { choice_cfg_act_icy = new Fl_Choice(45, 155, 310, 20, gettext("Stream Infos")); choice_cfg_act_icy->tooltip(gettext("Stream info that shall be used")); choice_cfg_act_icy->down_box(FL_BORDER_BOX); choice_cfg_act_icy->callback((Fl_Callback*)cb_choice_cfg_act_icy); choice_cfg_act_icy->align(Fl_Align(FL_ALIGN_TOP_LEFT)); } // Fl_Choice* choice_cfg_act_icy { Fl_Button* o = new Fl_Button(45, 180, 43, 20, gettext("ADD")); o->tooltip(gettext("Add stream info")); o->box(FL_ENGRAVED_BOX); o->callback((Fl_Callback*)cb_ADD1); } // Fl_Button* o { button_cfg_edit_icy = new Fl_Button(178, 180, 43, 20, gettext("EDIT")); button_cfg_edit_icy->tooltip(gettext("Edit stream info")); button_cfg_edit_icy->box(FL_ENGRAVED_BOX); button_cfg_edit_icy->callback((Fl_Callback*)cb_button_cfg_edit_icy); } // Fl_Button* button_cfg_edit_icy { button_cfg_del_icy = new Fl_Button(312, 180, 43, 20, gettext("DEL")); button_cfg_del_icy->tooltip(gettext("Delete stream info")); button_cfg_del_icy->box(FL_ENGRAVED_BOX); button_cfg_del_icy->callback((Fl_Callback*)cb_button_cfg_del_icy); } // Fl_Button* button_cfg_del_icy o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(37, 237, 326, 40, gettext("Log File")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { input_log_filename = new Fl_Input(45, 245, 280, 25); input_log_filename->tooltip(gettext("Log file path")); input_log_filename->callback((Fl_Callback*)cb_input_log_filename); input_log_filename->align(Fl_Align(FL_ALIGN_TOP_LEFT)); } // Fl_Input* input_log_filename { Fl_Button* o = new Fl_Button(331, 245, 25, 25); o->tooltip(gettext("Select log file")); o->box(FL_ENGRAVED_BOX); o->image( image_folder() ); o->callback((Fl_Callback*)cb_); } // Fl_Button* o o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(37, 304, 326, 50, gettext("Configuration")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { Fl_Button* o = new Fl_Button(45, 315, 70, 28, gettext("Import...")); o->tooltip(gettext("Import settings from config file")); o->box(FL_ENGRAVED_BOX); o->callback((Fl_Callback*)cb_Import); } // Fl_Button* o { Fl_Button* o = new Fl_Button(153, 315, 95, 28, gettext("&Save")); o->tooltip(gettext("Save settings")); o->box(FL_ENGRAVED_BOX); o->callback((Fl_Callback*)cb_Save); } // Fl_Button* o { Fl_Button* o = new Fl_Button(285, 315, 70, 28, gettext("Export...")); o->tooltip(gettext("export settings")); o->box(FL_ENGRAVED_BOX); o->callback((Fl_Callback*)cb_Export); } // Fl_Button* o o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(37, 383, 326, 50, gettext("Updates")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { Fl_Button* o = new Fl_Button(250, 395, 105, 28, gettext("Check now")); o->tooltip(gettext("Check if a new version is available")); o->box(FL_ENGRAVED_BOX); o->callback((Fl_Callback*)cb_Check); } // Fl_Button* o { check_update_at_startup = new Fl_Check_Button(45, 402, 145, 15, gettext("Check at startup")); check_update_at_startup->tooltip(gettext("Check for updates at start")); check_update_at_startup->down_box(FL_DOWN_BOX); check_update_at_startup->callback((Fl_Callback*)cb_check_update_at_startup); } // Fl_Check_Button* check_update_at_startup o->end(); } // Fl_Group* o o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(0, 20, 400, 530, gettext("Audio")); o->hide(); { Fl_Group* o = new Fl_Group(37, 55, 326, 165, gettext("Main Audio Settings")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { choice_cfg_dev = new Fl_Choice(45, 84, 310, 20, gettext("Audio Device")); choice_cfg_dev->tooltip(gettext("select your sound card device")); choice_cfg_dev->down_box(FL_FLAT_BOX); choice_cfg_dev->callback((Fl_Callback*)cb_choice_cfg_dev); choice_cfg_dev->align(Fl_Align(FL_ALIGN_TOP_LEFT)); } // Fl_Choice* choice_cfg_dev { choice_cfg_channel = new Fl_Choice(45, 124, 160, 21, gettext("Channel mode")); choice_cfg_channel->tooltip(gettext("Select input channel")); choice_cfg_channel->box(FL_ENGRAVED_BOX); choice_cfg_channel->down_box(FL_BORDER_BOX); choice_cfg_channel->align(Fl_Align(FL_ALIGN_TOP_LEFT)); if (!menu_choice_cfg_channel_i18n_done) { int i=0; for ( ; i<2; i++) if (menu_choice_cfg_channel[i].label()) menu_choice_cfg_channel[i].label(gettext(menu_choice_cfg_channel[i].label())); menu_choice_cfg_channel_i18n_done = 1; } choice_cfg_channel->menu(menu_choice_cfg_channel); } // Fl_Choice* choice_cfg_channel { choice_cfg_samplerate = new Fl_Choice(240, 124, 115, 20, gettext("Samplerate")); choice_cfg_samplerate->tooltip(gettext("Select input sample rate")); choice_cfg_samplerate->down_box(FL_BORDER_BOX); choice_cfg_samplerate->callback((Fl_Callback*)cb_choice_cfg_samplerate); choice_cfg_samplerate->align(Fl_Align(FL_ALIGN_TOP_LEFT)); } // Fl_Choice* choice_cfg_samplerate { choice_cfg_left_channel = new Fl_Choice(45, 175, 70, 20, gettext("Left")); choice_cfg_left_channel->down_box(FL_BORDER_BOX); choice_cfg_left_channel->callback((Fl_Callback*)cb_choice_cfg_left_channel); choice_cfg_left_channel->align(Fl_Align(FL_ALIGN_TOP_LEFT)); } // Fl_Choice* choice_cfg_left_channel { choice_cfg_right_channel = new Fl_Choice(135, 175, 70, 20, gettext("Right")); choice_cfg_right_channel->down_box(FL_BORDER_BOX); choice_cfg_right_channel->callback((Fl_Callback*)cb_choice_cfg_right_channel); choice_cfg_right_channel->align(Fl_Align(FL_ALIGN_TOP_LEFT)); } // Fl_Choice* choice_cfg_right_channel o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(37, 247, 326, 60, gettext("Streaming")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { choice_cfg_codec = new Fl_Choice(45, 274, 125, 20, gettext("Codec")); choice_cfg_codec->tooltip(gettext("Select streaming codec")); choice_cfg_codec->box(FL_ENGRAVED_BOX); choice_cfg_codec->down_box(FL_BORDER_BOX); choice_cfg_codec->align(Fl_Align(FL_ALIGN_TOP_LEFT)); if (!menu_choice_cfg_codec_i18n_done) { int i=0; for ( ; i<5; i++) if (menu_choice_cfg_codec[i].label()) menu_choice_cfg_codec[i].label(gettext(menu_choice_cfg_codec[i].label())); menu_choice_cfg_codec_i18n_done = 1; } choice_cfg_codec->menu(menu_choice_cfg_codec); } // Fl_Choice* choice_cfg_codec { choice_cfg_bitrate = new Fl_Choice(240, 274, 115, 20, gettext("Bitrate")); choice_cfg_bitrate->tooltip(gettext("Select streaming bitrate")); choice_cfg_bitrate->box(FL_ENGRAVED_BOX); choice_cfg_bitrate->down_box(FL_BORDER_BOX); choice_cfg_bitrate->callback((Fl_Callback*)cb_choice_cfg_bitrate); choice_cfg_bitrate->align(Fl_Align(FL_ALIGN_TOP_LEFT)); if (!menu_choice_cfg_bitrate_i18n_done) { int i=0; for ( ; i<17; i++) if (menu_choice_cfg_bitrate[i].label()) menu_choice_cfg_bitrate[i].label(gettext(menu_choice_cfg_bitrate[i].label())); menu_choice_cfg_bitrate_i18n_done = 1; } choice_cfg_bitrate->menu(menu_choice_cfg_bitrate); } // Fl_Choice* choice_cfg_bitrate { check_cfg_mono_to_stereo = new Fl_Check_Button(40, 291, 170, 15, gettext("Convert Mono to Stereo")); check_cfg_mono_to_stereo->tooltip(gettext("Copies a mono channel to both stereo channels")); check_cfg_mono_to_stereo->down_box(FL_DOWN_BOX); check_cfg_mono_to_stereo->callback((Fl_Callback*)cb_check_cfg_mono_to_stereo); check_cfg_mono_to_stereo->hide(); } // Fl_Check_Button* check_cfg_mono_to_stereo o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(37, 339, 326, 60, gettext("Recording")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { choice_rec_codec = new Fl_Choice(45, 366, 125, 20, gettext("Codec")); choice_rec_codec->tooltip(gettext("Select recording codec")); choice_rec_codec->box(FL_ENGRAVED_BOX); choice_rec_codec->down_box(FL_BORDER_BOX); choice_rec_codec->align(Fl_Align(FL_ALIGN_TOP_LEFT)); if (!menu_choice_rec_codec_i18n_done) { int i=0; for ( ; i<6; i++) if (menu_choice_rec_codec[i].label()) menu_choice_rec_codec[i].label(gettext(menu_choice_rec_codec[i].label())); menu_choice_rec_codec_i18n_done = 1; } choice_rec_codec->menu(menu_choice_rec_codec); } // Fl_Choice* choice_rec_codec { choice_rec_bitrate = new Fl_Choice(240, 366, 115, 20, gettext("Bitrate")); choice_rec_bitrate->tooltip(gettext("Select recording bitrate")); choice_rec_bitrate->down_box(FL_BORDER_BOX); choice_rec_bitrate->callback((Fl_Callback*)cb_choice_rec_bitrate); choice_rec_bitrate->align(Fl_Align(FL_ALIGN_TOP_LEFT)); if (!menu_choice_rec_bitrate_i18n_done) { int i=0; for ( ; i<17; i++) if (menu_choice_rec_bitrate[i].label()) menu_choice_rec_bitrate[i].label(gettext(menu_choice_rec_bitrate[i].label())); menu_choice_rec_bitrate_i18n_done = 1; } choice_rec_bitrate->menu(menu_choice_rec_bitrate); } // Fl_Choice* choice_rec_bitrate o->end(); } // Fl_Group* o { button_advanced = new Fl_Button(37, 345, 89, 25, gettext("Advanced...")); button_advanced->box(FL_ENGRAVED_BOX); button_advanced->callback((Fl_Callback*)cb_button_advanced); button_advanced->hide(); button_advanced->deactivate(); } // Fl_Button* button_advanced { input_cfg_buffer = new Fl_Value_Input(37, 405, 75, 20, gettext("Buffer (ms)")); input_cfg_buffer->maximum(0); input_cfg_buffer->value(50); input_cfg_buffer->callback((Fl_Callback*)cb_input_cfg_buffer); input_cfg_buffer->align(Fl_Align(FL_ALIGN_TOP_LEFT)); input_cfg_buffer->when(FL_WHEN_ENTER_KEY); input_cfg_buffer->hide(); input_cfg_buffer->deactivate(); } // Fl_Value_Input* input_cfg_buffer { choice_cfg_resample_mode = new Fl_Choice(177, 405, 125, 20, gettext("Resample Quality")); choice_cfg_resample_mode->down_box(FL_BORDER_BOX); choice_cfg_resample_mode->callback((Fl_Callback*)cb_choice_cfg_resample_mode); choice_cfg_resample_mode->align(Fl_Align(FL_ALIGN_TOP_LEFT)); choice_cfg_resample_mode->hide(); choice_cfg_resample_mode->deactivate(); if (!menu_choice_cfg_resample_mode_i18n_done) { int i=0; for ( ; i<5; i++) if (menu_choice_cfg_resample_mode[i].label()) menu_choice_cfg_resample_mode[i].label(gettext(menu_choice_cfg_resample_mode[i].label())); menu_choice_cfg_resample_mode_i18n_done = 1; } choice_cfg_resample_mode->menu(menu_choice_cfg_resample_mode); } // Fl_Choice* choice_cfg_resample_mode { Fl_Group* o = new Fl_Group(37, 430, 326, 50, gettext("Signal detection levels")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { input_cfg_present_level = new Fl_Value_Input(45, 454, 70, 19, gettext("Signal present")); input_cfg_present_level->minimum(-90); input_cfg_present_level->maximum(0); input_cfg_present_level->value(-50); input_cfg_present_level->callback((Fl_Callback*)cb_input_cfg_present_level); input_cfg_present_level->align(Fl_Align(FL_ALIGN_TOP_LEFT)); } // Fl_Value_Input* input_cfg_present_level { input_cfg_absent_level = new Fl_Value_Input(240, 454, 65, 19, gettext("Signal absent")); input_cfg_absent_level->minimum(-90); input_cfg_absent_level->maximum(0); input_cfg_absent_level->value(-50); input_cfg_absent_level->callback((Fl_Callback*)cb_input_cfg_absent_level); input_cfg_absent_level->align(Fl_Align(FL_ALIGN_TOP_LEFT)); } // Fl_Value_Input* input_cfg_absent_level { Fl_Box* o = new Fl_Box(115, 456, 25, 17, gettext("dB")); o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE)); } // Fl_Box* o { Fl_Box* o = new Fl_Box(305, 455, 25, 17, gettext("dB")); o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE)); } // Fl_Box* o o->end(); } // Fl_Group* o o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(0, 20, 406, 530, gettext("Stream")); o->hide(); { Fl_Group* o = new Fl_Group(37, 55, 326, 65, gettext("Update song name from file")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { input_cfg_song_file = new Fl_Input(42, 64, 283, 26); input_cfg_song_file->tooltip(gettext("Filename that holds the current song name")); input_cfg_song_file->callback((Fl_Callback*)cb_input_cfg_song_file); input_cfg_song_file->align(Fl_Align(FL_ALIGN_TOP_RIGHT)); this->input_cfg_song_file->maximum_size(500); } // Fl_Input* input_cfg_song_file { button_songfile_browse = new Fl_Button(330, 65, 25, 25); button_songfile_browse->tooltip(gettext("Select file that holds the current song name")); button_songfile_browse->box(FL_ENGRAVED_FRAME); button_songfile_browse->image( image_folder() ); button_songfile_browse->callback((Fl_Callback*)cb_button_songfile_browse); } // Fl_Button* button_songfile_browse { check_song_update_active = new Fl_Check_Button(40, 91, 77, 25, gettext("Activate")); check_song_update_active->tooltip(gettext("Activate auto update song name from file")); check_song_update_active->down_box(FL_DOWN_BOX); check_song_update_active->callback((Fl_Callback*)cb_check_song_update_active); } // Fl_Check_Button* check_song_update_active { check_read_last_line = new Fl_Check_Button(120, 91, 215, 25, gettext("Read last line instead of first")); check_read_last_line->tooltip(gettext("Activate auto update song name from file")); check_read_last_line->down_box(FL_DOWN_BOX); check_read_last_line->callback((Fl_Callback*)cb_check_read_last_line); } // Fl_Check_Button* check_read_last_line o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(37, 236, 326, 40, gettext("Update song name manually")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { input_cfg_song = new Fl_Input(42, 244, 283, 25); input_cfg_song->tooltip(gettext("Current song name")); input_cfg_song->callback((Fl_Callback*)cb_input_cfg_song); input_cfg_song->align(Fl_Align(FL_ALIGN_TOP_LEFT)); input_cfg_song->when(FL_WHEN_CHANGED); this->input_cfg_song->maximum_size(500); } // Fl_Input* input_cfg_song { Fl_Button* o = new Fl_Button(330, 244, 25, 25, gettext("OK")); o->tooltip(gettext("Send current song name to the server")); o->box(FL_ENGRAVED_BOX); o->shortcut(0xff0d); o->labelsize(12); o->callback((Fl_Callback*)cb_OK); } // Fl_Button* o o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(37, 144, 326, 65, gettext("Update song name from application")); o->box(FL_ENGRAVED_BOX); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { check_cfg_use_app = new Fl_Check_Button(40, 174, 85, 33, gettext("Activate")); check_cfg_use_app->down_box(FL_DOWN_BOX); check_cfg_use_app->callback((Fl_Callback*)cb_check_cfg_use_app); } // Fl_Check_Button* check_cfg_use_app { choice_cfg_app = new Fl_Choice(42, 155, 203, 20); choice_cfg_app->tooltip(gettext("Changes the song through an running application")); choice_cfg_app->down_box(FL_BORDER_BOX); choice_cfg_app->callback((Fl_Callback*)cb_choice_cfg_app); } // Fl_Choice* choice_cfg_app o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(37, 418, 328, 112, gettext("Streaming")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { check_cfg_connect = new Fl_Check_Button(42, 483, 205, 18, gettext("Start streaming after launch")); check_cfg_connect->tooltip(gettext("Connect automatically to a server after launch")); check_cfg_connect->down_box(FL_DOWN_BOX); check_cfg_connect->callback((Fl_Callback*)cb_check_cfg_connect); } // Fl_Check_Button* check_cfg_connect { input_cfg_silence = new Fl_Value_Input(238, 453, 42, 19); input_cfg_silence->callback((Fl_Callback*)cb_input_cfg_silence); } // Fl_Value_Input* input_cfg_silence { input_cfg_signal = new Fl_Value_Input(238, 429, 42, 19); input_cfg_signal->callback((Fl_Callback*)cb_input_cfg_signal); } // Fl_Value_Input* input_cfg_signal { Fl_Box* o = new Fl_Box(280, 429, 62, 16, gettext("seconds")); o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE)); } // Fl_Box* o { Fl_Box* o = new Fl_Box(280, 453, 62, 16, gettext("seconds")); o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE)); } // Fl_Box* o { Fl_Box* o = new Fl_Box(42, 429, 175, 16, gettext("Start if signal is present for")); o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE)); } // Fl_Box* o { Fl_Box* o = new Fl_Box(42, 453, 175, 16, gettext("Stop if signal is absent for")); o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE)); } // Fl_Box* o { check_cfg_force_reconnecting = new Fl_Check_Button(42, 505, 205, 18, gettext("Force reconnecting")); check_cfg_force_reconnecting->tooltip(gettext("If enabled butt keeps reconnecting regardless of the error message")); check_cfg_force_reconnecting->down_box(FL_DOWN_BOX); check_cfg_force_reconnecting->callback((Fl_Callback*)cb_check_cfg_force_reconnecting); } // Fl_Check_Button* check_cfg_force_reconnecting o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(35, 302, 330, 90, gettext("Extend song name")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { input_cfg_song_prefix = new Fl_Input(88, 318, 255, 24, gettext("Prefix:")); input_cfg_song_prefix->callback((Fl_Callback*)cb_input_cfg_song_prefix); input_cfg_song_prefix->when(FL_WHEN_CHANGED); this->input_cfg_song_prefix->maximum_size(500); } // Fl_Input* input_cfg_song_prefix { input_cfg_song_suffix = new Fl_Input(88, 353, 255, 24, gettext("Suffix:")); input_cfg_song_suffix->callback((Fl_Callback*)cb_input_cfg_song_suffix); input_cfg_song_suffix->when(FL_WHEN_CHANGED); this->input_cfg_song_suffix->maximum_size(500); } // Fl_Input* input_cfg_song_suffix o->end(); } // Fl_Group* o o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(0, 20, 400, 530, gettext("Record")); o->hide(); { input_rec_filename = new Fl_Input(37, 55, 326, 25, gettext("Record File Name:")); input_rec_filename->tooltip(gettext("Record file name")); input_rec_filename->callback((Fl_Callback*)cb_input_rec_filename); input_rec_filename->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_rec_filename->maximum_size(500); } // Fl_Input* input_rec_filename { input_rec_folder = new Fl_Input(37, 106, 298, 25, gettext("Record Directory:")); input_rec_folder->tooltip(gettext("Directory of recordings")); input_rec_folder->callback((Fl_Callback*)cb_input_rec_folder); input_rec_folder->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_rec_folder->maximum_size(500); } // Fl_Input* input_rec_folder { button_rec_browse = new Fl_Button(338, 106, 25, 25); button_rec_browse->tooltip(gettext("Select recording directory")); button_rec_browse->box(FL_ENGRAVED_BOX); button_rec_browse->image( image_folder() ); button_rec_browse->callback((Fl_Callback*)cb_button_rec_browse); } // Fl_Button* button_rec_browse { Fl_Group* o = new Fl_Group(37, 164, 326, 57, gettext("Split file")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { input_rec_split_time = new Fl_Value_Input(84, 171, 40, 19, gettext("every")); input_rec_split_time->callback((Fl_Callback*)cb_input_rec_split_time); } // Fl_Value_Input* input_rec_split_time { text_rec_split_time = new Fl_Box(130, 171, 50, 16, gettext("minutes")); } // Fl_Box* text_rec_split_time { check_sync_to_full_hour = new Fl_Check_Button(42, 196, 124, 15, gettext("Sync to full hour")); check_sync_to_full_hour->tooltip(gettext("Sync to full hour")); check_sync_to_full_hour->down_box(FL_DOWN_BOX); check_sync_to_full_hour->callback((Fl_Callback*)cb_check_sync_to_full_hour); } // Fl_Check_Button* check_sync_to_full_hour { Fl_Button* o = new Fl_Button(275, 179, 80, 28, gettext("Split now")); o->box(FL_ENGRAVED_BOX); o->callback((Fl_Callback*)cb_Split); } // Fl_Button* o o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(37, 250, 326, 138, gettext("Recording")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { check_cfg_auto_start_rec = new Fl_Check_Button(42, 260, 265, 20, gettext("Start recording when connected")); check_cfg_auto_start_rec->tooltip(gettext("Start recording when connected")); check_cfg_auto_start_rec->down_box(FL_DOWN_BOX); check_cfg_auto_start_rec->callback((Fl_Callback*)cb_check_cfg_auto_start_rec); } // Fl_Check_Button* check_cfg_auto_start_rec { check_cfg_rec_after_launch = new Fl_Check_Button(42, 309, 265, 20, gettext("Start recording after launch")); check_cfg_rec_after_launch->tooltip(gettext("Start recording after launch")); check_cfg_rec_after_launch->down_box(FL_DOWN_BOX); check_cfg_rec_after_launch->callback((Fl_Callback*)cb_check_cfg_rec_after_launch); } // Fl_Check_Button* check_cfg_rec_after_launch { input_rec_signal = new Fl_Value_Input(253, 332, 42, 19); input_rec_signal->callback((Fl_Callback*)cb_input_rec_signal); } // Fl_Value_Input* input_rec_signal { Fl_Box* o = new Fl_Box(295, 333, 64, 16, gettext("seconds")); o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE)); } // Fl_Box* o { check_cfg_auto_stop_rec = new Fl_Check_Button(42, 284, 265, 20, gettext("Stop recording when disconnected")); check_cfg_auto_stop_rec->tooltip(gettext("Start recording when disconnected")); check_cfg_auto_stop_rec->down_box(FL_DOWN_BOX); check_cfg_auto_stop_rec->callback((Fl_Callback*)cb_check_cfg_auto_stop_rec); } // Fl_Check_Button* check_cfg_auto_stop_rec { input_rec_silence = new Fl_Value_Input(253, 356, 42, 19); input_rec_silence->callback((Fl_Callback*)cb_input_rec_silence); } // Fl_Value_Input* input_rec_silence { Fl_Box* o = new Fl_Box(295, 356, 62, 16, gettext("seconds")); o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE)); } // Fl_Box* o { Fl_Box* o = new Fl_Box(57, 334, 175, 16, gettext("Start if signal is present for")); o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE)); } // Fl_Box* o { Fl_Box* o = new Fl_Box(57, 357, 175, 16, gettext("Stop if signal is absent for")); o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE)); } // Fl_Box* o o->end(); } // Fl_Group* o o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(0, 20, 400, 530, gettext("TLS")); o->hide(); { Fl_Group* o = new Fl_Group(37, 55, 326, 184, gettext("SSL/TLS")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { input_tls_cert_file = new Fl_Input(45, 149, 275, 25, gettext("CA Certificate File:")); input_tls_cert_file->tooltip(gettext("Certificate file")); input_tls_cert_file->callback((Fl_Callback*)cb_input_tls_cert_file); input_tls_cert_file->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_tls_cert_file->maximum_size(500); } // Fl_Input* input_tls_cert_file { input_tls_cert_dir = new Fl_Input(45, 200, 275, 25, gettext("CA Certificate Directory:")); input_tls_cert_dir->tooltip(gettext("Certificate directory")); input_tls_cert_dir->callback((Fl_Callback*)cb_input_tls_cert_dir); input_tls_cert_dir->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_tls_cert_dir->maximum_size(500); } // Fl_Input* input_tls_cert_dir { button_tls_browse_dir = new Fl_Button(325, 200, 25, 25); button_tls_browse_dir->tooltip(gettext("Select certificate directory")); button_tls_browse_dir->box(FL_ENGRAVED_BOX); button_tls_browse_dir->image( image_folder() ); button_tls_browse_dir->callback((Fl_Callback*)cb_button_tls_browse_dir); } // Fl_Button* button_tls_browse_dir { button_tls_browse_file = new Fl_Button(325, 149, 25, 25); button_tls_browse_file->tooltip(gettext("Select certificate file")); button_tls_browse_file->box(FL_ENGRAVED_BOX); button_tls_browse_file->image( image_folder() ); button_tls_browse_file->callback((Fl_Callback*)cb_button_tls_browse_file); } // Fl_Button* button_tls_browse_file { Fl_Box* o = new Fl_Box(43, 67, 272, 60, gettext("If your server uses a certificate from\nLet\'s Encrypt or another well known\ \nCA, you can leave these fields blank.")); o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE)); } // Fl_Box* o o->end(); } // Fl_Group* o o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(0, 20, 400, 530, gettext("DSP")); o->hide(); { Fl_Group* o = new Fl_Group(36, 55, 327, 175, gettext("Equalizer")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { check_activate_eq = new Fl_Check_Button(40, 57, 79, 25, gettext("Activate")); check_activate_eq->down_box(FL_DOWN_BOX); check_activate_eq->callback((Fl_Callback*)cb_check_activate_eq); } // Fl_Check_Button* check_activate_eq { equalizerSlider1 = new Fl_My_Value_Slider(86, 97, 15, 115, gettext("100Hz")); equalizerSlider1->type(4); equalizerSlider1->box(FL_NO_BOX); equalizerSlider1->color(FL_BACKGROUND_COLOR); equalizerSlider1->selection_color(FL_BACKGROUND_COLOR); equalizerSlider1->labeltype(FL_NORMAL_LABEL); equalizerSlider1->labelfont(0); equalizerSlider1->labelsize(11); equalizerSlider1->labelcolor(FL_FOREGROUND_COLOR); equalizerSlider1->minimum(15); equalizerSlider1->maximum(-15); equalizerSlider1->step(0.1); equalizerSlider1->callback((Fl_Callback*)cb_equalizerSlider1); equalizerSlider1->align(Fl_Align(FL_ALIGN_BOTTOM)); equalizerSlider1->when(FL_WHEN_CHANGED); } // Fl_My_Value_Slider* equalizerSlider1 { equalizerSlider2 = new Fl_My_Value_Slider(136, 97, 15, 115, gettext("350Hz")); equalizerSlider2->type(4); equalizerSlider2->box(FL_NO_BOX); equalizerSlider2->color(FL_BACKGROUND_COLOR); equalizerSlider2->selection_color(FL_BACKGROUND_COLOR); equalizerSlider2->labeltype(FL_NORMAL_LABEL); equalizerSlider2->labelfont(0); equalizerSlider2->labelsize(11); equalizerSlider2->labelcolor(FL_FOREGROUND_COLOR); equalizerSlider2->minimum(15); equalizerSlider2->maximum(-15); equalizerSlider2->step(0.1); equalizerSlider2->callback((Fl_Callback*)cb_equalizerSlider2); equalizerSlider2->align(Fl_Align(FL_ALIGN_BOTTOM)); equalizerSlider2->when(FL_WHEN_CHANGED); } // Fl_My_Value_Slider* equalizerSlider2 { equalizerSlider3 = new Fl_My_Value_Slider(186, 97, 15, 115, gettext("1kHz")); equalizerSlider3->type(4); equalizerSlider3->box(FL_NO_BOX); equalizerSlider3->color(FL_BACKGROUND_COLOR); equalizerSlider3->selection_color(FL_BACKGROUND_COLOR); equalizerSlider3->labeltype(FL_NORMAL_LABEL); equalizerSlider3->labelfont(0); equalizerSlider3->labelsize(11); equalizerSlider3->labelcolor(FL_FOREGROUND_COLOR); equalizerSlider3->minimum(15); equalizerSlider3->maximum(-15); equalizerSlider3->step(0.1); equalizerSlider3->callback((Fl_Callback*)cb_equalizerSlider3); equalizerSlider3->align(Fl_Align(FL_ALIGN_BOTTOM)); equalizerSlider3->when(FL_WHEN_CHANGED); } // Fl_My_Value_Slider* equalizerSlider3 { equalizerSlider4 = new Fl_My_Value_Slider(236, 97, 15, 115, gettext("3.5kHz")); equalizerSlider4->type(4); equalizerSlider4->box(FL_NO_BOX); equalizerSlider4->color(FL_BACKGROUND_COLOR); equalizerSlider4->selection_color(FL_BACKGROUND_COLOR); equalizerSlider4->labeltype(FL_NORMAL_LABEL); equalizerSlider4->labelfont(0); equalizerSlider4->labelsize(11); equalizerSlider4->labelcolor(FL_FOREGROUND_COLOR); equalizerSlider4->minimum(15); equalizerSlider4->maximum(-15); equalizerSlider4->step(0.1); equalizerSlider4->callback((Fl_Callback*)cb_equalizerSlider4); equalizerSlider4->align(Fl_Align(FL_ALIGN_BOTTOM)); equalizerSlider4->when(FL_WHEN_CHANGED); } // Fl_My_Value_Slider* equalizerSlider4 { equalizerSlider5 = new Fl_My_Value_Slider(286, 97, 15, 115, gettext("10kHz")); equalizerSlider5->type(4); equalizerSlider5->box(FL_NO_BOX); equalizerSlider5->color(FL_BACKGROUND_COLOR); equalizerSlider5->selection_color(FL_BACKGROUND_COLOR); equalizerSlider5->labeltype(FL_NORMAL_LABEL); equalizerSlider5->labelfont(0); equalizerSlider5->labelsize(11); equalizerSlider5->labelcolor(FL_FOREGROUND_COLOR); equalizerSlider5->minimum(15); equalizerSlider5->maximum(-15); equalizerSlider5->step(0.1); equalizerSlider5->callback((Fl_Callback*)cb_equalizerSlider5); equalizerSlider5->align(Fl_Align(FL_ALIGN_BOTTOM)); equalizerSlider5->when(FL_WHEN_CHANGED); } // Fl_My_Value_Slider* equalizerSlider5 { equalizerGain1 = new Fl_Text_Display(72, 97, 35, 10, gettext("+0.0")); equalizerGain1->box(FL_NO_BOX); equalizerGain1->labelsize(11); } // Fl_Text_Display* equalizerGain1 { equalizerGain2 = new Fl_Text_Display(122, 97, 35, 10, gettext("+0.0")); equalizerGain2->box(FL_NO_BOX); equalizerGain2->labelsize(11); } // Fl_Text_Display* equalizerGain2 { equalizerGain3 = new Fl_Text_Display(172, 97, 35, 10, gettext("+0.0")); equalizerGain3->box(FL_NO_BOX); equalizerGain3->labelsize(11); } // Fl_Text_Display* equalizerGain3 { equalizerGain4 = new Fl_Text_Display(222, 97, 35, 10, gettext("+0.0")); equalizerGain4->box(FL_NO_BOX); equalizerGain4->labelsize(11); } // Fl_Text_Display* equalizerGain4 { equalizerGain5 = new Fl_Text_Display(272, 97, 35, 10, gettext("+0.0")); equalizerGain5->box(FL_NO_BOX); equalizerGain5->labelsize(11); } // Fl_Text_Display* equalizerGain5 { Fl_Button* o = new Fl_Button(310, 61, 45, 19, gettext("Reset")); o->labelsize(12); o->callback((Fl_Callback*)cb_Reset); } // Fl_Button* o o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(36, 255, 327, 175, gettext("Dynamic Range Compressor")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { check_activate_drc = new Fl_Check_Button(40, 257, 79, 25, gettext("Activate")); check_activate_drc->down_box(FL_DOWN_BOX); check_activate_drc->callback((Fl_Callback*)cb_check_activate_drc); } // Fl_Check_Button* check_activate_drc { thresholdSlider = new Fl_My_Value_Slider(86, 297, 15, 115, gettext("Threshold")); thresholdSlider->type(4); thresholdSlider->box(FL_NO_BOX); thresholdSlider->color(FL_BACKGROUND_COLOR); thresholdSlider->selection_color(FL_BACKGROUND_COLOR); thresholdSlider->labeltype(FL_NORMAL_LABEL); thresholdSlider->labelfont(0); thresholdSlider->labelsize(11); thresholdSlider->labelcolor(FL_FOREGROUND_COLOR); thresholdSlider->maximum(-60); thresholdSlider->step(0.1); thresholdSlider->callback((Fl_Callback*)cb_thresholdSlider); thresholdSlider->align(Fl_Align(FL_ALIGN_BOTTOM)); thresholdSlider->when(FL_WHEN_CHANGED); } // Fl_My_Value_Slider* thresholdSlider { ratioSlider = new Fl_My_Value_Slider(136, 297, 15, 115, gettext("Ratio")); ratioSlider->type(4); ratioSlider->box(FL_NO_BOX); ratioSlider->color(FL_BACKGROUND_COLOR); ratioSlider->selection_color(FL_BACKGROUND_COLOR); ratioSlider->labeltype(FL_NORMAL_LABEL); ratioSlider->labelfont(0); ratioSlider->labelsize(11); ratioSlider->labelcolor(FL_FOREGROUND_COLOR); ratioSlider->minimum(10); ratioSlider->step(0.1); ratioSlider->value(5); ratioSlider->callback((Fl_Callback*)cb_ratioSlider); ratioSlider->align(Fl_Align(FL_ALIGN_BOTTOM)); ratioSlider->when(FL_WHEN_CHANGED); } // Fl_My_Value_Slider* ratioSlider { attackSlider = new Fl_My_Value_Slider(186, 297, 15, 115, gettext("Attack")); attackSlider->type(4); attackSlider->box(FL_NO_BOX); attackSlider->color(FL_BACKGROUND_COLOR); attackSlider->selection_color(FL_BACKGROUND_COLOR); attackSlider->labeltype(FL_NORMAL_LABEL); attackSlider->labelfont(0); attackSlider->labelsize(11); attackSlider->labelcolor(FL_FOREGROUND_COLOR); attackSlider->minimum(1); attackSlider->maximum(0); attackSlider->step(0.001); attackSlider->value(0.01); attackSlider->callback((Fl_Callback*)cb_attackSlider); attackSlider->align(Fl_Align(FL_ALIGN_BOTTOM)); attackSlider->when(FL_WHEN_CHANGED); } // Fl_My_Value_Slider* attackSlider { releaseSlider = new Fl_My_Value_Slider(236, 297, 15, 115, gettext("Release")); releaseSlider->type(4); releaseSlider->box(FL_NO_BOX); releaseSlider->color(FL_BACKGROUND_COLOR); releaseSlider->selection_color(FL_BACKGROUND_COLOR); releaseSlider->labeltype(FL_NORMAL_LABEL); releaseSlider->labelfont(0); releaseSlider->labelsize(11); releaseSlider->labelcolor(FL_FOREGROUND_COLOR); releaseSlider->minimum(10); releaseSlider->maximum(0); releaseSlider->step(0.01); releaseSlider->value(1); releaseSlider->callback((Fl_Callback*)cb_releaseSlider); releaseSlider->align(Fl_Align(FL_ALIGN_BOTTOM)); releaseSlider->when(FL_WHEN_CHANGED); } // Fl_My_Value_Slider* releaseSlider { threshold = new Fl_Text_Display(72, 297, 35, 10, gettext("+0.0")); threshold->box(FL_NO_BOX); threshold->labelsize(11); } // Fl_Text_Display* threshold { ratio = new Fl_Text_Display(122, 297, 35, 10, gettext("+0.0")); ratio->box(FL_NO_BOX); ratio->labelsize(11); } // Fl_Text_Display* ratio { attack = new Fl_Text_Display(172, 297, 35, 10, gettext("+0.0")); attack->box(FL_NO_BOX); attack->labelsize(11); } // Fl_Text_Display* attack { release = new Fl_Text_Display(222, 297, 35, 10, gettext("+0.0")); release->box(FL_NO_BOX); release->labelsize(11); } // Fl_Text_Display* release { Fl_Button* o = new Fl_Button(310, 261, 45, 19, gettext("Reset")); o->labelsize(12); o->callback((Fl_Callback*)cb_Reset1); } // Fl_Button* o { makeupSlider = new Fl_My_Value_Slider(286, 297, 15, 104, gettext("Makeup\nGain")); makeupSlider->type(4); makeupSlider->box(FL_NO_BOX); makeupSlider->color(FL_BACKGROUND_COLOR); makeupSlider->selection_color(FL_BACKGROUND_COLOR); makeupSlider->labeltype(FL_NORMAL_LABEL); makeupSlider->labelfont(0); makeupSlider->labelsize(11); makeupSlider->labelcolor(FL_FOREGROUND_COLOR); makeupSlider->minimum(30); makeupSlider->maximum(0); makeupSlider->step(0.01); makeupSlider->value(1); makeupSlider->callback((Fl_Callback*)cb_makeupSlider); makeupSlider->align(Fl_Align(FL_ALIGN_BOTTOM)); makeupSlider->when(FL_WHEN_CHANGED); } // Fl_My_Value_Slider* makeupSlider { makeup = new Fl_Text_Display(272, 297, 35, 10, gettext("+0.0")); makeup->box(FL_NO_BOX); makeup->labelsize(11); } // Fl_Text_Display* makeup o->end(); } // Fl_Group* o o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(0, 20, 400, 530, gettext("GUI")); o->hide(); { Fl_Group* o = new Fl_Group(37, 133, 326, 80, gettext("Display Color")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { button_gui_text_color = new Fl_Button(50, 143, 25, 25, gettext("Select text color")); button_gui_text_color->tooltip(gettext("Select text color")); button_gui_text_color->box(FL_SHADOW_BOX); button_gui_text_color->color(FL_BACKGROUND2_COLOR); button_gui_text_color->callback((Fl_Callback*)cb_button_gui_text_color); button_gui_text_color->align(Fl_Align(FL_ALIGN_RIGHT)); } // Fl_Button* button_gui_text_color { button_gui_bg_color = new Fl_Button(50, 178, 25, 25, gettext("Select background color")); button_gui_bg_color->tooltip(gettext("Select background color")); button_gui_bg_color->box(FL_SHADOW_BOX); button_gui_bg_color->color(FL_SELECTION_COLOR); button_gui_bg_color->callback((Fl_Callback*)cb_button_gui_bg_color); button_gui_bg_color->align(Fl_Align(FL_ALIGN_RIGHT)); } // Fl_Button* button_gui_bg_color o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(37, 240, 326, 140, gettext("Misc")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { check_gui_attach = new Fl_Check_Button(48, 250, 300, 20, gettext("Attach settings window to main window")); check_gui_attach->tooltip(gettext("Attach this window to the butt window")); check_gui_attach->down_box(FL_DOWN_BOX); check_gui_attach->callback((Fl_Callback*)cb_check_gui_attach); } // Fl_Check_Button* check_gui_attach { check_gui_ontop = new Fl_Check_Button(48, 275, 175, 20, gettext("Stay always on top")); check_gui_ontop->tooltip(gettext("Stay always on top")); check_gui_ontop->down_box(FL_DOWN_BOX); check_gui_ontop->callback((Fl_Callback*)cb_check_gui_ontop); } // Fl_Check_Button* check_gui_ontop { check_gui_lcd_auto = new Fl_Check_Button(48, 350, 295, 20, gettext("Change display mode every 5 seconds")); check_gui_lcd_auto->tooltip(gettext("Change display mode every 5 seconds")); check_gui_lcd_auto->down_box(FL_DOWN_BOX); check_gui_lcd_auto->callback((Fl_Callback*)cb_check_gui_lcd_auto); } // Fl_Check_Button* check_gui_lcd_auto { check_gui_hide_log_window = new Fl_Check_Button(48, 325, 220, 20, gettext("Hide log window after start up")); check_gui_hide_log_window->tooltip(gettext("Stay always on top")); check_gui_hide_log_window->down_box(FL_DOWN_BOX); check_gui_hide_log_window->callback((Fl_Callback*)cb_check_gui_hide_log_window); } // Fl_Check_Button* check_gui_hide_log_window { check_gui_remember_pos = new Fl_Check_Button(48, 300, 260, 20, gettext("Remember main window position")); check_gui_remember_pos->tooltip(gettext("Stay always on top")); check_gui_remember_pos->down_box(FL_DOWN_BOX); check_gui_remember_pos->callback((Fl_Callback*)cb_check_gui_remember_pos); } // Fl_Check_Button* check_gui_remember_pos o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(37, 50, 326, 60, gettext("Language")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { choice_gui_language = new Fl_Choice(50, 70, 300, 20); choice_gui_language->down_box(FL_BORDER_BOX); choice_gui_language->callback((Fl_Callback*)cb_choice_gui_language); if (!menu_choice_gui_language_i18n_done) { int i=0; for ( ; i<3; i++) if (menu_choice_gui_language[i].label()) menu_choice_gui_language[i].label(gettext(menu_choice_gui_language[i].label())); menu_choice_gui_language_i18n_done = 1; } choice_gui_language->menu(menu_choice_gui_language); } // Fl_Choice* choice_gui_language o->end(); } // Fl_Group* o o->end(); } // Fl_Group* o { Fl_Group* o = new Fl_Group(0, 20, 400, 530, gettext("Donate")); o->hide(); { Fl_Group* o = new Fl_Group(37, 70, 326, 280, gettext("Donation")); o->box(FL_ENGRAVED_FRAME); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { Fl_Box* o = new Fl_Box(47, 75, 308, 150, gettext("Keeping this software up to date, adding\nnew features and answering support \ mails\ntakes a lot of time and effort. If you can\nafford it, please consider \ supporting this\nproject.\n\nThank you!")); o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE)); } // Fl_Box* o { Fl_Button* o = new Fl_Button(130, 240, 140, 28, gettext("&Donate via PayPal")); o->box(FL_ENGRAVED_BOX); o->callback((Fl_Callback*)cb_Donate); } // Fl_Button* o { Fl_Button* o = new Fl_Button(130, 287, 140, 28, gettext("Become a &patron")); o->box(FL_ENGRAVED_BOX); o->callback((Fl_Callback*)cb_Become); } // Fl_Button* o o->end(); } // Fl_Group* o o->end(); } // Fl_Group* o Settings->end(); } // Fl_Tabs* Settings window_cfg->size_range(400, 550, 400, 550); window_cfg->end(); } // Fl_My_Double_Window* window_cfg { window_add_srv = new Fl_Double_Window(330, 380, gettext("Add server")); window_add_srv->user_data((void*)(this)); { input_add_srv_name = new Fl_Input(80, 30, 170, 25, gettext("Name:")); input_add_srv_name->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_add_srv_name->maximum_size(100); } // Fl_Input* input_add_srv_name { input_add_srv_addr = new Fl_Input(10, 206, 235, 25, gettext("Address:")); input_add_srv_addr->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_add_srv_addr->maximum_size(100); } // Fl_Input* input_add_srv_addr { input_add_srv_port = new Fl_Int_Input(250, 206, 70, 25, gettext("Port:")); input_add_srv_port->type(2); input_add_srv_port->align(Fl_Align(FL_ALIGN_TOP_LEFT)); } // Fl_Int_Input* input_add_srv_port { input_add_srv_pwd = new Fl_Input(10, 251, 235, 25, gettext("Password:")); input_add_srv_pwd->type(5); input_add_srv_pwd->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_add_srv_pwd->maximum_size(100); } // Fl_Input* input_add_srv_pwd { input_add_srv_mount = new Fl_Input(10, 301, 165, 25, gettext("IceCast mountpoint:")); input_add_srv_mount->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_add_srv_mount->maximum_size(100); } // Fl_Input* input_add_srv_mount { input_add_srv_usr = new Fl_Input(180, 301, 140, 25, gettext("IceCast user:")); input_add_srv_usr->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_add_srv_usr->maximum_size(100); } // Fl_Input* input_add_srv_usr { Fl_Group* o = new Fl_Group(10, 120, 105, 62, gettext("Type")); o->box(FL_ENGRAVED_BOX); o->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { radio_add_srv_shoutcast = new Fl_Round_Button(15, 130, 88, 15, gettext("ShoutCast")); radio_add_srv_shoutcast->type(102); radio_add_srv_shoutcast->down_box(FL_ROUND_DOWN_BOX); radio_add_srv_shoutcast->callback((Fl_Callback*)cb_radio_add_srv_shoutcast); } // Fl_Round_Button* radio_add_srv_shoutcast { radio_add_srv_icecast = new Fl_Round_Button(15, 159, 80, 12, gettext("IceCast")); radio_add_srv_icecast->type(102); radio_add_srv_icecast->down_box(FL_ROUND_DOWN_BOX); radio_add_srv_icecast->callback((Fl_Callback*)cb_radio_add_srv_icecast); } // Fl_Round_Button* radio_add_srv_icecast o->end(); } // Fl_Group* o { Fl_Button* o = new Fl_Button(10, 340, 74, 25, gettext("&Cancel")); o->box(FL_ENGRAVED_BOX); o->callback((Fl_Callback*)cb_Cancel); } // Fl_Button* o { button_add_srv_add = new Fl_Button(224, 340, 74, 25, gettext("&ADD")); button_add_srv_add->box(FL_ENGRAVED_BOX); button_add_srv_add->callback((Fl_Callback*)cb_button_add_srv_add); } // Fl_Button* button_add_srv_add { button_add_srv_save = new Fl_Button(224, 340, 74, 25, gettext("&Save")); button_add_srv_save->box(FL_ENGRAVED_BOX); button_add_srv_save->callback((Fl_Callback*)cb_button_add_srv_save); } // Fl_Button* button_add_srv_save { button_cfg_show_pw = new Fl_Button(250, 251, 70, 25, gettext("Show")); button_cfg_show_pw->tooltip(gettext("show/hide password")); button_cfg_show_pw->box(FL_ENGRAVED_BOX); button_cfg_show_pw->callback((Fl_Callback*)cb_button_cfg_show_pw); } // Fl_Button* button_cfg_show_pw { frame_add_srv_tls = new Fl_Group(125, 120, 195, 62, gettext("SSL/TLS")); frame_add_srv_tls->box(FL_ENGRAVED_BOX); frame_add_srv_tls->align(Fl_Align(FL_ALIGN_TOP_LEFT)); { check_add_srv_tls = new Fl_Check_Button(129, 130, 115, 15, gettext("Use SSL/TLS")); check_add_srv_tls->down_box(FL_DOWN_BOX); } // Fl_Check_Button* check_add_srv_tls { button_add_srv_revoke_cert = new Fl_Button(130, 149, 185, 25, gettext("Revoke certificate trust")); button_add_srv_revoke_cert->box(FL_ENGRAVED_BOX); button_add_srv_revoke_cert->callback((Fl_Callback*)cb_button_add_srv_revoke_cert); } // Fl_Button* button_add_srv_revoke_cert frame_add_srv_tls->end(); } // Fl_Group* frame_add_srv_tls window_add_srv->set_modal(); window_add_srv->end(); } // Fl_Double_Window* window_add_srv { window_add_icy = new Fl_Double_Window(305, 380, gettext("Add stream info")); window_add_icy->user_data((void*)(this)); { input_add_icy_name = new Fl_Input(65, 35, 170, 25, gettext("Name:")); input_add_icy_name->tooltip(gettext("The name of your new ICY-entrie")); input_add_icy_name->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_add_icy_name->maximum_size(100); } // Fl_Input* input_add_icy_name { input_add_icy_desc = new Fl_Input(10, 145, 170, 25, gettext("Description:")); input_add_icy_desc->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_add_icy_desc->maximum_size(100); } // Fl_Input* input_add_icy_desc { input_add_icy_genre = new Fl_Input(185, 145, 110, 25, gettext("Genre:")); input_add_icy_genre->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_add_icy_genre->maximum_size(100); } // Fl_Input* input_add_icy_genre { input_add_icy_url = new Fl_Input(10, 190, 170, 25, gettext("URL:")); input_add_icy_url->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_add_icy_url->maximum_size(100); } // Fl_Input* input_add_icy_url { input_add_icy_icq = new Fl_Input(185, 190, 110, 25, gettext("ICQ:")); input_add_icy_icq->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_add_icy_icq->maximum_size(100); } // Fl_Input* input_add_icy_icq { input_add_icy_irc = new Fl_Input(10, 235, 170, 25, gettext("IRC:")); input_add_icy_irc->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_add_icy_irc->maximum_size(100); } // Fl_Input* input_add_icy_irc { input_add_icy_aim = new Fl_Input(185, 235, 110, 25, gettext("AIM:")); input_add_icy_aim->align(Fl_Align(FL_ALIGN_TOP_LEFT)); this->input_add_icy_aim->maximum_size(100); } // Fl_Input* input_add_icy_aim { check_add_icy_pub = new Fl_Check_Button(10, 270, 166, 20, gettext("Make server public")); check_add_icy_pub->down_box(FL_DOWN_BOX); } // Fl_Check_Button* check_add_icy_pub { Fl_Button* o = new Fl_Button(10, 340, 74, 25, gettext("&Cancel")); o->box(FL_ENGRAVED_BOX); o->callback((Fl_Callback*)cb_Cancel1); } // Fl_Button* o { button_add_icy_add = new Fl_Button(224, 340, 74, 25, gettext("&ADD")); button_add_icy_add->box(FL_ENGRAVED_BOX); button_add_icy_add->callback((Fl_Callback*)cb_button_add_icy_add); } // Fl_Button* button_add_icy_add { button_add_icy_save = new Fl_Button(224, 340, 74, 25, gettext("&Save")); button_add_icy_save->box(FL_ENGRAVED_BOX); button_add_icy_save->callback((Fl_Callback*)cb_button_add_icy_save); } // Fl_Button* button_add_icy_save window_add_icy->set_modal(); window_add_icy->end(); } // Fl_Double_Window* window_add_icy Fl::scheme("standard"); window_main->label(PACKAGE_STRING); info_buffer = new Fl_Text_Buffer(); info_output->buffer(info_buffer); //window_cfg->size(window_cfg->w(), 380); // show info output... info_visible = 1; info_output->show(); } flgui::~flgui() { return; } butt-0.1.26/src/FLTK/Fl_My_Native_File_Chooser_GTK.cxx0000664000175000017500000006547413663226731017247 00000000000000// "$Id$" // // FLTK native file chooser widget wrapper for GTK's GtkFileChooserDialog // // Copyright 1998-2014 by Bill Spitzak and others. // Copyright 2012 IMM // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see the license at: // // http://www.fltk.org/COPYING.php // // Please report all bugs and problems to: // // http://www.fltk.org/str.php // #include #if HAVE_DLSYM && HAVE_DLFCN_H #include // for dlopen et al #endif #include // for setlocale /* --------------------- Type definitions from GLIB and GTK --------------------- */ /* all of this is from the public gnome API, so unlikely to change */ #ifndef FALSE #define FALSE (0) #endif #ifndef TRUE #define TRUE (!FALSE) #endif typedef void* gpointer; typedef int gint; typedef unsigned int guint; typedef unsigned long gulong; typedef gint gboolean; typedef char gchar; typedef struct _GSList GSList; struct _GSList { gpointer data; GSList *next; }; #define g_slist_next(slist) ((slist) ? (((GSList *)(slist))->next) : NULL) typedef struct _GtkWidget GtkWidget; typedef struct _GtkFileChooser GtkFileChooser; typedef struct _GtkDialog GtkDialog; typedef struct _GtkWindow GtkWindow; typedef struct _GdkDrawable GdkWindow; typedef struct _GtkFileFilter GtkFileFilter; typedef struct _GtkToggleButton GtkToggleButton; typedef enum { GTK_FILE_FILTER_FILENAME = 1 << 0, GTK_FILE_FILTER_URI = 1 << 1, GTK_FILE_FILTER_DISPLAY_NAME = 1 << 2, GTK_FILE_FILTER_MIME_TYPE = 1 << 3 } GtkFileFilterFlags; struct _GtkFileFilterInfo { GtkFileFilterFlags contains; const gchar *filename; const gchar *uri; const gchar *display_name; const gchar *mime_type; }; typedef struct _GtkFileFilterInfo GtkFileFilterInfo; typedef gboolean (*GtkFileFilterFunc) (const GtkFileFilterInfo *filter_info, gpointer data); typedef void (*GDestroyNotify)(gpointer data); typedef enum { GTK_FILE_CHOOSER_ACTION_OPEN, GTK_FILE_CHOOSER_ACTION_SAVE, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER } GtkFileChooserAction; #define GTK_STOCK_CANCEL "gtk-cancel" #define GTK_STOCK_SAVE "gtk-save" #define GTK_STOCK_OPEN "gtk-open" const int GTK_RESPONSE_NONE = -1; const int GTK_RESPONSE_ACCEPT = -3; const int GTK_RESPONSE_DELETE_EVENT = -4; const int GTK_RESPONSE_CANCEL = -6; typedef void (*GCallback)(void); #define G_CALLBACK(f) ((GCallback) (f)) typedef int GConnectFlags; typedef struct _GClosure GClosure; typedef void (*GClosureNotify)(gpointer data, GClosure *closure); /* --------------------- End of Type definitions from GLIB and GTK --------------------- */ int Fl_GTK_File_Chooser::did_find_GTK_libs = 0; /* These are the GTK/GLib methods we want to load, but not call by name...! */ // void g_free (gpointer mem); typedef void (*XX_g_free)(gpointer); static XX_g_free fl_g_free = NULL; // gpointer g_slist_nth_data (GSList *list, guint n); typedef gpointer (*XX_g_slist_nth_data) (GSList *, guint); static XX_g_slist_nth_data fl_g_slist_nth_data = NULL; // guint g_slist_length (GSList *list); typedef guint (*XX_g_slist_length) (GSList *); static XX_g_slist_length fl_g_slist_length = NULL; // void g_slist_free (GSList *list); typedef void (*XX_g_slist_free) (GSList *); static XX_g_slist_free fl_g_slist_free = NULL; // gboolean gtk_init_check (int *argc, char ***argv); typedef gboolean (*XX_gtk_init_check)(int *, char ***); static XX_gtk_init_check fl_gtk_init_check = NULL; // void gtk_widget_destroy (GtkWidget *widget); typedef void (*XX_gtk_widget_destroy) (GtkWidget *); static XX_gtk_widget_destroy fl_gtk_widget_destroy = NULL; // void gtk_file_chooser_set_select_multiple(GtkFileChooser *chooser, gboolean select_multiple); typedef void (*XX_gtk_file_chooser_set_select_multiple)(GtkFileChooser *, gboolean); static XX_gtk_file_chooser_set_select_multiple fl_gtk_file_chooser_set_select_multiple = NULL; // void gtk_file_chooser_set_do_overwrite_confirmation(GtkFileChooser *chooser, gboolean do_overwrite_confirmation); typedef void (*XX_gtk_file_chooser_set_do_overwrite_confirmation)(GtkFileChooser *, gboolean); static XX_gtk_file_chooser_set_do_overwrite_confirmation fl_gtk_file_chooser_set_do_overwrite_confirmation = NULL; // void gtk_file_chooser_set_current_name (GtkFileChooser *chooser, const gchar *name); typedef void (*XX_gtk_file_chooser_set_current_name)(GtkFileChooser *, const gchar *); static XX_gtk_file_chooser_set_current_name fl_gtk_file_chooser_set_current_name = NULL; // void gtk_file_chooser_set_current_folder (GtkFileChooser *chooser, const gchar *name); typedef void (*XX_gtk_file_chooser_set_current_folder)(GtkFileChooser *, const gchar *); static XX_gtk_file_chooser_set_current_folder fl_gtk_file_chooser_set_current_folder = NULL; // void gtk_file_chooser_set_create_folders (GtkFileChooser *chooser, gboolean create_folders); typedef void (*XX_gtk_file_chooser_set_create_folders) (GtkFileChooser *, gboolean); static XX_gtk_file_chooser_set_create_folders fl_gtk_file_chooser_set_create_folders = NULL; // gboolean gtk_file_chooser_get_select_multiple(GtkFileChooser *chooser); typedef gboolean (*XX_gtk_file_chooser_get_select_multiple)(GtkFileChooser *); static XX_gtk_file_chooser_get_select_multiple fl_gtk_file_chooser_get_select_multiple = NULL; // void gtk_widget_hide(GtkWidget *widget); typedef void (*XX_gtk_widget_hide)(GtkWidget *); static XX_gtk_widget_hide fl_gtk_widget_hide = NULL; // gchar * gtk_file_chooser_get_filename(GtkFileChooser *chooser); typedef gchar* (*XX_gtk_file_chooser_get_filename)(GtkFileChooser *); static XX_gtk_file_chooser_get_filename fl_gtk_file_chooser_get_filename = NULL; // GSList * gtk_file_chooser_get_filenames(GtkFileChooser *chooser); typedef GSList* (*XX_gtk_file_chooser_get_filenames)(GtkFileChooser *chooser); static XX_gtk_file_chooser_get_filenames fl_gtk_file_chooser_get_filenames = NULL; // gboolean gtk_main_iteration(void); typedef gboolean (*XX_gtk_main_iteration)(void); static XX_gtk_main_iteration fl_gtk_main_iteration = NULL; // gboolean gtk_events_pending(void); typedef gboolean (*XX_gtk_events_pending)(void); static XX_gtk_events_pending fl_gtk_events_pending = NULL; // GtkWidget * gtk_file_chooser_dialog_new(const gchar *title, GtkWindow *parent, GtkFileChooserAction action, const gchar *first_button_text, ...); typedef GtkWidget* (*XX_gtk_file_chooser_dialog_new)(const gchar *, GtkWindow *, GtkFileChooserAction, const gchar *, ...); static XX_gtk_file_chooser_dialog_new fl_gtk_file_chooser_dialog_new = NULL; // void gtk_file_chooser_add_filter(GtkFileChooser*, GtkFileFilter*); typedef void (*XX_gtk_file_chooser_add_filter)(GtkFileChooser*, GtkFileFilter*); static XX_gtk_file_chooser_add_filter fl_gtk_file_chooser_add_filter = NULL; // GtkFileFilter* gtk_file_chooser_get_filter(GtkFileChooser*); typedef GtkFileFilter* (*XX_gtk_file_chooser_get_filter)(GtkFileChooser*); static XX_gtk_file_chooser_get_filter fl_gtk_file_chooser_get_filter = NULL; // void gtk_file_chooser_set_filter(GtkFileChooser*, GtkFileFilter*); typedef void (*XX_gtk_file_chooser_set_filter)(GtkFileChooser*, GtkFileFilter*); static XX_gtk_file_chooser_set_filter fl_gtk_file_chooser_set_filter = NULL; // GtkFileFilter * gtk_file_filter_new(); typedef GtkFileFilter* (*XX_gtk_file_filter_new)(void); static XX_gtk_file_filter_new fl_gtk_file_filter_new = NULL; // void gtk_file_filter_add_pattern(GtkFileFilter*, const gchar*); typedef void (*XX_gtk_file_filter_add_pattern)(GtkFileFilter*, const gchar*); static XX_gtk_file_filter_add_pattern fl_gtk_file_filter_add_pattern = NULL; // void gtk_file_filter_add_custom(GtkFileFilter *filter, GtkFileFilterFlags needed, // GtkFileFilterFunc func, gpointer data, GDestroyNotify notify); typedef void (*XX_gtk_file_filter_add_custom)(GtkFileFilter *filter, GtkFileFilterFlags needed, GtkFileFilterFunc func, gpointer data, GDestroyNotify notify); static XX_gtk_file_filter_add_custom fl_gtk_file_filter_add_custom = NULL; // void gtk_file_filter_set_name(GtkFileFilter*, const gchar*); typedef void (*XX_gtk_file_filter_set_name)(GtkFileFilter*, const gchar*); static XX_gtk_file_filter_set_name fl_gtk_file_filter_set_name = NULL; // const gchar* gtk_file_filter_get_name(GtkFileFilter*); typedef const gchar* (*XX_gtk_file_filter_get_name)(GtkFileFilter*); static XX_gtk_file_filter_get_name fl_gtk_file_filter_get_name = NULL; // void gtk_file_chooser_set_extra_widget(GtkFileChooser *, GtkWidget *); typedef void (*XX_gtk_file_chooser_set_extra_widget)(GtkFileChooser *, GtkWidget *); static XX_gtk_file_chooser_set_extra_widget fl_gtk_file_chooser_set_extra_widget = NULL; // void gtk_widget_show_now(GtkWidget *); typedef void (*XX_gtk_widget_show_now)(GtkWidget *); static XX_gtk_widget_show_now fl_gtk_widget_show_now = NULL; // GdkWindow* gtk_widget_get_window(GtkWidget *); typedef GdkWindow* (*XX_gtk_widget_get_window)(GtkWidget *); static XX_gtk_widget_get_window fl_gtk_widget_get_window = NULL; // Window gdk_x11_drawable_get_xid(GdkWindow *); typedef Window (*XX_gdk_x11_drawable_get_xid)(GdkWindow *); static XX_gdk_x11_drawable_get_xid fl_gdk_x11_drawable_get_xid = NULL; // GtkWidget *gtk_check_button_new_with_label(const gchar *); typedef GtkWidget* (*XX_gtk_check_button_new_with_label)(const gchar *); static XX_gtk_check_button_new_with_label fl_gtk_check_button_new_with_label = NULL; // gulong g_signal_connect_data(gpointer, const gchar *, GCallback, gpointer, GClosureNotify, GConnectFlags); typedef gulong (*XX_g_signal_connect_data)(gpointer, const gchar *, GCallback, gpointer, GClosureNotify, GConnectFlags); static XX_g_signal_connect_data fl_g_signal_connect_data = NULL; // gboolean gtk_toggle_button_get_active(GtkToggleButton *); typedef gboolean (*XX_gtk_toggle_button_get_active)(GtkToggleButton*); static XX_gtk_toggle_button_get_active fl_gtk_toggle_button_get_active = NULL; // void gtk_file_chooser_set_show_hidden(GtkFileChooser *, gboolean); typedef void (*XX_gtk_file_chooser_set_show_hidden)(GtkFileChooser *, gboolean); static XX_gtk_file_chooser_set_show_hidden fl_gtk_file_chooser_set_show_hidden = NULL; // gboolean gtk_file_chooser_get_show_hidden(GtkFileChooser *); typedef gboolean (*XX_gtk_file_chooser_get_show_hidden)(GtkFileChooser *); static XX_gtk_file_chooser_get_show_hidden fl_gtk_file_chooser_get_show_hidden = NULL; // void gtk_toggle_button_set_active(GtkToggleButton *, gboolean); typedef void (*XX_gtk_toggle_button_set_active)(GtkToggleButton *, gboolean); static XX_gtk_toggle_button_set_active fl_gtk_toggle_button_set_active = NULL; Fl_GTK_File_Chooser::Fl_GTK_File_Chooser(int val) : Fl_FLTK_File_Chooser(-1) { gtkw_ptr = NULL; // used to hold a GtkWidget* gtkw_slist = NULL; // will hold the returned file names in a multi-selection... gtkw_count = 0; // How many items were selected? gtkw_filename = NULL; // holds the last name we read back in a single file selection... gtkw_title = NULL; // dialog title _btype = val; previous_filter = NULL; } Fl_GTK_File_Chooser::~Fl_GTK_File_Chooser() { // Should free up resources taken for... if(gtkw_ptr) { fl_gtk_widget_destroy (gtkw_ptr); gtkw_ptr = NULL; } if(gtkw_filename) { fl_g_free(gtkw_filename); gtkw_filename = NULL; } if(gtkw_slist) { GSList *iter = (GSList *)gtkw_slist; while(iter) { if(iter->data) fl_g_free(iter->data); iter = g_slist_next(iter); } fl_g_slist_free((GSList *)gtkw_slist); gtkw_slist = NULL; } gtkw_count = 0; // assume we have no files selected now gtkw_title = strfree(gtkw_title); } void Fl_GTK_File_Chooser::type(int val) { _btype = val; } int Fl_GTK_File_Chooser::count() const { return gtkw_count; } const char *Fl_GTK_File_Chooser::filename() const { if(gtkw_ptr) { if(fl_gtk_file_chooser_get_select_multiple((GtkFileChooser *)gtkw_ptr) == FALSE) { return gtkw_filename; } else { GSList *iter = (GSList *)gtkw_slist; char *nm = (char *)iter->data; return nm; } } return(""); } const char *Fl_GTK_File_Chooser::filename(int i) const { if(fl_gtk_file_chooser_get_select_multiple((GtkFileChooser *)gtkw_ptr) == FALSE) { return gtkw_filename; } else { if ((unsigned)i < gtkw_count) { GSList *iter = (GSList *)gtkw_slist; char *nm = (char *)fl_g_slist_nth_data(iter, i); return nm; } } return(""); } void Fl_GTK_File_Chooser::title(const char *val) { strfree(gtkw_title); gtkw_title = strnew(val); } const char* Fl_GTK_File_Chooser::title() const { return gtkw_title; } /* changes the extension of the outfile in the chooser according to newly selected filter */ void Fl_GTK_File_Chooser::changed_output_type(const char *filter) { if ( !(options()&Fl_My_Native_File_Chooser::USE_FILTER_EXT) ) return; if (strchr(filter, '(') || strchr(filter, '{') || strchr(filter+1, '*') || strncmp(filter, "*.", 2)) return; const char *p = fl_gtk_file_chooser_get_filename((GtkFileChooser*)gtkw_ptr); if (!p) return; p = fl_filename_name(p); const char *q = strrchr(p, '.'); if (!q) q = p + strlen(p); char *r = new char[strlen(p) + strlen(filter)]; strcpy(r, p); strcpy(r + (q - p), filter + 1); fl_gtk_file_chooser_set_current_name((GtkFileChooser*)gtkw_ptr, r); delete[] r; } /* Filters files before display in chooser. Also used to detect when the filter just changed */ gboolean Fl_GTK_File_Chooser::custom_gtk_filter_function(const GtkFileFilterInfo *info, Fl_GTK_File_Chooser::pair* p) { if (p->running->previous_filter != p->filter) { p->running->changed_output_type(p->filter); p->running->previous_filter = p->filter; } return (gboolean)fl_filename_match(fl_filename_name(info->filename), p->filter); } void Fl_GTK_File_Chooser::free_pair(Fl_GTK_File_Chooser::pair *p) { delete p; } static void hidden_files_cb(GtkToggleButton *togglebutton, gpointer user_data) { gboolean state = fl_gtk_toggle_button_get_active(togglebutton); fl_gtk_file_chooser_set_show_hidden((GtkFileChooser*)user_data, state); } int Fl_GTK_File_Chooser::show() { // The point here is that after running a GTK dialog, the calling program's current locale is modified. // To avoid that, we memorize the calling program's current locale, and the locale as modified // by GTK after the first dialog use. We restore the calling program's current locale // before returning, and we set the locale as modified by GTK before subsequent GTK dialog uses. static bool first = true; char *p; char *before = NULL; static char *gtk_wants = NULL; fl_open_display(); // record in before the calling program's current locale p = setlocale(LC_ALL, NULL); if (p) before = strdup(p); if (gtk_wants) { // set the locale as GTK 'wants it' setlocale(LC_ALL, gtk_wants); } int retval = fl_gtk_chooser_wrapper(); // may change the locale if (first) { first = false; // record in gtk_wants the locale as modified by the GTK dialog p = setlocale(LC_ALL, NULL); if (p) gtk_wants = strdup(p); } if (before) { setlocale(LC_ALL, before); // restore calling program's current locale free(before); } return retval; } static char *extract_dir_from_path(const char *path) { static char *dir = NULL; if (fl_filename_isdir(path)) { return (char*)path; } if (*path != '/') return NULL; if (dir) free(dir); dir = strdup(path); do { char *p = strrchr(dir, '/'); if (p == dir) p++; *p = 0; } while (!fl_filename_isdir(dir)); return dir; } static void run_response_handler(GtkDialog *dialog, gint response_id, gpointer data) { gint *ri = (gint *)data; *ri = response_id; } int Fl_GTK_File_Chooser::fl_gtk_chooser_wrapper() { int result = 1; static int have_gtk_init = 0; char *p; if(!have_gtk_init) { have_gtk_init = -1; int ac = 0; fl_gtk_init_check(&ac, NULL); } if(gtkw_ptr) { // discard the previous dialog widget fl_gtk_widget_destroy (gtkw_ptr); gtkw_ptr = NULL; } // set the dialog action type GtkFileChooserAction gtw_action_type; switch (_btype) { case Fl_My_Native_File_Chooser::BROWSE_DIRECTORY: case Fl_My_Native_File_Chooser::BROWSE_MULTI_DIRECTORY: gtw_action_type = GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER; break; case Fl_My_Native_File_Chooser::BROWSE_SAVE_FILE: gtw_action_type = GTK_FILE_CHOOSER_ACTION_SAVE; break; case Fl_My_Native_File_Chooser::BROWSE_SAVE_DIRECTORY: gtw_action_type = GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER; break; case Fl_My_Native_File_Chooser::BROWSE_MULTI_FILE: case Fl_My_Native_File_Chooser::BROWSE_FILE: default: gtw_action_type = GTK_FILE_CHOOSER_ACTION_OPEN; break; } // create a new dialog gtkw_ptr = fl_gtk_file_chooser_dialog_new (gtkw_title, NULL, /* parent_window */ gtw_action_type, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, gtw_action_type == GTK_FILE_CHOOSER_ACTION_SAVE || gtw_action_type == GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER ? GTK_STOCK_SAVE : GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL); // did we create a valid dialog widget? if(!gtkw_ptr) { // fail return -1; } // set the dialog properties switch (_btype) { case Fl_My_Native_File_Chooser::BROWSE_MULTI_DIRECTORY: case Fl_My_Native_File_Chooser::BROWSE_MULTI_FILE: fl_gtk_file_chooser_set_select_multiple((GtkFileChooser *)gtkw_ptr, TRUE); break; case Fl_My_Native_File_Chooser::BROWSE_SAVE_FILE: if (_preset_file)fl_gtk_file_chooser_set_current_name ((GtkFileChooser *)gtkw_ptr, fl_filename_name(_preset_file)); /* FALLTHROUGH */ case Fl_My_Native_File_Chooser::BROWSE_SAVE_DIRECTORY: fl_gtk_file_chooser_set_create_folders((GtkFileChooser *)gtkw_ptr, TRUE); fl_gtk_file_chooser_set_do_overwrite_confirmation ((GtkFileChooser *)gtkw_ptr, (_options & Fl_My_Native_File_Chooser::SAVEAS_CONFIRM)?TRUE:FALSE); break; case Fl_My_Native_File_Chooser::BROWSE_DIRECTORY: case Fl_My_Native_File_Chooser::BROWSE_FILE: default: break; } if (_directory && _directory[0]) { p = extract_dir_from_path(_directory); if (p) fl_gtk_file_chooser_set_current_folder((GtkFileChooser *)gtkw_ptr, p); } else if (_preset_file) { p = extract_dir_from_path(_preset_file); if (p) fl_gtk_file_chooser_set_current_folder((GtkFileChooser *)gtkw_ptr, p); } GtkFileFilter **filter_tab = NULL; if (_parsedfilt) { filter_tab = new GtkFileFilter*[_nfilters]; char *filter = strdup(_parsedfilt); p = strtok(filter, "\t"); int count = 0; while (p) { filter_tab[count] = fl_gtk_file_filter_new(); fl_gtk_file_filter_set_name(filter_tab[count], p); p = strchr(p, '(') + 1; char *q = strchr(p, ')'); *q = 0; fl_gtk_file_filter_add_custom(filter_tab[count], GTK_FILE_FILTER_FILENAME, (GtkFileFilterFunc)Fl_GTK_File_Chooser::custom_gtk_filter_function, new Fl_GTK_File_Chooser::pair(this, p), (GDestroyNotify)Fl_GTK_File_Chooser::free_pair); fl_gtk_file_chooser_add_filter((GtkFileChooser *)gtkw_ptr, filter_tab[count]); p = strtok(NULL, "\t"); count++; } free(filter); fl_gtk_file_chooser_set_filter((GtkFileChooser *)gtkw_ptr, filter_tab[_filtvalue < _nfilters?_filtvalue:0]); previous_filter = NULL; if (gtw_action_type == GTK_FILE_CHOOSER_ACTION_OPEN) { GtkFileFilter* gfilter = fl_gtk_file_filter_new(); fl_gtk_file_filter_set_name(gfilter, Fl_File_Chooser::all_files_label); fl_gtk_file_filter_add_pattern(gfilter, "*"); fl_gtk_file_chooser_add_filter((GtkFileChooser *)gtkw_ptr, gfilter); } } GtkWidget *toggle = fl_gtk_check_button_new_with_label(Fl_File_Chooser::hidden_label); fl_gtk_file_chooser_set_extra_widget((GtkFileChooser *)gtkw_ptr, toggle); fl_g_signal_connect_data(toggle, "toggled", G_CALLBACK(hidden_files_cb), gtkw_ptr, NULL, (GConnectFlags) 0); Fl_Window* firstw = Fl::first_window(); fl_gtk_widget_show_now(gtkw_ptr); // map the GTK window on screen if (firstw) { GdkWindow* gdkw = fl_gtk_widget_get_window(gtkw_ptr); Window xw = fl_gdk_x11_drawable_get_xid(gdkw); // get the X11 ref of the GTK window XSetTransientForHint(fl_display, xw, fl_xid(firstw)); // set the GTK window transient for the last FLTK win } gboolean state = fl_gtk_file_chooser_get_show_hidden((GtkFileChooser *)gtkw_ptr); fl_gtk_toggle_button_set_active((GtkToggleButton *)toggle, state); gint response_id = GTK_RESPONSE_NONE; fl_g_signal_connect_data(gtkw_ptr, "response", G_CALLBACK(run_response_handler), &response_id, NULL, (GConnectFlags) 0); while (response_id == GTK_RESPONSE_NONE) { // loop that shows the GTK dialog window fl_gtk_main_iteration(); // one iteration of the GTK event loop while (XEventsQueued(fl_display, QueuedAfterReading)) { // emulate modal dialog XEvent xevent; XNextEvent(fl_display, &xevent); Window xid = xevent.xany.window; if (xevent.type == ConfigureNotify) xid = xevent.xmaprequest.window; if (!fl_find(xid)) continue; // skip events to non-FLTK windows // process Expose and ConfigureNotify events if ( xevent.type == Expose || xevent.type == ConfigureNotify ) fl_handle(xevent); } Fl::flush(); // do the drawings needed after Expose events } if (response_id == GTK_RESPONSE_ACCEPT) { if (_parsedfilt) { GtkFileFilter *gfilter = fl_gtk_file_chooser_get_filter((GtkFileChooser *)gtkw_ptr); for (_filtvalue = 0; _filtvalue < _nfilters; _filtvalue++) { if (filter_tab[_filtvalue] == gfilter) break; } } // discard any filenames or lists from previous calls if(gtkw_filename) { fl_g_free(gtkw_filename); gtkw_filename = NULL; } if(gtkw_slist) { GSList *iter = (GSList *)gtkw_slist; while(iter) { if(iter->data) fl_g_free(iter->data); iter = g_slist_next(iter); } fl_g_slist_free((GSList *)gtkw_slist); gtkw_slist = NULL; } gtkw_count = 0; // assume we have no files selected now if(fl_gtk_file_chooser_get_select_multiple((GtkFileChooser *)gtkw_ptr) == FALSE) { gtkw_filename = fl_gtk_file_chooser_get_filename ((GtkFileChooser *)gtkw_ptr); if (gtkw_filename) { gtkw_count = 1; result = 0; //printf("single: %s\n", gtkw_filename); } } else { gtkw_slist = fl_gtk_file_chooser_get_filenames((GtkFileChooser *)gtkw_ptr); gtkw_count = fl_g_slist_length((GSList *)gtkw_slist); if(gtkw_count) result = 0; // puts("multiple"); // GSList *iter = (GSList *)gtkw_slist; // printf ("Selected %d files\n", gtkw_count); // while(iter) { // char *nm = (char *)iter->data; // printf("%s\n", nm); // iter = g_slist_next(iter); // } } } delete[] filter_tab; if ( response_id == GTK_RESPONSE_DELETE_EVENT) gtkw_ptr = NULL; else fl_gtk_widget_hide (gtkw_ptr); // I think this is analogus to doing an Fl::check() - we need this here to make sure // the GtkFileChooserDialog is removed from the display correctly while (fl_gtk_events_pending ()) fl_gtk_main_iteration (); return result; } // fl_gtk_chooser_wrapper #if HAVE_DLSYM && HAVE_DLFCN_H // macro to help with the symbol loading boilerplate... # define GET_SYM(SSS, LLL) \ dlerror(); /* Clear any existing error */ \ fl_##SSS = (XX_##SSS)dlsym(LLL, #SSS); \ if ((pc_dl_error = dlerror()) != NULL) { \ fprintf(stderr, "%s\n", pc_dl_error); \ did_find_GTK_libs = 0; \ return; } static void* fl_dlopen(const char *filename1, const char *filename2) { void *ptr = dlopen(filename1, RTLD_LAZY | RTLD_GLOBAL); if (!ptr) ptr = dlopen(filename2, RTLD_LAZY | RTLD_GLOBAL); return ptr; } #endif /* * Use dlopen to see if we can load the gtk dynamic libraries that * will allow us to create a GtkFileChooserDialog() on the fly, * without linking to the GTK libs at compile time. */ void Fl_GTK_File_Chooser::probe_for_GTK_libs(void) { #if HAVE_DLSYM && HAVE_DLFCN_H void *ptr_glib = NULL; void *ptr_gtk = NULL; # ifdef __APPLE_CC__ // allows testing on Darwin + X11 ptr_glib = dlopen("/sw/lib/libglib-2.0.dylib", RTLD_LAZY | RTLD_GLOBAL); # else ptr_glib = fl_dlopen("libglib-2.0.so", "libglib-2.0.so.0"); # endif // Try first with GTK2 # ifdef __APPLE_CC__ // allows testing on Darwin + X11 ptr_gtk = dlopen("/sw/lib/libgtk-x11-2.0.dylib", RTLD_LAZY | RTLD_GLOBAL); #else ptr_gtk = fl_dlopen("libgtk-x11-2.0.so", "libgtk-x11-2.0.so.0"); #endif if (ptr_gtk && ptr_glib) { #ifdef DEBUG puts("selected GTK-2\n"); #endif } else {// Try then with GTK3 ptr_gtk = fl_dlopen("libgtk-3.so", "libgtk-3.so.0"); #ifdef DEBUG if (ptr_gtk && ptr_glib) { puts("selected GTK-3\n"); } #endif } if((!ptr_glib) || (!ptr_gtk)) { #ifdef DEBUG puts("Failure to load libglib or libgtk"); #endif did_find_GTK_libs = 0; return; } char *pc_dl_error; // used to report errors by the GET_SYM macro... // items we need from GLib GET_SYM(g_free, ptr_glib); GET_SYM(g_slist_nth_data, ptr_glib); GET_SYM(g_slist_length, ptr_glib); GET_SYM(g_slist_free, ptr_glib); // items we need from GTK GET_SYM(gtk_init_check, ptr_gtk); GET_SYM(gtk_widget_destroy, ptr_gtk); GET_SYM(gtk_file_chooser_set_select_multiple, ptr_gtk); GET_SYM(gtk_file_chooser_set_do_overwrite_confirmation, ptr_gtk); GET_SYM(gtk_file_chooser_set_current_name, ptr_gtk); GET_SYM(gtk_file_chooser_set_current_folder, ptr_gtk); GET_SYM(gtk_file_chooser_set_create_folders, ptr_gtk); GET_SYM(gtk_file_chooser_get_select_multiple, ptr_gtk); GET_SYM(gtk_widget_hide, ptr_gtk); GET_SYM(gtk_file_chooser_get_filename, ptr_gtk); GET_SYM(gtk_file_chooser_get_filenames, ptr_gtk); GET_SYM(gtk_main_iteration, ptr_gtk); GET_SYM(gtk_events_pending, ptr_gtk); GET_SYM(gtk_file_chooser_dialog_new, ptr_gtk); GET_SYM(gtk_file_chooser_add_filter, ptr_gtk); GET_SYM(gtk_file_chooser_get_filter, ptr_gtk); GET_SYM(gtk_file_chooser_set_filter, ptr_gtk); GET_SYM(gtk_file_filter_new, ptr_gtk); GET_SYM(gtk_file_filter_add_pattern, ptr_gtk); GET_SYM(gtk_file_filter_add_custom, ptr_gtk); GET_SYM(gtk_file_filter_set_name, ptr_gtk); GET_SYM(gtk_file_filter_get_name, ptr_gtk); GET_SYM(gtk_file_chooser_set_extra_widget, ptr_gtk); GET_SYM(gtk_widget_show_now, ptr_gtk); GET_SYM(gtk_widget_get_window, ptr_gtk); GET_SYM(gdk_x11_drawable_get_xid, ptr_gtk); GET_SYM(gtk_check_button_new_with_label, ptr_gtk); GET_SYM(g_signal_connect_data, ptr_gtk); GET_SYM(gtk_toggle_button_get_active, ptr_gtk); GET_SYM(gtk_file_chooser_set_show_hidden, ptr_gtk); GET_SYM(gtk_file_chooser_get_show_hidden, ptr_gtk); GET_SYM(gtk_toggle_button_set_active, ptr_gtk); did_find_GTK_libs = 1; #endif } // probe_for_GTK_libs // // End of "$Id$". // butt-0.1.26/src/FLTK/fl_funcs.cpp0000664000175000017500000004314413770344616013354 00000000000000 // FLTK GUI related functions // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #include #include #include #include #ifndef WIN32 #include #endif #include "gettext.h" #include "config.h" #include "cfg.h" #include "butt.h" #include "util.h" #include "port_audio.h" #include "timer.h" #include "flgui.h" #include "fl_funcs.h" #include "shoutcast.h" #include "icecast.h" #include "strfuncs.h" void fill_cfg_widgets(void) { int i; int bitrate[] = { 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 0 }; #ifndef HAVE_LIBFDK_AAC fl_g->menu_item_cfg_aac->hide(); fl_g->menu_item_rec_aac->hide(); Fl::check(); #endif //fill the main section for(i = 0; i < cfg.audio.dev_count; i++) fl_g->choice_cfg_dev->add(cfg.audio.pcm_list[i]->name); fl_g->choice_cfg_dev->value(cfg.audio.dev_num); fl_g->choice_cfg_act_srv->clear(); fl_g->choice_cfg_act_srv->redraw(); for(i = 0; i < cfg.main.num_of_srv; i++) fl_g->choice_cfg_act_srv->add(cfg.srv[i]->name); if(cfg.main.num_of_srv > 0) { fl_g->button_cfg_edit_srv->activate(); fl_g->button_cfg_del_srv->activate(); fl_g->choice_cfg_act_srv->activate(); } else { fl_g->button_cfg_edit_srv->deactivate(); fl_g->button_cfg_del_srv->deactivate(); fl_g->choice_cfg_act_srv->deactivate(); } fl_g->choice_cfg_act_icy->clear(); fl_g->choice_cfg_act_icy->redraw(); for(i = 0; i < cfg.main.num_of_icy; i++) fl_g->choice_cfg_act_icy->add(cfg.icy[i]->name); if(cfg.main.num_of_icy > 0) { fl_g->button_cfg_edit_icy->activate(); fl_g->button_cfg_del_icy->activate(); fl_g->choice_cfg_act_icy->activate(); } else { fl_g->button_cfg_edit_icy->deactivate(); fl_g->button_cfg_del_icy->deactivate(); fl_g->choice_cfg_act_icy->deactivate(); } fl_g->choice_cfg_act_srv->value(cfg.selected_srv); fl_g->choice_cfg_act_icy->value(cfg.selected_icy); fl_g->check_cfg_connect->value(cfg.main.connect_at_startup); fl_g->check_cfg_force_reconnecting->value(cfg.main.force_reconnecting); fl_g->input_log_filename->value(cfg.main.log_file); fl_g->check_update_at_startup->value(cfg.main.check_for_update); //fill the audio section if(!strcmp(cfg.audio.codec, "mp3")) fl_g->choice_cfg_codec->value(CHOICE_MP3); else if(!strcmp(cfg.audio.codec, "ogg")) fl_g->choice_cfg_codec->value(CHOICE_OGG); else if(!strcmp(cfg.audio.codec, "opus")) fl_g->choice_cfg_codec->value(CHOICE_OPUS); else if(!strcmp(cfg.audio.codec, "aac")) fl_g->choice_cfg_codec->value(CHOICE_AAC); else if(!strcmp(cfg.audio.codec, "flac")) { fl_g->choice_cfg_codec->value(CHOICE_FLAC); fl_g->choice_cfg_bitrate->hide(); } if(cfg.audio.channel == 1) fl_g->choice_cfg_channel->value(CHOICE_MONO); else fl_g->choice_cfg_channel->value(CHOICE_STEREO); for(i = 0; bitrate[i] != 0; i++) { if(cfg.audio.bitrate == bitrate[i]) { fl_g->choice_cfg_bitrate->value(i); break; } } fl_g->input_cfg_present_level->value(-cfg.audio.signal_level); fl_g->input_cfg_absent_level->value(-cfg.audio.silence_level); fl_g->check_cfg_mono_to_stereo->value(cfg.audio.mono_to_stereo); fl_g->input_cfg_buffer->value(cfg.audio.buffer_ms); fl_g->choice_cfg_resample_mode->value(cfg.audio.resample_mode); // Fill stream section fl_g->check_song_update_active->value(cfg.main.song_update); fl_g->check_read_last_line->value(cfg.main.read_last_line); fl_g->input_cfg_song_file->value(cfg.main.song_path); fl_g->input_cfg_signal->value(cfg.main.signal_threshold); fl_g->input_cfg_silence->value(cfg.main.silence_threshold); fl_g->input_cfg_song_prefix->value(cfg.main.song_prefix); fl_g->input_cfg_song_suffix->value(cfg.main.song_suffix); #if __APPLE__ && __MACH__ fl_g->choice_cfg_app->add("iTunes\\/Music"); fl_g->choice_cfg_app->add("Spotify"); fl_g->choice_cfg_app->add("VOX"); fl_g->check_cfg_use_app->value(cfg.main.app_update); fl_g->choice_cfg_app->value(cfg.main.app_update_service); #elif (__linux__ || __FreeBSD__) && HAVE_DBUS fl_g->choice_cfg_app->add("Rhythmbox"); fl_g->choice_cfg_app->add("Banshee"); fl_g->choice_cfg_app->add("Clementine"); fl_g->choice_cfg_app->add("Spotify"); fl_g->choice_cfg_app->add("Cantata"); fl_g->choice_cfg_app->add("Strawberry"); fl_g->check_cfg_use_app->value(cfg.main.app_update); fl_g->choice_cfg_app->value(cfg.main.app_update_service); #elif WIN32 fl_g->choice_cfg_app->add(_("Not supported on Windows")); fl_g->choice_cfg_app->value(0); fl_g->check_cfg_use_app->value(0); fl_g->check_cfg_use_app->deactivate(); fl_g->choice_cfg_app->deactivate(); #endif //fill the record section fl_g->input_rec_filename->value(cfg.rec.filename); fl_g->input_rec_folder->value(cfg.rec.folder); fl_g->input_rec_split_time->value(cfg.rec.split_time); if(!strcmp(cfg.rec.codec, "mp3")) fl_g->choice_rec_codec->value(CHOICE_MP3); else if(!strcmp(cfg.rec.codec, "ogg")) fl_g->choice_rec_codec->value(CHOICE_OGG); else if(!strcmp(cfg.rec.codec, "opus")) fl_g->choice_rec_codec->value(CHOICE_OPUS); else if(!strcmp(cfg.rec.codec, "aac")) fl_g->choice_rec_codec->value(CHOICE_AAC); else if(!strcmp(cfg.rec.codec, "flac")) { fl_g->choice_rec_codec->value(CHOICE_FLAC); fl_g->choice_rec_bitrate->hide(); } else //wav { fl_g->choice_rec_codec->value(CHOICE_WAV); fl_g->choice_rec_bitrate->hide(); } for(i = 0; bitrate[i] != 0; i++) if(cfg.rec.bitrate == bitrate[i]) fl_g->choice_rec_bitrate->value(i); if(cfg.rec.start_rec) fl_g->check_cfg_auto_start_rec->value(1); else fl_g->check_cfg_auto_start_rec->value(0); if(cfg.rec.stop_rec) fl_g->check_cfg_auto_stop_rec->value(1); else fl_g->check_cfg_auto_stop_rec->value(0); if(cfg.rec.rec_after_launch) fl_g->check_cfg_rec_after_launch->value(1); else fl_g->check_cfg_rec_after_launch->value(0); if(cfg.rec.sync_to_hour) fl_g->check_sync_to_full_hour->value(1); else fl_g->check_sync_to_full_hour->value(0); fl_g->input_rec_signal->value(cfg.rec.signal_threshold); fl_g->input_rec_silence->value(cfg.rec.silence_threshold); //fill the ssl/tls section fl_g->input_tls_cert_file->value(cfg.tls.cert_file); fl_g->input_tls_cert_dir->value(cfg.tls.cert_dir); update_samplerates(); update_channel_lists(); //fill the DSP section fl_g->check_activate_eq->value(cfg.dsp.equalizer); slider_equalizer1_cb(cfg.dsp.gain1); fl_g->equalizerSlider1->value(cfg.dsp.gain1); slider_equalizer2_cb(cfg.dsp.gain2); fl_g->equalizerSlider2->value(cfg.dsp.gain2); slider_equalizer3_cb(cfg.dsp.gain3); fl_g->equalizerSlider3->value(cfg.dsp.gain3); slider_equalizer4_cb(cfg.dsp.gain4); fl_g->equalizerSlider4->value(cfg.dsp.gain4); slider_equalizer5_cb(cfg.dsp.gain5); fl_g->equalizerSlider5->value(cfg.dsp.gain5); fl_g->check_activate_drc->value(cfg.dsp.compressor); slider_threshold_cb(cfg.dsp.threshold); fl_g->thresholdSlider->value(cfg.dsp.threshold); slider_ratio_cb(cfg.dsp.ratio); fl_g->ratioSlider->value(cfg.dsp.ratio); slider_attack_cb(cfg.dsp.attack); fl_g->attackSlider->value(cfg.dsp.attack); slider_release_cb(cfg.dsp.release); fl_g->releaseSlider->value(cfg.dsp.release); slider_makeup_cb(cfg.dsp.makeup_gain); fl_g->makeupSlider->value(cfg.dsp.makeup_gain); //fill the GUI section fl_g->button_gui_bg_color->color(cfg.main.bg_color, fl_lighter((Fl_Color)cfg.main.bg_color)); fl_g->button_gui_text_color->color(cfg.main.txt_color, fl_lighter((Fl_Color)cfg.main.txt_color)); fl_g->check_gui_attach->value(cfg.gui.attach); fl_g->check_gui_ontop->value(cfg.gui.ontop); if(cfg.gui.ontop) { fl_g->window_main->stay_on_top(1); fl_g->window_cfg->stay_on_top(1); } fl_g->check_gui_hide_log_window->value(cfg.gui.hide_log_window); fl_g->check_gui_remember_pos->value(cfg.gui.remember_pos); fl_g->check_gui_lcd_auto->value(cfg.gui.lcd_auto); fl_g->choice_gui_language->value(cfg.gui.lang); } //Updates the samplerate drop down menu for the audio //device the user has selected void update_samplerates(void) { int i; int *sr_list; char sr_asc[10]; fl_g->choice_cfg_samplerate->clear(); sr_list = cfg.audio.pcm_list[cfg.audio.dev_num]->sr_list; for(i = 0; sr_list[i] != 0; i++) { snprintf(sr_asc, sizeof(sr_asc), "%dHz", sr_list[i]); fl_g->choice_cfg_samplerate->add(sr_asc); if(cfg.audio.samplerate == sr_list[i]) fl_g->choice_cfg_samplerate->value(i); } if(i == 0) { fl_g->choice_cfg_samplerate->add("dev. not supported"); fl_g->choice_cfg_samplerate->value(0); } } void update_channel_lists(void) { int i; char ch_num_txt[8]; int dev_num = fl_g->choice_cfg_dev->value(); char* dev_name = cfg.audio.pcm_list[dev_num]->name; int num_of_channels = cfg.audio.pcm_list[dev_num]->num_of_channels; fl_g->choice_cfg_left_channel->clear(); fl_g->choice_cfg_right_channel->clear(); for (i = 1; i <= num_of_channels; i++) { snprintf(ch_num_txt, sizeof(ch_num_txt), "%d", i); fl_g->choice_cfg_left_channel->add(ch_num_txt); fl_g->choice_cfg_right_channel->add(ch_num_txt); } fl_g->choice_cfg_left_channel->value(cfg.audio.left_ch-1); fl_g->choice_cfg_right_channel->value(cfg.audio.right_ch-1); } void print_info(const char* info, int info_type) { char timebuf[10]; char logtimestamp[21]; char* infotxt; FILE *log_fd; int len; time_t test; struct tm *mytime; static struct tm time_bak; infotxt = strdup(info); test = time(NULL); mytime = localtime(&test); if( (time_bak.tm_min != mytime->tm_min) || (time_bak.tm_hour != mytime->tm_hour) ) { time_bak.tm_min = mytime->tm_min; time_bak.tm_hour = mytime->tm_hour; strftime(timebuf, sizeof(timebuf), "\n%H:%M:", mytime); fl_g->info_buffer->append(timebuf); } fl_g->info_buffer->append((const char*)"\n"); fl_g->info_buffer->append((const char*)info); //always scroll to the last line fl_g->info_output->scroll(fl_g->info_buffer->count_lines(0, //count the lines from char 0 to the last character fl_g->info_buffer->length()), //returns the number of characters in the buffer 0); // log to log_file if defined if ((cfg.main.log_file != NULL) && (strlen(cfg.main.log_file) > 0)) { strftime(logtimestamp, sizeof(logtimestamp), "%Y-%m-%d %H:%M:%S", mytime); log_fd = fl_fopen(cfg.main.log_file, "ab"); if (log_fd != NULL) { if(strchr(infotxt, ':')) strrpl(&infotxt, (char*)"\n", (char*)", ", MODE_ALL); else strrpl(&infotxt, (char*)"\n", (char*)" ", MODE_ALL); strrpl(&infotxt, (char*)":,", (char*)": ", MODE_ALL); strrpl(&infotxt, (char*)"\t", (char*)"", MODE_ALL); len = strlen(infotxt)-1; // remove trailing commas and spaces while (infotxt[len] == ',' || infotxt[len] == ' ') { infotxt[len--] = '\0'; } fprintf(log_fd, "%s %s\n", logtimestamp, infotxt); fclose(log_fd); } } free(infotxt); } void print_lcd(const char *text, int len, int home, int clear) { if(clear) fl_g->lcd->clear(); fl_g->lcd->print((const uchar*)text, len); if(home) fl_g->lcd->cursor_pos(0); } void expand_string(char **str) { char m[3], d[3], y[5], hh[3], mi[3], ss[3]; struct tm *date; const time_t t = time(NULL); date = localtime(&t); snprintf(ss, 3, "%02d", date->tm_sec); snprintf(mi, 3, "%02d", date->tm_min); snprintf(hh, 3, "%02d", date->tm_hour); snprintf(d, 3, "%02d", date->tm_mday); snprintf(m, 3, "%02d", date->tm_mon+1); snprintf(y, 5, "%d", date->tm_year+1900); strrpl(str, (char*)"%S", ss, MODE_ALL); strrpl(str, (char*)"%M", mi, MODE_ALL); strrpl(str, (char*)"%H", hh, MODE_ALL); strrpl(str, (char*)"%d", d, MODE_ALL); strrpl(str, (char*)"%m", m, MODE_ALL); strrpl(str, (char*)"%y", y, MODE_ALL); strrpl(str, (char*)"%Y", y, MODE_ALL); // %Y and %y both work as year } void test_file_extension(void) { char *current_ext; current_ext = util_get_file_extension(cfg.rec.filename); // Append extension if(current_ext == NULL) { cfg.rec.filename = (char*)realloc(cfg.rec.filename, strlen(cfg.rec.filename)+strlen(cfg.rec.codec)+2); strcat(cfg.rec.filename, "."); strcat(cfg.rec.filename, cfg.rec.codec); fl_g->input_rec_filename->value(cfg.rec.filename); } // Replace extension else if(strcmp(current_ext, cfg.rec.codec)) { strrpl(&cfg.rec.filename, current_ext, cfg.rec.codec, MODE_LAST); fl_g->input_rec_filename->value(cfg.rec.filename); } } void init_main_gui_and_audio(void) { if(cfg.gui.remember_pos) fl_g->window_main->position(cfg.gui.x_pos, cfg.gui.y_pos); fl_g->slider_gain->value(util_factor_to_db(cfg.main.gain)); fl_g->window_main->redraw(); if(cfg.gui.ontop) fl_g->window_main->stay_on_top(1); fl_g->button_info->label(_("Hide log")); if(cfg.gui.hide_log_window) button_info_cb(); lame_stream.channel = cfg.audio.channel; lame_stream.bitrate = cfg.audio.bitrate; lame_stream.samplerate = cfg.audio.samplerate; lame_enc_reinit(&lame_stream); lame_rec.channel = cfg.audio.channel; lame_rec.bitrate = cfg.rec.bitrate; lame_rec.samplerate = cfg.audio.samplerate; lame_enc_reinit(&lame_rec); vorbis_stream.channel = cfg.audio.channel; vorbis_stream.bitrate = cfg.audio.bitrate; vorbis_stream.samplerate = cfg.audio.samplerate; vorbis_enc_reinit(&vorbis_stream); vorbis_rec.channel = cfg.audio.channel; vorbis_rec.bitrate = cfg.rec.bitrate; vorbis_rec.samplerate = cfg.audio.samplerate; vorbis_enc_reinit(&vorbis_rec); opus_stream.channel = cfg.audio.channel; opus_stream.bitrate = cfg.audio.bitrate*1000; opus_stream.samplerate = cfg.audio.samplerate; opus_enc_reinit(&opus_stream); opus_rec.channel = cfg.audio.channel; opus_rec.bitrate = cfg.rec.bitrate*1000; opus_rec.samplerate = cfg.audio.samplerate; opus_enc_reinit(&opus_rec); #ifdef HAVE_LIBFDK_AAC if (g_aac_lib_available == 1) { aac_stream.channel = cfg.audio.channel; aac_stream.bitrate = cfg.audio.bitrate; aac_stream.samplerate = cfg.audio.samplerate; aac_stream.aot = cfg.audio.aac_aot; aac_enc_reinit(&aac_stream); aac_rec.channel = cfg.audio.channel; aac_rec.bitrate = cfg.rec.bitrate; aac_rec.samplerate = cfg.audio.samplerate; aac_rec.aot = cfg.audio.aac_aot; aac_enc_reinit(&aac_rec); } #endif flac_stream.channel = cfg.audio.channel; flac_stream.samplerate = cfg.audio.samplerate; flac_stream.enc_type = FLAC_ENC_TYPE_STREAM; flac_enc_reinit(&flac_stream); flac_rec.channel = cfg.audio.channel; flac_rec.samplerate = cfg.audio.samplerate; flac_rec.enc_type = FLAC_ENC_TYPE_REC; flac_enc_reinit(&flac_rec); } char *ask_user_msg = NULL; char *ask_user_hash = NULL; int ask_user_has_clicked = 0; int ask_user_answer = 0; void ask_user_reset(void) { if (ask_user_msg != NULL) { free(ask_user_msg); ask_user_msg = NULL; } if (ask_user_hash != NULL) { free(ask_user_hash); ask_user_hash = NULL; } ask_user_has_clicked = 0; } int ask_user_get_has_clicked(void) { return ask_user_has_clicked; } int ask_user_get_answer(void) { return ask_user_answer; } void ask_user_set_msg(char *msg) { int len = strlen(msg); ask_user_msg = (char*)calloc(len+1, sizeof(char)); strncpy(ask_user_msg, msg, len); } void ask_user_set_hash(char *hash) { int len = strlen(hash); ask_user_hash = (char*)calloc(len+1, sizeof(char)); strncpy(ask_user_hash, hash, len); } void ask_user_ask(void) { if (fl_choice("%s", _("TRUST"), _("No"), NULL, ask_user_msg) == 1) { // No ask_user_answer = IC_ABORT; } else { // TRUST int len = strlen(ask_user_hash); cfg.srv[cfg.selected_srv]->cert_hash = (char*)realloc(cfg.srv[cfg.selected_srv]->cert_hash, len+1); memset(cfg.srv[cfg.selected_srv]->cert_hash, 0, len+1); strncpy(cfg.srv[cfg.selected_srv]->cert_hash, ask_user_hash, len); ask_user_answer = IC_RETRY; } ask_user_has_clicked = 1; } butt-0.1.26/src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx0000664000175000017500000006650013663226731017413 00000000000000// "$Id$" // // FLTK native OS file chooser widget // // Copyright 1998-2014 by Bill Spitzak and others. // Copyright 2004 Greg Ercolano. // API changes + filter improvements by Nathan Vander Wilt 2005 // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see the license at: // // http://www.fltk.org/COPYING.php // // Please report all bugs and problems to: // // http://www.fltk.org/str.php // // Any application to multi-folder implementation: // http://www.codeproject.com/dialog/selectfolder.asp // #ifndef FL_DOXYGEN // PREVENT DOXYGEN'S USE OF THIS FILE #include #if FLTK_ABI_VERSION < 10304 #define _ofn_ptr (&_ofn) #define _binf_ptr (&_binf) #endif # include // malloc # include // sprintf #include #include "Fl_My_Native_File_Chooser_common.cxx" // strnew/strfree/strapp/chrcat #define FNFC_MAX_PATH 32768 // XXX: MAX_PATH under win32 is 260, too small for modern use #include "FL/Fl_My_Native_File_Chooser.H" static LPCWSTR utf8towchar(const char *in); static char *wchartoutf8(LPCWSTR in); #include // for fl_open_display #define LCURLY_CHR '{' #define RCURLY_CHR '}' #define LBRACKET_CHR '[' #define RBRACKET_CHR ']' void fl_open_display(); // STATIC: PRINT WINDOWS 'DOUBLE NULL' STRING (DEBUG) #ifdef DEBUG #include static void dnullprint(char *wp) { if ( ! wp ) return; for ( int t=0; true; t++ ) { if ( wp[t] == '\0' && wp[t+1] == '\0' ) { printf("\\0\\0"); fflush(stdout); return; } else if ( wp[t] == '\0' ) { printf("\\0"); } else { printf("%c",wp[t]); } } } #endif // RETURN LENGTH OF DOUBLENULL STRING // Includes single nulls in count, excludes trailing doublenull. // // 1234 567 // |||/\||| // IN: "one\0two\0\0" // OUT: 7 // static int dnulllen(const char *wp) { int len = 0; while ( ! ( *(wp+0) == 0 && *(wp+1) == 0 ) ) { ++wp; ++len; } return(len); } // STATIC: Append a string to another, leaving terminated with DOUBLE NULL. // Automatically handles extending length of string. // wp can be NULL (a new wp will be allocated and initialized). // string must be NULL terminated. // The pointer wp may be modified on return. // static void dnullcat(char*&wp, const char *string, int n = -1 ) { //DEBUG printf("DEBUG: dnullcat IN: <"); dnullprint(wp); printf(">\n"); size_t inlen = ( n < 0 ) ? strlen(string) : n; if ( ! wp ) { wp = new char[inlen + 4]; *(wp+0) = '\0'; *(wp+1) = '\0'; } else { int wplen = dnulllen(wp); // Make copy of wp into larger buffer char *tmp = new char[wplen + inlen + 4]; memcpy(tmp, wp, wplen+2); // copy of wp plus doublenull delete[] wp; // delete old wp wp = tmp; // use new copy //DEBUG printf("DEBUG: dnullcat COPY: <"); dnullprint(wp); printf("> (wplen=%d)\n", wplen); } // Find end of double null string // *wp2 is left pointing at second null. // char *wp2 = wp; if ( *(wp2+0) != '\0' && *(wp2+1) != '\0' ) { for ( ; 1; wp2++ ) { if ( *(wp2+0) == '\0' && *(wp2+1) == '\0' ) { wp2++; break; } } } if ( n == -1 ) n = (int) strlen(string); strncpy(wp2, string, n); // Leave string double-null terminated *(wp2+n+0) = '\0'; *(wp2+n+1) = '\0'; //DEBUG printf("DEBUG: dnullcat OUT: <"); dnullprint(wp); printf(">\n\n"); } // CTOR Fl_My_Native_File_Chooser::Fl_My_Native_File_Chooser(int val) { _btype = val; _options = NO_OPTIONS; #if FLTK_ABI_VERSION >= 10304 _ofn_ptr = new OPENFILENAMEW; _binf_ptr = new BROWSEINFOW; _wpattern = 0; #endif memset((void*)_ofn_ptr, 0, sizeof(OPENFILENAMEW)); _ofn_ptr->lStructSize = sizeof(OPENFILENAMEW); _ofn_ptr->hwndOwner = NULL; memset((void*)_binf_ptr, 0, sizeof(BROWSEINFOW)); _pathnames = NULL; _tpathnames = 0; _directory = NULL; _title = NULL; _filter = NULL; _parsedfilt = NULL; _nfilters = 0; _preset_file = NULL; _errmsg = NULL; } // DTOR Fl_My_Native_File_Chooser::~Fl_My_Native_File_Chooser() { //_pathnames // managed by clear_pathnames() //_tpathnames // managed by clear_pathnames() _directory = strfree(_directory); _title = strfree(_title); _filter = strfree(_filter); //_parsedfilt // managed by clear_filters() //_nfilters // managed by clear_filters() _preset_file = strfree(_preset_file); _errmsg = strfree(_errmsg); clear_filters(); clear_pathnames(); ClearOFN(); ClearBINF(); #if FLTK_ABI_VERSION >= 10304 delete _binf_ptr; delete _ofn_ptr; if ( _wpattern ) delete[] _wpattern; #endif } // SET TYPE OF BROWSER void Fl_My_Native_File_Chooser::type(int val) { _btype = val; } // GET TYPE OF BROWSER int Fl_My_Native_File_Chooser::type() const { return( _btype ); } // SET OPTIONS void Fl_My_Native_File_Chooser::options(int val) { _options = val; } // GET OPTIONS int Fl_My_Native_File_Chooser::options() const { return(_options); } // PRIVATE: SET ERROR MESSAGE void Fl_My_Native_File_Chooser::errmsg(const char *val) { _errmsg = strfree(_errmsg); _errmsg = strnew(val); } // FREE PATHNAMES ARRAY, IF IT HAS ANY CONTENTS void Fl_My_Native_File_Chooser::clear_pathnames() { if ( _pathnames ) { while ( --_tpathnames >= 0 ) { _pathnames[_tpathnames] = strfree(_pathnames[_tpathnames]); } delete[] _pathnames; _pathnames = NULL; } _tpathnames = 0; } // SET A SINGLE PATHNAME void Fl_My_Native_File_Chooser::set_single_pathname(const char *s) { clear_pathnames(); _pathnames = new char*[1]; _pathnames[0] = strnew(s); _tpathnames = 1; } // ADD PATHNAME TO EXISTING ARRAY void Fl_My_Native_File_Chooser::add_pathname(const char *s) { if ( ! _pathnames ) { // Create first element in array ++_tpathnames; _pathnames = new char*[_tpathnames]; } else { // Grow array by 1 char **tmp = new char*[_tpathnames+1]; // create new buffer memcpy((void*)tmp, (void*)_pathnames, sizeof(char*)*_tpathnames); // copy old delete[] _pathnames; // delete old _pathnames = tmp; // use new ++_tpathnames; } _pathnames[_tpathnames-1] = strnew(s); } // FREE A PIDL (Pointer to IDentity List) static void FreePIDL(LPITEMIDLIST pidl) { IMalloc *imalloc = NULL; if ( SUCCEEDED(SHGetMalloc(&imalloc)) ) { imalloc->Free(pidl); imalloc->Release(); imalloc = NULL; } } // CLEAR MICROSOFT OFN (OPEN FILE NAME) CLASS void Fl_My_Native_File_Chooser::ClearOFN() { // Free any previously allocated lpstrFile before zeroing out _ofn_ptr if ( _ofn_ptr->lpstrFile ) { delete[] _ofn_ptr->lpstrFile; _ofn_ptr->lpstrFile = NULL; } if ( _ofn_ptr->lpstrInitialDir ) { delete[] (TCHAR*) _ofn_ptr->lpstrInitialDir; //msvc6 compilation fix _ofn_ptr->lpstrInitialDir = NULL; } _ofn_ptr->lpstrFilter = NULL; // (deleted elsewhere) int temp = _ofn_ptr->nFilterIndex; // keep the filter_value memset((void*)_ofn_ptr, 0, sizeof(OPENFILENAMEW)); _ofn_ptr->lStructSize = sizeof(OPENFILENAMEW); _ofn_ptr->nFilterIndex = temp; } // CLEAR MICROSOFT BINF (BROWSER INFO) CLASS void Fl_My_Native_File_Chooser::ClearBINF() { if ( _binf_ptr->pidlRoot ) { FreePIDL((ITEMIDLIST*)_binf_ptr->pidlRoot); _binf_ptr->pidlRoot = NULL; } memset((void*)_binf_ptr, 0, sizeof(BROWSEINFOW)); } // CONVERT WINDOWS BACKSLASHES TO UNIX FRONTSLASHES void Fl_My_Native_File_Chooser::Win2Unix(char *s) { for ( ; *s; s++ ) if ( *s == '\\' ) *s = '/'; } // CONVERT UNIX FRONTSLASHES TO WINDOWS BACKSLASHES void Fl_My_Native_File_Chooser::Unix2Win(char *s) { for ( ; *s; s++ ) if ( *s == '/' ) *s = '\\'; } // SAVE THE CURRENT WORKING DIRECTORY // Returns a malloc()ed copy of the cwd that can // later be freed with RestoreCWD(). May return 0 on error. // static char *SaveCWD() { char *thecwd = 0; DWORD thecwdsz = GetCurrentDirectory(0,0); if ( thecwdsz > 0 ) { thecwd = (char*)malloc(thecwdsz); if (GetCurrentDirectory(thecwdsz, thecwd) == 0 ) { free(thecwd); thecwd = 0; } } return thecwd; } // RESTORES THE CWD SAVED BY SaveCWD(), FREES STRING // Always returns NULL (string was freed). // static void RestoreCWD(char *thecwd) { if ( !thecwd ) return; SetCurrentDirectory(thecwd); free(thecwd); } // SHOW FILE BROWSER int Fl_My_Native_File_Chooser::showfile() { ClearOFN(); clear_pathnames(); size_t fsize = FNFC_MAX_PATH; _ofn_ptr->Flags |= OFN_NOVALIDATE; // prevent disabling of front slashes _ofn_ptr->Flags |= OFN_HIDEREADONLY; // hide goofy readonly flag // USE NEW BROWSER _ofn_ptr->Flags |= OFN_EXPLORER; // use newer explorer windows _ofn_ptr->Flags |= OFN_ENABLESIZING; // allow window to be resized (hey, why not?) _ofn_ptr->Flags |= OFN_NOCHANGEDIR; // XXX: docs say ineffective on XP/2K/NT, but set it anyway.. switch ( _btype ) { case BROWSE_DIRECTORY: case BROWSE_MULTI_DIRECTORY: case BROWSE_SAVE_DIRECTORY: abort(); // never happens: handled by showdir() case BROWSE_FILE: break; case BROWSE_MULTI_FILE: _ofn_ptr->Flags |= OFN_ALLOWMULTISELECT; break; case BROWSE_SAVE_FILE: if ( options() & SAVEAS_CONFIRM && type() == BROWSE_SAVE_FILE ) { _ofn_ptr->Flags |= OFN_OVERWRITEPROMPT; } break; } // SPACE FOR RETURNED FILENAME _ofn_ptr->lpstrFile = new WCHAR[fsize]; _ofn_ptr->nMaxFile = (DWORD) fsize-1; _ofn_ptr->lpstrFile[0] = 0; _ofn_ptr->lpstrFile[1] = 0; // dnull // PARENT WINDOW _ofn_ptr->hwndOwner = GetForegroundWindow(); // DIALOG TITLE if (_title) { static WCHAR wtitle[200]; wcsncpy(wtitle, utf8towchar(_title), 200); wtitle[200-1] = 0; _ofn_ptr->lpstrTitle = wtitle; } else { _ofn_ptr->lpstrTitle = NULL; } // FILTER if (_parsedfilt != NULL) { // to convert a null-containing char string into a widechar string #if FLTK_ABI_VERSION >= 10304 // NEW if ( !_wpattern ) _wpattern = new WCHAR[FNFC_MAX_PATH]; #else // OLD static WCHAR _wpattern[FNFC_MAX_PATH]; // yuck -- replace with managed class member #endif const char *p = _parsedfilt; while(*(p + strlen(p) + 1) != 0) p += strlen(p) + 1; p += strlen(p) + 2; MultiByteToWideChar(CP_UTF8, 0, _parsedfilt, (int) (p - _parsedfilt), _wpattern, FNFC_MAX_PATH); _ofn_ptr->lpstrFilter = _wpattern; } else { _ofn_ptr->lpstrFilter = NULL; } // PRESET FILE // If set, supercedes _directory. See KB Q86920 for details // XXX: this doesn't preselect the item in the listview.. why? // if ( _preset_file ) { size_t len = strlen(_preset_file); if ( len >= _ofn_ptr->nMaxFile ) { char msg[80]; sprintf(msg, "preset_file() filename is too long: %ld is >=%ld", (long)len, (long)fsize); return(-1); } wcscpy(_ofn_ptr->lpstrFile, utf8towchar(_preset_file)); // Unix2Win(_ofn_ptr->lpstrFile); len = wcslen(_ofn_ptr->lpstrFile); _ofn_ptr->lpstrFile[len+0] = 0; // multiselect needs dnull _ofn_ptr->lpstrFile[len+1] = 0; } if ( _directory ) { // PRESET DIR // XXX: See KB Q86920 for doc bug: // http://support.microsoft.com/default.aspx?scid=kb;en-us;86920 // _ofn_ptr->lpstrInitialDir = new WCHAR[FNFC_MAX_PATH]; wcscpy((WCHAR *)_ofn_ptr->lpstrInitialDir, utf8towchar(_directory)); // Unix2Win((char*)_ofn_ptr->lpstrInitialDir); } // SAVE THE CURRENT DIRECTORY // See above warning (XXX) for OFN_NOCHANGEDIR // char *save_cwd = SaveCWD(); // must be freed with RestoreCWD() // OPEN THE DIALOG WINDOW int err; if ( _btype == BROWSE_SAVE_FILE ) { err = GetSaveFileNameW(_ofn_ptr); } else { err = GetOpenFileNameW(_ofn_ptr); } // GET EXTENDED ERROR int exterr = CommDlgExtendedError(); // RESTORE CURRENT DIRECTORY RestoreCWD(save_cwd); save_cwd = 0; // also frees save_cwd // ERROR OR CANCEL? if ( err == 0 ) { if ( exterr == 0 ) return(1); // user hit cancel // Otherwise, an error occurred.. char msg[80]; sprintf(msg, "CommDlgExtendedError() code=%d", err); errmsg(msg); return(-1); } // PREPARE PATHNAMES FOR RETURN switch ( _btype ) { case BROWSE_FILE: case BROWSE_SAVE_FILE: set_single_pathname(wchartoutf8(_ofn_ptr->lpstrFile)); // Win2Unix(_pathnames[_tpathnames-1]); break; case BROWSE_MULTI_FILE: { // EXTRACT MULTIPLE FILENAMES const WCHAR *dirname = _ofn_ptr->lpstrFile; size_t dirlen = wcslen(dirname); if ( dirlen > 0 ) { // WALK STRING SEARCHING FOR 'DOUBLE-NULL' // eg. "/dir/name\0foo1\0foo2\0foo3\0\0" // char pathname[FNFC_MAX_PATH]; for ( const WCHAR *s = dirname + dirlen + 1; *s; s+= (wcslen(s)+1)) { strcpy(pathname, wchartoutf8(dirname)); strcat(pathname, "\\"); strcat(pathname, wchartoutf8(s)); add_pathname(pathname); } } // XXX // Work around problem where pasted forward-slash pathname // into the file browser causes new "Explorer" interface // not to grok forward slashes, passing back as a 'filename'..! // if ( _tpathnames == 0 ) { add_pathname(wchartoutf8(dirname)); // Win2Unix(_pathnames[_tpathnames-1]); } break; } case BROWSE_DIRECTORY: case BROWSE_MULTI_DIRECTORY: case BROWSE_SAVE_DIRECTORY: abort(); // never happens: handled by showdir() } return(0); } // Used by SHBrowseForFolder(), sets initial selected dir. // Ref: Usenet: microsoft.public.vc.mfc, Dec 8 2000, 1:38p David Lowndes // Subject: How to specify to select an initial folder .." // static int CALLBACK Dir_CB(HWND win, UINT msg, LPARAM param, LPARAM data) { switch (msg) { case BFFM_INITIALIZED: if (data) ::SendMessageW(win, BFFM_SETSELECTIONW, TRUE, data); break; case BFFM_SELCHANGED: TCHAR path[FNFC_MAX_PATH]; if ( SHGetPathFromIDList((ITEMIDLIST*)param, path) ) { ::SendMessage(win, BFFM_ENABLEOK, 0, 1); } else { // disable ok button if not a path ::SendMessage(win, BFFM_ENABLEOK, 0, 0); } break; case BFFM_VALIDATEFAILED: // we could pop up an annoying message here. // also needs set ulFlags |= BIF_VALIDATE break; default: break; } return(0); } // SHOW DIRECTORY BROWSER int Fl_My_Native_File_Chooser::showdir() { // initialize OLE only once fl_open_display(); // init needed by BIF_USENEWUI ClearBINF(); clear_pathnames(); // PARENT WINDOW _binf_ptr->hwndOwner = GetForegroundWindow(); // DIALOG TITLE //_binf_ptr->lpszTitle = _title ? _title : NULL; if (_title) { static WCHAR wtitle[256]; wcsncpy(wtitle, utf8towchar(_title), 256); wtitle[255] = 0; _binf_ptr->lpszTitle = wtitle; } else { _binf_ptr->lpszTitle = NULL; } // FLAGS _binf_ptr->ulFlags = 0; // initialize // TBD: make sure matches to runtime system, if need be. //(what if _WIN32_IE doesn't match system? does the program not run?) // // TBD: match all 3 types of directories // // NOTE: *Don't* use BIF_SHAREABLE. It /disables/ mapped network shares // from being visible in BROWSE_DIRECTORY mode. Walter Garm's comments: // // --- Garms, Walter (GE EntSol, Security) wrote: // With your help I was able to solve the problem of the network drives. // For Version 6.0, at least, the BIF_SHAREABLE flag seems to have the // opposite sense: With BIF_SHAREABLE not set I see the mapped network // drives, and with BIF_SHAREABLE set I do not. // --- #if defined(BIF_NONEWFOLDERBUTTON) // Version 6.0 if ( _btype == BROWSE_DIRECTORY ) _binf_ptr->ulFlags |= BIF_NONEWFOLDERBUTTON; _binf_ptr->ulFlags |= BIF_USENEWUI | BIF_RETURNONLYFSDIRS; #elif defined(BIF_USENEWUI) // Version 5.0 if ( _btype == BROWSE_DIRECTORY ) _binf_ptr->ulFlags |= BIF_EDITBOX; else if ( _btype == BROWSE_SAVE_DIRECTORY ) _binf_ptr->ulFlags |= BIF_USENEWUI; _binf_ptr->ulFlags |= BIF_RETURNONLYFSDIRS; #elif defined(BIF_EDITBOX) // Version 4.71 _binf_ptr->ulFlags |= BIF_RETURNONLYFSDIRS | BIF_EDITBOX; #else // Version Old _binf_ptr->ulFlags |= BIF_RETURNONLYFSDIRS; #endif // BUFFER //char displayname[FNFC_MAX_PATH]; WCHAR displayname[FNFC_MAX_PATH]; _binf_ptr->pszDisplayName = displayname; // PRESET DIR WCHAR presetname[FNFC_MAX_PATH]; if ( _directory ) { // Unix2Win(presetname); wcsncpy(presetname, utf8towchar(_directory), FNFC_MAX_PATH); presetname[FNFC_MAX_PATH-1] = 0; _binf_ptr->lParam = (LPARAM)presetname; } else _binf_ptr->lParam = 0; _binf_ptr->lpfn = Dir_CB; // OPEN BROWSER LPITEMIDLIST pidl = SHBrowseForFolderW(_binf_ptr); // CANCEL? if ( pidl == NULL ) return(1); // GET THE PATHNAME(S) THE USER SELECTED // TBD: expand NetHood shortcuts from this PIDL?? // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shbrowseforfolder.asp WCHAR path[FNFC_MAX_PATH]; if ( SHGetPathFromIDListW(pidl, path) ) { // Win2Unix(path); //add_pathname(path); add_pathname(wchartoutf8(path)); } FreePIDL(pidl); if ( !wcslen(path) ) return(1); // don't return empty pathnames return(0); } // RETURNS: // 0 - user picked a file // 1 - user cancelled // -1 - failed; errmsg() has reason // int Fl_My_Native_File_Chooser::show() { int retval; if ( _btype == BROWSE_DIRECTORY || _btype == BROWSE_MULTI_DIRECTORY || _btype == BROWSE_SAVE_DIRECTORY ) { retval = showdir(); } else { retval = showfile(); } // restore the correct state of mouse buttons and keyboard modifier keys (STR #3221) HWND h = GetForegroundWindow(); if (h) { WNDPROC windproc = (WNDPROC)GetWindowLongPtrW(h, GWLP_WNDPROC); CallWindowProc(windproc, h, WM_ACTIVATEAPP, 1, 0); } return retval; } // RETURN ERROR MESSAGE const char *Fl_My_Native_File_Chooser::errmsg() const { return(_errmsg ? _errmsg : "No error"); } // GET FILENAME const char* Fl_My_Native_File_Chooser::filename() const { if ( _pathnames && _tpathnames > 0 ) return(_pathnames[0]); return(""); } // GET FILENAME FROM LIST OF FILENAMES const char* Fl_My_Native_File_Chooser::filename(int i) const { if ( _pathnames && i < _tpathnames ) return(_pathnames[i]); return(""); } // GET TOTAL FILENAMES CHOSEN int Fl_My_Native_File_Chooser::count() const { return(_tpathnames); } // PRESET PATHNAME // Can be NULL if no preset is desired. // void Fl_My_Native_File_Chooser::directory(const char *val) { _directory = strfree(_directory); _directory = strnew(val); } // GET PRESET PATHNAME // Can return NULL if none set. // const char *Fl_My_Native_File_Chooser::directory() const { return(_directory); } // SET TITLE // Can be NULL if no title desired. // void Fl_My_Native_File_Chooser::title(const char *val) { _title = strfree(_title); _title = strnew(val); } // GET TITLE // Can return NULL if none set. // const char *Fl_My_Native_File_Chooser::title() const { return(_title); } // SET FILTER // Can be NULL if no filter needed // void Fl_My_Native_File_Chooser::filter(const char *val) { _filter = strfree(_filter); clear_filters(); if ( val ) { _filter = strnew(val); parse_filter(_filter); } add_filter("All Files", "*.*"); // always include 'all files' option #ifdef DEBUG dnullprint(_parsedfilt); #endif /*DEBUG*/ } // GET FILTER // Can return NULL if none set. // const char *Fl_My_Native_File_Chooser::filter() const { return(_filter); } // CLEAR FILTERS void Fl_My_Native_File_Chooser::clear_filters() { _nfilters = 0; _parsedfilt = strfree(_parsedfilt); } // ADD A FILTER void Fl_My_Native_File_Chooser::add_filter(const char *name_in, // name of filter (optional: can be null) const char *winfilter) { // windows style filter (eg. "*.cxx;*.h") // No name? Make one.. char name[1024]; if ( !name_in || name_in[0] == '\0' ) { sprintf(name, "%.*s Files", int(sizeof(name)-10), winfilter); } else { if ((strlen(name_in)+strlen(winfilter)+3) < sizeof(name)) { sprintf(name, "%s (%s)", name_in, winfilter); } else { sprintf(name, "%.*s", int(sizeof(name)), name_in); } } dnullcat(_parsedfilt, name); dnullcat(_parsedfilt, winfilter); _nfilters++; //DEBUG printf("DEBUG: ADD FILTER name=<%s> winfilter=<%s>\n", name, winfilter); } // RETURN HOW MANY DIFFERENT FILTERS WERE SPECIFIED // In: "foo.[CH]" or "foo.{C,H}" // Out: 2 // static int count_filters(const char *filter) { int count = 0; char mode = 0; const char *in = filter; while (*in) { switch(*in) { case '\\': // escape next character ++in; if ( *in == 0 ) continue; // skip escape. EOL? done ++in; // skip escaped char continue; case LCURLY_CHR: // start "{aaa,bbb}" mode = *in; // set mode, parse over curly ++count; // at least +1 wildcard break; case RCURLY_CHR: // end "{aaa,bbb}" if ( mode == LCURLY_CHR ) // disable curly mode (if on) mode = 0; break; case LBRACKET_CHR: // start "[xyz]" mode = *in; // set mode, parse over bracket break; case RBRACKET_CHR: // end "[xyz]" if ( mode == LBRACKET_CHR ) // disable bracket mode (if on) mode = 0; break; default: // any other char switch (mode) { // handle {} or [] modes case LCURLY_CHR: // handle "{aaa,bbb}" if (*in==',' || *in=='|') // ',' and '|' adds filters ++count; break; case LBRACKET_CHR: // handle "[xyz]" ++count; // all chars in []'s add new filter break; } break; } ++in; // parse past char } return count > 0 ? count : 1; // return at least 1 } // CONVERT FLTK STYLE PATTERN MATCHES TO WINDOWS 'DOUBLENULL' PATTERN // Returns with the parsed double-null result in '_parsedfilt'. // // Handles: // IN OUT // ----------- ----------------------------- // *.{ma,mb} "*.{ma,mb} Files\0*.ma;*.mb\0\0" // *.[abc] "*.[abc] Files\0*.a;*.b;*.c\0\0" // *.txt "*.txt Files\0*.txt\0\0" // C Files\t*.[ch] "C Files\0*.c;*.h\0\0" // // Example: // IN: "*.{ma,mb}" // OUT: "*.ma;*.mb Files\0*.ma;*.mb\0All Files\0*.*\0\0" // --------------- --------- --------- --- // | | | | // Title Wildcards Title Wildcards // // Parsing Mode: // IN:"C Files\t*.{cxx,h}" // ||||||| ||||||||| // mode: nnnnnnn ww{{{{{{{ // \_____/ \_______/ // Name Wildcard // void Fl_My_Native_File_Chooser::parse_filter(const char *in) { clear_filters(); if ( ! in || in[0] == '\0' ) return; int has_name = strchr(in, '\t') ? 1 : 0; char mode = has_name ? 'n' : 'w'; // parse mode: n=name, w=wildcard // whatever input string is, our output won't be much longer in length.. // use double length just for safety. size_t slen = strlen(in); char *wildprefix = new char[(slen+1)*2]; wildprefix[0] = 0; char *comp = new char[(slen+1)*2]; comp[0] = 0; char *name = new char[(slen+1)*2]; name[0] = 0; // Init int nwildcards = 0; int maxfilters = count_filters(in) + 1; // count wildcard seps char **wildcards = new char*[maxfilters]; // parsed wildcards (can be several) int t; for ( t=0; t name=<%s> wildprefix=<%s> nwildcards=%d wildcards[n]=<%s>\n", //// *in, mode, name, wildprefix, nwildcards, wildcards[nwildcards]); switch (*in) { case ',': case '|': if ( mode == LCURLY_CHR ) { // create new wildcard, copy in prefix strcat(wildcards[nwildcards++], wildprefix); continue; } else { goto regchar; } continue; // FINISHED PARSING A NAME? case '\t': if ( mode != 'n' ) goto regchar; // finish parsing name? switch to wildcard mode mode = 'w'; break; // ESCAPE NEXT CHAR case '\\': ++in; goto regchar; // FINISHED PARSING ONE OF POSSIBLY SEVERAL FILTERS? case '\r': case '\n': case '\0': { if ( mode == 'w' ) { // finished parsing wildcard? if ( nwildcards == 0 ) { strcpy(wildcards[nwildcards++], wildprefix); } // Append wildcards in Microsoft's "*.one;*.two" format comp[0] = 0; for ( t=0; t 0 ) { chrcat(wildcards[nwildcards-1], *in); } continue; case 'n': chrcat(name, *in); continue; case 'w': chrcat(wildprefix, *in); for ( t=0; tnFilterIndex = i + 1; } // RETURN VALUE OF 'CURRENTLY SELECTED FILTER' int Fl_My_Native_File_Chooser::filter_value() const { return(_ofn_ptr->nFilterIndex ? _ofn_ptr->nFilterIndex-1 : _nfilters+1); } // PRESET FILENAME FOR 'SAVE AS' CHOOSER void Fl_My_Native_File_Chooser::preset_file(const char* val) { _preset_file = strfree(_preset_file); _preset_file = strnew(val); } // GET PRESET FILENAME FOR 'SAVE AS' CHOOSER const char* Fl_My_Native_File_Chooser::preset_file() const { return(_preset_file); } int Fl_My_Native_File_Chooser::filters() const { return(_nfilters); } static char *wchartoutf8(LPCWSTR in) { static char *out = NULL; static int lchar = 0; if (in == NULL)return NULL; int utf8len = WideCharToMultiByte(CP_UTF8, 0, in, -1, NULL, 0, NULL, NULL); if (utf8len > lchar) { lchar = utf8len; out = (char *)realloc(out, lchar * sizeof(char)); } WideCharToMultiByte(CP_UTF8, 0, in, -1, out, utf8len, NULL, NULL); return out; } static LPCWSTR utf8towchar(const char *in) { static WCHAR *wout = NULL; static int lwout = 0; if (in == NULL)return NULL; int wlen = MultiByteToWideChar(CP_UTF8, 0, in, -1, NULL, 0); if (wlen > lwout) { lwout = wlen; wout = (WCHAR *)realloc(wout, lwout * sizeof(WCHAR)); } MultiByteToWideChar(CP_UTF8, 0, in, -1, wout, wlen); return wout; } #endif /*!FL_DOXYGEN*/ // // End of "$Id$". // butt-0.1.26/src/FLTK/Fl_ILM216.h0000664000175000017500000000555713663226731012521 00000000000000// // "$Id: Fl_ILM216.h,v 1.5 2003/02/26 00:40:22 easysw Exp $" // // ILM-216 LCD emulation widget header file for flcdsim. // // Copyright 2003 by Michael Sweet. // // 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. // //modified by Daniel Noethen #ifndef FL_ILM216_H #define FL_ILM216_H // // Include necessary headers... // #include #include #include // // Backlight color... // #define FL_NOLIGHT (Fl_Color)76 #define FL_BACKLIGHT (Fl_Color)85 // // ILM-216 emulation widget... // class Fl_ILM216 : public Fl_Widget { public: enum { CURSOR_NONE = 0, CURSOR_UNDERLINE, CURSOR_BLINK }; private: bool backlight_; // Backlight enabled? uchar buttons_; // Current button state uchar chars_[32]; // Characters on-screen int cursor_pos_; // Cursor position bool cursor_state_; // Cursor state (blinking) int cursor_type_; // Cursor type Fl_Bitmap *font_[256]; // Images for characters Fl_Bitmap *outline_[256]; // Outline images for characters Fl_Pixmap *rec_; //blinks if recording Fl_Pixmap *rec_dark_; //blinks if recording Fl_Pixmap *rec_armed_; //blinks if recording Fl_Pixmap *conn_; //blinks if streaming Fl_Pixmap *conn_dark_; //blinks if streaming uchar fdata_[224][96]; // Bitmap data (20x32) uchar odata_[224][96]; // Outline data (20x32) uchar prev_char_; // Previous character void draw(void); void load_char(uchar ch, const uchar *data); void load_font(void); public: Fl_ILM216(int X, int Y, int W, int H, const char *L = 0); ~Fl_ILM216(void); virtual int handle(int); bool backlight() const { return backlight_; } void backlight(bool b) { backlight_ = b; redraw(); } uchar buttons() const { return buttons_; } void buttons(uchar b) { buttons_ = b; } void clear() { for (int i = 0; i < 32; i ++) chars_[i] = ' '; home(); redraw();} int cursor_pos() const { return cursor_pos_; } void cursor_pos(int p) { cursor_pos_ = p; } void home() { cursor_pos(0); } int print(const uchar *in, int inbytes); }; #endif // !Fl_ILM216_h // // End of "$Id: Fl_ILM216.h,v 1.5 2003/02/26 00:40:22 easysw Exp $". // butt-0.1.26/src/FLTK/FL/0000775000175000017500000000000013770656734011433 500000000000000butt-0.1.26/src/FLTK/FL/Fl_My_Double_Window.H0000664000175000017500000000444613663226731015312 00000000000000// // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef FL_MY_DOUBLE_WINDOW_H #define FL_MY_DOUBLE_WINDOW_H #include #include #ifdef WIN32 #include #elif __APPLE__ #import #else #include #endif class Fl_My_Double_Window : public Fl_Double_Window { public: void stay_on_top(int ontop) { #ifdef WIN32 SetWindowPos(fl_xid(this), ontop ? HWND_TOPMOST : HWND_NOTOPMOST, 0,0,0,0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOOWNERZORDER); #elif __APPLE__ if(ontop) [fl_xid(this) setLevel:NSFloatingWindowLevel]; else [fl_xid(this) setLevel:NSNormalWindowLevel]; #else //UNIX XEvent e; Atom WM_STATE = XInternAtom(fl_display, "_NET_WM_STATE", 0); Atom WM_STATE_ABOVE = XInternAtom(fl_display, "_NET_WM_STATE_ABOVE", 0); e.xclient.type = ClientMessage; e.xclient.window = fl_xid(this); e.xclient.message_type = WM_STATE; e.xclient.format = 32; e.xclient.data.l[0] = (long)ontop; e.xclient.data.l[1] = (long)WM_STATE_ABOVE; e.xclient.data.l[2] = (long)0; e.xclient.data.l[3] = (long)0; e.xclient.data.l[4] = (long)0; XSendEvent(fl_display, RootWindow(fl_display, fl_screen), 0, SubstructureNotifyMask|SubstructureRedirectMask, &e); XFlush(fl_display); #endif } Fl_My_Double_Window(int W, int H, const char *l = 0) : Fl_Double_Window(W,H,l) {} Fl_My_Double_Window(int X, int Y, int W, int H, const char *l = 0) : Fl_Double_Window(X,Y,W,H,l) {} ~Fl_My_Double_Window() { hide(); } }; #endif //FL_MY_DOUBLE_WINDOW_H butt-0.1.26/src/FLTK/FL/Fl_My_Value_Slider.H0000664000175000017500000000603413742356652015126 00000000000000// // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef FL_MY_VALUE_SLIDER #define FL_MY_VALUE_SLIDER #include #include #include #include #include #include #include #include #include // FLOATING TIP WINDOW class TipWin : public Fl_Menu_Window { char tip[40]; public: TipWin():Fl_Menu_Window(1,1) { // will autosize strcpy(tip, "X.XX"); set_override(); end(); } void draw(void) { draw_box(FL_BORDER_BOX, 0, 0, w(), h(), Fl_Color(175)); fl_color(FL_BLACK); fl_font(labelfont(), labelsize()); fl_draw(tip, 3, 3, w()-6, h()-6, Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_WRAP)); } void value(char* t) { strncpy(tip, t, sizeof(tip)-1); // Recalc size of window fl_font(labelfont(), labelsize()); int W = w(), H = h(); fl_measure(tip, W, H, 0); W += 8; size(W, H); redraw(); } }; // VALUE SLIDER WITH FLOATING TIP WINDOW class Fl_My_Value_Slider : public Fl_Slider { TipWin *tipwin; public: Fl_My_Value_Slider(int x,int y,int w,int h,const char*l=0):Fl_Slider(x,y,w,h,l) { // type(FL_HORIZONTAL); Fl_Group *save = Fl_Group::current(); // save current widget.. tipwin = new TipWin(); // ..because this trashes it tipwin->hide(); Fl_Group::current(save); // ..then back to previous. } void value_cb2(const char* suffix) { char tip[40]; snprintf(tip, sizeof(tip), "%.2f%s", value(), suffix); tipwin->value(tip); tipwin->position(Fl::event_x_root()+20, Fl::event_y_root()); } int handle(int e) { switch(e) { case FL_PUSH: if(Fl::event_clicks()) //move slider to zero when double clicking { this->value(0.0); this->do_callback(); this->parent()->redraw(); return 1; } tipwin->position(Fl::event_x_root(), Fl::event_y_root()+20); //tipwin->value(value()); tipwin->show(); break; case FL_HIDE: // valuator goes away case FL_RELEASE: // release mouse case FL_LEAVE: // leave focus // Make sure tipwin closes when app closes tipwin->hide(); break; } return(Fl_Slider::handle(e)); } }; #endif butt-0.1.26/src/FLTK/FL/Fl_My_Native_File_Chooser.H0000664000175000017500000002631013663226731016412 00000000000000// // "$Id$" // // FLTK native OS file chooser widget // // Copyright 1998-2014 by Bill Spitzak and others. // Copyright 2004 Greg Ercolano. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see the license at: // // http://www.fltk.org/COPYING.php // // Please report all bugs and problems on the following page: // // http://www.fltk.org/str.php // /** \file Fl_My_Native_File_Chooser widget. */ #ifndef FL_MY_NATIVE_FILE_CHOOSER_H #define FL_MY_NATIVE_FILE_CHOOSER_H // Use Windows' chooser #ifdef WIN32 // #define _WIN32_WINNT 0x0501 // needed for OPENFILENAME's 'FlagsEx' #if defined(FL_LIBRARY) || FLTK_ABI_VERSION < 10304 # include # include // OPENFILENAMEW, GetOpenFileName() # include // BROWSEINFOW, SHBrowseForFolder() typedef OPENFILENAMEW fl_OPENFILENAMEW; typedef BROWSEINFOW fl_BROWSEINFOW; #else typedef void fl_OPENFILENAMEW; typedef void fl_BROWSEINFOW; #endif #endif // Use Apple's chooser #ifdef __APPLE__ # define MAXFILTERS 80 #endif // All else falls back to FLTK's own chooser #if ! defined(__APPLE__) && !defined(WIN32) # include #else # include // FL_EXPORT #endif class Fl_FLTK_File_Chooser; class Fl_GTK_File_Chooser; /** This class lets an FLTK application easily and consistently access the operating system's native file chooser. Some operating systems have very complex and specific file choosers that many users want access to specifically, instead of FLTK's default file chooser(s). In cases where there is no native file browser, FLTK's own file browser is used instead. To use this widget, use the following include in your code: \code #include \endcode The following example shows how to pick a single file: \code // Create and post the local native file chooser #include [..] Fl_My_Native_File_Chooser fnfc; fnfc.title("Pick a file"); fnfc.type(Fl_My_Native_File_Chooser::BROWSE_FILE); fnfc.filter("Text\t*.txt\n" "C Files\t*.{cxx,h,c}"); fnfc.directory("/var/tmp"); // default directory to use // Show native chooser switch ( fnfc.show() ) { case -1: printf("ERROR: %s\n", fnfc.errmsg()); break; // ERROR case 1: printf("CANCEL\n"); break; // CANCEL default: printf("PICKED: %s\n", fnfc.filename()); break; // FILE CHOSEN } \endcode The Fl_My_Native_File_Chooser widget transmits UTF-8 encoded filenames to its user. It is recommended to open files that may have non-ASCII names with the fl_fopen() or fl_open() utility functions that handle these names in a cross-platform way (whereas the standard fopen()/open() functions fail on the MSWindows platform to open files with a non-ASCII name). Platform Specific Caveats - Under X windows, and if Fl::OPTION_FNFC_USES_GTK has not been switched off, the widget attempts to use standard GTK file chooser dialogs if they are available at run-time on the platform, and falls back to use FLTK's Fl_File_Chooser if they are not. In the latter case, it's best if you call Fl_File_Icon::load_system_icons() at the start of main(), to enable the nicer looking file browser widgets. Use the static public attributes of class Fl_File_Chooser to localize the browser. - Some operating systems support certain OS specific options; see Fl_My_Native_File_Chooser::options() for a list. \image html Fl_My_Native_File_Chooser.png "The Fl_My_Native_File_Chooser on different platforms." \image latex Fl_My_Native_File_Chooser.png "The Fl_My_Native_File_Chooser on different platforms" width=14cm */ class FL_EXPORT Fl_My_Native_File_Chooser { public: enum Type { BROWSE_FILE = 0, ///< browse files (lets user choose one file) BROWSE_DIRECTORY, ///< browse directories (lets user choose one directory) BROWSE_MULTI_FILE, ///< browse files (lets user choose multiple files) BROWSE_MULTI_DIRECTORY, ///< browse directories (lets user choose multiple directories) BROWSE_SAVE_FILE, ///< browse to save a file BROWSE_SAVE_DIRECTORY ///< browse to save a directory }; enum Option { NO_OPTIONS = 0x0000, ///< no options enabled SAVEAS_CONFIRM = 0x0001, ///< Show native 'Save As' overwrite confirm dialog NEW_FOLDER = 0x0002, ///< Show 'New Folder' icon (if supported) PREVIEW = 0x0004, ///< enable preview mode (if supported) USE_FILTER_EXT = 0x0008 ///< Chooser filter pilots the output file extension (if supported) }; /** Localizable message */ static const char *file_exists_message; public: Fl_My_Native_File_Chooser(int val=BROWSE_FILE); ~Fl_My_Native_File_Chooser(); // Public methods void type(int t); int type() const ; void options(int o); int options() const; int count() const; const char *filename() const ; const char *filename(int i) const ; void directory(const char *val) ; const char *directory() const; void title(const char *t); const char* title() const; const char *filter() const ; void filter(const char *f); int filters() const ; void filter_value(int i) ; int filter_value() const ; void preset_file(const char*f) ; const char* preset_file() const; const char *errmsg() const ; int show() ; #ifdef WIN32 private: int _btype; // kind-of browser to show() int _options; // general options #if FLTK_ABI_VERSION >= 10304 fl_OPENFILENAMEW *_ofn_ptr; // GetOpenFileName() & GetSaveFileName() struct fl_BROWSEINFOW *_binf_ptr; // SHBrowseForFolder() struct WCHAR *_wpattern; // pattern buffer for filter #else fl_OPENFILENAMEW _ofn; fl_BROWSEINFOW _binf; #endif char **_pathnames; // array of pathnames int _tpathnames; // total pathnames char *_directory; // default pathname to use char *_title; // title for window char *_filter; // user-side search filter char *_parsedfilt; // filter parsed for Windows dialog int _nfilters; // number of filters parse_filter counted char *_preset_file; // the file to preselect char *_errmsg; // error message // Private methods void errmsg(const char *msg); void clear_pathnames(); void set_single_pathname(const char *s); void add_pathname(const char *s); void ClearOFN(); void ClearBINF(); void Win2Unix(char *s); void Unix2Win(char *s); int showfile(); int showdir(); void parse_filter(const char *); void clear_filters(); void add_filter(const char *, const char *); #endif #ifdef __APPLE__ private: int _btype; // kind-of browser to show() int _options; // general options void *_panel; char **_pathnames; // array of pathnames int _tpathnames; // total pathnames char *_directory; // default pathname to use char *_title; // title for window char *_preset_file; // the 'save as' filename char *_filter; // user-side search filter, eg: // C Files\t*.[ch]\nText Files\t*.txt" char *_filt_names; // filter names (tab delimited) // eg. "C Files\tText Files" char *_filt_patt[MAXFILTERS]; // array of filter patterns, eg: // _filt_patt[0]="*.{cxx,h}" // _filt_patt[1]="*.txt" int _filt_total; // parse_filter() # of filters loaded int _filt_value; // index of the selected filter char *_errmsg; // error message // Private methods void errmsg(const char *msg); void clear_pathnames(); void set_single_pathname(const char *s); int get_saveas_basename(void); void clear_filters(); void add_filter(const char *, const char *); void parse_filter(const char *from); int post(); int runmodal(); #endif #if ! defined(__APPLE__) && !defined(WIN32) private: #if FLTK_ABI_VERSION <= 10302 int _btype; // kind-of browser to show() int _options; // general options int _nfilters; char *_filter; // user supplied filter char *_parsedfilt; // parsed filter int _filtvalue; // selected filter char *_preset_file; char *_prevvalue; // Returned filename char *_directory; char *_errmsg; // error message #endif static int have_looked_for_GTK_libs; union { Fl_FLTK_File_Chooser *_x11_file_chooser; Fl_GTK_File_Chooser *_gtk_file_chooser; }; #endif }; #if !defined(__APPLE__) && !defined(WIN32) class FL_EXPORT Fl_FLTK_File_Chooser { friend class Fl_My_Native_File_Chooser; protected: int _btype; // kind-of browser to show() int _options; // general options int _nfilters; char *_filter; // user supplied filter char *_parsedfilt; // parsed filter int _filtvalue; // selected filter char *_preset_file; char *_prevvalue; // Returned filename char *_directory; char *_errmsg; // error message Fl_FLTK_File_Chooser(int val); virtual ~Fl_FLTK_File_Chooser(); void errmsg(const char *msg); int type_fl_file(int); void parse_filter(); int exist_dialog(); Fl_File_Chooser *_file_chooser; virtual void type(int); int type() const; void options(int); int options() const; virtual int count() const; virtual const char *filename() const; virtual const char *filename(int i) const; void directory(const char *val); const char *directory() const; virtual void title(const char *); virtual const char* title() const; const char *filter() const; void filter(const char *); int filters() const; void filter_value(int i); int filter_value() const; void preset_file(const char*); const char* preset_file() const; const char *errmsg() const; virtual int show(); }; class FL_EXPORT Fl_GTK_File_Chooser : public Fl_FLTK_File_Chooser { friend class Fl_My_Native_File_Chooser; private: typedef struct _GtkWidget GtkWidget; typedef struct _GtkFileFilterInfo GtkFileFilterInfo; struct pair { Fl_GTK_File_Chooser* running; // the running Fl_GTK_File_Chooser const char *filter; // a filter string of the chooser pair(Fl_GTK_File_Chooser* c, const char *f) { running = c; filter = strdup(f); }; ~pair() { free((char*)filter); }; }; GtkWidget *gtkw_ptr; // used to hold a GtkWidget* without pulling GTK into everything... void *gtkw_slist; // used to hold a GLib GSList... unsigned gtkw_count; // number of files read back - if any mutable char *gtkw_filename; // last name we read back char *gtkw_title; // the title to be applied to the dialog const char *previous_filter; int fl_gtk_chooser_wrapper(); // method that wraps the GTK widget Fl_GTK_File_Chooser(int val); virtual ~Fl_GTK_File_Chooser(); static int did_find_GTK_libs; static void probe_for_GTK_libs(void); virtual void type(int); virtual int count() const; virtual const char *filename() const; virtual const char *filename(int i) const; virtual void title(const char *); virtual const char* title() const; virtual int show(); void changed_output_type(const char *filter); static int custom_gtk_filter_function(const GtkFileFilterInfo*, Fl_GTK_File_Chooser::pair*); static void free_pair(pair *p); }; #endif // !defined(__APPLE__) && !defined(WIN32) #endif /*FL_NATIVE_FILE_CHOOSER_H*/ // // End of "$Id$". // butt-0.1.26/src/FLTK/Fl_vu_meter.cpp0000664000175000017500000001062313742356652014022 00000000000000#include #include #include #include #include #include #include #include "Fl_vu_meter.h" VUMeter::VUMeter(int X, int Y, int W, int H, const char*L) : Fl_Group(X,Y,W,H,L) { channel_height = 13; max_value = 0; min_value = -54.0; left_dB = -90; right_dB = -90; left_peak_dB = -90; right_peak_dB = -90; bg_color = color(); width = w(); height = h(); x_origin = x(); y_origin = y(); left_chan_y1 = y_origin; left_chan_y2 = left_chan_y1 + channel_height-1; right_chan_y1 = y_origin+height-channel_height; right_chan_y2 = right_chan_y1 + channel_height-1; tick_distance_dB = 6; num_of_ticks = (0-min_value)/tick_distance_dB; tick_distance_px = width/num_of_ticks; } void VUMeter::value(float left, float right, float left_peak, float right_peak) { left_dB = left; right_dB = right; left_peak_dB = left_peak; right_peak_dB = right_peak; redraw(); } int VUMeter::dB_to_xpos(float dB) { float dB_span = max_value-min_value; int xpos = (int) (x_origin + width/dB_span*(dB_span-abs(dB))); if (xpos < x_origin) xpos = x_origin; return xpos; } void VUMeter::draw() { Fl_Group::draw(); float offset = abs(min_value); float left_vol = (left_dB+offset)/offset*width; float right_vol = (right_dB+offset)/offset*width; int x1; double red, green, blue, gradient; // Clear whole widget area fl_rectf(x_origin, y_origin, width, height, bg_color); for (int x_pos = 0; x_pos <= width-2; x_pos+=2) { x1 = x_origin + x_pos; //fl_color(bg_color); if (left_vol > x_pos) { if (x_pos < width/1.5) gradient = 0; // Green else gradient = (4.0/(width/1.5))*x_pos - 4.0; Fl_Color_Chooser::hsv2rgb(2-gradient, 1, 0.8, red, green, blue); fl_color(fl_rgb_color((uchar)(255*red), (uchar)(255*green), (uchar)(255*blue))); fl_line(x1, left_chan_y1, x1, left_chan_y2); } //fl_color(bg_color); if (right_vol > x_pos) { if (x_pos < width/1.5) gradient = 0; // Green else gradient = (4.0/(width/1.5))*x_pos - 4.0; Fl_Color_Chooser::hsv2rgb(2-gradient, 1, 0.8, red, green, blue); fl_color(fl_rgb_color((uchar)(255*red), (uchar)(255*green), (uchar)(255*blue))); fl_line(x1, right_chan_y1, x1, right_chan_y2); } } int left_peak_pos, right_peak_pos; left_peak_pos = dB_to_xpos(left_peak_dB); right_peak_pos = dB_to_xpos(right_peak_dB); fl_color(FL_BLACK); if (left_peak_dB > left_dB) { fl_line(left_peak_pos, left_chan_y1, left_peak_pos, left_chan_y2); fl_line(left_peak_pos+1, left_chan_y1, left_peak_pos+1, left_chan_y2); } if (right_peak_dB > right_dB) { fl_line(right_peak_pos, right_chan_y1, right_peak_pos, right_chan_y2); fl_line(right_peak_pos+1, right_chan_y1, right_peak_pos+1, right_chan_y2); } fl_draw_box(FL_THIN_DOWN_FRAME, x_origin, left_chan_y1, width, channel_height, bg_color); fl_draw_box(FL_THIN_DOWN_FRAME, x_origin, right_chan_y1, width, channel_height, bg_color); fl_draw_box(FL_THIN_DOWN_FRAME, x_origin, y_origin, width, height, FL_DARK1); fl_color(FL_BLACK); fl_font(FL_HELVETICA, 10); #if defined(__APPLE__) fl_draw("L", x_origin-9, y_origin+8); fl_draw("R", x_origin-9, y_origin+height-3); #else fl_draw("L", x_origin-9, y_origin+9); fl_draw("R", x_origin-9, y_origin+height-2); #endif int tick_pos; char dB_val[4]; fl_font(FL_HELVETICA, 9); #if defined(__APPLE__) fl_draw("dB", x_origin-13, y_origin+height/2 + 2); #else fl_draw("dB", x_origin-13, y_origin+height/2 + 3); #endif for (int n = 1; n <= num_of_ticks; n++) { tick_pos = x_origin + n*tick_distance_px; fl_line(tick_pos, y_origin, tick_pos, y_origin+3); fl_line(tick_pos, y_origin+height-1, tick_pos, y_origin+height-4); snprintf(dB_val, sizeof(dB_val), "%d", (int)min_value + n*tick_distance_dB); #if defined(__APPLE__) fl_draw(dB_val, tick_pos-5, y_origin+height/2 + 2); #else fl_draw(dB_val, tick_pos-5, y_origin+height/2 + 3); #endif } } butt-0.1.26/src/FLTK/flgui.h0000664000175000017500000004676713770344616012346 00000000000000// generated by Fast Light User Interface Designer (fluid) version 1.0305 #ifndef flgui_h #define flgui_h #include #include "FL/Fl_My_Double_Window.H" #include #include "config.h" #include "flgui.h" #include "fl_timer_funcs.h" #include #include "Fl_ILM216.h" #include "fl_callbacks.h" #include "cfg.h" #include #include "Fl_vu_meter.h" #include #include #include "FL/Fl_My_Value_Slider.H" #include #include #include #include #include #include #include #include #include class flgui { public: bool info_visible; Fl_Text_Buffer *info_buffer; flgui(); Fl_My_Double_Window *window_main; private: inline void cb_window_main_i(Fl_My_Double_Window*, void*); static void cb_window_main(Fl_My_Double_Window*, void*); public: Fl_ILM216 *lcd; private: inline void cb_lcd_i(Fl_ILM216*, void*); static void cb_lcd(Fl_ILM216*, void*); public: Fl_Button *button_connect; private: inline void cb_button_connect_i(Fl_Button*, void*); static void cb_button_connect(Fl_Button*, void*); Fl_Button *button_disconnect; inline void cb_button_disconnect_i(Fl_Button*, void*); static void cb_button_disconnect(Fl_Button*, void*); Fl_Button *button_record; inline void cb_button_record_i(Fl_Button*, void*); static void cb_button_record(Fl_Button*, void*); public: Fl_Button *button_info; private: inline void cb_button_info_i(Fl_Button*, void*); static void cb_button_info(Fl_Button*, void*); public: VUMeter *vumeter; Fl_Text_Display *info_output; Fl_Button *button_cfg; private: inline void cb_button_cfg_i(Fl_Button*, void*); static void cb_button_cfg(Fl_Button*, void*); public: Fl_My_Value_Slider *slider_gain; private: inline void cb_slider_gain_i(Fl_My_Value_Slider*, void*); static void cb_slider_gain(Fl_My_Value_Slider*, void*); public: Fl_My_Double_Window *window_cfg; private: inline void cb_window_cfg_i(Fl_My_Double_Window*, void*); static void cb_window_cfg(Fl_My_Double_Window*, void*); public: Fl_Tabs *Settings; Fl_Choice *choice_cfg_act_srv; private: inline void cb_choice_cfg_act_srv_i(Fl_Choice*, void*); static void cb_choice_cfg_act_srv(Fl_Choice*, void*); inline void cb_ADD_i(Fl_Button*, void*); static void cb_ADD(Fl_Button*, void*); public: Fl_Button *button_cfg_edit_srv; private: inline void cb_button_cfg_edit_srv_i(Fl_Button*, void*); static void cb_button_cfg_edit_srv(Fl_Button*, void*); public: Fl_Button *button_cfg_del_srv; private: inline void cb_button_cfg_del_srv_i(Fl_Button*, void*); static void cb_button_cfg_del_srv(Fl_Button*, void*); public: Fl_Choice *choice_cfg_act_icy; private: inline void cb_choice_cfg_act_icy_i(Fl_Choice*, void*); static void cb_choice_cfg_act_icy(Fl_Choice*, void*); inline void cb_ADD1_i(Fl_Button*, void*); static void cb_ADD1(Fl_Button*, void*); public: Fl_Button *button_cfg_edit_icy; private: inline void cb_button_cfg_edit_icy_i(Fl_Button*, void*); static void cb_button_cfg_edit_icy(Fl_Button*, void*); public: Fl_Button *button_cfg_del_icy; private: inline void cb_button_cfg_del_icy_i(Fl_Button*, void*); static void cb_button_cfg_del_icy(Fl_Button*, void*); public: Fl_Input *input_log_filename; private: inline void cb_input_log_filename_i(Fl_Input*, void*); static void cb_input_log_filename(Fl_Input*, void*); inline void cb__i(Fl_Button*, void*); static void cb_(Fl_Button*, void*); inline void cb_Import_i(Fl_Button*, void*); static void cb_Import(Fl_Button*, void*); inline void cb_Save_i(Fl_Button*, void*); static void cb_Save(Fl_Button*, void*); inline void cb_Export_i(Fl_Button*, void*); static void cb_Export(Fl_Button*, void*); inline void cb_Check_i(Fl_Button*, void*); static void cb_Check(Fl_Button*, void*); public: Fl_Check_Button *check_update_at_startup; private: inline void cb_check_update_at_startup_i(Fl_Check_Button*, void*); static void cb_check_update_at_startup(Fl_Check_Button*, void*); public: Fl_Choice *choice_cfg_dev; private: inline void cb_choice_cfg_dev_i(Fl_Choice*, void*); static void cb_choice_cfg_dev(Fl_Choice*, void*); public: Fl_Choice *choice_cfg_channel; static unsigned char menu_choice_cfg_channel_i18n_done; static Fl_Menu_Item menu_choice_cfg_channel[]; private: inline void cb_Stereo_i(Fl_Menu_*, void*); static void cb_Stereo(Fl_Menu_*, void*); inline void cb_Mono_i(Fl_Menu_*, void*); static void cb_Mono(Fl_Menu_*, void*); public: Fl_Choice *choice_cfg_samplerate; private: inline void cb_choice_cfg_samplerate_i(Fl_Choice*, void*); static void cb_choice_cfg_samplerate(Fl_Choice*, void*); public: Fl_Choice *choice_cfg_left_channel; private: inline void cb_choice_cfg_left_channel_i(Fl_Choice*, void*); static void cb_choice_cfg_left_channel(Fl_Choice*, void*); public: Fl_Choice *choice_cfg_right_channel; private: inline void cb_choice_cfg_right_channel_i(Fl_Choice*, void*); static void cb_choice_cfg_right_channel(Fl_Choice*, void*); public: Fl_Choice *choice_cfg_codec; static unsigned char menu_choice_cfg_codec_i18n_done; static Fl_Menu_Item menu_choice_cfg_codec[]; private: inline void cb_MP3_i(Fl_Menu_*, void*); static void cb_MP3(Fl_Menu_*, void*); inline void cb_OGG_i(Fl_Menu_*, void*); static void cb_OGG(Fl_Menu_*, void*); inline void cb_OPUS_i(Fl_Menu_*, void*); static void cb_OPUS(Fl_Menu_*, void*); public: static Fl_Menu_Item *menu_item_cfg_aac; private: inline void cb_menu_item_cfg_aac_i(Fl_Menu_*, void*); static void cb_menu_item_cfg_aac(Fl_Menu_*, void*); inline void cb_FLAC_i(Fl_Menu_*, void*); static void cb_FLAC(Fl_Menu_*, void*); public: Fl_Choice *choice_cfg_bitrate; private: inline void cb_choice_cfg_bitrate_i(Fl_Choice*, void*); static void cb_choice_cfg_bitrate(Fl_Choice*, void*); static unsigned char menu_choice_cfg_bitrate_i18n_done; static Fl_Menu_Item menu_choice_cfg_bitrate[]; public: Fl_Check_Button *check_cfg_mono_to_stereo; private: inline void cb_check_cfg_mono_to_stereo_i(Fl_Check_Button*, void*); static void cb_check_cfg_mono_to_stereo(Fl_Check_Button*, void*); public: Fl_Choice *choice_rec_codec; static unsigned char menu_choice_rec_codec_i18n_done; static Fl_Menu_Item menu_choice_rec_codec[]; private: inline void cb_MP31_i(Fl_Menu_*, void*); static void cb_MP31(Fl_Menu_*, void*); inline void cb_OGG1_i(Fl_Menu_*, void*); static void cb_OGG1(Fl_Menu_*, void*); inline void cb_OPUS1_i(Fl_Menu_*, void*); static void cb_OPUS1(Fl_Menu_*, void*); public: static Fl_Menu_Item *menu_item_rec_aac; private: inline void cb_menu_item_rec_aac_i(Fl_Menu_*, void*); static void cb_menu_item_rec_aac(Fl_Menu_*, void*); inline void cb_FLAC1_i(Fl_Menu_*, void*); static void cb_FLAC1(Fl_Menu_*, void*); inline void cb_WAV_i(Fl_Menu_*, void*); static void cb_WAV(Fl_Menu_*, void*); public: Fl_Choice *choice_rec_bitrate; private: inline void cb_choice_rec_bitrate_i(Fl_Choice*, void*); static void cb_choice_rec_bitrate(Fl_Choice*, void*); static unsigned char menu_choice_rec_bitrate_i18n_done; static Fl_Menu_Item menu_choice_rec_bitrate[]; public: Fl_Button *button_advanced; private: inline void cb_button_advanced_i(Fl_Button*, void*); static void cb_button_advanced(Fl_Button*, void*); public: Fl_Value_Input *input_cfg_buffer; private: inline void cb_input_cfg_buffer_i(Fl_Value_Input*, void*); static void cb_input_cfg_buffer(Fl_Value_Input*, void*); public: Fl_Choice *choice_cfg_resample_mode; private: inline void cb_choice_cfg_resample_mode_i(Fl_Choice*, void*); static void cb_choice_cfg_resample_mode(Fl_Choice*, void*); static unsigned char menu_choice_cfg_resample_mode_i18n_done; static Fl_Menu_Item menu_choice_cfg_resample_mode[]; public: Fl_Value_Input *input_cfg_present_level; private: inline void cb_input_cfg_present_level_i(Fl_Value_Input*, void*); static void cb_input_cfg_present_level(Fl_Value_Input*, void*); public: Fl_Value_Input *input_cfg_absent_level; private: inline void cb_input_cfg_absent_level_i(Fl_Value_Input*, void*); static void cb_input_cfg_absent_level(Fl_Value_Input*, void*); public: Fl_Input *input_cfg_song_file; private: inline void cb_input_cfg_song_file_i(Fl_Input*, void*); static void cb_input_cfg_song_file(Fl_Input*, void*); public: Fl_Button *button_songfile_browse; private: inline void cb_button_songfile_browse_i(Fl_Button*, void*); static void cb_button_songfile_browse(Fl_Button*, void*); public: Fl_Check_Button *check_song_update_active; private: inline void cb_check_song_update_active_i(Fl_Check_Button*, void*); static void cb_check_song_update_active(Fl_Check_Button*, void*); public: Fl_Check_Button *check_read_last_line; private: inline void cb_check_read_last_line_i(Fl_Check_Button*, void*); static void cb_check_read_last_line(Fl_Check_Button*, void*); public: Fl_Input *input_cfg_song; private: inline void cb_input_cfg_song_i(Fl_Input*, void*); static void cb_input_cfg_song(Fl_Input*, void*); inline void cb_OK_i(Fl_Button*, void*); static void cb_OK(Fl_Button*, void*); public: Fl_Check_Button *check_cfg_use_app; private: inline void cb_check_cfg_use_app_i(Fl_Check_Button*, void*); static void cb_check_cfg_use_app(Fl_Check_Button*, void*); public: Fl_Choice *choice_cfg_app; private: inline void cb_choice_cfg_app_i(Fl_Choice*, void*); static void cb_choice_cfg_app(Fl_Choice*, void*); public: Fl_Check_Button *check_cfg_connect; private: inline void cb_check_cfg_connect_i(Fl_Check_Button*, void*); static void cb_check_cfg_connect(Fl_Check_Button*, void*); public: Fl_Value_Input *input_cfg_silence; private: inline void cb_input_cfg_silence_i(Fl_Value_Input*, void*); static void cb_input_cfg_silence(Fl_Value_Input*, void*); public: Fl_Value_Input *input_cfg_signal; private: inline void cb_input_cfg_signal_i(Fl_Value_Input*, void*); static void cb_input_cfg_signal(Fl_Value_Input*, void*); public: Fl_Check_Button *check_cfg_force_reconnecting; private: inline void cb_check_cfg_force_reconnecting_i(Fl_Check_Button*, void*); static void cb_check_cfg_force_reconnecting(Fl_Check_Button*, void*); public: Fl_Input *input_cfg_song_prefix; private: inline void cb_input_cfg_song_prefix_i(Fl_Input*, void*); static void cb_input_cfg_song_prefix(Fl_Input*, void*); public: Fl_Input *input_cfg_song_suffix; private: inline void cb_input_cfg_song_suffix_i(Fl_Input*, void*); static void cb_input_cfg_song_suffix(Fl_Input*, void*); public: Fl_Input *input_rec_filename; private: inline void cb_input_rec_filename_i(Fl_Input*, void*); static void cb_input_rec_filename(Fl_Input*, void*); public: Fl_Input *input_rec_folder; private: inline void cb_input_rec_folder_i(Fl_Input*, void*); static void cb_input_rec_folder(Fl_Input*, void*); public: Fl_Button *button_rec_browse; private: inline void cb_button_rec_browse_i(Fl_Button*, void*); static void cb_button_rec_browse(Fl_Button*, void*); public: Fl_Value_Input *input_rec_split_time; private: inline void cb_input_rec_split_time_i(Fl_Value_Input*, void*); static void cb_input_rec_split_time(Fl_Value_Input*, void*); public: Fl_Box *text_rec_split_time; Fl_Check_Button *check_sync_to_full_hour; private: inline void cb_check_sync_to_full_hour_i(Fl_Check_Button*, void*); static void cb_check_sync_to_full_hour(Fl_Check_Button*, void*); inline void cb_Split_i(Fl_Button*, void*); static void cb_Split(Fl_Button*, void*); public: Fl_Check_Button *check_cfg_auto_start_rec; private: inline void cb_check_cfg_auto_start_rec_i(Fl_Check_Button*, void*); static void cb_check_cfg_auto_start_rec(Fl_Check_Button*, void*); public: Fl_Check_Button *check_cfg_rec_after_launch; private: inline void cb_check_cfg_rec_after_launch_i(Fl_Check_Button*, void*); static void cb_check_cfg_rec_after_launch(Fl_Check_Button*, void*); public: Fl_Value_Input *input_rec_signal; private: inline void cb_input_rec_signal_i(Fl_Value_Input*, void*); static void cb_input_rec_signal(Fl_Value_Input*, void*); public: Fl_Check_Button *check_cfg_auto_stop_rec; private: inline void cb_check_cfg_auto_stop_rec_i(Fl_Check_Button*, void*); static void cb_check_cfg_auto_stop_rec(Fl_Check_Button*, void*); public: Fl_Value_Input *input_rec_silence; private: inline void cb_input_rec_silence_i(Fl_Value_Input*, void*); static void cb_input_rec_silence(Fl_Value_Input*, void*); public: Fl_Input *input_tls_cert_file; private: inline void cb_input_tls_cert_file_i(Fl_Input*, void*); static void cb_input_tls_cert_file(Fl_Input*, void*); public: Fl_Input *input_tls_cert_dir; private: inline void cb_input_tls_cert_dir_i(Fl_Input*, void*); static void cb_input_tls_cert_dir(Fl_Input*, void*); public: Fl_Button *button_tls_browse_dir; private: inline void cb_button_tls_browse_dir_i(Fl_Button*, void*); static void cb_button_tls_browse_dir(Fl_Button*, void*); public: Fl_Button *button_tls_browse_file; private: inline void cb_button_tls_browse_file_i(Fl_Button*, void*); static void cb_button_tls_browse_file(Fl_Button*, void*); public: Fl_Check_Button *check_activate_eq; private: inline void cb_check_activate_eq_i(Fl_Check_Button*, void*); static void cb_check_activate_eq(Fl_Check_Button*, void*); public: Fl_My_Value_Slider *equalizerSlider1; private: inline void cb_equalizerSlider1_i(Fl_My_Value_Slider*, void*); static void cb_equalizerSlider1(Fl_My_Value_Slider*, void*); public: Fl_My_Value_Slider *equalizerSlider2; private: inline void cb_equalizerSlider2_i(Fl_My_Value_Slider*, void*); static void cb_equalizerSlider2(Fl_My_Value_Slider*, void*); public: Fl_My_Value_Slider *equalizerSlider3; private: inline void cb_equalizerSlider3_i(Fl_My_Value_Slider*, void*); static void cb_equalizerSlider3(Fl_My_Value_Slider*, void*); public: Fl_My_Value_Slider *equalizerSlider4; private: inline void cb_equalizerSlider4_i(Fl_My_Value_Slider*, void*); static void cb_equalizerSlider4(Fl_My_Value_Slider*, void*); public: Fl_My_Value_Slider *equalizerSlider5; private: inline void cb_equalizerSlider5_i(Fl_My_Value_Slider*, void*); static void cb_equalizerSlider5(Fl_My_Value_Slider*, void*); public: Fl_Text_Display *equalizerGain1; Fl_Text_Display *equalizerGain2; Fl_Text_Display *equalizerGain3; Fl_Text_Display *equalizerGain4; Fl_Text_Display *equalizerGain5; private: inline void cb_Reset_i(Fl_Button*, void*); static void cb_Reset(Fl_Button*, void*); public: Fl_Check_Button *check_activate_drc; private: inline void cb_check_activate_drc_i(Fl_Check_Button*, void*); static void cb_check_activate_drc(Fl_Check_Button*, void*); public: Fl_My_Value_Slider *thresholdSlider; private: inline void cb_thresholdSlider_i(Fl_My_Value_Slider*, void*); static void cb_thresholdSlider(Fl_My_Value_Slider*, void*); public: Fl_My_Value_Slider *ratioSlider; private: inline void cb_ratioSlider_i(Fl_My_Value_Slider*, void*); static void cb_ratioSlider(Fl_My_Value_Slider*, void*); public: Fl_My_Value_Slider *attackSlider; private: inline void cb_attackSlider_i(Fl_My_Value_Slider*, void*); static void cb_attackSlider(Fl_My_Value_Slider*, void*); public: Fl_My_Value_Slider *releaseSlider; private: inline void cb_releaseSlider_i(Fl_My_Value_Slider*, void*); static void cb_releaseSlider(Fl_My_Value_Slider*, void*); public: Fl_Text_Display *threshold; Fl_Text_Display *ratio; Fl_Text_Display *attack; Fl_Text_Display *release; private: inline void cb_Reset1_i(Fl_Button*, void*); static void cb_Reset1(Fl_Button*, void*); public: Fl_My_Value_Slider *makeupSlider; private: inline void cb_makeupSlider_i(Fl_My_Value_Slider*, void*); static void cb_makeupSlider(Fl_My_Value_Slider*, void*); public: Fl_Text_Display *makeup; Fl_Button *button_gui_text_color; private: inline void cb_button_gui_text_color_i(Fl_Button*, void*); static void cb_button_gui_text_color(Fl_Button*, void*); public: Fl_Button *button_gui_bg_color; private: inline void cb_button_gui_bg_color_i(Fl_Button*, void*); static void cb_button_gui_bg_color(Fl_Button*, void*); public: Fl_Check_Button *check_gui_attach; private: inline void cb_check_gui_attach_i(Fl_Check_Button*, void*); static void cb_check_gui_attach(Fl_Check_Button*, void*); public: Fl_Check_Button *check_gui_ontop; private: inline void cb_check_gui_ontop_i(Fl_Check_Button*, void*); static void cb_check_gui_ontop(Fl_Check_Button*, void*); public: Fl_Check_Button *check_gui_lcd_auto; private: inline void cb_check_gui_lcd_auto_i(Fl_Check_Button*, void*); static void cb_check_gui_lcd_auto(Fl_Check_Button*, void*); public: Fl_Check_Button *check_gui_hide_log_window; private: inline void cb_check_gui_hide_log_window_i(Fl_Check_Button*, void*); static void cb_check_gui_hide_log_window(Fl_Check_Button*, void*); public: Fl_Check_Button *check_gui_remember_pos; private: inline void cb_check_gui_remember_pos_i(Fl_Check_Button*, void*); static void cb_check_gui_remember_pos(Fl_Check_Button*, void*); public: Fl_Choice *choice_gui_language; private: inline void cb_choice_gui_language_i(Fl_Choice*, void*); static void cb_choice_gui_language(Fl_Choice*, void*); static unsigned char menu_choice_gui_language_i18n_done; static Fl_Menu_Item menu_choice_gui_language[]; inline void cb_Donate_i(Fl_Button*, void*); static void cb_Donate(Fl_Button*, void*); inline void cb_Become_i(Fl_Button*, void*); static void cb_Become(Fl_Button*, void*); public: Fl_Double_Window *window_add_srv; Fl_Input *input_add_srv_name; Fl_Input *input_add_srv_addr; Fl_Int_Input *input_add_srv_port; Fl_Input *input_add_srv_pwd; Fl_Input *input_add_srv_mount; Fl_Input *input_add_srv_usr; Fl_Round_Button *radio_add_srv_shoutcast; private: inline void cb_radio_add_srv_shoutcast_i(Fl_Round_Button*, void*); static void cb_radio_add_srv_shoutcast(Fl_Round_Button*, void*); public: Fl_Round_Button *radio_add_srv_icecast; private: inline void cb_radio_add_srv_icecast_i(Fl_Round_Button*, void*); static void cb_radio_add_srv_icecast(Fl_Round_Button*, void*); inline void cb_Cancel_i(Fl_Button*, void*); static void cb_Cancel(Fl_Button*, void*); public: Fl_Button *button_add_srv_add; private: inline void cb_button_add_srv_add_i(Fl_Button*, void*); static void cb_button_add_srv_add(Fl_Button*, void*); public: Fl_Button *button_add_srv_save; private: inline void cb_button_add_srv_save_i(Fl_Button*, void*); static void cb_button_add_srv_save(Fl_Button*, void*); public: Fl_Button *button_cfg_show_pw; private: inline void cb_button_cfg_show_pw_i(Fl_Button*, void*); static void cb_button_cfg_show_pw(Fl_Button*, void*); public: Fl_Group *frame_add_srv_tls; Fl_Check_Button *check_add_srv_tls; Fl_Button *button_add_srv_revoke_cert; private: inline void cb_button_add_srv_revoke_cert_i(Fl_Button*, void*); static void cb_button_add_srv_revoke_cert(Fl_Button*, void*); public: Fl_Double_Window *window_add_icy; Fl_Input *input_add_icy_name; Fl_Input *input_add_icy_desc; Fl_Input *input_add_icy_genre; Fl_Input *input_add_icy_url; Fl_Input *input_add_icy_icq; Fl_Input *input_add_icy_irc; Fl_Input *input_add_icy_aim; Fl_Check_Button *check_add_icy_pub; private: inline void cb_Cancel1_i(Fl_Button*, void*); static void cb_Cancel1(Fl_Button*, void*); public: Fl_Button *button_add_icy_add; private: inline void cb_button_add_icy_add_i(Fl_Button*, void*); static void cb_button_add_icy_add(Fl_Button*, void*); public: Fl_Button *button_add_icy_save; private: inline void cb_button_add_icy_save_i(Fl_Button*, void*); static void cb_button_add_icy_save(Fl_Button*, void*); public: ~flgui(); }; #endif butt-0.1.26/src/FLTK/flgui.fl0000664000175000017500000012350313770210655012473 00000000000000# data file for the Fltk User Interface Designer (fluid) version 1.0304 i18n_type 1 i18n_include "../../gettext.h" i18n_function gettext header_name {.h} code_name {.cpp} class flgui {open } { decl {bool info_visible;} {public local } decl {Fl_Text_Buffer *info_buffer;} {public local } Function {flgui()} {open } { Fl_Window window_main { callback {window_main_close_cb();} xywh {646 180 430 380} type Double code0 {\#include "FL/Fl_My_Double_Window.H"} code1 {\#include \#include "config.h"} code2 {\#include "flgui.h" \#include "fl_timer_funcs.h"} code3 {window_main->size_range(430, 155, 430);} class Fl_My_Double_Window visible } { Fl_Group {} {open private xywh {0 -1 430 426} } { Fl_Box lcd { callback {ILM216_cb();} tooltip {press left mouse to toggle lcd info} xywh {10 9 410 95} box ENGRAVED_BOX color 15 selection_color 41 code0 {\#include "Fl_ILM216.h"} code1 {\#include "fl_callbacks.h"} code3 {\#include "cfg.h"} class Fl_ILM216 } Fl_Button button_connect { label {@> } callback {button_connect_cb();} tooltip {connect to server} xywh {102 121 30 30} box ENGRAVED_BOX down_box ENGRAVED_BOX shortcut 0x40063 color 48 selection_color 40 labelfont 1 labelcolor 7 } Fl_Button button_disconnect { label {@-3square} callback {button_disconnect_cb();} private tooltip {disconnect from server} xywh {62 121 30 30} box ENGRAVED_BOX down_box ENGRAVED_BOX shortcut 0x40064 color 48 selection_color 40 labelfont 1 labelcolor 7 } Fl_Button button_record { label {@-3circle} callback {button_record_cb();} private tooltip {start/stop recording} xywh {10 121 30 30} box ENGRAVED_BOX down_box ENGRAVED_BOX shortcut 0x40072 color 48 selection_color 40 labelfont 1 labelcolor 1 } Fl_Button button_info { label {Show log} callback {button_info_cb();} tooltip {show/hide info window} xywh {340 143 80 15} box ENGRAVED_BOX shortcut 0x40076 color 48 labelsize 10 } Fl_Group vumeter {open xywh {156 115 174 43} box BORDER_BOX code0 {\#include "Fl_vu_meter.h"} class VUMeter } {} } Fl_Text_Display info_output { xywh {0 195 430 184} box EMBOSSED_BOX textfont 4 textsize 15 } Fl_Button button_cfg { label Settings callback {button_cfg_cb();} tooltip {show/hide config window} xywh {340 114 80 22} box ENGRAVED_BOX shortcut 0x40066 color 48 labelsize 11 } Fl_Box {} { label {-24 dB} xywh {10 167 30 16} labelsize 10 } Fl_Slider slider_gain { callback {slider_gain_cb();} tooltip Gain xywh {50 168 335 15} type {Horz Knob} box NO_BOX minimum -24 maximum 24 step 0.1 code0 {\#include "FL/Fl_My_Value_Slider.H"} class Fl_My_Value_Slider } Fl_Box {} { label {+24 dB} xywh {390 167 30 16} labelsize 10 } } Fl_Window window_cfg { label {butt settings} callback {window_cfg->hide(); button_cfg->label("Settings@>");} open xywh {536 348 400 550} type Double code0 {\#include "FL/Fl_My_Double_Window.H"} class Fl_My_Double_Window size_range {400 550 400 550} visible } { Fl_Tabs Settings {open xywh {0 0 406 560} selection_color 41 } { Fl_Group {} { label Main open xywh {0 20 400 530} when 6 } { Fl_Group {} { label {Server Settings} open xywh {37 55 326 155} box ENGRAVED_FRAME align 5 } { Fl_Choice choice_cfg_act_srv { label Server callback {choice_cfg_act_srv_cb();} open tooltip {Server to connect to} xywh {45 75 310 20} down_box BORDER_BOX align 5 } {} Fl_Button {} { label ADD callback {button_cfg_add_srv_cb();} selected tooltip {Add server} xywh {45 100 43 20} box ENGRAVED_BOX } Fl_Button button_cfg_edit_srv { label EDIT callback {button_cfg_edit_srv_cb();} tooltip {Edit selected server} xywh {178 100 43 20} box ENGRAVED_BOX } Fl_Button button_cfg_del_srv { label DEL callback {button_cfg_del_srv_cb();} tooltip {Delete selected server} xywh {312 100 43 20} box ENGRAVED_BOX } Fl_Choice choice_cfg_act_icy { label {Stream Infos} callback {choice_cfg_act_icy_cb();} open tooltip {Stream info that shall be used} xywh {45 155 310 20} down_box BORDER_BOX align 5 } {} Fl_Button {} { label ADD callback {button_cfg_add_icy_cb();} tooltip {Add stream info} xywh {45 180 43 20} box ENGRAVED_BOX } Fl_Button button_cfg_edit_icy { label EDIT callback {button_cfg_edit_icy_cb();} tooltip {Edit stream info} xywh {178 180 43 20} box ENGRAVED_BOX } Fl_Button button_cfg_del_icy { label DEL callback {button_cfg_del_icy_cb();} tooltip {Delete stream info} xywh {312 180 43 20} box ENGRAVED_BOX } } Fl_Group {} { label {Log File} open xywh {37 237 326 40} box ENGRAVED_FRAME align 5 } { Fl_Input input_log_filename { callback {input_log_filename_cb();} tooltip {Log file path} xywh {45 245 280 25} align 5 } Fl_Button {} { callback {button_cfg_log_browse_cb();} tooltip {Select log file} image {../xpm/folder.png} xywh {331 245 25 25} box ENGRAVED_BOX } } Fl_Group {} { label Configuration open xywh {37 304 326 50} box ENGRAVED_FRAME align 5 } { Fl_Button {} { label {Import...} callback {button_cfg_import_cb();} tooltip {Import settings from config file} xywh {45 315 70 28} box ENGRAVED_BOX } Fl_Button {} { label {&Save} callback {cfg_write_file(NULL);} tooltip {Save settings} xywh {153 315 95 28} box ENGRAVED_BOX } Fl_Button {} { label {Export...} callback {button_cfg_export_cb();} tooltip {export settings} xywh {285 315 70 28} box ENGRAVED_BOX } } Fl_Group {} { label Updates open xywh {37 383 326 50} box ENGRAVED_FRAME align 5 } { Fl_Button {} { label {Check now} callback {button_cfg_check_for_updates_cb();} tooltip {Check if a new version is available} xywh {250 395 105 28} box ENGRAVED_BOX } Fl_Check_Button check_update_at_startup { label {Check at startup} callback {check_update_at_startup_cb();} tooltip {Check for updates at start} xywh {45 402 145 15} down_box DOWN_BOX } } } Fl_Group {} { label Audio open xywh {0 20 400 530} hide } { Fl_Group {} { label {Main Audio Settings} open xywh {37 55 326 165} box ENGRAVED_FRAME align 5 } { Fl_Choice choice_cfg_dev { label {Audio Device} callback {choice_cfg_dev_cb();} open tooltip {select your sound card device} xywh {45 84 310 20} down_box FLAT_BOX align 5 } {} Fl_Choice choice_cfg_channel { label {Channel mode} tooltip {Select input channel} xywh {45 124 160 21} box ENGRAVED_BOX down_box BORDER_BOX align 5 } { MenuItem {} { label Stereo callback {choice_cfg_channel_stereo_cb();} xywh {60 60 40 25} } MenuItem {} { label Mono callback {choice_cfg_channel_mono_cb();} xywh {50 50 40 25} } } Fl_Choice choice_cfg_samplerate { label Samplerate callback {choice_cfg_samplerate_cb();} tooltip {Select input sample rate} xywh {240 124 115 20} down_box BORDER_BOX align 5 } {} Fl_Choice choice_cfg_left_channel { label Left callback {choice_cfg_left_channel_cb();} open xywh {45 175 70 20} down_box BORDER_BOX align 5 } {} Fl_Choice choice_cfg_right_channel { label Right callback {choice_cfg_right_channel_cb();} open xywh {135 175 70 20} down_box BORDER_BOX align 5 } {} } Fl_Group {} { label Streaming xywh {37 247 326 60} box ENGRAVED_FRAME align 5 } { Fl_Choice choice_cfg_codec { label Codec open tooltip {Select streaming codec} xywh {45 274 125 20} box ENGRAVED_BOX down_box BORDER_BOX align 5 } { MenuItem {} { label MP3 callback {choice_cfg_codec_mp3_cb();} xywh {70 70 40 25} } MenuItem {} { label {OGG/VORBIS} callback {choice_cfg_codec_ogg_cb();} xywh {60 60 40 25} } MenuItem {} { label OPUS callback {choice_cfg_codec_opus_cb();} xywh {70 70 40 25} } MenuItem menu_item_cfg_aac { label {AAC+} callback {choice_cfg_codec_aac_cb();} xywh {80 80 40 25} } MenuItem {} { label FLAC callback {choice_cfg_codec_flac_cb();} xywh {80 80 40 25} } } Fl_Choice choice_cfg_bitrate { label Bitrate callback {choice_cfg_bitrate_cb();} tooltip {Select streaming bitrate} xywh {240 274 115 20} box ENGRAVED_BOX down_box BORDER_BOX align 5 } { MenuItem {} { label 8k xywh {50 50 40 25} } MenuItem {} { label 16k xywh {40 40 40 25} } MenuItem {} { label 24k xywh {50 50 40 25} } MenuItem {} { label 32k xywh {30 30 40 25} } MenuItem {} { label 40k xywh {40 40 40 25} } MenuItem {} { label 48k xywh {50 50 40 25} } MenuItem {} { label 56k xywh {60 60 40 25} } MenuItem {} { label 64k xywh {70 70 40 25} } MenuItem {} { label 80k xywh {80 80 40 25} } MenuItem {} { label 96k xywh {90 90 40 25} } MenuItem {} { label 112k xywh {30 30 40 25} } MenuItem {} { label 128k xywh {100 100 40 25} } MenuItem {} { label 160k xywh {110 110 40 25} } MenuItem {} { label 192k xywh {120 120 40 25} } MenuItem {} { label 224k xywh {130 130 40 25} } MenuItem {} { label 256k xywh {140 140 40 25} } MenuItem {} { label 320k xywh {150 150 40 25} } } Fl_Check_Button check_cfg_mono_to_stereo { label {Convert Mono to Stereo} callback {check_cfg_mono_to_stereo_cb();} tooltip {Copies a mono channel to both stereo channels} xywh {40 291 170 15} down_box DOWN_BOX hide } } Fl_Group {} { label Recording open xywh {37 339 326 60} box ENGRAVED_FRAME align 5 } { Fl_Choice choice_rec_codec { label Codec open tooltip {Select recording codec} xywh {45 366 125 20} box ENGRAVED_BOX down_box BORDER_BOX align 5 } { MenuItem {} { label MP3 callback {choice_rec_codec_mp3_cb();} xywh {80 80 40 25} } MenuItem {} { label {OGG/VORBIS} callback {choice_rec_codec_ogg_cb();} xywh {70 70 40 25} } MenuItem {} { label OPUS callback {choice_rec_codec_opus_cb();} xywh {15 15 31 20} } MenuItem menu_item_rec_aac { label {AAC+} callback {choice_rec_codec_aac_cb();} xywh {90 90 40 25} } MenuItem {} { label FLAC callback {choice_rec_codec_flac_cb();} xywh {25 25 31 20} } MenuItem {} { label WAV callback {choice_rec_codec_wav_cb();} xywh {5 5 31 20} } } Fl_Choice choice_rec_bitrate { label Bitrate callback {choice_rec_bitrate_cb();} tooltip {Select recording bitrate} xywh {240 366 115 20} down_box BORDER_BOX align 5 } { MenuItem {} { label 8k xywh {60 60 40 25} } MenuItem {} { label 16k xywh {50 50 40 25} } MenuItem {} { label 24k xywh {60 60 40 25} } MenuItem {} { label 32k xywh {40 40 40 25} } MenuItem {} { label 40k xywh {50 50 40 25} } MenuItem {} { label 48k xywh {60 60 40 25} } MenuItem {} { label 56k xywh {70 70 40 25} } MenuItem {} { label 64k xywh {80 80 40 25} } MenuItem {} { label 80k xywh {90 90 40 25} } MenuItem {} { label 96k xywh {100 100 40 25} } MenuItem {} { label 112k xywh {40 40 40 25} } MenuItem {} { label 128k xywh {110 110 40 25} } MenuItem {} { label 160k xywh {120 120 40 25} } MenuItem {} { label 192k xywh {130 130 40 25} } MenuItem {} { label 224k xywh {140 140 40 25} } MenuItem {} { label 256k xywh {150 150 40 25} } MenuItem {} { label 320k xywh {160 160 40 25} } } } Fl_Button button_advanced { label {Advanced...} callback {static int show_advanced = 0; if (!show_advanced) { window_cfg->size(window_cfg->w(), 450); show_advanced = 1; fl_g->button_advanced->label("Standard..."); } else { window_cfg->size(window_cfg->w(), 380); show_advanced = 0; fl_g->button_advanced->label("Advanced..."); }} xywh {37 345 89 25} box ENGRAVED_BOX hide deactivate } Fl_Value_Input input_cfg_buffer { label {Buffer (ms)} callback {input_cfg_buffer_cb(1);} xywh {37 405 75 20} align 5 when 8 maximum 0 value 50 hide deactivate } Fl_Choice choice_cfg_resample_mode { label {Resample Quality} callback {choice_cfg_resample_mode_cb();} xywh {177 405 125 20} down_box BORDER_BOX align 5 hide deactivate } { MenuItem {} { label SINC_BEST xywh {0 0 31 20} } MenuItem {} { label SINC_MEDIUM xywh {10 10 31 20} } MenuItem {} { label SINC_FASTEST xywh {20 20 31 20} } MenuItem {} { label ZERO_ORDER_HOLD xywh {30 30 31 20} } MenuItem {} { label LINEAR xywh {40 40 31 20} } } Fl_Group {} { label {Signal detection levels} open xywh {37 430 326 50} box ENGRAVED_FRAME align 5 } { Fl_Value_Input input_cfg_present_level { label {Signal present} callback {input_cfg_present_level_cb();} xywh {45 454 70 19} align 5 minimum -90 maximum 0 value -50 } Fl_Value_Input input_cfg_absent_level { label {Signal absent} callback {input_cfg_absent_level_cb();} xywh {240 454 65 19} align 5 minimum -90 maximum 0 value -50 } Fl_Box {} { label dB xywh {115 456 25 17} align 20 } Fl_Box {} { label dB xywh {305 455 25 17} align 20 } } } Fl_Group {} { label Stream open xywh {0 20 406 530} hide } { Fl_Group {} { label {Update song name from file} open xywh {37 55 326 65} box ENGRAVED_FRAME align 5 } { Fl_Input input_cfg_song_file { callback {input_cfg_song_file_cb();} tooltip {Filename that holds the current song name} xywh {42 64 283 26} align 9 code0 {this->input_cfg_song_file->maximum_size(500);} } Fl_Button button_songfile_browse { callback {button_cfg_browse_songfile_cb();} tooltip {Select file that holds the current song name} image {../xpm/folder.png} xywh {330 65 25 25} box ENGRAVED_FRAME } Fl_Check_Button check_song_update_active { label Activate callback {check_song_update_active_cb();} tooltip {Activate auto update song name from file} xywh {40 91 77 25} down_box DOWN_BOX } Fl_Check_Button check_read_last_line { label {Read last line instead of first} callback {check_read_last_line_cb();} tooltip {Activate auto update song name from file} xywh {120 91 215 25} down_box DOWN_BOX } } Fl_Group {} { label {Update song name manually} xywh {37 236 326 40} box ENGRAVED_FRAME align 5 } { Fl_Input input_cfg_song { callback {input_cfg_song_cb();} tooltip {Current song name} xywh {42 244 283 25} align 5 when 1 code0 {this->input_cfg_song->maximum_size(500);} } Fl_Button {} { label OK callback {button_cfg_song_go_cb();} tooltip {Send current song name to the server} xywh {330 244 25 25} box ENGRAVED_BOX shortcut 0xff0d labelsize 12 } } Fl_Group {} { label {Update song name from application} open xywh {37 144 326 65} box ENGRAVED_BOX align 5 } { Fl_Check_Button check_cfg_use_app { label Activate callback {check_cfg_use_app_cb();} xywh {40 174 85 33} down_box DOWN_BOX } Fl_Choice choice_cfg_app { callback {choice_cfg_app_cb();} open tooltip {Changes the song through an running application} xywh {42 155 203 20} down_box BORDER_BOX } {} } Fl_Group {} { label Streaming open xywh {37 418 328 112} box ENGRAVED_FRAME align 5 } { Fl_Check_Button check_cfg_connect { label {Start streaming after launch} callback {check_cfg_connect_cb();} tooltip {Connect automatically to a server after launch} xywh {42 483 205 18} down_box DOWN_BOX } Fl_Value_Input input_cfg_silence { callback {input_cfg_silence_cb();} xywh {238 453 42 19} } Fl_Value_Input input_cfg_signal { callback {input_cfg_signal_cb();} xywh {238 429 42 19} } Fl_Box {} { label seconds xywh {280 429 62 16} align 20 } Fl_Box {} { label seconds xywh {280 453 62 16} align 20 } Fl_Box {} { label {Start if signal is present for} xywh {42 429 175 16} align 20 } Fl_Box {} { label {Stop if signal is absent for} xywh {42 453 175 16} align 20 } Fl_Check_Button check_cfg_force_reconnecting { label {Force reconnecting} callback {check_cfg_force_reconnecting_cb();} tooltip {If enabled butt keeps reconnecting regardless of the error message} xywh {42 505 205 18} down_box DOWN_BOX } } Fl_Group {} { label {Extend song name} open xywh {35 302 330 90} box ENGRAVED_FRAME align 5 } { Fl_Input input_cfg_song_prefix { label {Prefix:} callback {input_cfg_song_prefix_cb();} xywh {88 318 255 24} when 1 code0 {this->input_cfg_song_prefix->maximum_size(500);} } Fl_Input input_cfg_song_suffix { label {Suffix:} callback {input_cfg_song_suffix_cb();} xywh {88 353 255 24} when 1 code0 {this->input_cfg_song_suffix->maximum_size(500);} } } } Fl_Group {} { label Record xywh {0 20 400 530} hide } { Fl_Input input_rec_filename { label {Record File Name:} callback {input_rec_filename_cb();} tooltip {Record file name} xywh {37 55 326 25} align 5 code0 {this->input_rec_filename->maximum_size(500);} } Fl_Input input_rec_folder { label {Record Directory:} callback {input_rec_folder_cb();} tooltip {Directory of recordings} xywh {37 106 298 25} align 5 code0 {this->input_rec_folder->maximum_size(500);} } Fl_Button button_rec_browse { callback {button_rec_browse_cb();} tooltip {Select recording directory} image {../xpm/folder.png} xywh {338 106 25 25} box ENGRAVED_BOX } Fl_Group {} { label {Split file} open xywh {37 164 326 57} box ENGRAVED_FRAME align 5 } { Fl_Value_Input input_rec_split_time { label every callback {input_rec_split_time_cb();} xywh {84 171 40 19} } Fl_Box text_rec_split_time { label minutes xywh {130 171 50 16} } Fl_Check_Button check_sync_to_full_hour { label {Sync to full hour} callback {check_sync_to_full_hour_cb();} tooltip {Sync to full hour} xywh {42 196 124 15} down_box DOWN_BOX } Fl_Button {} { label {Split now} callback {button_rec_split_now_cb();} xywh {275 179 80 28} box ENGRAVED_BOX } } Fl_Group {} { label Recording open xywh {37 250 326 138} box ENGRAVED_FRAME align 5 } { Fl_Check_Button check_cfg_auto_start_rec { label {Start recording when connected} callback {check_cfg_auto_start_rec_cb();} tooltip {Start recording when connected} xywh {42 260 265 20} down_box DOWN_BOX } Fl_Check_Button check_cfg_rec_after_launch { label {Start recording after launch} callback {check_cfg_rec_after_launch_cb();} tooltip {Start recording after launch} xywh {42 309 265 20} down_box DOWN_BOX } Fl_Value_Input input_rec_signal { callback {input_rec_signal_cb();} xywh {253 332 42 19} } Fl_Box {} { label seconds xywh {295 333 64 16} align 20 } Fl_Check_Button check_cfg_auto_stop_rec { label {Stop recording when disconnected} callback {check_cfg_auto_stop_rec_cb();} tooltip {Start recording when disconnected} xywh {42 284 265 20} down_box DOWN_BOX } Fl_Value_Input input_rec_silence { callback {input_rec_silence_cb();} xywh {253 356 42 19} } Fl_Box {} { label seconds xywh {295 356 62 16} align 20 } Fl_Box {} { label {Start if signal is present for} xywh {57 334 175 16} align 20 } Fl_Box {} { label {Stop if signal is absent for} xywh {57 357 175 16} align 20 } } } Fl_Group {} { label TLS xywh {0 20 400 530} hide } { Fl_Group {} { label {SSL/TLS} open xywh {37 55 326 184} box ENGRAVED_FRAME align 5 } { Fl_Input input_tls_cert_file { label {CA Certificate File:} callback {input_tls_cert_file_cb();} tooltip {Certificate file} xywh {45 149 275 25} align 5 code0 {this->input_tls_cert_file->maximum_size(500);} } Fl_Input input_tls_cert_dir { label {CA Certificate Directory:} callback {input_tls_cert_dir_cb();} tooltip {Certificate directory} xywh {45 200 275 25} align 5 code0 {this->input_tls_cert_dir->maximum_size(500);} } Fl_Button button_tls_browse_dir { callback {button_tls_browse_dir_cb();} tooltip {Select certificate directory} image {../xpm/folder.png} xywh {325 200 25 25} box ENGRAVED_BOX } Fl_Button button_tls_browse_file { callback {button_tls_browse_file_cb();} tooltip {Select certificate file} image {../xpm/folder.png} xywh {325 149 25 25} box ENGRAVED_BOX } Fl_Box {} { label {If your server uses a certificate from Let's Encrypt or another well known CA, you can leave these fields blank.} xywh {43 67 272 60} align 20 } } } Fl_Group {} { label DSP xywh {0 20 400 530} hide } { Fl_Group {} { label Equalizer xywh {36 55 327 175} box ENGRAVED_FRAME align 5 } { Fl_Check_Button check_activate_eq { label Activate callback {check_activate_eq_cb();} xywh {40 57 79 25} down_box DOWN_BOX } Fl_Slider equalizerSlider1 { label 100Hz callback {slider_equalizer1_cb(o->value());} xywh {86 97 15 115} type {Vert Knob} box NO_BOX labelsize 11 minimum 15 maximum -15 step 0.1 class Fl_My_Value_Slider } Fl_Slider equalizerSlider2 { label 350Hz callback {slider_equalizer2_cb(o->value());} xywh {136 97 15 115} type {Vert Knob} box NO_BOX labelsize 11 minimum 15 maximum -15 step 0.1 class Fl_My_Value_Slider } Fl_Slider equalizerSlider3 { label 1kHz callback {slider_equalizer3_cb(o->value());} xywh {186 97 15 115} type {Vert Knob} box NO_BOX labelsize 11 minimum 15 maximum -15 step 0.1 class Fl_My_Value_Slider } Fl_Slider equalizerSlider4 { label {3.5kHz} callback {slider_equalizer4_cb(o->value());} xywh {236 97 15 115} type {Vert Knob} box NO_BOX labelsize 11 minimum 15 maximum -15 step 0.1 class Fl_My_Value_Slider } Fl_Slider equalizerSlider5 { label 10kHz callback {slider_equalizer5_cb(o->value());} xywh {286 97 15 115} type {Vert Knob} box NO_BOX labelsize 11 minimum 15 maximum -15 step 0.1 class Fl_My_Value_Slider } Fl_Text_Display equalizerGain1 { label {+0.0} xywh {72 97 35 10} box NO_BOX labelsize 11 } Fl_Text_Display equalizerGain2 { label {+0.0} xywh {122 97 35 10} box NO_BOX labelsize 11 } Fl_Text_Display equalizerGain3 { label {+0.0} xywh {172 97 35 10} box NO_BOX labelsize 11 } Fl_Text_Display equalizerGain4 { label {+0.0} xywh {222 97 35 10} box NO_BOX labelsize 11 } Fl_Text_Display equalizerGain5 { label {+0.0} xywh {272 97 35 10} box NO_BOX labelsize 11 } Fl_Button {} { label Reset callback {fl_g->equalizerSlider1->value(0); fl_g->equalizerSlider2->value(0); fl_g->equalizerSlider3->value(0); fl_g->equalizerSlider4->value(0); fl_g->equalizerSlider5->value(0); slider_equalizer1_cb(0); slider_equalizer2_cb(0); slider_equalizer3_cb(0); slider_equalizer4_cb(0); slider_equalizer5_cb(0);} xywh {310 61 45 19} labelsize 12 } } Fl_Group {} { label {Dynamic Range Compressor} xywh {36 255 327 175} box ENGRAVED_FRAME align 5 } { Fl_Check_Button check_activate_drc { label Activate callback {check_activate_drc_cb();} xywh {40 257 79 25} down_box DOWN_BOX } Fl_Slider thresholdSlider { label Threshold callback {slider_threshold_cb(o->value());} xywh {86 297 15 115} type {Vert Knob} box NO_BOX labelsize 11 maximum -60 step 0.1 class Fl_My_Value_Slider } Fl_Slider ratioSlider { label Ratio callback {slider_ratio_cb(o->value());} xywh {136 297 15 115} type {Vert Knob} box NO_BOX labelsize 11 minimum 10 step 0.1 value 5 class Fl_My_Value_Slider } Fl_Slider attackSlider { label Attack callback {slider_attack_cb(o->value());} xywh {186 297 15 115} type {Vert Knob} box NO_BOX labelsize 11 minimum 1 maximum 0 step 0.001 value 0.01 class Fl_My_Value_Slider } Fl_Slider releaseSlider { label Release callback {slider_release_cb(o->value());} xywh {236 297 15 115} type {Vert Knob} box NO_BOX labelsize 11 minimum 10 maximum 0 step 0.01 value 1 class Fl_My_Value_Slider } Fl_Text_Display threshold { label {+0.0} xywh {72 297 35 10} box NO_BOX labelsize 11 } Fl_Text_Display ratio { label {+0.0} xywh {122 297 35 10} box NO_BOX labelsize 11 } Fl_Text_Display attack { label {+0.0} xywh {172 297 35 10} box NO_BOX labelsize 11 } Fl_Text_Display release { label {+0.0} xywh {222 297 35 10} box NO_BOX labelsize 11 } Fl_Button {} { label Reset callback {fl_g->thresholdSlider->value(-20); fl_g->ratioSlider->value(5); fl_g->attackSlider->value(0.01); fl_g->releaseSlider->value(1); fl_g->makeupSlider->value(0); slider_threshold_cb(-20); slider_ratio_cb(5); slider_attack_cb(0.01); slider_release_cb(1); slider_makeup_cb(0);} xywh {310 261 45 19} labelsize 12 } Fl_Slider makeupSlider { label {Makeup Gain} callback {slider_makeup_cb(o->value());} xywh {286 297 15 104} type {Vert Knob} box NO_BOX labelsize 11 minimum 30 maximum 0 step 0.01 value 1 class Fl_My_Value_Slider } Fl_Text_Display makeup { label {+0.0} xywh {272 297 35 10} box NO_BOX labelsize 11 } } } Fl_Group {} { label GUI open xywh {0 20 400 530} hide } { Fl_Group {} { label {Display Color} open xywh {37 133 326 80} box ENGRAVED_FRAME align 5 } { Fl_Button button_gui_text_color { label {Select text color} callback {button_gui_text_color_cb();} tooltip {Select text color} xywh {50 143 25 25} box SHADOW_BOX color 7 align 8 } Fl_Button button_gui_bg_color { label {Select background color} callback {button_gui_bg_color_cb();} tooltip {Select background color} xywh {50 178 25 25} box SHADOW_BOX color 15 align 8 } } Fl_Group {} { label Misc open xywh {37 240 326 140} box ENGRAVED_FRAME align 5 } { Fl_Check_Button check_gui_attach { label {Attach settings window to main window} callback {check_gui_attach_cb();} tooltip {Attach this window to the butt window} xywh {48 250 300 20} down_box DOWN_BOX } Fl_Check_Button check_gui_ontop { label {Stay always on top} callback {check_gui_ontop_cb();} tooltip {Stay always on top} xywh {48 275 175 20} down_box DOWN_BOX } Fl_Check_Button check_gui_lcd_auto { label {Change display mode every 5 seconds} callback {check_gui_lcd_auto_cb()} tooltip {Change display mode every 5 seconds} xywh {48 350 295 20} down_box DOWN_BOX } Fl_Check_Button check_gui_hide_log_window { label {Hide log window after start up} callback {check_gui_hide_log_window_cb();} tooltip {Stay always on top} xywh {48 325 220 20} down_box DOWN_BOX } Fl_Check_Button check_gui_remember_pos { label {Remember main window position} callback {check_gui_remember_pos_cb();} tooltip {Stay always on top} xywh {48 300 260 20} down_box DOWN_BOX } } Fl_Group {} { label Language open xywh {37 50 326 60} box ENGRAVED_FRAME align 5 } { Fl_Choice choice_gui_language { callback {choice_gui_language_cb();} open xywh {50 70 300 20} down_box BORDER_BOX } { MenuItem {} { label System xywh {0 0 31 20} } MenuItem {} { label Deutsch xywh {0 0 31 20} } MenuItem {} { label English xywh {0 0 31 20} } } } } Fl_Group {} { label Donate open xywh {0 20 400 530} hide } { Fl_Group {} { label Donation open xywh {37 70 326 280} box ENGRAVED_FRAME align 5 } { Fl_Box {} { label {Keeping this software up to date, adding new features and answering support mails takes a lot of time and effort. If you can afford it, please consider supporting this project. Thank you!} xywh {47 75 308 150} align 20 } Fl_Button {} { label {&Donate via PayPal} callback {fl_open_uri("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LTRSQNTWN4L6L&source=url");} xywh {130 240 140 28} box ENGRAVED_BOX code0 {\#include } } Fl_Button {} { label {Become a &patron} callback {fl_open_uri("https://www.patreon.com/butt_broadcast");} xywh {130 287 140 28} box ENGRAVED_BOX code0 {\#include } } } } } } Fl_Window window_add_srv { label {Add server} xywh {1584 623 330 380} type Double hide modal } { Fl_Input input_add_srv_name { label {Name:} xywh {80 30 170 25} align 5 code0 {this->input_add_srv_name->maximum_size(100);} } Fl_Input input_add_srv_addr { label {Address:} xywh {10 206 235 25} align 5 code0 {this->input_add_srv_addr->maximum_size(100);} } Fl_Input input_add_srv_port { label {Port:} xywh {250 206 70 25} type Int align 5 } Fl_Input input_add_srv_pwd { label {Password:} xywh {10 251 235 25} type Secret align 5 code0 {this->input_add_srv_pwd->maximum_size(100);} } Fl_Input input_add_srv_mount { label {IceCast mountpoint:} xywh {10 301 165 25} align 5 code0 {this->input_add_srv_mount->maximum_size(100);} } Fl_Input input_add_srv_usr { label {IceCast user:} xywh {180 301 140 25} align 5 code0 {this->input_add_srv_usr->maximum_size(100);} } Fl_Group {} { label Type open xywh {10 120 105 62} box ENGRAVED_BOX align 5 } { Fl_Round_Button radio_add_srv_shoutcast { label ShoutCast callback {radio_add_srv_shoutcast_cb();} xywh {15 130 88 15} type Radio down_box ROUND_DOWN_BOX } Fl_Round_Button radio_add_srv_icecast { label IceCast callback {radio_add_srv_icecast_cb();} xywh {15 159 80 12} type Radio down_box ROUND_DOWN_BOX } } Fl_Button {} { label {&Cancel} callback {button_add_srv_cancel_cb();} xywh {10 340 74 25} box ENGRAVED_BOX } Fl_Button button_add_srv_add { label {&ADD} callback {button_add_srv_add_cb();} xywh {224 340 74 25} box ENGRAVED_BOX } Fl_Button button_add_srv_save { label {&Save} callback {button_add_srv_save_cb();} xywh {224 340 74 25} box ENGRAVED_BOX } Fl_Button button_cfg_show_pw { label Show callback {button_add_srv_show_pwd_cb();} tooltip {show/hide password} xywh {250 251 70 25} box ENGRAVED_BOX } Fl_Group frame_add_srv_tls { label {SSL/TLS} open xywh {125 120 195 62} box ENGRAVED_BOX align 5 } { Fl_Check_Button check_add_srv_tls { label {Use SSL/TLS} xywh {129 130 115 15} down_box DOWN_BOX } Fl_Button button_add_srv_revoke_cert { label {Revoke certificate trust} callback {button_add_srv_revoke_cert_cb();} xywh {130 149 185 25} box ENGRAVED_BOX } } } Fl_Window window_add_icy { label {Add stream info} xywh {1111 87 305 380} type Double hide modal } { Fl_Input input_add_icy_name { label {Name:} tooltip {The name of your new ICY-entrie} xywh {65 35 170 25} align 5 code0 {this->input_add_icy_name->maximum_size(100);} } Fl_Input input_add_icy_desc { label {Description:} xywh {10 145 170 25} align 5 code0 {this->input_add_icy_desc->maximum_size(100);} } Fl_Input input_add_icy_genre { label {Genre:} xywh {185 145 110 25} align 5 code0 {this->input_add_icy_genre->maximum_size(100);} } Fl_Input input_add_icy_url { label {URL:} xywh {10 190 170 25} align 5 code0 {this->input_add_icy_url->maximum_size(100);} } Fl_Input input_add_icy_icq { label {ICQ:} xywh {185 190 110 25} align 5 code0 {this->input_add_icy_icq->maximum_size(100);} } Fl_Input input_add_icy_irc { label {IRC:} xywh {10 235 170 25} align 5 code0 {this->input_add_icy_irc->maximum_size(100);} } Fl_Input input_add_icy_aim { label {AIM:} xywh {185 235 110 25} align 5 code0 {this->input_add_icy_aim->maximum_size(100);} } Fl_Check_Button check_add_icy_pub { label {Make server public} xywh {10 270 166 20} down_box DOWN_BOX } Fl_Button {} { label {&Cancel} callback {button_add_icy_cancel_cb();} xywh {10 340 74 25} box ENGRAVED_BOX } Fl_Button button_add_icy_add { label {&ADD} callback {button_add_icy_add_cb();} xywh {224 340 74 25} box ENGRAVED_BOX } Fl_Button button_add_icy_save { label {&Save} callback {button_add_icy_save_cb();} xywh {224 340 74 25} box ENGRAVED_BOX } } code {Fl::scheme("standard"); window_main->label(PACKAGE_STRING); info_buffer = new Fl_Text_Buffer(); info_output->buffer(info_buffer); //window_cfg->size(window_cfg->w(), 380); // show info output... info_visible = 1; info_output->show();} {} } Function {~flgui()} {open } { code {return;} {} } } butt-0.1.26/src/FLTK/fl_funcs.h0000664000175000017500000000251313770206736013014 00000000000000// FLTK GUI related functions // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef FL_FUNCS_H #define FL_FUNCS_H #include #define GUI_LOOP() Fl::run(); #define CHECK_EVENTS() Fl::check() #define ALERT(msg) fl_alert("%s", msg) void fill_cfg_widgets(void); void update_samplerates(void); void update_channel_lists(void); void print_info(const char* info, int info_type); void print_lcd(const char *text, int len, int home, int clear); void test_file_extension(void); void expand_string(char **str); void init_main_gui_and_audio(void); void ask_user_set_msg(char *m); void ask_user_set_hash(char *h); void ask_user_reset(void); void ask_user_ask(void); int ask_user_get_answer(void); int ask_user_get_has_clicked(void); typedef const char* (*currentTrackFunction)(void); extern currentTrackFunction getCurrentTrackFunctionFromId(int i); #endif butt-0.1.26/src/strfuncs.cpp0000664000175000017500000001022013663226731012647 00000000000000// string manipulation functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #include "strfuncs.h" int strinsrt(char **dest, char *insert, char *pos) { char *pre; char *post; char *temp; int pre_len; int post_len; int new_len; new_len = strlen(*dest) + strlen(insert); pre_len = strlen(*dest) - strlen(pos); post_len = strlen(pos); pre = (char*)malloc(pre_len*sizeof(char) +1); post = (char*)malloc(post_len*sizeof(char) +1); temp = (char*)malloc(new_len*sizeof(char) +1); memcpy(pre, *dest, pre_len); pre[pre_len] = '\0'; memcpy(post, *dest+pre_len, post_len); post[post_len] = '\0'; sprintf(temp, "%s%s%s", pre, insert, post); *dest = (char*)realloc(*dest, new_len*sizeof(char) +1); strcpy(*dest, temp); free(pre); free(post); free(temp); return 0; } //returns a pointer to the last occurance of string "needle" in string "haystack" char *strrstr(char *haystack, char *needle) { char *last; char *found = NULL; do { last = found; found = strstr(haystack, needle); if(found != NULL) haystack = found+strlen(needle); }while(found != NULL); return last; } //replaces all strings named by search with strings named by replace in dest int strrpl(char **dest, char *search, char *replace, int mode) { char *loc; char *temp; char *orig; char *result; int search_len, repl_len, diff; int size; int count; // do nothing if there is not at least one string of "search" in "*dest" if(strstr(*dest, search) == NULL) return -1; search_len = strlen(search); repl_len = strlen(replace); diff = repl_len - search_len; //how many strings do we need to replace? if(mode == MODE_ALL) { temp = *dest; for(count = 0; (temp = strstr(temp, search)); count++) temp += search_len; } else count = 1; //length of the new string size = strlen(*dest) + (diff*count); temp = strdup(*dest); orig = temp; result = (char*)malloc(size*sizeof(char) +1); if(!result) { free(orig); return -1; } memset(result, 0, size); //build the new string switch(mode) { case MODE_ALL: while((loc = strstr(temp, search))) { strncat(result, temp, loc - temp); strcat(result, replace); temp = loc + strlen(search); } //append remaininc characaters (if any) if(strlen(temp) > 0) strcat(result, temp); break; case MODE_FIRST: loc = strstr(temp, search); strncat(result, temp, loc - temp); strcat(result, replace); temp = loc + strlen(search); //append remaining characters if(strlen(temp) > 0) strcat(result, temp); break; case MODE_LAST: loc = strrstr(temp, search); strncat(result, temp, loc-temp); strcat(result, replace); temp = loc + strlen(search); //append remaininc characaters (if any) if(strlen(temp) > 0) strcat(result, temp); break; default: return -1; } *dest = (char *)realloc(*dest, size*sizeof(char) +1); if(!*dest) { free(result); free(orig); return -1; } //save the new string back to orig position in memory strcpy(*dest, result); free(orig); free(result); return 0; } butt-0.1.26/src/cfg.h0000664000175000017500000001017313770344616011215 00000000000000// config functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef CFG_H #define CFG_H #include "port_audio.h" #include "parseconfig.h" enum { SHOUTCAST = 0, ICECAST = 1 }; enum { CHOICE_STEREO = 0, CHOICE_MONO = 1 }; enum { CHOICE_MP3 = 0, CHOICE_OGG = 1, CHOICE_OPUS = 2, CHOICE_AAC = 3, CHOICE_FLAC = 4, CHOICE_WAV = 5 }; enum { LANG_SYSTEM = 0, LANG_DE = 1, LANG_EN = 2 }; extern const char CONFIG_FILE[]; typedef struct { char *name; char *addr; char *pwd; char *mount; //mountpoint for icecast server char *usr; //user for icecast server char *cert_hash; //sha256 hash of trusted certificate int port; int type; //SHOUTCAST or ICECAST int tls; //use tls: 0 = no, 1 = yes }server_t; typedef struct { char *name; char *desc; //description char *genre; char *url; char *irc; char *icq; char *aim; char *pub; }icy_t; typedef struct { int selected_srv; int selected_icy; struct { char *srv; char *icy; char *srv_ent; char *icy_ent; char *song; char *song_path; FILE *song_fd; char *song_prefix; char *song_suffix; int song_update; //1 = song info will be read from file int read_last_line; int app_update; int app_update_service; int num_of_srv; int num_of_icy; int bg_color, txt_color; int connect_at_startup; int force_reconnecting; int silence_threshold; // timeout duration of automatic stream/record stop int signal_threshold; // timeout duration of automatic stream/record start int check_for_update; float gain; char *log_file; char *ic_charset; }main; struct { int dev_count; int dev_num; snd_dev_t **pcm_list; int samplerate; int resolution; int channel; int left_ch; int right_ch; int bitrate; int mono_to_stereo; int buffer_ms; int resample_mode; int aac_aot; float silence_level; float signal_level; int aac_overwrite_aot; int disable_dithering; char *codec; }audio; struct { int channel; int bitrate; int quality; int samplerate; char *codec; char *filename; char *folder; char *path; char *path_fmt; FILE *fd; int start_rec; int stop_rec; int rec_after_launch; int split_time; int sync_to_hour; int silence_threshold; int signal_threshold; }rec; struct { char *cert_file; char *cert_dir; }tls; struct { int equalizer; double gain1, gain2, gain3, gain4, gain5; int compressor; double threshold, ratio, attack, release, makeup_gain; }dsp; struct { int attach; int ontop; int lcd_auto; int hide_log_window; int remember_pos; int x_pos, y_pos; int lang; }gui; server_t **srv; icy_t **icy; }config_t; extern char *cfg_path; //Path to config file extern config_t cfg; //Holds config parameters int cfg_write_file(char *path); //Writes current config_t struct to path or cfg_path if path is NULL int cfg_set_values(char *path); //Reads config file from path or cfg_path if path is NULL and fills the config_t struct int cfg_create_default(void); //Creates a default config file, if there isn't one yet #endif butt-0.1.26/src/currentTrack.h0000775000175000017500000000050713663226731013126 00000000000000// // currentTrack.h // butt // // Created by Melchor Garau Madrigal on 22/7/15. // Copyright (c) 2015 Daniel Nöthen. All rights reserved. // #ifndef __butt__currentTrack__ #define __butt__currentTrack__ #include typedef const char* (*currentTrackFunction)(void); #endif /* defined(__butt__currentTrack__) */ butt-0.1.26/src/aac_encode.h0000664000175000017500000000240413663226731012513 00000000000000// aac encoding functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef AAC_ENCODE_H #define AAC_ENCODE_H #include "config.h" #ifdef HAVE_LIBFDK_AAC #if defined(WIN32) || defined(__APPLE__) #include "aac_dll.h" #else #include #endif struct aac_enc { HANDLE_AACENCODER handle; AACENC_InfoStruct info; int aot; int overwrite_aot; int bitrate; int samplerate; int channel; volatile int state; }; enum { AAC_READY = 0, AAC_BUSY = 1 }; int aac_enc_init(aac_enc *aac); int aac_enc_encode(aac_enc *aac, short *pcm_buf, char *enc_buf, int samples, int size); int aac_enc_reinit(aac_enc *aac); void aac_enc_close(aac_enc *aac); #endif // HAVE_LIBFDK_AAC extern int g_aac_lib_available; #endif // AAC_ENCODE_H butt-0.1.26/src/timer.h0000664000175000017500000000157613663226731011603 00000000000000// timer related functions // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef TIMER_H #define TIMER_H #include struct sec_timer { time_t start_time; time_t new_time; int duration; bool is_running = false; }; void timer_init(sec_timer *t, int duration); int timer_is_elapsed(sec_timer *t); char *timer_get_time_str(sec_timer *t); void timer_reset(sec_timer *t); #endif butt-0.1.26/src/AskForMicPermission.h0000664000175000017500000000042013734064272014334 00000000000000// // AskForMicPermission.h // butt // // Created by Daniel Nöthen on 26.09.20. // Copyright © 2020 Daniel Nöthen. All rights reserved. // #ifndef AskForMicPermission_h #define AskForMicPermission_h void askForMicPermission(); #endif /* AskForMicPermission_h */ butt-0.1.26/src/wav_header.h0000664000175000017500000000302513663226731012557 00000000000000// wav header functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef WAV_HEADER_H #define WAV_HEADER_H #include #include typedef union { char data[44]; struct wav_header { char riff_id[4]; //"RIFF" uint32_t riff_size; //file_length - 8 char riff_format[4]; //"WAVE" char fmt_id[4]; //"FMT "(the space is essential uint32_t fmt_size; //fmt data size (16 bytes) uint16_t fmt_format; //format (PCM = 1) uint16_t fmt_channel; //1 = mono; 2 = stereo uint32_t fmt_samplerate; //... uint32_t fmt_byte_rate; //samplerate * block_align uint16_t fmt_block_align; //channels * bits_per_sample / 8 uint16_t fmt_bps; //bits per sample = 16 char data_id[4]; //"data" uint32_t data_size; //file_length - 44 }wav; }wav_hdr_t; int wav_write_header(FILE *fd, short ch, int srate, short bps); #endif butt-0.1.26/src/update.h0000664000175000017500000000036313676103537011740 00000000000000#ifndef UPDATE_H #define UPDATE_H int update_check_for_new_version(void); char *update_get_version(void); enum { UPDATE_NEW_VERSION = 0, UPDATE_SOCKET_ERROR = -1, UPDATE_ILLEGAL_ANSWER = -2, UPDATE_UP_TO_DATE = -3 }; #endif butt-0.1.26/src/xpm/0000775000175000017500000000000013663226731011165 500000000000000butt-0.1.26/src/xpm/conn_dark.xpm0000664000175000017500000000213013663226731013565 00000000000000/* XPM */ static const char * conn_dark_xpm[] = { "20 20 38 1", " c None", ". c #7B7C63", "+ c #7A7B61", "@ c #7B7C64", "# c #797B60", "$ c #7A7B63", "% c #7B7C67", "& c #797A5F", "* c #797B61", "= c #7A7B65", "- c #7C7D6A", "; c #787A5F", "> c #797A60", ", c #797B62", "' c #7D7D6E", ") c #78795E", "! c #78795F", "~ c #787A60", "{ c #797B63", "] c #7B7C69", "^ c #7D7D70", "/ c #787960", "( c #797A64", "_ c #7C7D6E", ": c #77785D", "< c #77785E", "[ c #77795E", "} c #797A63", "| c #7A7B66", "1 c #7A7B67", "2 c #77785F", "3 c #777860", "4 c #777960", "5 c #76785D", "6 c #76775C", "7 c #76775D", "8 c #75765C", "9 c #75765B", " ", " ", " . ", " +@ ", " #$% ", " &*=- ", " ;>,%' ", " )!~{]^ ", " ))!/(]_ ", " :<<[/}|1 ", " ::::<2343 ", " 55555555 ", " 6666667 ", " 666666 ", " 66666 ", " 8888 ", " 999 ", " 99 ", " 9 ", " "}; butt-0.1.26/src/xpm/orange_dark.png0000664000175000017500000000117213663226731014070 00000000000000PNG  IHDR w&sRGBbKGD*_)W`}; pHYs  tIME9.FIDAT~/ ga)0 s ~u~/ g   ga   s)   & 77> :}='{},G1IIENDB`butt-0.1.26/src/xpm/VU_text.png0000664000175000017500000001432613663226731013217 00000000000000PNG  IHDR E\-IDATX mf B? ')  _')  _B?<Yz yHKz yz _z yz _Gz yHKM,i  i+mbccMbq p _TDTD_ [fh gIh gjnh gjnh gIk _=""!G;"!"!"!G;(9}_IENDB`butt-0.1.26/src/xpm/red_light.png0000664000175000017500000000117213663226731013555 00000000000000PNG  IHDR w&sRGBbKGD*_)W`}; pHYs  tIME59CbIDAT /h(&A & & F/3 h'& a| F aod#'IENDB`butt-0.1.26/src/xpm/green_dark.png0000664000175000017500000000117213663226731013715 00000000000000PNG  IHDR w&sRGBbKGD*_)W`}; pHYs  tIME-(ڳIDAT L p\)  M f߲g L p  q\   p)   3%3߲|$)߲|lIENDB`butt-0.1.26/src/xpm/rec_dark.xpm0000664000175000017500000000172513663226731013412 00000000000000/* XPM */ static const char * rec_dark_xpm[] = { "16 16 40 1", " c None", ". c #7C5B5B", "+ c #7D5E5E", "@ c #7D6060", "# c #7E6464", "$ c #7F6868", "% c #816C6C", "& c #7C5A5A", "* c #7C5C5C", "= c #7E6262", "- c #7F6666", "; c #806B6B", "> c #827070", ", c #847474", "' c #7D5F5F", ") c #7E6363", "! c #816D6D", "~ c #847272", "{ c #847676", "] c #847979", "^ c #7B5959", "/ c #806969", "( c #826F6F", "_ c #847878", ": c #847B7B", "< c #847D7D", "[ c #7B5A5A", "} c #806A6A", "| c #847C7C", "1 c #7F6969", "2 c #826E6E", "3 c #847373", "4 c #847777", "5 c #7D6262", "6 c #7F6767", "7 c #837171", "8 c #7C5E5E", "9 c #7D6161", "0 c #7E6565", "a c #7C5D5D", " ", " ", " .+@#$% ", " &*+=-;>, ", " &&*')$!~{] ", " ^&&*@#/(,_:< ", " ^[&*@#}(,_:| ", " ^[&*@#1234]: ", " ^^&*'56%7,{4 ", " ^^[.8901!>~3 ", " ^^[&*'50$;%! ", " ^^[.*'9#-6 ", " ^^&.*+@9 ", " ^[&.*a ", " ", " "}; butt-0.1.26/src/xpm/orange_light.png0000664000175000017500000000117213663226731014256 00000000000000PNG  IHDR w&sRGBbKGD*_)W`}; pHYs  tIME74-|'IDATf / hn\ &  A & &  F/   3 3 h'& aB F aB'IENDB`butt-0.1.26/src/xpm/rec_armed.xpm0000664000175000017500000000307513663226731013561 00000000000000/* XPM */ static const char * rec_armed_xpm[] = { "16 16 81 1", " c None", ". c #C85916", "+ c #CE5E1A", "@ c #D06220", "# c #D66C2C", "$ c #D57B45", "% c #E48952", "& c #C55715", "* c #C95A17", "= c #CE5F1C", "- c #D46624", "; c #D57439", "> c #DD844F", ", c #F19863", "' c #FEAA78", ") c #C25514", "! c #CA5B18", "~ c #CD5F1D", "{ c #D56927", "] c #D37B45", "^ c #E68D58", "/ c #FEA570", "( c #FFB487", "_ c #FFC29D", ": c #C35513", "< c #CD601F", "[ c #D66B2A", "} c #D67F4A", "| c #EC935E", "1 c #FEAC7A", "2 c #FFBC93", "3 c #FECAAA", "4 c #FFD2B7", "5 c #C15413", "6 c #C85A18", "7 c #D56B2B", "8 c #D77F49", "9 c #ED9661", "0 c #FEAD7C", "a c #FFBD95", "b c #FFD1B5", "c c #C35615", "d c #CB601F", "e c #D46928", "f c #D47D48", "g c #E9925D", "h c #FEA874", "i c #FFB78B", "j c #FEC7A6", "k c #C15513", "l c #C35715", "m c #C75917", "n c #CB5E1D", "o c #D36725", "p c #D3763D", "q c #DF8853", "r c #F49C66", "s c #FFB88D", "t c #BF5413", "u c #C45816", "v c #C95C1B", "w c #CD6221", "x c #D56C2D", "y c #E28A54", "z c #F09964", "A c #FBA26D", "B c #FEA772", "C c #C25614", "D c #C65A18", "E c #D16523", "F c #D46E30", "G c #D27B46", "H c #DC844E", "I c #E28954", "J c #D06322", "K c #D66A28", "L c #D47136", "M c #D4773E", "N c #CA5D1C", "O c #D26422", "P c #C95B19", " ", " ", " .+@#$% ", " &*=-;>,' ", " )&!~{]^/(_ ", " :)&!<[}|1234 ", " 5)&6<7890a3b ", " 5)c6defghi_j ", " k:lmnopqr1(s ", " t5)uvwxfyzAB ", " tkCcDnEFGHI^ ", " t5)u6nJKLM ", " k:)u6Nf`xuY` \΅&u`ܔwlZv`>VATUsW8=sf~SkG z>9t a,<11_ĄtIENDB`butt-0.1.26/src/xpm/green_light.png0000664000175000017500000000117213663226731014103 00000000000000PNG  IHDR w&sRGBbKGD*_)W`}; pHYs  tIME,$IDATm / hie &A && F/  3 3 h'&aPFaDNjIENDB`butt-0.1.26/src/xpm/conn.xpm0000664000175000017500000000267313663226731012600 00000000000000/* XPM */ static const char * conn_xpm[] = { "20 20 62 1", " c None", ". c #E6F632", "+ c #DFEF2E", "@ c #E9F939", "# c #D9E82B", "$ c #E0EF33", "% c #F1FC44", "& c #D2E128", "* c #D7E62D", "= c #E4F23A", "- c #FAFF56", "; c #CDDC26", "> c #D0DE29", ", c #D7E630", "' c #EAF745", ") c #FEFF6B", "! c #C8D624", "~ c #C9D826", "{ c #CDDB2A", "] c #D8E635", "^ c #F0FB4F", "/ c #FFFF79", "( c #C4D223", "_ c #C4D224", ": c #C5D426", "< c #CAD82A", "[ c #D6E438", "} c #EEF850", "| c #FDFF6B", "1 c #C0CE22", "2 c #C0CE23", "3 c #C1CF25", "4 c #C6D32A", "5 c #CFDC34", "6 c #DAE840", "7 c #DCEA43", "8 c #BCCA22", "9 c #BCC922", "0 c #BDCA24", "a c #BECC26", "b c #C1CE2A", "c c #C2CF2B", "d c #BECC29", "e c #B8C621", "f c #B8C521", "g c #B7C522", "h c #B7C422", "i c #B5C220", "j c #B4C120", "k c #B3C020", "l c #B3C021", "m c #B2BF20", "n c #B1BE20", "o c #B0BD20", "p c #AEBB1F", "q c #AEBA1F", "r c #ABB81F", "s c #ACB81F", "t c #A8B51E", "u c #A9B51E", "v c #A6B21E", "w c #A3AF1D", " ", " ", " . ", " +@ ", " #$% ", " &*=- ", " ;>,') ", " !~{]^/ ", " (_:<[}| ", " 12234567 ", " 88980abcd ", " eeefghhh ", " iiijjkl ", " mmnnoo ", " pppqq ", " rsrr ", " ttu ", " vv ", " w ", " "}; butt-0.1.26/src/xpm/rec.xpm0000664000175000017500000000322113663226731012402 00000000000000/* XPM */ static const char * rec_xpm[] = { "16 16 87 1", " c None", ". c #AD1313", "+ c #B21717", "@ c #B81C1C", "# c #C22525", "$ c #D03131", "% c #E14141", "& c #AA1212", "* c #AE1414", "= c #B31818", "- c #BC2020", "; c #C82B2B", "> c #DA3C3C", ", c #F05151", "' c #FF6868", ") c #A71111", "! c #AE1515", "~ c #B41A1A", "{ c #BE2323", "] c #CE3131", "^ c #E44646", "/ c #FF6060", "( c #FF7B7B", "_ c #FF9393", ": c #A51010", "< c #B51B1B", "[ c #C02525", "} c #D23636", "| c #EB4D4D", "1 c #FF6A6A", "2 c #FF8888", "3 c #FFA1A1", "4 c #FFB0B0", "5 c #A41010", "6 c #A61111", "7 c #A91212", "8 c #AD1515", "9 c #C02626", "0 c #D33737", "a c #EC4F4F", "b c #FF6C6C", "c c #FF8A8A", "d c #FFAEAE", "e c #A81212", "f c #AC1515", "g c #B31B1B", "h c #BE2424", "i c #CF3434", "j c #E74B4B", "k c #FF6565", "l c #FF7F7F", "m c #FF9D9D", "n c #A31010", "o c #A71212", "p c #AB1414", "q c #B11919", "r c #BA2121", "s c #C92E2E", "t c #DC4141", "u c #F35656", "v c #FF6B6B", "w c #FF7A7A", "x c #FF8181", "y c #A21010", "z c #A91313", "A c #AE1717", "B c #B51D1D", "C c #C02727", "D c #DF4343", "E c #EF5252", "F c #FB5D5D", "G c #FF6262", "H c #A51111", "I c #AB1515", "J c #B81F1F", "K c #C22828", "L c #CD3232", "M c #D83B3B", "N c #E04242", "O c #B81E1E", "P c #BF2424", "Q c #C52A2A", "R c #CB2E2E", "S c #B01818", "T c #B91E1E", "U c #AC1414", "V c #AE1616", " ", " ", " .+@#$% ", " &*=-;>,' ", " )&!~{]^/(_ ", " :)&!<[}|1234 ", " 5678<90abc3d ", " 56efghijkl_m ", " n:opqrstuvwx ", " y56zABCiDEFG ", " ynHeIqJKLMN^ ", " y56zfqOPQR ", " n:)z8S #include #include "gettext.h" #include "lame_encode.h" #include "fl_funcs.h" int lame_enc_init(lame_enc *lame) { int rc; char info_buf[256]; lame->gfp = lame_init(); lame_set_num_channels(lame->gfp, lame->channel); lame_set_in_samplerate(lame->gfp, lame->samplerate); lame_set_out_samplerate(lame->gfp, lame->samplerate); lame_set_brate(lame->gfp, lame->bitrate); if((rc = lame_init_params(lame->gfp)) < 0) { snprintf(info_buf, sizeof(info_buf), _("unable to init lame params %d"), rc); print_info(info_buf, 1); return 1; } lame->state = LAME_READY; return 0; } int lame_enc_reinit(lame_enc *lame) { if(lame != NULL) { lame_enc_close(lame); return lame_enc_init(lame); } return 1; } void lame_enc_close(lame_enc *lame) { while(lame->state == LAME_BUSY) ; if (lame->gfp != NULL) lame_close(lame->gfp); lame->gfp = NULL; } int lame_enc_encode(lame_enc *lame, short *pcm_buf, char *enc_buf, int samples, int size) { int rc; if(samples == 0 || lame->gfp == NULL) return 0; lame->state = LAME_BUSY; if(lame->channel == 2) // stereo rc = lame_encode_buffer_interleaved(lame->gfp, pcm_buf, samples, (unsigned char*)enc_buf, size); else // mono rc = lame_encode_buffer(lame->gfp, pcm_buf, pcm_buf, samples, (unsigned char*)enc_buf, size); lame->state = LAME_READY; return rc; } butt-0.1.26/src/opus_encode.h0000775000175000017500000000402013663226731012754 00000000000000// opus encoding functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef OPUS_ENCODE_H #define OPUS_ENCODE_H #include #include #include #include "config.h" #define DEFAULT_OPUS_BITRATE 128000 typedef struct { int version; int channels; /* Number of channels: 1..255 */ int preskip; ogg_uint32_t input_sample_rate; int gain; /* in dB S7.8 should be zero whenever possible */ int channel_mapping; /* The rest is only used if channel_mapping != 0 */ int nb_streams; int nb_coupled; unsigned char stream_map[255]; } OpusHeader; struct opus_enc { ogg_stream_state os; ogg_page og; ogg_packet op; OpusEncoder *encoder; OpusHeader *header; unsigned char *header_data; unsigned char *tags; int tags_size; int header_size; int packetno; ogg_int64_t granulepos; int last_bitrate; int bitrate; int samplerate; int channel; int state; unsigned char *buffer; }; enum { OPUS_READY = 0, OPUS_BUSY = 1 }; //extern opus_info opus_vi; extern OpusEncoder opus_vi; extern char* opus_buf; int opus_header_to_packet(const OpusHeader *h, unsigned char *packet, int len); int opus_enc_init(opus_enc *opus); int opus_enc_encode(opus_enc *opus, short *pcm_buf, char *enc_buf, int size); int opus_enc_reinit(opus_enc *opus); void opus_enc_write_header(opus_enc *opus); void opus_enc_close(opus_enc *opus); bool opus_enc_is_valid_srate(int samplerate); int opus_enc_get_valid_srate(int samplerate); #endif butt-0.1.26/src/icecast.cpp0000664000175000017500000004460613764661003012427 00000000000000// icecast functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #ifdef WIN32 #include #define usleep(us) Sleep(us/1000) //#define close(s) closesocket(s) #else #include #include #include #include //defines IPPROTO_TCP on BSD #include #endif #include #include "config.h" #include "gettext.h" #include "cfg.h" #include "butt.h" #include "util.h" #include "timer.h" #include "icecast.h" #include "strfuncs.h" #include "sockfuncs.h" #include "parseconfig.h" #include "fl_funcs.h" #include "flgui.h" #ifdef HAVE_LIBSSL #include "tls.h" #endif #ifdef HAVE_LIBSSL tls_t stream_tls; #endif int ic_recv(char *buf, int buf_len); int ic_connect(void) { int ret; int retval; int tries = 2; int opus_supported = 0; char auth[150]; char b64_auth[200]; char recv_buf[1000]; char send_buf[2048]; char msg[256]; char *http_retval; static bool error_printed = 0; for (int try_cnt = 0; try_cnt < tries; try_cnt++) { stream_socket = sock_connect(cfg.srv[cfg.selected_srv]->addr, cfg.srv[cfg.selected_srv]->port, CONN_TIMEOUT); if (stream_socket < 0) { switch (stream_socket) { case SOCK_ERR_CREATE: if(!error_printed) { print_info(_("\nconnect: Could not create network socket"), 1); error_printed = 1; } if (cfg.main.force_reconnecting == 1) ret = IC_RETRY; else ret = IC_ABORT; break; case SOCK_ERR_RESOLVE: if(!error_printed) { print_info(_("\nconnect: Error resolving server address"), 1); error_printed = 1; } ret = IC_RETRY; break; case SOCK_TIMEOUT: case SOCK_INVALID: ret = IC_RETRY; break; default: if (cfg.main.force_reconnecting == 1) ret = IC_RETRY; else ret = IC_ABORT; break; } return ret; } #ifdef HAVE_LIBSSL if (cfg.srv[cfg.selected_srv]->tls == 1) { stream_tls.host = cfg.srv[cfg.selected_srv]->addr; stream_tls.socket = stream_socket; stream_tls.cert_file = cfg.tls.cert_file; stream_tls.cert_dir = cfg.tls.cert_dir; if ((ret = tls_setup(&stream_tls)) != TLS_OK) { // Check if the user wants to ignore a certificate verification error int ignore_verfication_error; if ( (cfg.srv[cfg.selected_srv]->cert_hash != NULL) && (!strcmp(stream_tls.sha256, cfg.srv[cfg.selected_srv]->cert_hash)) ) ignore_verfication_error = 1; else ignore_verfication_error = 0; if (ret == TLS_TIMEOUT) { print_info(_("\nconnect: SSL connection timed out. Trying again..."), 1); ic_disconnect(); return IC_RETRY; } else if ( (ret == TLS_CHECK_CERT) || (ret == TLS_CHECK_HOST) ) { if (ignore_verfication_error == 0) { snprintf(msg, sizeof(msg), _("SSL/TLS certificate verification failed\nReason: %s\n\n" "Do you still want to trust this certificate?\n" "Trusting will be permanent and can be revoked\n" "in the server settings."), stream_tls.last_err); ask_user_set_msg(msg); ask_user_set_hash(stream_tls.sha256); ic_disconnect(); return IC_ASK; } } else { if(!error_printed) { snprintf(msg, sizeof(msg), _("\nconnect: SSL connection failed\n" "Reason: %s"), stream_tls.last_err); print_info(msg, 1); error_printed = 1; } ic_disconnect(); if (cfg.main.force_reconnecting == 1) return IC_RETRY; else return IC_ABORT; } } } #endif // HAVE_LIBSSL if (try_cnt == 0) { // Try PUT method first. Supported since icecast 2.4.0 if(cfg.srv[cfg.selected_srv]->mount[0] != '/') snprintf(send_buf, sizeof(send_buf), "PUT /%s HTTP/1.1\r\n", cfg.srv[cfg.selected_srv]->mount); else snprintf(send_buf, sizeof(send_buf), "PUT %s HTTP/1.1\r\n", cfg.srv[cfg.selected_srv]->mount); opus_supported = 1; } else { if (cfg.srv[cfg.selected_srv]->mount[0] != '/') snprintf(send_buf, sizeof(send_buf), "SOURCE /%s HTTP/1.0\r\n", cfg.srv[cfg.selected_srv]->mount); else snprintf(send_buf, sizeof(send_buf), "SOURCE %s HTTP/1.0\r\n", cfg.srv[cfg.selected_srv]->mount); } snprintf(auth, sizeof(auth), "%s:%s", cfg.srv[cfg.selected_srv]->usr, cfg.srv[cfg.selected_srv]->pwd); snprintf(b64_auth, sizeof(b64_auth), "%s", util_base64_enc(auth)); snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "Authorization: Basic %s\r\n", b64_auth); // Make butt compatible to proxies/load balancers. Thanks to boyska if(cfg.srv[cfg.selected_srv]->port == 80) snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "Host: %s\r\n", cfg.srv[cfg.selected_srv]->addr); else snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "Host: %s:%d\r\n", cfg.srv[cfg.selected_srv]->addr, cfg.srv[cfg.selected_srv]->port); //ic_send(send_buf, (int)strlen(send_buf)); snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "User-Agent: %s\r\n", PACKAGE_STRING); //ic_send(send_buf, (int)strlen(send_buf)); if(!strcmp(cfg.audio.codec, "mp3")) snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "Content-Type: audio/mpeg\r\n"); else if(!strcmp(cfg.audio.codec, "aac")) snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "Content-Type: audio/aac\r\n"); else snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "Content-Type: audio/ogg\r\n"); if(cfg.main.num_of_icy > 0) snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "ice-name: %s\r\n", cfg.icy[cfg.selected_icy]->name); else snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "ice-name: no name\r\n"); if(cfg.main.num_of_icy > 0) snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "ice-public: %s\r\n", cfg.icy[cfg.selected_icy]->pub); else snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "ice-public: 0\r\n"); if(cfg.main.num_of_icy > 0) { snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "ice-url: %s\r\n", cfg.icy[cfg.selected_icy]->url); snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "ice-genre: %s\r\n", cfg.icy[cfg.selected_icy]->genre); snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "ice-description: %s\r\n", cfg.icy[cfg.selected_icy]->desc); } // Send audio settings snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "ice-audio-info: " "ice-bitrate=%d;" "ice-channels=%d;" "ice-samplerate=%d" "\r\n", cfg.audio.bitrate, cfg.audio.channel, strcmp(cfg.audio.codec, "opus") == 0 ? 48000 : cfg.audio.samplerate); //ic_send(send_buf, (int)strlen(send_buf)); if (try_cnt == 0) // PUT { snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "Expect: 100-continue\r\n"); // ic_send(send_buf, (int)strlen(send_buf)); } snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "\r\n"); ic_send(send_buf, (int)strlen(send_buf)); ret = ic_recv(recv_buf, sizeof(recv_buf)); if (ret == 0) { if (try_cnt == 0) { ic_disconnect(); continue; //try SOURCE method if PUT method did not work } else { usleep(100*1000); ic_disconnect(); return IC_RETRY; } } if (ret == SOCK_TIMEOUT) { print_info(_("\nconnect: connection timed out. Trying again..."), 1); usleep(100000); ic_disconnect(); return IC_RETRY; } if (ret < 0) { //print_info("\nconnect: error while receiving server response\nThe server might require SSL/TLS", 1); ic_disconnect(); return IC_RETRY; } char* temp = strdup(recv_buf); //We need to extract the HTTP return value from the HTTP response //to see if the login was successfull (HTTP/1.0 200 OK) http_retval = strchr(temp, ' '); if(http_retval == NULL) { usleep(100000); ic_disconnect(); free(temp); return IC_RETRY; } //point to the beginning of the HTTP return value http_retval++; http_retval[3] = '\0'; retval = atoi(http_retval); free(temp); // Workaround for liquidsoap and icecast-kh in case the user has entered a wrong password if (retval == 100) { if (strstr(recv_buf, " 401 ") != NULL) { retval = 401; } } if (retval != 200 && retval != 100) { switch (retval) { case 401: if(!error_printed) { print_info(_("\nconnect: invalid user/password!\n"), 1); error_printed = 1; } ic_disconnect(); if (cfg.main.force_reconnecting == 1) return IC_RETRY; else return IC_ABORT; break; case 403: //mountpoint already in use usleep(100000); ic_disconnect(); return IC_RETRY; break; case 404: if (try_cnt == 0) { ic_disconnect();// This brings compatibility to airtime server. Because they don't understand the PUT method they answer with an 404 opus_supported = 1; // Airtimes supports Opus usleep(100000); continue; // Let's try the SOURCE method then... } print_info(_("\nconnect: server answered with 404!\n"), 1); ic_disconnect(); return IC_ABORT; break; default: if(!error_printed) { snprintf(msg, sizeof(msg), _("\nconnect: server answered with %d!\n"), retval); print_info(msg, 1); error_printed = 1; } ic_disconnect(); if (cfg.main.force_reconnecting == 1) return IC_RETRY; else return IC_ABORT; } } // At this point the connection has been established and encoded data // can be send to the server // In case Opus is selected we need to verifiy if it is supported by // the server if (!strcmp(cfg.audio.codec, "opus")) { if (opus_supported == 1) // The server has at least version 2.4.0 (PUT method worked) or it is an airtime server -> opus is supported. { break; } else { print_info(_("\nERROR: Opus is not supported by your\nIcecast server (>=1.4.0 required)!\n"), 1); ic_disconnect(); return IC_ABORT; } } break; } connected = 1; error_printed = 0; timer_init(&stream_timer, 1); //starts the "online" timer return IC_OK; } int ic_send(char *buf, int buf_len) { int ret; if (cfg.srv[cfg.selected_srv]->tls == 1) { #ifdef HAVE_LIBSSL ret = tls_send(&stream_tls, buf, buf_len, SEND_TIMEOUT); if (ret == TLS_SENDERR) #endif ret = -1; } else { ret = sock_send(stream_socket, buf, buf_len, SEND_TIMEOUT); if (ret == SOCK_TIMEOUT) ret = -1; } return ret; } int ic_recv(char *buf, int buf_len) { int ret; if (cfg.srv[cfg.selected_srv]->tls == 1) { #ifdef HAVE_LIBSSL ret = tls_recv(&stream_tls, buf, buf_len, 5*RECV_TIMEOUT); if (ret != TLS_TIMEOUT) return ret; else #endif return SOCK_TIMEOUT; } else return sock_recv(stream_socket, buf, buf_len, 5*RECV_TIMEOUT); } int ic_update_song(char *song_name) { int ret; int web_socket; char send_buf[1024]; char auth[150]; char *song_buf; char *mount; #ifdef HAVE_LIBSSL tls_t web_tls; #endif web_socket = sock_connect(cfg.srv[cfg.selected_srv]->addr, cfg.srv[cfg.selected_srv]->port, CONN_TIMEOUT); if(web_socket < 0) { switch(web_socket) { case SOCK_ERR_CREATE: print_info(_("\nupdate_song: could not create network socket"), 1); ret = IC_ABORT; break; case SOCK_ERR_RESOLVE: print_info(_("\nupdate_song: error resolving server address"), 1); ret = IC_ABORT; break; case SOCK_TIMEOUT: case SOCK_INVALID: ret = IC_RETRY; break; default: ret = IC_ABORT; } return ret; } #ifdef HAVE_LIBSSL if (cfg.srv[cfg.selected_srv]->tls == 1) { web_tls.host = cfg.srv[cfg.selected_srv]->addr; web_tls.socket = web_socket; web_tls.cert_file = cfg.tls.cert_file; web_tls.cert_dir = cfg.tls.cert_dir; web_tls.skip_verification = 0; if ( (cfg.srv[cfg.selected_srv]->cert_hash != NULL) && (!strcmp(stream_tls.sha256, cfg.srv[cfg.selected_srv]->cert_hash)) ) web_tls.skip_verification = 1; if ((ret = tls_setup(&web_tls)) != TLS_OK) { sock_close(web_socket); return IC_ABORT; } } #endif song_buf = strdup(song_name); strrpl(&song_buf, (char*)" ", (char*)"%20", MODE_ALL); strrpl(&song_buf, (char*)"&", (char*)"%26", MODE_ALL); mount = (char*)malloc(strlen(cfg.srv[cfg.selected_srv]->mount)+2); if(cfg.srv[cfg.selected_srv]->mount[0] != '/') sprintf(mount, "/%s", cfg.srv[cfg.selected_srv]->mount); else strcpy(mount, cfg.srv[cfg.selected_srv]->mount); snprintf(auth, sizeof(auth), "%s:%s", cfg.srv[cfg.selected_srv]->usr, cfg.srv[cfg.selected_srv]->pwd); // Remove UTF-8 BOM if ((uint8_t)song_buf[0] == 0xEF && (uint8_t)song_buf[1] == 0xBB && (uint8_t)song_buf[2] == 0xBF) { song_buf += 3; } if (cfg.main.ic_charset != NULL) { snprintf(send_buf, sizeof(send_buf), "GET /admin/metadata?mode=updinfo&mount=%s&charset=%s&song=%s " "HTTP/1.0\r\n" "User-Agent: %s\r\n" "Authorization: Basic %s\r\n", mount, cfg.main.ic_charset, song_buf, PACKAGE_STRING, util_base64_enc(auth)); } else { snprintf(send_buf, sizeof(send_buf), "GET /admin/metadata?mode=updinfo&mount=%s&song=%s " "HTTP/1.0\r\n" "User-Agent: %s\r\n" "Authorization: Basic %s\r\n", mount, song_buf, PACKAGE_STRING, util_base64_enc(auth)); } if( cfg.srv[cfg.selected_srv]->port == 80) snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "Host: %s\r\n\r\n", cfg.srv[cfg.selected_srv]->addr); else snprintf(send_buf+strlen(send_buf), sizeof(send_buf)-strlen(send_buf), "Host: %s:%d\r\n\r\n", cfg.srv[cfg.selected_srv]->addr, cfg.srv[cfg.selected_srv]->port); if (cfg.srv[cfg.selected_srv]->tls == 1) { #ifdef HAVE_LIBSSL ret = tls_send(&web_tls, send_buf, (int)strlen(send_buf), SEND_TIMEOUT); tls_close(&web_tls); #endif } else { sock_send(web_socket, send_buf, (int)strlen(send_buf), SEND_TIMEOUT); } sock_close(web_socket); free(song_buf); free(mount); return IC_OK; } void ic_disconnect(void) { #ifdef HAVE_LIBSSL if (cfg.srv[cfg.selected_srv]->tls == 1) tls_close(&stream_tls); #endif sock_close(stream_socket); } butt-0.1.26/src/strfuncs.h0000664000175000017500000000200513663226731012316 00000000000000// string manipulation functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef STRFUNCS_H #define STRFUNCS_H enum { MODE_ALL = 0, MODE_FIRST = 1, MODE_LAST = 2 }; //replaces all strings "replace" with "search" in "dest" int strrpl(char **dest, char *search, char *replace, int mode); //inserts string "insert" at position "pos" int strinsrt(char **dest, char *insert, char *pos); // finds last occurrence of substring "needle" in string "haystack" char *strrstr(char *haystack, char *needle); #endif butt-0.1.26/src/butt.cpp0000664000175000017500000004013213770206736011765 00000000000000// butt - broadcast using this tool // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #include #include #include #include #include #ifdef WIN32 #include #define IDI_ICON 101 #endif #if !defined(__APPLE__) && !defined(WIN32) #include #endif #if defined(__APPLE__) #include // for dirname #include // for _NSGetExecutablePath #include #include "AskForMicPermission.h" #endif #include "config.h" #include "gettext.h" #include "cfg.h" #include "butt.h" #include "port_audio.h" #include "lame_encode.h" #include "opus_encode.h" #include "flac_encode.h" #include "shoutcast.h" #include "parseconfig.h" #include "vu_meter.h" #include "util.h" #include "flgui.h" #include "fl_funcs.h" #include "fl_timer_funcs.h" #include "command.h" #include "update.h" #ifdef HAVE_LIBFDK_AAC #include "aac_encode.h" #endif bool record; bool recording; bool connected; bool streaming; bool disconnect; bool try_connect; bool song_timeout_running; bool app_timeout_running; int stream_socket; double kbytes_sent; double kbytes_written; unsigned int record_start_hour; sec_timer rec_timer; sec_timer stream_timer; lame_enc lame_stream; lame_enc lame_rec; vorbis_enc vorbis_stream; vorbis_enc vorbis_rec; opus_enc opus_stream; opus_enc opus_rec; flac_enc flac_stream; flac_enc flac_rec; #ifdef HAVE_LIBFDK_AAC aac_enc aac_stream; aac_enc aac_rec; #endif #if defined(__APPLE__) || defined(WIN32) aacEncOpenPtr aacEncOpen_butt; aacEncoder_SetParamPtr aacEncoder_SetParam_butt; aacEncEncodePtr aacEncEncode_butt; aacEncInfoPtr aacEncInfo_butt; aacEncClosePtr aacEncClose_butt; #endif void print_usage(void) { printf("Usage: butt [-h | -s [name] -Sdrt | -c ] [-A | -x] [-a ] [-p ]\n"); } void load_AAC_lib(void) { #ifdef WIN32 fl_g->window_main->icon((char *)LoadIcon(fl_display, MAKEINTRESOURCE(IDI_ICON))); // The fltk icon code above only loads the default icon. // Here, once the window is shown, we can assign // additional icons, just to make things look a bit nicer. HANDLE bigicon = LoadImage(GetModuleHandle(0), MAKEINTRESOURCE(IDI_ICON), IMAGE_ICON, 32, 32, 0); SendMessage(fl_xid(fl_g->window_main), WM_SETICON, ICON_BIG, (LPARAM)bigicon); HANDLE smallicon = LoadImage(GetModuleHandle(0), MAKEINTRESOURCE(IDI_ICON), IMAGE_ICON, 16, 16, 0); SendMessage(fl_xid(fl_g->window_main), WM_SETICON, ICON_SMALL, (LPARAM)smallicon); // Load aac library HMODULE hModule = LoadLibrary(TEXT("libfdk-aac-2.dll")); if (hModule != NULL) { aacEncOpen_butt = (aacEncOpenPtr)GetProcAddress(hModule, "aacEncOpen"); aacEncoder_SetParam_butt = (aacEncoder_SetParamPtr)GetProcAddress(hModule, "aacEncoder_SetParam"); aacEncEncode_butt = (aacEncEncodePtr)GetProcAddress(hModule, "aacEncEncode"); aacEncInfo_butt = (aacEncInfoPtr)GetProcAddress(hModule, "aacEncInfo"); aacEncClose_butt = (aacEncClosePtr)GetProcAddress(hModule, "aacEncClose"); g_aac_lib_available = 1; } #endif #if defined(__APPLE__) void* dylib = dlopen("libfdk-aac.2.dylib", RTLD_LAZY); if (dylib != NULL) { //typedef AACENC_ERROR(WINAPI *aacEncOpenPtr)(HANDLE_AACENCODER*, UINT, UINT); aacEncOpen_butt = (aacEncOpenPtr)dlsym(dylib, "aacEncOpen"); aacEncoder_SetParam_butt = (aacEncoder_SetParamPtr)dlsym(dylib, "aacEncoder_SetParam"); aacEncEncode_butt = (aacEncEncodePtr)dlsym(dylib, "aacEncEncode"); aacEncInfo_butt = (aacEncInfoPtr)dlsym(dylib, "aacEncInfo"); aacEncClose_butt = (aacEncClosePtr)dlsym(dylib, "aacEncClose"); g_aac_lib_available = 1; } askForMicPermission(); #endif #if ! defined(__APPLE__) && !defined(WIN32) // LINUX #ifdef HAVE_LIBFDK_AAC g_aac_lib_available = 1; #endif #endif } int read_cfg(void) { char *p; // Prepare configuration loading #ifdef WIN32 if(cfg_path == NULL) { if((p = fl_getenv("APPDATA")) == NULL) { //If there is no "%APPDATA% we are probably in none-NT Windows //So we save the config file to the programm directory cfg_path = (char*)malloc(strlen(CONFIG_FILE)+1); strcpy(cfg_path, CONFIG_FILE); } else { cfg_path = (char*)malloc((PATH_MAX+strlen(CONFIG_FILE)+1) * sizeof(char)); snprintf(cfg_path, PATH_MAX+strlen(CONFIG_FILE), "%s\\%s", p, CONFIG_FILE); } } #else //UNIX if(cfg_path == NULL) { if((p = fl_getenv("HOME")) == NULL) { ALERT(_("No home-directory found")); return 1; } else { cfg_path = (char*)malloc((PATH_MAX+strlen(CONFIG_FILE)+1) * sizeof(char)); snprintf(cfg_path, PATH_MAX+strlen(CONFIG_FILE), "%s/%s", p, CONFIG_FILE); } } #endif printf(_("Reading config %s\n"), cfg_path); if(cfg_set_values(NULL) != 0) //read config file and initialize config struct { printf(_("Could not find config %s\n"), cfg_path); if(cfg_create_default()) { fl_alert(_("Could not create config %s\nbutt is going to close now"), cfg_path); return 1; } printf(_("butt created a default config at\n%s\n"), cfg_path); cfg_set_values(NULL); } return 0; } void set_locale_from_system(void) { setlocale (LC_CTYPE, ""); setlocale (LC_MESSAGES, ""); #if defined(__APPLE__) char path_to_executeable[PATH_MAX]; char path_to_locale_dir[PATH_MAX]; uint32_t path_len = (uint32_t)sizeof(path_to_executeable); if (_NSGetExecutablePath(path_to_executeable, &path_len) == 0) { char *folder_of_executable = strdup(dirname(path_to_executeable)); snprintf(path_to_locale_dir, PATH_MAX, "%s%s", folder_of_executable, "/../Resources/locale"); free(folder_of_executable); } bindtextdomain(PACKAGE, path_to_locale_dir); #elif defined(WIN32) bindtextdomain(PACKAGE, "locale"); #else // Linux bindtextdomain(PACKAGE, LOCALEDIR); #endif textdomain(PACKAGE); bind_textdomain_codeset(PACKAGE, "UTF-8"); } void set_locale_from_config(void) { int lang; char lang_str[3]; static char env_str[32]; lang = cfg.gui.lang; switch (lang) { case LANG_DE: strcpy(lang_str, "de"); break; case LANG_EN: strcpy(lang_str, "en"); break; default: return; } setlocale(LC_CTYPE, ""); setlocale(LC_MESSAGES, ""); snprintf(env_str, sizeof(env_str), "LANG=%s", lang_str); putenv(env_str); snprintf(env_str, sizeof(env_str), "LANGUAGE=%s", lang_str); putenv(env_str); #if defined(__APPLE__) char path_to_executeable[PATH_MAX]; char path_to_locale_dir[PATH_MAX]; uint32_t path_len = (uint32_t)sizeof(path_to_executeable); if (_NSGetExecutablePath(path_to_executeable, &path_len) == 0) { char *folder_of_executable = strdup(dirname(path_to_executeable)); snprintf(path_to_locale_dir, PATH_MAX, "%s%s", folder_of_executable, "/../Resources/locale"); printf("%s\n", path_to_locale_dir); free(folder_of_executable); } bindtextdomain(PACKAGE, path_to_locale_dir); #elif defined(WIN32) bindtextdomain(PACKAGE, "locale"); #else // Linux bindtextdomain(PACKAGE, LOCALEDIR); #endif textdomain(PACKAGE); bind_textdomain_codeset(PACKAGE, "UTF-8"); } int main(int argc, char *argv[]) { char lcd_buf[33]; char info_buf[256]; cfg_path = NULL; #ifndef WIN32 //ignore the SIGPIPE signal. (In case the server closes the connection unexpected) signal(SIGPIPE, SIG_IGN); #endif #ifdef ENABLE_NLS set_locale_from_system(); #endif int opt; int port = 1256; int server_mode = SERVER_MODE_LOCAL; char server_addr[128]; snprintf(server_addr, sizeof(server_addr), "%s", "127.0.0.1"); command_t command; command.cmd = CMD_EMPTY; command.param_size = 0; // Parse command line parameters while((opt = getopt(argc, argv, ":hc:Axs:drta:p:S")) != -1) { switch(opt) { case 'A': server_mode = SERVER_MODE_ALL; break; case 'x': server_mode = SERVER_MODE_OFF; break; case 's': command.cmd = CMD_CONNECT; command.param_size = strlen(optarg)+1; command.param = (char*)malloc(command.param_size); sprintf((char*)command.param, "%s", optarg); break; case 'd': command.cmd = CMD_DISCONNECT; break; case 'r': command.cmd = CMD_START_RECORDING; break; case 't': command.cmd = CMD_STOP_RECORDING; break; case 'a': memset(server_addr, 0, sizeof(server_addr)); snprintf(server_addr, sizeof(server_addr), "%s", optarg); break; case 'p': port = atoi(optarg); if (port < 1024 || port > 65535) { printf(_("Illegal argument: Port must be a number between 1023 and 65535\n")); return 1; } break; case 'c': cfg_path = (char*)malloc((strlen(optarg)+1) * sizeof(char)); strcpy(cfg_path, optarg); break; case 'S': command.cmd = CMD_GET_STATUS; break; case 'h': print_usage(); printf(_("\nOptions for operating mode\n" "-c\tPath to configuration file\n" "-A\tCommand server will be accessible from your network/internet (default: localhost only)\n" "-x\tDo not start a command server\n" "-p\tPort where the command server shall listen to (default: 1256)\n\n" "Options for control mode:\n" "-s\tConnect to streaming server\n" "-d\tDisconnect from streaming server\n" "-r\tStart recording\n" "-t\tStop recording\n" "-S\tRequest status\n" "-a\tAddress of the butt instance to be controlled (default: 127.0.0.1)\n" "-p\tPort of the butt instance to be controlled (default: 1256)\n") ); return 0; case '?': printf(_("Illegal option -%c.\nType butt -h to get a list of supported options.\n"), optopt); print_usage(); return 1; case ':': if (optopt == 's') { // Handle connect option without argument command.cmd = CMD_CONNECT; break; } printf(_("Option -%c requires an argument\n"), optopt); print_usage(); return 1; default: printf(_("Command line parsing failed\n")); print_usage(); return 1; } } // Handle commands if (command.cmd != CMD_EMPTY) { int ret; if (cfg_path != NULL) free(cfg_path); ret = command_send_cmd(command, server_addr, port); if (ret < 0) { printf(_("No butt instance running on %s at port %d\n"), server_addr, port); return 1; } if (command.cmd == CMD_GET_STATUS) { uint32_t status; memset(&status, 0, sizeof(uint32_t)); ret = command_recv_status_reply(&status); if (ret == sizeof(uint32_t)) { int connected = (status & (1< 0; int connecting = (status & (1< 0; int recording = (status & (1< 0; printf(_("connected: %d\nconnecting: %d\nrecording: %d\n"), connected, connecting, recording); } else return 1; } return 0; } if(snd_init() != 0) { ALERT(_("PortAudio init failed\nbutt is going to close now")); return 1; } if (read_cfg() != 0) return 1; #ifdef ENABLE_NLS if (cfg.gui.lang != LANG_SYSTEM) set_locale_from_config(); #endif #if ! defined(__APPLE__) && !defined(WIN32) // LINUX Fl_File_Icon::load_system_icons(); FL_NORMAL_SIZE = 12; #endif fl_g = new flgui(); fl_g->window_main->show(); fl_font(fl_font(), 10); load_AAC_lib(); #ifdef WIN32 fl_g->window_main->icon((char *)LoadIcon(fl_display, MAKEINTRESOURCE(IDI_ICON))); // The fltk icon code above only loads the default icon. // Here, once the window is shown, we can assign // additional icons, just to make things look a bit nicer. HANDLE bigicon = LoadImage(GetModuleHandle(0), MAKEINTRESOURCE(IDI_ICON), IMAGE_ICON, 32, 32, 0); SendMessage(fl_xid(fl_g->window_main), WM_SETICON, ICON_BIG, (LPARAM)bigicon); HANDLE smallicon = LoadImage(GetModuleHandle(0), MAKEINTRESOURCE(IDI_ICON), IMAGE_ICON, 16, 16, 0); SendMessage(fl_xid(fl_g->window_main), WM_SETICON, ICON_SMALL, (LPARAM)smallicon); #endif #if defined(__APPLE__) askForMicPermission(); #endif lame_stream.gfp = NULL; lame_rec.gfp = NULL; flac_rec.encoder = NULL; flac_stream.encoder = NULL; #ifdef HAVE_LIBFDK_AAC aac_stream.handle = NULL; aac_rec.handle = NULL; #endif snprintf(info_buf, sizeof(info_buf), _("Starting %s\nWritten by Daniel Nöthen\n" "iPhone/iPad client: https://izicast.de\n" "Donate: paypal@danielnoethen.de\n"), PACKAGE_STRING); print_info(info_buf, 0); init_main_gui_and_audio(); snd_open_stream(); vu_init(); Fl::add_timeout(0.01, &vu_meter_timer); Fl::add_timeout(5, &display_rotate_timer); Fl::add_timeout(0.25, &cmd_timer); strcpy(lcd_buf, _("idle")); print_lcd(lcd_buf, strlen(lcd_buf), 0, 1); if(cfg.main.connect_at_startup) button_connect_cb(); else if (cfg.main.signal_threshold > 0) Fl::add_timeout(1, &stream_signal_timer); if (cfg.main.silence_threshold > 0) Fl::add_timeout(1, &stream_silence_timer); if(cfg.rec.rec_after_launch) button_record_cb(); else if (cfg.rec.signal_threshold > 0) Fl::add_timeout(1, &record_signal_timer); if (cfg.rec.silence_threshold > 0) Fl::add_timeout(1, &record_silence_timer); if (server_mode != SERVER_MODE_OFF && command_start_server(port, server_mode) != 0) { snprintf(info_buf, sizeof(info_buf), _("Warning: could not start command server on port %d\n"), port); printf("%s", info_buf); print_info(info_buf, 0); } if (cfg.main.check_for_update) { int rc; char uri[100]; char *new_version; int ret = update_check_for_new_version(); if (ret == UPDATE_NEW_VERSION) { new_version = update_get_version(); rc = fl_choice(_("New version available: %s\nYou have version %s"), _("Cancel"), _("Get new version"), NULL, new_version, VERSION); if(rc == 1) { snprintf(uri, sizeof(uri)-1, "https://sourceforge.net/projects/butt/files/butt/butt-%s/", new_version); fl_open_uri(uri); } } } fill_cfg_widgets(); GUI_LOOP(); return 0; } butt-0.1.26/src/dsp.hpp0000664000175000017500000000134013675605067011604 00000000000000// // dsp.hpp // butt // // Created by Melchor Garau Madrigal on 16/2/16. // Copyright © 2016 Daniel Nöthen. All rights reserved. // #ifndef dsp_hpp #define dsp_hpp #include class DSPEffects { private: float* dsp_buff; uint32_t dsp_size; uint32_t samplerate; uint8_t chans; class Biquad* band1l, *band2l, *band3l, *band4l, *band5l, *band1r, *band2r, *band3r, *band4r, *band5r; float attack_const, release_const, lowpass_const; float prev_power = 1.0; float prev_gain_dB = 0.0; void compress(); public: DSPEffects(uint32_t frames, uint8_t channels, uint32_t sampleRate); ~DSPEffects(); bool hasToProcessSamples(); void processSamples(short* samples); }; #endif /* dsp_hpp */ butt-0.1.26/src/shoutcast.cpp0000664000175000017500000001721113753234405013021 00000000000000// shoutcast functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #ifdef WIN32 #define usleep(us) Sleep(us/1000) #else #include #include #include #include //defines IPPROTO_TCP on BSD #include #endif #include #include "gettext.h" #include "cfg.h" #include "butt.h" #include "timer.h" #include "strfuncs.h" #include "shoutcast.h" #include "parseconfig.h" #include "sockfuncs.h" #include "flgui.h" #include "fl_funcs.h" void send_icy_header(char *key, char *val) { char *icy_line; int len; if((val == NULL) || (strlen(val) == 0)) return; len = strlen(key) + strlen(val) + strlen(":\r\n") + 1; icy_line = (char*)malloc(len * sizeof(char)+1); snprintf(icy_line, len, "%s:%s\r\n", key, val); sock_send(stream_socket, icy_line, strlen(icy_line), SEND_TIMEOUT); free(icy_line); } int sc_connect(void) { int ret; char recv_buf[100]; char send_buf[100]; static bool error_printed = 0; stream_socket = sock_connect(cfg.srv[cfg.selected_srv]->addr, cfg.srv[cfg.selected_srv]->port+1, CONN_TIMEOUT); if(stream_socket < 0) { switch(stream_socket) { case SOCK_ERR_CREATE: if(!error_printed) { print_info(_("\nConnect: Could not create network socket"), 1); error_printed = 1; } if (cfg.main.force_reconnecting == 1) ret = SC_RETRY; else ret = SC_ABORT; break; case SOCK_ERR_RESOLVE: if(!error_printed) { print_info(_("\nConnect: Error resolving server address"), 1); error_printed = 1; } ret = SC_RETRY; break; case SOCK_TIMEOUT: case SOCK_INVALID: ret = SC_RETRY; break; default: if (cfg.main.force_reconnecting == 1) ret = SC_RETRY; else ret = SC_ABORT; } return ret; } snprintf(send_buf, sizeof(send_buf), "%s%s", cfg.srv[cfg.selected_srv]->pwd, "\r\n"); sock_send(stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT); // Make butt compatible to proxies/load balancers. Thanks to boyska if(cfg.srv[cfg.selected_srv]->port == 80) snprintf(send_buf, sizeof(send_buf), "Host: %s\r\n", cfg.srv[cfg.selected_srv]->addr); else snprintf(send_buf, sizeof(send_buf), "Host: %s:%d\r\n", cfg.srv[cfg.selected_srv]->addr, cfg.srv[cfg.selected_srv]->port); sock_send(stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT); if(cfg.main.num_of_icy > 0) { send_icy_header((char*)"icy-name", cfg.icy[cfg.selected_icy]->name); send_icy_header((char*)"icy-genre", cfg.icy[cfg.selected_icy]->genre); send_icy_header((char*)"icy-url", cfg.icy[cfg.selected_icy]->url); send_icy_header((char*)"icy-irc", cfg.icy[cfg.selected_icy]->irc); send_icy_header((char*)"icy-icq", cfg.icy[cfg.selected_icy]->icq); send_icy_header((char*)"icy-aim", cfg.icy[cfg.selected_icy]->aim); send_icy_header((char*)"icy-pub", cfg.icy[cfg.selected_icy]->pub); } else { send_icy_header((char*)"icy-name", (char*)"No Name"); send_icy_header((char*)"icy-pub", (char*)"0"); } snprintf(send_buf, sizeof(send_buf), "%u", cfg.audio.bitrate); send_icy_header((char*)"icy-br", send_buf); sock_send(stream_socket, "content-type:", 13, SEND_TIMEOUT); if(!strcmp(cfg.audio.codec, "mp3")) strcpy(send_buf, "audio/mpeg"); else if(!strcmp(cfg.audio.codec, "aac")) strcpy(send_buf, "audio/aac"); else strcpy(send_buf, "audio/ogg"); sock_send(stream_socket, send_buf, strlen(send_buf), SEND_TIMEOUT); sock_send(stream_socket, "\r\n\r\n", 4, SEND_TIMEOUT); if((ret = sock_recv(stream_socket, recv_buf, sizeof(recv_buf)-1, 5*RECV_TIMEOUT)) == 0) { usleep(100*1000); sc_disconnect(); return SC_RETRY; } if (ret == SOCK_TIMEOUT) { print_info(_("\nconnect: connection timed out. Trying again...\n"), 1); usleep(100*1000); sc_disconnect(); return SC_RETRY; } recv_buf[ret] = '\0'; if( (recv_buf[0] != 'O') || (recv_buf[1] != 'K') || (ret <= 2) ) { if(strstr(recv_buf, "invalid password") != NULL || (strstr(recv_buf, "Invalid Password") != NULL)) { if(!error_printed) { print_info(_("\nConnect: Invalid password!\n"), 1); error_printed = 1; } sc_disconnect(); if (cfg.main.force_reconnecting == 1) return SC_RETRY; else return SC_ABORT; } return SC_RETRY; } connected = 1; error_printed = 0; timer_init(&stream_timer, 1); //starts the "online" timer return SC_OK; } int sc_send(char *buf, int buf_len) { int ret; ret = sock_send(stream_socket, buf, buf_len, SEND_TIMEOUT); if(ret == SOCK_TIMEOUT) ret = -1; return ret; } int sc_update_song(char *song_name) { int ret; int web_socket; char send_buf[1024]; char *song_buf; web_socket = sock_connect(cfg.srv[cfg.selected_srv]->addr, cfg.srv[cfg.selected_srv]->port, CONN_TIMEOUT); if(web_socket < 0) { switch(web_socket) { case SOCK_ERR_CREATE: print_info(_("\nUpdate song: Could not create network socket"), 1); ret = SC_ABORT; break; case SOCK_ERR_RESOLVE: print_info(_("\nUpdate song: Error resolving server address"), 1); ret = SC_ABORT; break; case SOCK_TIMEOUT: case SOCK_INVALID: ret = SC_RETRY; break; default: ret = SC_ABORT; } return ret; } song_buf = strdup(song_name); strrpl(&song_buf, (char*)" ", (char*)"%20", MODE_ALL); strrpl(&song_buf, (char*)"&", (char*)"%26", MODE_ALL); snprintf(send_buf, 500, "GET /admin.cgi?pass=%s&mode=updinfo&song=%s&url= HTTP/1.0\r\n" "User-Agent: ShoutcastDSP (Mozilla Compatible)\r\n", cfg.srv[cfg.selected_srv]->pwd, song_buf ); sock_send(web_socket, send_buf, strlen(send_buf), SEND_TIMEOUT); if(cfg.srv[cfg.selected_srv]->port == 80) snprintf(send_buf, sizeof(send_buf), "Host: %s\r\n\r\n", cfg.srv[cfg.selected_srv]->addr); else snprintf(send_buf, sizeof(send_buf), "Host: %s:%d\r\n\r\n", cfg.srv[cfg.selected_srv]->addr, cfg.srv[cfg.selected_srv]->port); sock_send(web_socket, send_buf, strlen(send_buf), SEND_TIMEOUT); sock_close(web_socket); free(song_buf); return SC_OK; } void sc_disconnect(void) { sock_close(stream_socket); } butt-0.1.26/src/aac_dll.h0000664000175000017500000000142213663226731012030 00000000000000#ifndef AAC_DLL_H #define AAC_DLL_H #include #include typedef AACENC_ERROR(*aacEncOpenPtr)(HANDLE_AACENCODER*, UINT, UINT); extern aacEncOpenPtr aacEncOpen_butt; typedef AACENC_ERROR(*aacEncoder_SetParamPtr)(HANDLE_AACENCODER, AACENC_PARAM, UINT); extern aacEncoder_SetParamPtr aacEncoder_SetParam_butt; typedef AACENC_ERROR(*aacEncEncodePtr)(HANDLE_AACENCODER, const AACENC_BufDesc*, const AACENC_BufDesc*, const AACENC_InArgs*, AACENC_OutArgs*); extern aacEncEncodePtr aacEncEncode_butt; typedef AACENC_ERROR(*aacEncInfoPtr)(HANDLE_AACENCODER, AACENC_InfoStruct*); extern aacEncInfoPtr aacEncInfo_butt; typedef AACENC_ERROR(*aacEncClosePtr)(HANDLE_AACENCODER*); extern aacEncClosePtr aacEncClose_butt; #endif //AAC_DLL_H butt-0.1.26/src/shoutcast.h0000664000175000017500000000146513753234405012472 00000000000000// shoutcast functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef SHOUTCAST_H #define SHOUTCAST_H enum { SC_OK = 0, SC_RETRY = 1, SC_ABORT = 2, SC_ASK = 3, }; int sc_update_song(char *song_name); int sc_connect(void); int sc_send(char *buf, int buf_len); void sc_disconnect(void); #endif butt-0.1.26/src/util.cpp0000664000175000017500000000412513663226731011764 00000000000000//utility functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #include "util.h" char *util_base64_enc(char *data) { int i, j; int len; int chunk; char *b64_data; static char b64[]="ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz" "0123456789+/"; len = strlen(data); b64_data = (char*)malloc(len * 4/3 + 4); j = 0; for(i = 0; i < len; i += 3) { chunk = (data[i] & 0xFC) >> 2; b64_data[j] = b64[chunk]; chunk = ((data[i] & 0x03) << 4) | ((data[i+1] & 0xF0) >> 4); b64_data[j+1] = b64[chunk]; if(i+2 <= len) { chunk = ((data[i+1] & 0x0F) << 2) | ((data[i+2] & 0xC0) >> 6); b64_data[j+2] = b64[chunk]; } else b64_data[j+2] = '='; //padding if(i+3 <= len) { chunk = data[i+2] & 0x3F; b64_data[j+3] = b64[chunk]; } else b64_data[j+3] = '='; //padding j += 4; } b64_data[j] = '\0'; return b64_data; } char *util_get_file_extension(char *filename) { static char *ext; //find the last occurence of '.' in the filename ext = strrchr(filename, (int)'.'); //return NULL if no '.' was found or the '.' is the last char in the //filename if(ext == NULL || ext[1] == '\0') return NULL; else return ++ext; } float util_factor_to_db(float factor) { return 20 * log10(factor); } float util_db_to_factor(float dB) { return pow(10, dB/20); } butt-0.1.26/src/tls.h0000664000175000017500000000435213663226731011260 00000000000000// OpenSSL functions for butt // // Copyright 2020 by Daniel Noethen. // // 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. // // #ifndef TLS_H #define TLS_H #include /* Mozilla's 'Intermediate' list as of 2015-04-19 */ #define ALLOWED_CIPHERS "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA" enum err { TLS_OK = 0, TLS_MALLOC = -1, TLS_NOCERT = -2, TLS_CERTERR = -3, TLS_HOSTERR = -4, TLS_UNSPECIFICERR = -5, TLS_CONNETERR = -6, TLS_SENDERR = -7, TLS_RECVERR = -8, TLS_TIMEOUT = -9, TLS_CHECK_HOST = -10, TLS_CHECK_CERT = -11, }; enum state { TLS_STATE_IDLE = 0, TLS_STATE_SENDING = 1, TLS_STATE_RECEIVING = 2, }; typedef struct tls { SSL_CTX *ssl_ctx; SSL *ssl; char *host; char *last_err; char *cert_file; char *cert_dir; char sha256[65]; int socket; int skip_verification; int state; }tls_t; int tls_setup(tls_t *tls); int tls_send(tls_t *tls, char *buf, int len, int timeout_ms); int tls_recv(tls_t *tls, char *buf, int len, int timeout_ms); void tls_close(tls_t *tls); #endif butt-0.1.26/src/cfg.cpp0000664000175000017500000007133513770656564011567 00000000000000// config functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #include "config.h" #include "gettext.h" #include "cfg.h" #include "butt.h" #include "flgui.h" #include "util.h" #include "fl_funcs.h" #include "strfuncs.h" #ifdef WIN32 const char CONFIG_FILE[] = "buttrc"; #else const char CONFIG_FILE[] = ".buttrc"; #endif config_t cfg; char *cfg_path; int cfg_write_file(char *path) { int i; FILE *cfg_fd; char info_buf[256]; if(path == NULL) path = cfg_path; cfg_fd = fl_fopen(path, "wb"); if(cfg_fd == NULL) { snprintf(info_buf, sizeof(info_buf), _("Could not write to file: %s"), path); print_info(cfg_path, 1); return 1; } fprintf(cfg_fd, "#This is a configuration file for butt (broadcast using this tool)\n\n"); fprintf(cfg_fd, "[main]\n"); fprintf(cfg_fd, "bg_color = %d\n", cfg.main.bg_color); fprintf(cfg_fd, "txt_color = %d\n", cfg.main.txt_color); if(cfg.main.num_of_srv > 0) fprintf(cfg_fd, "server = %s\n" "srv_ent = %s\n", cfg.main.srv, cfg.main.srv_ent ); else fprintf(cfg_fd, "server = \n" "srv_ent = \n" ); if(cfg.main.num_of_icy > 0) fprintf(cfg_fd, "icy = %s\n" "icy_ent = %s\n", cfg.main.icy, cfg.main.icy_ent ); else fprintf(cfg_fd, "icy = \n" "icy_ent = \n" ); fprintf(cfg_fd, "num_of_srv = %d\n" "num_of_icy = %d\n", cfg.main.num_of_srv, cfg.main.num_of_icy ); if(cfg.main.song_path != NULL) fprintf(cfg_fd, "song_path = %s\n", cfg.main.song_path); else fprintf(cfg_fd, "song_path = \n"); fprintf(cfg_fd, "song_update = %d\n", cfg.main.song_update); if (cfg.main.song_prefix != NULL) { char *tmp = strdup(cfg.main.song_prefix); strrpl(&tmp, (char*)" ", (char*)"%20", MODE_ALL); fprintf(cfg_fd, "song_prefix = %s\n", tmp); free(tmp); } else fprintf(cfg_fd, "song_prefix = \n"); if (cfg.main.song_suffix != NULL) { char *tmp = strdup(cfg.main.song_suffix); strrpl(&tmp, (char*)" ", (char*)"%20", MODE_ALL); fprintf(cfg_fd, "song_suffix = %s\n", tmp); free(tmp); } else fprintf(cfg_fd, "song_suffix = \n"); fprintf(cfg_fd, "read_last_line = %d\n", cfg.main.read_last_line); fprintf(cfg_fd, "app_update_service = %d\n", cfg.main.app_update_service); fprintf(cfg_fd, "app_update = %d\n", cfg.main.app_update); fprintf(cfg_fd, "gain = %f\n", cfg.main.gain); fprintf(cfg_fd, "silence_threshold = %d\n", cfg.main.silence_threshold); fprintf(cfg_fd, "signal_threshold = %d\n", cfg.main.signal_threshold); fprintf(cfg_fd, "check_for_update = %d\n", cfg.main.check_for_update); fprintf(cfg_fd, "connect_at_startup = %d\n", cfg.main.connect_at_startup); fprintf(cfg_fd, "force_reconnecting = %d\n", cfg.main.force_reconnecting); if (cfg.main.ic_charset != NULL) fprintf(cfg_fd, "ic_charset = %s\n", cfg.main.ic_charset); else fprintf(cfg_fd, "ic_charset = \n"); if (cfg.main.log_file != NULL) fprintf(cfg_fd, "log_file = %s\n\n", cfg.main.log_file); else fprintf(cfg_fd, "log_file = \n\n"); fprintf(cfg_fd, "[audio]\n" "device = %d\n" "samplerate = %d\n" "bitrate = %d\n" "channel = %d\n" "left_ch = %d\n" "right_ch = %d\n" "codec = %s\n" "mono_to_stereo = %d\n" "aac_overwrite_aot = %d\n" "aac_aot = %d\n" "resample_mode = %d\n" "silence_level = %f\n" "signal_level = %f\n" "disable_dithering = %d\n" "buffer_ms = %d\n\n", cfg.audio.dev_num, cfg.audio.samplerate, cfg.audio.bitrate, cfg.audio.channel, cfg.audio.left_ch, cfg.audio.right_ch, cfg.audio.codec, cfg.audio.mono_to_stereo, cfg.audio.aac_overwrite_aot, cfg.audio.aac_aot, cfg.audio.resample_mode, cfg.audio.silence_level, cfg.audio.signal_level, cfg.audio.disable_dithering, cfg.audio.buffer_ms ); fprintf(cfg_fd, "[record]\n" "bitrate = %d\n" "codec = %s\n" "start_rec = %d\n" "stop_rec = %d\n" "rec_after_launch = %d\n" "sync_to_hour = %d\n" "split_time = %d\n" "filename = %s\n" "silence_threshold = %d\n" "signal_threshold = %d\n" "folder = %s\n\n", cfg.rec.bitrate, cfg.rec.codec, cfg.rec.start_rec, cfg.rec.stop_rec, cfg.rec.rec_after_launch, cfg.rec.sync_to_hour, cfg.rec.split_time, cfg.rec.filename, cfg.rec.silence_threshold, cfg.rec.signal_threshold, cfg.rec.folder ); fprintf(cfg_fd, "[tls]\n" "cert_file = %s\n" "cert_dir = %s\n\n", cfg.tls.cert_file != NULL ? cfg.tls.cert_file : "", cfg.tls.cert_dir != NULL ? cfg.tls.cert_dir : "" ); fprintf(cfg_fd, "[dsp]\n" "equalizer = %d\n" "gain1 = %f\n" "gain2 = %f\n" "gain3 = %f\n" "gain4 = %f\n" "gain5 = %f\n" "compressor = %d\n" "threshold = %f\n" "ratio = %f\n" "attack = %f\n" "release = %f\n" "makeup_gain = %f\n\n", cfg.dsp.equalizer, cfg.dsp.gain1, cfg.dsp.gain2, cfg.dsp.gain3, cfg.dsp.gain4, cfg.dsp.gain5, cfg.dsp.compressor, cfg.dsp.threshold, cfg.dsp.ratio, cfg.dsp.attack, cfg.dsp.release, cfg.dsp.makeup_gain ); fprintf(cfg_fd, "[gui]\n" "attach = %d\n" "ontop = %d\n" "hide_log_window = %d\n" "remember_pos = %d\n" "x_pos = %d\n" "y_pos = %d\n" "lcd_auto = %d\n" "lang = %d\n\n", cfg.gui.attach, cfg.gui.ontop, cfg.gui.hide_log_window, cfg.gui.remember_pos, cfg.gui.x_pos, cfg.gui.y_pos, cfg.gui.lcd_auto, cfg.gui.lang ); for (i = 0; i < cfg.main.num_of_srv; i++) { fprintf(cfg_fd, "[%s]\n" "address = %s\n" "port = %u\n" "password = %s\n" "type = %d\n" "tls = %d\n", cfg.srv[i]->name, cfg.srv[i]->addr, cfg.srv[i]->port, cfg.srv[i]->pwd, cfg.srv[i]->type, cfg.srv[i]->tls ); if (cfg.srv[i]->cert_hash != NULL) fprintf(cfg_fd, "cert_hash = %s\n", cfg.srv[i]->cert_hash); else fprintf(cfg_fd, "cert_hash = \n"); if (cfg.srv[i]->type == ICECAST) { fprintf(cfg_fd, "mount = %s\n", cfg.srv[i]->mount); fprintf(cfg_fd, "usr = %s\n\n", cfg.srv[i]->usr); } else //Shoutcast has no mountpoint and user { fprintf(cfg_fd, "mount = (none)\n"); fprintf(cfg_fd, "usr = (none)\n\n"); } } for(i = 0; i < cfg.main.num_of_icy; i++) { fprintf(cfg_fd, "[%s]\n" "pub = %s\n", cfg.icy[i]->name, cfg.icy[i]->pub ); if(cfg.icy[i]->desc != NULL) fprintf(cfg_fd, "description = %s\n", cfg.icy[i]->desc); else fprintf(cfg_fd, "description = \n"); if(cfg.icy[i]->genre != NULL) fprintf(cfg_fd, "genre = %s\n", cfg.icy[i]->genre); else fprintf(cfg_fd, "genre = \n"); if(cfg.icy[i]->url != NULL) fprintf(cfg_fd, "url = %s\n", cfg.icy[i]->url); else fprintf(cfg_fd, "url = \n"); if(cfg.icy[i]->irc != NULL) fprintf(cfg_fd, "irc = %s\n", cfg.icy[i]->irc); else fprintf(cfg_fd, "irc = \n"); if(cfg.icy[i]->icq != NULL) fprintf(cfg_fd, "icq = %s\n", cfg.icy[i]->icq); else fprintf(cfg_fd, "icq = \n"); if(cfg.icy[i]->aim != NULL) fprintf(cfg_fd, "aim = %s\n\n", cfg.icy[i]->aim); else fprintf(cfg_fd, "aim = \n\n"); } fclose(cfg_fd); snprintf(info_buf, sizeof(info_buf), _("Config written to %s"), path); print_info(info_buf, 0); return 0; } int cfg_set_values(char *path) { int i; char *srv_ent; char *icy_ent; char *strtok_buf = NULL; if(path == NULL) path = cfg_path; if(cfg_parse_file(path) == -1) return 1; cfg.main.log_file = cfg_get_str("main", "log_file"); cfg.main.ic_charset = cfg_get_str("main", "ic_charset"); cfg.audio.dev_num = cfg_get_int("audio", "device"); cfg.audio.samplerate = cfg_get_int("audio", "samplerate"); cfg.audio.resolution = 16; cfg.audio.bitrate = cfg_get_int("audio", "bitrate"); cfg.audio.channel = cfg_get_int("audio", "channel"); cfg.audio.left_ch = cfg_get_int("audio", "left_ch"); cfg.audio.right_ch = cfg_get_int("audio", "right_ch"); cfg.audio.codec = cfg_get_str("audio", "codec"); cfg.audio.buffer_ms = cfg_get_int("audio", "buffer_ms"); cfg.audio.aac_aot = cfg_get_int("audio", "aac_aot"); cfg.audio.disable_dithering = cfg_get_int("audio", "disable_dithering"); cfg.audio.pcm_list = snd_get_devices(&cfg.audio.dev_count); cfg.audio.mono_to_stereo = cfg_get_int("audio", "mono_to_stereo"); cfg.audio.resample_mode = cfg_get_int("audio", "resample_mode"); cfg.audio.aac_overwrite_aot = cfg_get_int("audio", "aac_overwrite_aot"); if(cfg.audio.dev_num < 0) cfg.audio.dev_num = 0; if(cfg.audio.samplerate == -1) cfg.audio.samplerate = 44100; if(cfg.audio.bitrate == -1) cfg.audio.bitrate = 128; if(cfg.audio.channel == -1) cfg.audio.channel = 2; if(cfg.audio.left_ch == -1) cfg.audio.left_ch = 1; if(cfg.audio.right_ch == -1) cfg.audio.right_ch = 2; if(cfg.audio.mono_to_stereo == -1) cfg.audio.mono_to_stereo = 0; if(cfg.audio.codec == NULL) { cfg.audio.codec = (char*)malloc(5*sizeof(char)); strcpy(cfg.audio.codec, "mp3"); } else //Make sure that also "opus" and "flac" fits into the codec char array cfg.audio.codec = (char*)realloc((char*)cfg.audio.codec, 5*sizeof(char)); if(!strcmp(cfg.audio.codec, "aac") && g_aac_lib_available == 0) { strcpy(cfg.audio.codec, "mp3"); } cfg.audio.silence_level = cfg_get_float("audio", "silence_level"); if(isnan(cfg.audio.silence_level)) cfg.audio.silence_level = 50.0; // Will be interpreted as negative value (-50 dB) cfg.audio.signal_level = cfg_get_float("audio", "signal_level"); if(isnan(cfg.audio.signal_level)) cfg.audio.signal_level = 50.0; if(cfg.audio.buffer_ms == -1) cfg.audio.buffer_ms = 50; if(cfg.audio.aac_overwrite_aot == -1) cfg.audio.aac_overwrite_aot = 0; if(cfg.audio.disable_dithering == -1) cfg.audio.disable_dithering = 0; #ifdef HAVE_LIBFDK_AAC aac_stream.overwrite_aot = cfg.audio.aac_overwrite_aot; aac_rec.overwrite_aot = cfg.audio.aac_overwrite_aot; #endif if(cfg.audio.aac_aot == -1) cfg.audio.aac_aot = 5; if(cfg.audio.resample_mode == -1) cfg.audio.resample_mode = 0; //SRC_SINC_BEST_QUALITY // catch illegal audio device number if(cfg.audio.dev_num > cfg.audio.dev_count - 1) cfg.audio.dev_num = 0; cfg.rec.bitrate = cfg_get_int("record", "bitrate"); cfg.rec.start_rec = cfg_get_int("record", "start_rec"); cfg.rec.stop_rec = cfg_get_int("record", "stop_rec"); cfg.rec.rec_after_launch = cfg_get_int("record", "rec_after_launch"); cfg.rec.sync_to_hour = cfg_get_int("record", "sync_to_hour"); cfg.rec.split_time = cfg_get_int("record", "split_time"); cfg.rec.codec = cfg_get_str("record", "codec"); cfg.rec.filename = cfg_get_str("record", "filename"); cfg.rec.folder = cfg_get_str("record", "folder"); cfg.rec.silence_threshold = cfg_get_int("record", "silence_threshold"); cfg.rec.signal_threshold = cfg_get_int("record", "signal_threshold"); if(cfg.rec.bitrate == -1) cfg.rec.bitrate = 192; if(cfg.rec.start_rec == -1) cfg.rec.start_rec = 0; if(cfg.rec.stop_rec == -1) cfg.rec.stop_rec = 0; if(cfg.rec.rec_after_launch == -1) cfg.rec.rec_after_launch = 0; if(cfg.rec.sync_to_hour == -1) cfg.rec.sync_to_hour = 0; if(cfg.rec.split_time == -1) cfg.rec.split_time = 0; if(cfg.rec.codec == NULL) { cfg.rec.codec = (char*)malloc(5*sizeof(char)); strcpy(cfg.rec.codec, "mp3"); } else cfg.rec.codec = (char*)realloc(cfg.rec.codec, 5*sizeof(char)); if(!strcmp(cfg.rec.codec, "aac") && g_aac_lib_available == 0) { strcpy(cfg.rec.codec, "mp3"); } if(cfg.rec.filename == NULL) { cfg.rec.filename = (char*)malloc(strlen("rec_%Y%m%d-%H%M%S_%i.mp3")+1); strcpy(cfg.rec.filename, "rec_%Y%m%d-%H%M%S_%i.mp3"); } if(cfg.rec.folder == NULL) { cfg.rec.folder = (char*)malloc(3*sizeof(char)); strcpy(cfg.rec.folder, "./"); } if(cfg.rec.silence_threshold == -1) cfg.rec.silence_threshold = 0; if(cfg.rec.signal_threshold == -1) cfg.rec.signal_threshold = 0; cfg.tls.cert_file = cfg_get_str("tls", "cert_file"); cfg.tls.cert_dir = cfg_get_str("tls", "cert_dir"); cfg.selected_srv = 0; cfg.main.num_of_srv = cfg_get_int("main", "num_of_srv"); if(cfg.main.num_of_srv == -1) { fl_alert(_("error while parsing config. Illegal value (-1) for num_of_srv.\nbutt is going to close now")); exit(1); } if(cfg.main.num_of_srv > 0) { cfg.main.srv = cfg_get_str("main", "server"); if(cfg.main.srv == NULL) { fl_alert(_("error while parsing config. Missing main/server entry.\nbutt is going to close now")); exit(1); } cfg.main.srv_ent = cfg_get_str("main", "srv_ent"); if(cfg.main.srv_ent == NULL) { fl_alert(_("error while parsing config. Missing main/srv_ent entry.\nbutt is going to close now")); exit(1); } cfg.srv = (server_t**)malloc(sizeof(server_t*) * cfg.main.num_of_srv); for(i = 0; i < cfg.main.num_of_srv; i++) cfg.srv[i] = (server_t*)malloc(sizeof(server_t)); strtok_buf = strdup(cfg.main.srv_ent); srv_ent = strtok(strtok_buf, ";"); for(i = 0; srv_ent != NULL; i++) { cfg.srv[i]->name = (char*)malloc(strlen(srv_ent)+1); snprintf(cfg.srv[i]->name, strlen(srv_ent)+1, "%s", srv_ent); cfg.srv[i]->addr = cfg_get_str(srv_ent, "address"); if(cfg.srv[i]->addr == NULL) { fl_alert(_("error while parsing config. Missing address entry for server \"%s\"." "\nbutt is going to close now"), srv_ent); exit(1); } cfg.srv[i]->port = cfg_get_int(srv_ent, "port"); if(cfg.srv[i]->port == -1) { fl_alert(_("error while parsing config. Missing port entry for server \"%s\"." "\nbutt is going to close now"), srv_ent); exit(1); } cfg.srv[i]->pwd = cfg_get_str(srv_ent, "password"); if(cfg.srv[i]->pwd == NULL) { fl_alert(_("error while parsing config. Missing password entry for server \"%s\"." "\nbutt is going to close now"), srv_ent); exit(1); } cfg.srv[i]->type = cfg_get_int(srv_ent, "type"); if(cfg.srv[i]->type == -1) { fl_alert(_("error while parsing config. Missing type entry for server \"%s\"." "\nbutt is going to close now"), srv_ent); exit(1); } cfg.srv[i]->mount = cfg_get_str(srv_ent, "mount"); if((cfg.srv[i]->mount == NULL) && (cfg.srv[i]->type == ICECAST)) { fl_alert(_("error while parsing config. Missing mount entry for server \"%s\"." "\nbutt is going to close now"), srv_ent); exit(1); } cfg.srv[i]->usr = cfg_get_str(srv_ent, "usr"); if((cfg.srv[i]->usr == NULL) && (cfg.srv[i]->type == ICECAST)) { cfg.srv[i]->usr = (char*)malloc(strlen("source")+1); strcpy(cfg.srv[i]->usr, "source"); } #ifdef HAVE_LIBSSL cfg.srv[i]->tls = cfg_get_int(srv_ent, "tls"); #else cfg.srv[i]->tls = 0; #endif if( (cfg.srv[i]->tls != 0) && (cfg.srv[i]->tls != 1) ) cfg.srv[i]->tls = 0; cfg.srv[i]->cert_hash = cfg_get_str(srv_ent, "cert_hash"); if( (cfg.srv[i]->cert_hash != NULL) && (strlen(cfg.srv[i]->cert_hash) != 64) ) { free(cfg.srv[i]->cert_hash); cfg.srv[i]->cert_hash = NULL; } if(!strcmp(cfg.srv[i]->name, cfg.main.srv)) cfg.selected_srv = i; srv_ent = strtok(NULL, ";"); } }// if(cfg.main.num_of_srv > 0) cfg.main.num_of_icy = cfg_get_int("main", "num_of_icy"); if(cfg.main.num_of_icy == -1) { fl_alert(_("error while parsing config. Illegal value (-1) for num_of_icy.\nbutt is going to close now")); exit(1); } cfg.selected_icy = 0; if(cfg.main.num_of_icy > 0) { cfg.main.icy = cfg_get_str("main", "icy"); if(cfg.main.icy == NULL) { fl_alert(_("error while parsing config. Missing main/icy entry.\nbutt is going to close now")); exit(1); } cfg.main.icy_ent = cfg_get_str("main", "icy_ent"); //icy entries if(cfg.main.icy_ent == NULL) { fl_alert(_("error while parsing config. Missing main/icy_ent entry.\nbutt is going to close now")); exit(1); } cfg.icy = (icy_t**)malloc(sizeof(icy_t*) * cfg.main.num_of_icy); for(i = 0; i < cfg.main.num_of_icy; i++) cfg.icy[i] = (icy_t*)malloc(sizeof(icy_t)); strtok_buf = strdup(cfg.main.icy_ent); icy_ent = strtok(strtok_buf, ";"); for(i = 0; icy_ent != NULL; i++) { cfg.icy[i]->name = (char*)malloc(strlen(icy_ent)+1); snprintf(cfg.icy[i]->name, strlen(icy_ent)+1, "%s", icy_ent); cfg.icy[i]->desc = cfg_get_str(icy_ent, "description"); cfg.icy[i]->genre = cfg_get_str(icy_ent, "genre"); cfg.icy[i]->url = cfg_get_str(icy_ent, "url"); cfg.icy[i]->irc = cfg_get_str(icy_ent, "irc"); cfg.icy[i]->icq = cfg_get_str(icy_ent, "icq"); cfg.icy[i]->aim = cfg_get_str(icy_ent, "aim"); cfg.icy[i]->pub = cfg_get_str(icy_ent, "pub"); if(cfg.icy[i]->pub == NULL) { fl_alert(_("error while parsing config. Missing pub entry for icy \"%s\"." "\nbutt is going to close now"), icy_ent); exit(1); } if(!strcmp(cfg.icy[i]->name, cfg.main.icy)) cfg.selected_icy = i; icy_ent = strtok(NULL, ";"); } }//if(cfg.main.num_of_icy > 0) if (strtok_buf != NULL) free(strtok_buf); cfg.main.song_path = cfg_get_str("main", "song_path"); cfg.main.song_prefix = cfg_get_str("main", "song_prefix"); if (cfg.main.song_prefix != NULL) strrpl(&cfg.main.song_prefix, (char*)"%20", (char*)" ", MODE_ALL); cfg.main.song_suffix = cfg_get_str("main", "song_suffix"); if (cfg.main.song_suffix != NULL) strrpl(&cfg.main.song_suffix, (char*)"%20", (char*)" ", MODE_ALL); cfg.main.song_update = cfg_get_int("main", "song_update"); if(cfg.main.song_update == -1) cfg.main.song_update = 0; //song update from file is default set to off cfg.main.read_last_line = cfg_get_int("main", "read_last_line"); if(cfg.main.read_last_line == -1) cfg.main.read_last_line = 0; // read first line per default cfg.main.app_update = cfg_get_int("main", "app_update"); cfg.main.app_update_service = cfg_get_int("main", "app_update_service"); if(cfg.main.app_update == -1) cfg.main.app_update = 0; //Default value, off if(cfg.main.app_update_service == -1) cfg.main.app_update_service = 0; //Default value, first one cfg.main.silence_threshold = cfg_get_int("main", "silence_threshold"); if(cfg.main.silence_threshold == -1) cfg.main.silence_threshold = 0; cfg.main.signal_threshold = cfg_get_int("main", "signal_threshold"); if(cfg.main.signal_threshold == -1) cfg.main.signal_threshold = 0; cfg.main.connect_at_startup = cfg_get_int("main", "connect_at_startup"); if(cfg.main.connect_at_startup == -1) cfg.main.connect_at_startup = 0; cfg.main.force_reconnecting = cfg_get_int("main", "force_reconnecting"); if(cfg.main.force_reconnecting == -1) cfg.main.force_reconnecting = 0; cfg.main.check_for_update = cfg_get_int("main", "check_for_update"); if(cfg.main.check_for_update == -1) cfg.main.check_for_update = 0; cfg.main.gain = cfg_get_float("main", "gain"); if(isnan(cfg.main.gain)) cfg.main.gain = 1.0; else if(cfg.main.gain > util_db_to_factor(24)) cfg.main.gain = util_db_to_factor(24); else if(cfg.main.gain < 0) cfg.main.gain = util_db_to_factor(-24); // DSP cfg.dsp.equalizer = cfg_get_int("dsp", "equalizer"); if (cfg.dsp.equalizer == -1) cfg.dsp.equalizer = 0; cfg.dsp.gain1 = cfg_get_float("dsp", "gain1"); if (isnan(cfg.dsp.gain1)) cfg.dsp.gain1 = 0.0; cfg.dsp.gain2 = cfg_get_float("dsp", "gain2"); if (isnan(cfg.dsp.gain2)) cfg.dsp.gain2 = 0.0; cfg.dsp.gain3 = cfg_get_float("dsp", "gain3"); if (isnan(cfg.dsp.gain3)) cfg.dsp.gain3 = 0.0; cfg.dsp.gain4 = cfg_get_float("dsp", "gain4"); if (isnan(cfg.dsp.gain4)) cfg.dsp.gain4 = 0.0; cfg.dsp.gain5 = cfg_get_float("dsp", "gain5"); if (isnan(cfg.dsp.gain5)) cfg.dsp.gain5 = 0.0; cfg.dsp.compressor = cfg_get_int("dsp", "compressor"); if (cfg.dsp.compressor == -1) cfg.dsp.compressor = 0; cfg.dsp.threshold = cfg_get_float("dsp", "threshold"); if (isnan(cfg.dsp.threshold)) cfg.dsp.threshold = -20.0f; // -20 dBFS cfg.dsp.ratio = cfg_get_float("dsp", "ratio"); if (isnan(cfg.dsp.ratio)) cfg.dsp.ratio = 5.0; cfg.dsp.attack = cfg_get_float("dsp", "attack"); if (isnan(cfg.dsp.attack)) cfg.dsp.attack = 0.01; // seconds cfg.dsp.release = cfg_get_float("dsp", "release"); if (isnan(cfg.dsp.release)) cfg.dsp.release = 1.0; // seconds cfg.dsp.makeup_gain = cfg_get_float("dsp", "makeup_gain"); if (isnan(cfg.dsp.makeup_gain)) cfg.dsp.makeup_gain = 0.0; // 0 dB //read GUI stuff cfg.gui.attach = cfg_get_int("gui", "attach"); if(cfg.gui.attach == -1) cfg.gui.attach = 0; cfg.gui.ontop = cfg_get_int("gui", "ontop"); if(cfg.gui.ontop == -1) cfg.gui.ontop = 0; cfg.gui.hide_log_window = cfg_get_int("gui", "hide_log_window"); if(cfg.gui.hide_log_window == -1) cfg.gui.hide_log_window = 0; cfg.gui.remember_pos = cfg_get_int("gui", "remember_pos"); if(cfg.gui.remember_pos == -1) cfg.gui.remember_pos = 0; cfg.gui.x_pos = cfg_get_int("gui", "x_pos"); if(cfg.gui.x_pos == -1) cfg.gui.x_pos = 0; cfg.gui.y_pos = cfg_get_int("gui", "y_pos"); if(cfg.gui.y_pos == -1) cfg.gui.y_pos = 0; cfg.gui.lcd_auto = cfg_get_int("gui", "lcd_auto"); if(cfg.gui.lcd_auto == -1) cfg.gui.lcd_auto = 0; cfg.gui.lang = cfg_get_int("gui", "lang"); if(cfg.gui.lang == -1) cfg.gui.lang = LANG_SYSTEM; //read FLTK related stuff cfg.main.bg_color = cfg_get_int("main", "bg_color"); if(cfg.main.bg_color == -1) cfg.main.bg_color = 151540480; //dark blue cfg.main.txt_color = cfg_get_int("main", "txt_color"); if(cfg.main.txt_color == -1) cfg.main.txt_color = -256; //white return 0; } int cfg_create_default(void) { FILE *cfg_fd; char *p; char def_rec_folder[PATH_MAX]; cfg_fd = fl_fopen(cfg_path, "wb"); if(cfg_fd == NULL) return 1; #ifdef WIN32 p = fl_getenv("USERPROFILE"); if (p != NULL) snprintf(def_rec_folder, PATH_MAX, "%s\\Music\\", p); else snprintf(def_rec_folder, PATH_MAX, "./"); #elif __APPLE__ p = fl_getenv("HOME"); if (p != NULL) snprintf(def_rec_folder, PATH_MAX, "%s/Music/", p); else snprintf(def_rec_folder, PATH_MAX, "./"); #else //UNIX p = fl_getenv("HOME"); if (p != NULL) snprintf(def_rec_folder, PATH_MAX, "%s/", p); else snprintf(def_rec_folder, PATH_MAX, "./"); #endif fprintf(cfg_fd, "#This is a configuration file for butt (broadcast using this tool)\n\n"); fprintf(cfg_fd, "[main]\n" "server =\n" "icy =\n" "num_of_srv = 0\n" "num_of_icy = 0\n" "srv_ent =\n" "icy_ent =\n" "song_path =\n" "song_update = 0\n" "song_prefix = \n" "song_suffix = \n" "read_last_line = 0\n" "log_file =\n" "gain = 1.0\n" "ic_charset =\n" "silence_threshhold = 0\n" "signal_threshhold = 0\n" "check_for_update = 0\n" "force_reconnecting = 0\n" "connect_at_startup = 0\n\n" ); fprintf(cfg_fd, "[audio]\n" "device = default\n" "samplerate = 44100\n" "bitrate = 128\n" "channel = 2\n" "codec = mp3\n" "mono_to_stereo = 0\n" "resample_mode = 0\n" //SRC_SINC_BEST_QUALITY "aac_aot = 5\n" // aac+ v1 "aac_overwrite_aot = 0\n" "silence_level = 50.0\n" "signal_level = 50.0\n" "disable_dithering = 0\n" "buffer_ms = 50\n\n" ); fprintf(cfg_fd, "[record]\n" "samplerate = 44100\n" "bitrate = 192\n" "channel = 2\n" "codec = mp3\n" "start_rec = 0\n" "stop_rec = 0\n" "rec_after_launch = 0\n" "sync_to_hour = 0\n" "split_time = 0\n" "filename = rec_%%Y%%m%%d-%%H%%M%%S.mp3\n" "silence_threshhold = 0\n" "signal_threshhold = 0\n" "folder = %s\n\n", def_rec_folder ); fprintf(cfg_fd, "[tls]\n" "cert_file =\n" "cert_dir =\n\n" ); fprintf(cfg_fd, "[dsp]\n" "equalizer = 0\n" "gain1 = 0.0\n" "gain2 = 0.0\n" "gain3 = 0.0\n" "gain4 = 0.0\n" "gain5 = 0.0\n" "compressor = 0\n" "threshold = -20.0\n" "ratio = 5\n" "attack = 0.01\n" "release = 1.0\n" "makeup_gain = 0.0\n" ); fprintf(cfg_fd, "[gui]\n" "attach = 0\n" "ontop = 0\n" "hide_log_window = 0\n" "remember_pos = 0\n" "x_pos = 0\n" "y_pos = 0\n" "lcd_auto = 0\n" "lang = 0\n\n" ); fclose(cfg_fd); return 0; } butt-0.1.26/src/command.cpp0000664000175000017500000001071513745235405012426 00000000000000// command functions for butt // // Copyright 2007-2020 by Daniel Noethen. // // 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. // #include #include #include #include #ifdef WIN32 #include #ifndef errno #define errno WSAGetLastError() #endif #ifndef EWOULDBLOCK #define EWOULDBLOCK WSAEWOULDBLOCK #endif #else #include #include #include #include //defines IPPROTO_TCP on BSD #include #include #include #endif #ifdef WIN32 typedef int socklen_t; #endif #include "command.h" #include "sockfuncs.h" command_t server_cmd; pthread_t listen_thread; int listen_sock; int client_sock; int conn_sock; void *listen_thread_func(void *data) { command_t command; int bytes_count; struct sockaddr_in cli; socklen_t len; len = sizeof(cli); char recv_buf[1024]; server_cmd.cmd = CMD_EMPTY; server_cmd.param = NULL; server_cmd.param_size = 0; for (;;) { conn_sock = accept(listen_sock, (struct sockaddr*)&cli, &len); sock_nonblock(conn_sock); bytes_count = sock_recv(conn_sock, recv_buf, sizeof(recv_buf), COMMAND_TIMEOUT); if (bytes_count > 0) { memcpy((char*)&command, recv_buf, sizeof(command_t)); if (command.param_size > 0) { int expected_bytes = sizeof(command_t)+command.param_size; if (bytes_count != expected_bytes) { int remaining_bytes = expected_bytes-bytes_count; bytes_count += sock_recv(conn_sock, recv_buf+bytes_count, remaining_bytes, COMMAND_TIMEOUT); if (bytes_count != expected_bytes) { sock_close(conn_sock); continue; // Still not all bytes received -> dismiss this command } } command.param = (void*)malloc(command.param_size); memcpy((char*)command.param, recv_buf+sizeof(command_t), command.param_size); } command_set_new_cmd(command); } } return NULL; } int command_start_server(int port, int mode) { #ifdef WIN32 WSADATA wsa; WSAStartup(MAKEWORD(2,2),&wsa); #endif struct sockaddr_in servaddr; listen_sock = socket(AF_INET, SOCK_STREAM, 0); if(listen_sock == -1) return SOCK_ERR_CREATE; memset(&servaddr, 0, sizeof(servaddr)); servaddr.sin_family = AF_INET; if (mode == SERVER_MODE_LOCAL) servaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); else servaddr.sin_addr.s_addr = htonl(INADDR_ANY); servaddr.sin_port = htons(port); if (bind(listen_sock, (struct sockaddr*)&servaddr, sizeof(servaddr)) != 0) return SOCK_ERR_BIND; if ((listen(listen_sock, 1)) != 0) return SOCK_ERR_LISTEN; pthread_create(&listen_thread, NULL, listen_thread_func, NULL); return 0; } int command_send_cmd(command_t command, char *addr, int port) { char send_buf[1024]; client_sock = sock_connect(addr, port, COMMAND_TIMEOUT); if (client_sock < 0) return client_sock; memcpy(send_buf, &command, sizeof(command_t)); memcpy(send_buf+sizeof(command_t), (char*)command.param, command.param_size); sock_send(client_sock, send_buf, sizeof(command_t)+command.param_size, COMMAND_TIMEOUT); if (command.cmd != CMD_GET_STATUS) sock_close(client_sock); return 0; } void command_get_last_cmd(command_t *command) { memcpy(command, &server_cmd, sizeof(command_t)); server_cmd.cmd = CMD_EMPTY; server_cmd.param_size = 0; server_cmd.param = NULL; } void command_set_new_cmd(command_t command) { server_cmd = command; } void command_send_status_reply(uint32_t status) { sock_send(conn_sock, (char*)&status, sizeof(uint32_t), COMMAND_TIMEOUT); } int command_recv_status_reply(uint32_t *status) { return sock_recv(client_sock, (char*)status, sizeof(uint32_t), COMMAND_TIMEOUT); } butt-0.1.26/src/timer.cpp0000664000175000017500000000270013663226731012124 00000000000000// timer related functions // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include "timer.h" void timer_init(sec_timer *t, int duration) { t->start_time = time(NULL); t->new_time = t->start_time; t->duration = duration; t->is_running = true; } int timer_is_elapsed(sec_timer *t) { if(time(NULL) >= t->new_time + t->duration) { t->new_time = time(NULL); //reset the timer return 1; } else return 0; } char *timer_get_time_str(sec_timer *t) { static char time_str[10]; int hour = 0, min = 0, sec = 0; time_t cur_time = time(NULL); sec = cur_time - t->start_time; min = sec / 60; hour = min / 60; min %= 60; sec %= 60; snprintf(time_str, sizeof(time_str), "%02d:%02d:%02d", hour, min, sec); return time_str; } void timer_reset(sec_timer *t) { t->is_running = false; t->start_time = time(NULL); t->new_time = t->start_time; } butt-0.1.26/src/parseconfig.cpp0000664000175000017500000001223613770206736013313 00000000000000/* * config file parser * */ //taken from camE http://linuxbrit.co.uk/camE/ #include #include #include #include #include // for fl_fopen(...) #include "parseconfig.h" struct CFG_ENTRIES { unsigned int ent_count; char **ent_names; char **ent_values; }; struct CFG_SECTIONS { unsigned int sec_count; char **sec_names; struct CFG_ENTRIES **sec_entries; }; /* ------------------------------------------------------------------------ */ static struct CFG_SECTIONS *c; /* ------------------------------------------------------------------------ */ enum { ALLOC_SIZE = 16 }; static struct CFG_SECTIONS* cfg_init_sections(void) { struct CFG_SECTIONS *c; c = (CFG_SECTIONS*) malloc(sizeof(struct CFG_SECTIONS)); memset(c,0,sizeof(struct CFG_SECTIONS)); c->sec_names = (char**) malloc(ALLOC_SIZE*sizeof(char*)); c->sec_names[0] = NULL; c->sec_entries = (CFG_ENTRIES**) malloc(ALLOC_SIZE*sizeof(struct CFG_ENTRIES*)); c->sec_entries[0] = NULL; return c; } static struct CFG_ENTRIES* cfg_init_entries(void) { struct CFG_ENTRIES *e; e = (CFG_ENTRIES*) malloc(sizeof(struct CFG_ENTRIES)); memset(e,0,sizeof(struct CFG_ENTRIES)); e->ent_names = (char**) malloc(ALLOC_SIZE*sizeof(char*)); e->ent_names[0] = NULL; e->ent_values = (char**) malloc(ALLOC_SIZE*sizeof(char*)); e->ent_values[0] = NULL; return e; } static struct CFG_ENTRIES* cfg_find_section(struct CFG_SECTIONS *c, const char *name) { struct CFG_ENTRIES* e; unsigned int i; for (i = 0; i < c->sec_count; i++) if (0 == strcmp(c->sec_names[i],name)) return c->sec_entries[i]; /* 404 not found => create a new one */ if ((c->sec_count % ALLOC_SIZE) == (ALLOC_SIZE-2)) { c->sec_names = (char**) realloc(c->sec_names,(c->sec_count+2+ALLOC_SIZE)*sizeof(char*)); c->sec_entries = (CFG_ENTRIES**) realloc(c->sec_entries,(c->sec_count+2+ALLOC_SIZE)*sizeof(struct CFG_ENTRIES*)); } e = cfg_init_entries(); c->sec_names[c->sec_count] = strdup(name); c->sec_entries[c->sec_count] = e; c->sec_count++; c->sec_names[c->sec_count] = NULL; c->sec_entries[c->sec_count] = NULL; return e; } static void cfg_set_entry(struct CFG_ENTRIES *e, const char *name, const char *value) { unsigned int i; for (i = 0; i < e->ent_count; i++) if (0 == strcmp(e->ent_names[i],name)) break; if (i == e->ent_count) { /* 404 not found => create a new one */ if ((e->ent_count % ALLOC_SIZE) == (ALLOC_SIZE-2)) { e->ent_names = (char**) realloc(e->ent_names,(e->ent_count+2+ALLOC_SIZE)*sizeof(char*)); e->ent_values = (char**) realloc(e->ent_values,(e->ent_count+2+ALLOC_SIZE)*sizeof(char*)); } e->ent_count++; e->ent_names[e->ent_count] = NULL; e->ent_values[e->ent_count] = NULL; } e->ent_names[i] = strdup(name); e->ent_values[i] = strdup(value); } /* ------------------------------------------------------------------------ */ int cfg_parse_file(const char *filename) { struct CFG_ENTRIES *e = NULL; char line[1024],tag[64],value[1021]; FILE *fp; int nr; if (NULL == c) c = cfg_init_sections(); if (NULL == (fp = fl_fopen(filename,"rb"))) return -1; nr = 0; while (NULL != fgets(line,1023,fp)) { nr++; if (line[0] == '\n' || line[0] == '#' || line[0] == '%' || line[0] ==';') continue; if (1 == sscanf(line,"[%1020[^]]]",value)) { /* section */ e = cfg_find_section(c,value); } else if (2 == sscanf(line," %63[^= ] = %1020[^\n]",tag,value)) { /* foo = bar */ if (NULL == e) { fprintf(stderr,"%s:%d: error: no section\n",filename,nr); } else { cfg_set_entry(e,tag,value); } } /*else { // Huh ? fprintf(stderr,"%s:%d: syntax error\n",filename,nr); }*/ } fclose(fp); return 0; } /* ------------------------------------------------------------------------ */ char** cfg_list_sections(void) { return c->sec_names; } char** cfg_list_entries(const char *name) { unsigned int i; for (i = 0; i < c->sec_count; i++) if (0 == strcmp(c->sec_names[i],name)) return c->sec_entries[i]->ent_names; return NULL; } char* cfg_get_str(const char *sec, const char *ent) { struct CFG_ENTRIES* e = NULL; char *v = NULL; unsigned int i; for (i = 0; i < c->sec_count; i++) if (0 == strcmp(c->sec_names[i],sec)) e = c->sec_entries[i]; if (NULL == e) return NULL; for (i = 0; i < e->ent_count; i++) if (0 == strcmp(e->ent_names[i],ent)) v = e->ent_values[i]; return v; } int cfg_get_int(const char *sec, const char *ent) { char *val; val = cfg_get_str(sec,ent); if (NULL == val) return -1; return atoi(val); } float cfg_get_float(const char *sec, const char *ent) { char *val; val = cfg_get_str(sec,ent); if (NULL == val) return NAN; return atof(val); } butt-0.1.26/src/ringbuffer.h0000664000175000017500000000216713663226731012611 00000000000000// ringbuffer functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // // #ifndef RINGBUFFER_H #define RINGBUFFER_H #include struct ringbuf { char *buf; char *w_ptr; char *r_ptr; unsigned int size; unsigned int full; pthread_mutex_t mutex; }; int rb_init(struct ringbuf *rb, unsigned int size); int rb_filled(struct ringbuf *rb); int rb_space(struct ringbuf *rb); unsigned int rb_read(struct ringbuf *rb, char *dest); unsigned int rb_read_len(struct ringbuf *rb, char *dest, unsigned int len); int rb_write(struct ringbuf *rb, char* src, unsigned int size); int rb_free(struct ringbuf *rb); #endif /*RINGBUFFER_H*/ butt-0.1.26/src/CurrentTrackOSX.m0000664000175000017500000000526113663226731013464 00000000000000// // CurrentTrackOSX.m // butt // // Created by Melchor Garau Madrigal on 8/7/15. // Copyright (c) 2015 Daniel Nöthen. All rights reserved. // #import "CurrentTrackOSX.h" #import #import #import const char* getCurrentTrackFromiTunes() { NSProcessInfo *pInfo = [NSProcessInfo processInfo]; NSOperatingSystemVersion version = [pInfo operatingSystemVersion]; char* ret = NULL; iTunesApplication *iTunes; if(version.minorVersion < 15) iTunes = [SBApplication applicationWithBundleIdentifier:@"com.apple.itunes"]; else iTunes = [SBApplication applicationWithBundleIdentifier:@"com.apple.music"]; if([iTunes isRunning]) { if([iTunes playerState] != iTunesEPlSStopped) { NSString* track = [NSString stringWithFormat:@"%@ - %@", [[iTunes currentTrack] name], [[iTunes currentTrack] artist]]; ret = (char*) malloc([track lengthOfBytesUsingEncoding:NSUTF8StringEncoding] + 1); [track getCString:ret maxLength:([track lengthOfBytesUsingEncoding:NSUTF8StringEncoding] + 1) encoding:NSUTF8StringEncoding]; } } return ret; } const char* getCurrentTrackFromSpotify() { char* ret = NULL; SpotifyApplication *spotify = [SBApplication applicationWithBundleIdentifier:@"com.spotify.client"]; if([spotify isRunning]) { if([spotify playerState] != SpotifyEPlSStopped) { NSString* track = [NSString stringWithFormat:@"%@ - %@", [[spotify currentTrack] name], [[spotify currentTrack] artist]]; ret = (char*) malloc([track lengthOfBytesUsingEncoding:NSUTF8StringEncoding] + 1); [track getCString:ret maxLength:([track lengthOfBytesUsingEncoding:NSUTF8StringEncoding] + 1) encoding:NSUTF8StringEncoding]; } } return ret; } const char* getCurrentTrackFromVOX() { char* ret = NULL; VOXApplication *vox = [SBApplication applicationWithBundleIdentifier:@"com.coppertino.Vox"]; if([vox isRunning]) { if([vox playerState]) { NSString* track = [NSString stringWithFormat:@"%@ - %@", [vox track], [vox artist]]; ret = (char*) malloc([track lengthOfBytesUsingEncoding:NSUTF8StringEncoding] + 1); [track getCString:ret maxLength:([track lengthOfBytesUsingEncoding:NSUTF8StringEncoding] + 1) encoding:NSUTF8StringEncoding]; } } return ret; } typedef const char* (*currentTrackFunction)(void); currentTrackFunction getCurrentTrackFunctionFromId(int i) { switch(i) { case 0: return &getCurrentTrackFromiTunes; case 1: return &getCurrentTrackFromSpotify; case 2: return &getCurrentTrackFromVOX; default: return NULL; } } butt-0.1.26/src/wav_header.cpp0000664000175000017500000000330113663226731013107 00000000000000// wav functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #define _FILE_OFFSET_BITS 64 #include #include #include "wav_header.h" int wav_write_header(FILE *fd, short ch, int srate, short bps) { off_t file_size; uint32_t wav_size; wav_hdr_t hdr; file_size = ftello(fd); if (file_size == -1) return -1; wav_size = file_size > UINT32_MAX ? UINT32_MAX : (uint32_t)file_size; hdr.wav.riff_size = wav_size >= 44 ? (uint32_t)(wav_size-8) : 0; memcpy(&hdr.wav.riff_id, "RIFF", 4); memcpy(&hdr.wav.riff_format, "WAVE", 4); memcpy(hdr.wav.fmt_id, "fmt ", 4); hdr.wav.fmt_size = 16; hdr.wav.fmt_format = 1; hdr.wav.fmt_channel = ch; hdr.wav.fmt_samplerate = srate; hdr.wav.fmt_bps = 16; hdr.wav.fmt_block_align = ch * hdr.wav.fmt_bps / 8; hdr.wav.fmt_byte_rate = srate * hdr.wav.fmt_block_align; memcpy(&hdr.wav.data_id, "data", 4); hdr.wav.data_size = wav_size >= 44 ? (uint32_t)(wav_size-44) : 0; //write header to the beginning of the file rewind(fd); fwrite(&hdr.data, 1, sizeof(wav_hdr_t), fd); //set the fd back to the fileend fseeko(fd, file_size, SEEK_SET); return 0; } butt-0.1.26/src/icecast.h0000664000175000017500000000150013745304447012063 00000000000000// icecast functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef ICECAST_H #define ICECAST_H enum { IC_OK = 0, IC_RETRY = 1, IC_ABORT = 2, IC_ASK = 3, }; int ic_init(void); int ic_connect(void); int ic_send(char *buf, int buf_len); int ic_update_song(char *song_name); void ic_disconnect(void); #endif butt-0.1.26/src/vorbis_encode.cpp0000664000175000017500000001036713751456251013635 00000000000000// vorbis encoding functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #include "config.h" #include "cfg.h" #include "vorbis_encode.h" int vorbis_enc_init(vorbis_enc *vorbis) { int ret; //TODO: add error handling vorbis_info_init(&(vorbis->vi)); ret = vorbis_encode_init(&(vorbis->vi), vorbis->channel, vorbis->samplerate, vorbis->bitrate*1000, vorbis->bitrate*1000, vorbis->bitrate*1000); if(ret) return ret; vorbis_comment_init(&(vorbis->vc)); vorbis_comment_add_tag(&(vorbis->vc), "ENCODER", PACKAGE_STRING); // vorbis_comment_add_tag(&(vorbis->vc), "TITLE", "Hello Song"); vorbis_analysis_init(&(vorbis->vd), &(vorbis->vi)); vorbis_block_init(&(vorbis->vd), &(vorbis->vb)); return 0; } //This function needs to be called before //every connection void vorbis_enc_write_header(vorbis_enc *vorbis) { ogg_packet header; ogg_packet header_comm; ogg_packet header_code; srand(time(NULL)); ogg_stream_init(&(vorbis->os), rand()); vorbis_analysis_headerout(&(vorbis->vd), &(vorbis->vc), &header, &header_comm, &header_code); ogg_stream_packetin(&(vorbis->os), &header); ogg_stream_packetin(&(vorbis->os), &header_comm); ogg_stream_packetin(&(vorbis->os), &header_code); } int vorbis_enc_reinit(vorbis_enc *vorbis) { if(vorbis != NULL) { vorbis_enc_close(vorbis); return vorbis_enc_init(vorbis); } return 1; } int vorbis_enc_encode(vorbis_enc *vorbis, short *pcm_buf, char *enc_buf, int size) { int i, result; int eos = 0; int w = 0; float **vorbis_buf; if(size == 0) return 0; /* This ensures the actual * audio data will start on a new page, as per spec */ result = ogg_stream_flush(&(vorbis->os), &(vorbis->og)); memcpy(enc_buf+w, vorbis->og.header, vorbis->og.header_len); w += vorbis->og.header_len; memcpy(enc_buf+w, vorbis->og.body, vorbis->og.body_len); w += vorbis->og.body_len; vorbis_buf = vorbis_analysis_buffer(&(vorbis->vd), size); //deinterlace audio data and convert it from short to float if(vorbis->channel == 2) // stereo { for(i = 0; i < size; i++) { vorbis_buf[0][i] = pcm_buf[i*2]/32768.f; vorbis_buf[1][i] = pcm_buf[i*2+1]/32768.f; } } else // mono { for(i = 0; i < size; i++) { vorbis_buf[0][i] = pcm_buf[i]/32768.f; } } vorbis_analysis_wrote(&(vorbis->vd), size); while(vorbis_analysis_blockout(&(vorbis->vd), &(vorbis->vb)) == 1) { vorbis_analysis(&(vorbis->vb),&(vorbis->op)); vorbis_bitrate_addblock(&(vorbis->vb)); while(vorbis_bitrate_flushpacket(&(vorbis->vd),&(vorbis->op))) { /* weld the packet into the bitstream */ ogg_stream_packetin(&(vorbis->os),&(vorbis->op)); /* write out pages (if any) */ while(!eos) { result = ogg_stream_pageout(&(vorbis->os), &(vorbis->og)); if(result == 0) break; memcpy(enc_buf+w, vorbis->og.header, vorbis->og.header_len); w += vorbis->og.header_len; memcpy(enc_buf+w, vorbis->og.body, vorbis->og.body_len); w += vorbis->og.body_len; eos = ogg_page_eos(&(vorbis->og)); } } } return w; } void vorbis_enc_close(vorbis_enc *vorbis) { ogg_stream_clear(&(vorbis->os)); vorbis_block_clear(&(vorbis->vb)); vorbis_dsp_clear(&(vorbis->vd)); vorbis_comment_clear(&(vorbis->vc)); vorbis_info_clear(&(vorbis->vi)); } butt-0.1.26/src/vu_meter.cpp0000664000175000017500000000313213770344616012634 00000000000000// vu-meter functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // // #include #include "flgui.h" #include "vu_meter.h" void vu_left_peak_timer(void*); void vu_right_peak_timer(void*); float left_peak; float right_peak; void vu_init(void) { left_peak = -90; right_peak = -90; } void vu_meter(short left, short right) { float left_dB; float right_dB; if (left > 0) left_dB = 20*log10(left/32768.0); else left_dB = -90; if (right > 0) right_dB = 20*log10(right/32768.0); else right_dB = -90; if (left_dB > left_peak) { left_peak = left_dB; Fl::remove_timeout(&vu_left_peak_timer); Fl::add_timeout(2/*second*/, &vu_left_peak_timer); } if (right_dB > right_peak) { right_peak = right_dB; Fl::remove_timeout(&vu_right_peak_timer); Fl::add_timeout(2/*second*/, &vu_right_peak_timer); } fl_g->vumeter->value(left_dB, right_dB, left_peak, right_peak); } void vu_left_peak_timer(void*) { left_peak = -90; } void vu_right_peak_timer(void*) { right_peak = -90; } butt-0.1.26/src/update.cpp0000664000175000017500000000254313736310753012272 00000000000000#include #include #include "config.h" #include "update.h" #include "sockfuncs.h" char new_version[16]; int update_check_for_new_version(void) { int ret; int socket; char request[1024]; char response[1024]; memset(new_version, 0, sizeof(new_version)); socket = sock_connect("danielnoethen.de", 80, CONN_TIMEOUT); if (socket < 0) return UPDATE_SOCKET_ERROR; snprintf(request, sizeof(request), "%s", "GET /latest_butt HTTP/1.0\r\n" "Host: danielnoethen.de\r\n" "Connection: close\r\n\r\n" ); ret = sock_send(socket, request, (int)strlen(request), SEND_TIMEOUT); if (ret == SOCK_TIMEOUT) ret = UPDATE_SOCKET_ERROR; ret = sock_recv(socket, response, sizeof(response), 5*RECV_TIMEOUT); if (ret <= 0) return UPDATE_SOCKET_ERROR; response[ret] = '\0'; char *p = strstr(response, "version: "); if (p == NULL) return UPDATE_ILLEGAL_ANSWER; p += strlen("version: "); if (p[strlen(p)-1] == '\n') { p[strlen(p)-1] = '\0'; } if (strstr(p, VERSION) != NULL) return UPDATE_UP_TO_DATE; snprintf(new_version, sizeof(new_version)-1, "%s", p); return UPDATE_NEW_VERSION; } char *update_get_version(void) { return new_version; } butt-0.1.26/src/port_audio.cpp0000664000175000017500000006405713770656564013200 00000000000000// portaudio functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #include #include #include #include #ifdef WIN32 #include #endif #include "gettext.h" #include "config.h" #include "butt.h" #include "cfg.h" #include "port_audio.h" #include "parseconfig.h" #include "lame_encode.h" #include "aac_encode.h" #include "shoutcast.h" #include "icecast.h" #include "strfuncs.h" #include "wav_header.h" #include "ringbuffer.h" #include "vu_meter.h" #include "flgui.h" #include "fl_funcs.h" #include "dsp.hpp" int pa_frames; char* encode_buf; short *pa_pcm_buf; int buf_index; int buf_pos; int framepacket_size; bool try_to_connect; bool pa_new_frames; bool reconnect; bool silence_detected; bool signal_detected; int num_of_input_channels; bool next_file; FILE *next_fd; struct ringbuf rec_rb; struct ringbuf stream_rb; SRC_STATE *srconv_state_stream = NULL; SRC_STATE *srconv_state_record = NULL; SRC_DATA srconv_stream; SRC_DATA srconv_record; pthread_t rec_thread; pthread_t stream_thread; pthread_mutex_t stream_mut, rec_mut; pthread_cond_t stream_cond, rec_cond; PaStream *stream; static DSPEffects* dsp = NULL; int snd_init(void) { char info_buf[256]; PaError p_err; if((p_err = Pa_Initialize()) != paNoError) { snprintf(info_buf, sizeof(info_buf), _("PortAudio init failed:\n%s\n"), Pa_GetErrorText(p_err)); ALERT(info_buf); return 1; } srconv_stream.data_in = (float*)malloc(2*pa_frames * 64 * sizeof(float)); srconv_record.data_in = (float*)malloc(2*pa_frames * 64 * sizeof(float)); srconv_stream.data_out = (float*)malloc(2*pa_frames * 64 * sizeof(float)); srconv_record.data_out = (float*)malloc(2*pa_frames * 64 * sizeof(float)); reconnect = false; buf_index = 0; silence_detected = false; return 0; } void snd_reinit(void) { snd_close(); if (snd_init() == 0) snd_open_stream(); } int snd_open_stream(void) { int samplerate; char info_buf[256]; PaDeviceIndex pa_dev_id; PaStreamParameters pa_params; PaError pa_err; const PaDeviceInfo *pa_dev_info; if(cfg.audio.dev_count == 0) { print_info(_("ERROR: no sound device with input channels found"), 1); return 1; } pa_frames = round((cfg.audio.buffer_ms/1000.0)*cfg.audio.samplerate); snd_reset_samplerate_conv(SND_STREAM); snd_reset_samplerate_conv(SND_REC); samplerate = cfg.audio.samplerate; pa_dev_id = cfg.audio.pcm_list[cfg.audio.dev_num]->dev_id; pa_dev_info = Pa_GetDeviceInfo(pa_dev_id); if(pa_dev_info == NULL) { snprintf(info_buf, 127, _("Error getting device Info (%d)"), pa_dev_id); print_info(info_buf, 1); return 1; } num_of_input_channels = pa_dev_info->maxInputChannels; if (num_of_input_channels == 1) { cfg.audio.left_ch = 1; cfg.audio.right_ch = 1; } else if ((cfg.audio.left_ch > num_of_input_channels) || (cfg.audio.right_ch > num_of_input_channels)) { cfg.audio.left_ch = 1; cfg.audio.right_ch = 2; } framepacket_size = pa_frames * cfg.audio.channel; pa_pcm_buf = (short*)malloc(16 * framepacket_size * sizeof(short)); encode_buf = (char*)malloc(16 * framepacket_size * sizeof(char)); rb_init(&rec_rb, 16 * framepacket_size * sizeof(short)); rb_init(&stream_rb, 16 * framepacket_size * sizeof(short)); pa_params.device = pa_dev_id; pa_params.channelCount = pa_dev_info->maxInputChannels; pa_params.sampleFormat = paInt16; pa_params.suggestedLatency = pa_dev_info->defaultHighInputLatency; pa_params.hostApiSpecificStreamInfo = NULL; pa_err = Pa_IsFormatSupported(&pa_params, NULL, samplerate); if(pa_err != paFormatIsSupported) { if(pa_err == paInvalidSampleRate) { snprintf(info_buf, sizeof(info_buf), _("Samplerate not supported: %dHz\n" "Using default samplerate: %dHz"), samplerate, (int)pa_dev_info->defaultSampleRate); print_info(info_buf, 1); if(Pa_IsFormatSupported(&pa_params, NULL, pa_dev_info->defaultSampleRate) != paFormatIsSupported) { print_info("FAILED", 1); return 1; } else { samplerate = (int)pa_dev_info->defaultSampleRate; cfg.audio.samplerate = samplerate; update_samplerates(); } } else { snprintf(info_buf, sizeof(info_buf), _("PA: Format not supported: %s\n"), Pa_GetErrorText(pa_err)); print_info(info_buf, 1); return 1; } } int flag = cfg.audio.disable_dithering == 0 ? paNoFlag : paDitherOff; pa_err = Pa_OpenStream(&stream, &pa_params, NULL, samplerate, pa_frames, flag, snd_callback, NULL); if(pa_err != paNoError) { printf(_("error opening sound device: \n%s\n"), Pa_GetErrorText(pa_err)); return 1; } if (dsp != NULL) { delete dsp; dsp = NULL; } dsp = new DSPEffects(pa_frames, cfg.audio.channel, samplerate); Pa_StartStream(stream); return 0; } //this function is called by PortAudio when new audio data arrived int snd_callback(const void *input, void *output, unsigned long frameCount, const PaStreamCallbackTimeInfo* timeInfo, PaStreamCallbackFlags statusFlags, void *userData) { int samplerate_out; bool convert_stream = false; bool convert_record = false; char stream_buf[16 * pa_frames*2 * sizeof(short)]; char record_buf[16 * pa_frames*2 * sizeof(short)]; short *pcm_input = (short*)input; for (int i = 0; i < frameCount; i++) { if (cfg.audio.channel == 1) { if (num_of_input_channels == 1) { pa_pcm_buf[i] = pcm_input[i]; } else { float left_sample, right_sample; short mono_sample; left_sample = (float)pcm_input[num_of_input_channels*i+(cfg.audio.left_ch-1)]; right_sample = (float)pcm_input[num_of_input_channels*i+(cfg.audio.right_ch-1)]; mono_sample = (short)(round((left_sample+right_sample)/2.0)); pa_pcm_buf[i] = mono_sample; } } else { if (num_of_input_channels == 1) { pa_pcm_buf[2*i] = pcm_input[i]; pa_pcm_buf[2*i+1] = pcm_input[i]; } else { pa_pcm_buf[2*i] = pcm_input[num_of_input_channels*i+(cfg.audio.left_ch-1)]; pa_pcm_buf[2*i+1] = pcm_input[num_of_input_channels*i+(cfg.audio.right_ch-1)]; } } } samplerate_out = cfg.audio.samplerate; if(dsp->hasToProcessSamples()) { dsp->processSamples(pa_pcm_buf); } if (streaming) { if ((!strcmp(cfg.audio.codec, "opus")) && (cfg.audio.samplerate != 48000)) { convert_stream = true; samplerate_out = 48000; } if (convert_stream == true) { srconv_stream.end_of_input = 0; srconv_stream.src_ratio = (float)samplerate_out/cfg.audio.samplerate; srconv_stream.input_frames = frameCount; srconv_stream.output_frames = frameCount*cfg.audio.channel * (srconv_stream.src_ratio+1) * sizeof(float); src_short_to_float_array((short*)pa_pcm_buf, (float*)srconv_stream.data_in, frameCount*cfg.audio.channel); //The actual resample process src_process(srconv_state_stream, &srconv_stream); src_float_to_short_array(srconv_stream.data_out, (short*)stream_buf, srconv_stream.output_frames_gen*cfg.audio.channel); rb_write(&stream_rb, (char*)stream_buf, srconv_stream.output_frames_gen*sizeof(short)*cfg.audio.channel); } else rb_write(&stream_rb, (char*)pa_pcm_buf, frameCount*sizeof(short)*cfg.audio.channel); pthread_cond_signal(&stream_cond); } if(recording) { if ((!strcmp(cfg.rec.codec, "opus")) && (cfg.audio.samplerate != 48000)) { convert_record = true; samplerate_out = 48000; } if (convert_record == true) { srconv_record.end_of_input = 0; srconv_record.src_ratio = (float)samplerate_out/cfg.audio.samplerate; srconv_record.input_frames = frameCount; srconv_record.output_frames = frameCount*cfg.audio.channel * (srconv_record.src_ratio+1) * sizeof(float); src_short_to_float_array((short*)pa_pcm_buf, (float*)srconv_record.data_in, frameCount*cfg.audio.channel); //The actual resample process src_process(srconv_state_record, &srconv_record); src_float_to_short_array(srconv_record.data_out, (short*)record_buf, srconv_record.output_frames_gen*cfg.audio.channel); rb_write(&rec_rb, (char*)record_buf, srconv_record.output_frames_gen*sizeof(short)*cfg.audio.channel); } else rb_write(&rec_rb, (char*)pa_pcm_buf, frameCount*sizeof(short)*cfg.audio.channel); pthread_cond_signal(&rec_cond); } //tell snd_update_vu() that there is new audio data pa_new_frames = 1; return 0; } void snd_start_stream(void) { pthread_mutex_init(&stream_mut, NULL); pthread_cond_init (&stream_cond, NULL); kbytes_sent = 0; streaming = 1; pthread_create(&stream_thread, NULL, snd_stream_thread, NULL); } void *snd_stream_thread(void *data) { int sent; int rb_bytes_read; int encode_bytes_read = 0; int bytes_to_read; char *enc_buf = (char*)malloc(stream_rb.size * sizeof(char)*10); char *audio_buf = (char*)malloc(stream_rb.size * sizeof(char)*10); int (*xc_send)(char *buf, int buf_len) = NULL; static int new_stream = 0; if(cfg.srv[cfg.selected_srv]->type == SHOUTCAST) xc_send = &sc_send; else //Icecast xc_send = &ic_send; while(connected) { pthread_cond_wait(&stream_cond, &stream_mut); if(!connected) break; if(!strcmp(cfg.audio.codec, "opus")) { // Read always chunks of 960 frames from the audio ringbuffer to be // compatible with OPUS bytes_to_read = 960 * sizeof(short)*cfg.audio.channel; while ((rb_filled(&stream_rb)) >= bytes_to_read) { // Read always chunks of 960 frames from the audio ringbuffer to be bytes_to_read = 960 * sizeof(short)*cfg.audio.channel; rb_read_len(&stream_rb, audio_buf, bytes_to_read); encode_bytes_read = opus_enc_encode(&opus_stream, (short*)audio_buf, enc_buf, bytes_to_read/(2*cfg.audio.channel)); if((sent = xc_send(enc_buf, encode_bytes_read)) == -1) { connected = 0; } else kbytes_sent += encode_bytes_read/1024.0; } } #ifdef HAVE_LIBFDK_AAC else if(!strcmp(cfg.audio.codec, "aac")) { bytes_to_read = aac_stream.info.frameLength * cfg.audio.channel * sizeof(short); while ((rb_filled(&stream_rb)) >= bytes_to_read) { rb_read_len(&stream_rb, audio_buf, bytes_to_read); encode_bytes_read = aac_enc_encode(&aac_stream, (short*)audio_buf, enc_buf, bytes_to_read/(2*cfg.audio.channel), stream_rb.size*10); if((sent = xc_send(enc_buf, encode_bytes_read)) == -1) { connected = 0; } else kbytes_sent += encode_bytes_read/1024.0; } } #endif else // ogg, mp3 and flac need more data than opus in order to compress the audio data { if(rb_filled(&stream_rb) < framepacket_size*sizeof(short)) continue; rb_bytes_read = rb_read(&stream_rb, audio_buf); if(rb_bytes_read == 0) continue; if(!strcmp(cfg.audio.codec, "mp3")) encode_bytes_read = lame_enc_encode(&lame_stream, (short*)audio_buf, enc_buf, rb_bytes_read/(2*cfg.audio.channel), stream_rb.size*10); if(!strcmp(cfg.audio.codec, "ogg")) encode_bytes_read = vorbis_enc_encode(&vorbis_stream, (short*)audio_buf, enc_buf, rb_bytes_read/(2*cfg.audio.channel)); if(!strcmp(cfg.audio.codec, "flac")) { encode_bytes_read = flac_enc_encode_stream(&flac_stream, (short*)audio_buf, (uint8_t*)enc_buf, rb_bytes_read/sizeof(short)/cfg.audio.channel, cfg.audio.channel, new_stream); if (flac_stream.state == FLAC_STATE_UPDATE_META_DATA) flac_enc_init_ogg_stream(&flac_stream); if (encode_bytes_read == 0) continue; } if((sent = xc_send(enc_buf, encode_bytes_read)) == -1) connected = 0; else kbytes_sent += encode_bytes_read/1024.0; } } free(enc_buf); free(audio_buf); return NULL; } void snd_stop_stream(void) { connected = 0; streaming = 0; pthread_cond_signal(&stream_cond); pthread_mutex_destroy(&stream_mut); pthread_cond_destroy(&stream_cond); print_info(_("disconnected\n"), 0); } void snd_start_rec(void) { next_file = 0; kbytes_written = 0; recording = 1; pthread_mutex_init(&rec_mut, NULL); pthread_cond_init (&rec_cond, NULL); pthread_create(&rec_thread, NULL, snd_rec_thread, NULL); print_info(_("recording to:"), 0); print_info(cfg.rec.path, 0); } void snd_stop_rec(void) { record = 0; recording = 0; pthread_cond_signal(&rec_cond); pthread_mutex_destroy(&rec_mut); pthread_cond_destroy(&rec_cond); print_info(_("recording stopped"), 0); } //The recording stuff runs in its own thread //this prevents dropouts in the recording in case the //bandwidth is smaller than the selected streaming bitrate void* snd_rec_thread(void *data) { int rb_bytes_read; int bytes_to_read; int ogg_header_written; int opus_header_written; int enc_bytes_read; char *enc_buf = (char*)malloc(rec_rb.size * sizeof(char)*10); char *audio_buf = (char*)malloc(rec_rb.size * sizeof(char)*10); ogg_header_written = 0; opus_header_written = 0; while(record) { pthread_cond_wait(&rec_cond, &rec_mut); if(next_file == 1) { if(!strcmp(cfg.rec.codec, "flac")) // The flac encoder closes the file flac_enc_close(&flac_rec); else fclose(cfg.rec.fd); cfg.rec.fd = next_fd; next_file = 0; if(!strcmp(cfg.rec.codec, "ogg")) { vorbis_enc_reinit(&vorbis_rec); ogg_header_written = 0; } if(!strcmp(cfg.rec.codec, "opus")) { opus_enc_reinit(&opus_rec); opus_header_written = 0; } if(!strcmp(cfg.rec.codec, "flac")) { flac_enc_reinit(&flac_rec); flac_enc_init_FILE(&flac_rec, cfg.rec.fd); } } // Opus and aac need special treatments // The encoders need a predefined count of frames // Therefore we don't feed the encoder with all data we have in the // ringbuffer at once if(!strcmp(cfg.rec.codec, "opus")) { bytes_to_read = 960 * sizeof(short)*cfg.audio.channel; while ((rb_filled(&rec_rb)) >= bytes_to_read) { rb_read_len(&rec_rb, audio_buf, bytes_to_read); if(!opus_header_written) { opus_enc_write_header(&opus_rec); opus_header_written = 1; } enc_bytes_read = opus_enc_encode(&opus_rec, (short*)audio_buf, enc_buf, bytes_to_read/(2*cfg.audio.channel)); kbytes_written += fwrite(enc_buf, 1, enc_bytes_read, cfg.rec.fd)/1024.0; } } #ifdef HAVE_LIBFDK_AAC else if(!strcmp(cfg.rec.codec, "aac")) { bytes_to_read = aac_rec.info.frameLength * cfg.audio.channel * sizeof(short); while ((rb_filled(&rec_rb)) >= bytes_to_read) { rb_read_len(&rec_rb, audio_buf, bytes_to_read); enc_bytes_read = aac_enc_encode(&aac_rec, (short*)audio_buf, enc_buf, bytes_to_read/(2*cfg.audio.channel), rec_rb.size * sizeof(char)*10); kbytes_written += fwrite(enc_buf, 1, enc_bytes_read, cfg.rec.fd)/1024.0; } } #endif else { if(rb_filled(&rec_rb) < framepacket_size*sizeof(short)) continue; rb_bytes_read = rb_read(&rec_rb, audio_buf); if(rb_bytes_read == 0) continue; if(!strcmp(cfg.rec.codec, "mp3")) { enc_bytes_read = lame_enc_encode(&lame_rec, (short*)audio_buf, enc_buf, rb_bytes_read/(2*cfg.audio.channel), rec_rb.size*10); kbytes_written += fwrite(enc_buf, 1, enc_bytes_read, cfg.rec.fd)/1024.0; } if(!strcmp(cfg.rec.codec, "ogg")) { if(!ogg_header_written) { vorbis_enc_write_header(&vorbis_rec); ogg_header_written = 1; } enc_bytes_read = vorbis_enc_encode(&vorbis_rec, (short*)audio_buf, enc_buf, rb_bytes_read/(2*cfg.audio.channel)); kbytes_written += fwrite(enc_buf, 1, enc_bytes_read, cfg.rec.fd)/1024.0; } if(!strcmp(cfg.rec.codec, "flac")) { flac_enc_encode(&flac_rec, (short*)audio_buf, rb_bytes_read/sizeof(short)/cfg.audio.channel, cfg.audio.channel); kbytes_written = flac_enc_get_bytes_written()/1024.0; } if(!strcmp(cfg.rec.codec, "wav")) { //This does permanently update the WAV header //so in case of a crash we still have a valid WAV file wav_write_header(cfg.rec.fd, cfg.audio.channel, cfg.audio.samplerate, 16); kbytes_written += fwrite(audio_buf, sizeof(char), rb_bytes_read, cfg.rec.fd)/1024.0; } } } if(!strcmp(cfg.rec.codec, "flac")) // The flac encoder closes the file flac_enc_close(&flac_rec); else fclose(cfg.rec.fd); free(enc_buf); free(audio_buf); return NULL; } void snd_update_vu(void) { int i; static int lpeak = 0; static int rpeak = 0; static int call_cnt = 0; short *p; float decay = 0.5; static double lavg = 0; static double ravg = 0; p = pa_pcm_buf; for(i = 0; i < framepacket_size; i += cfg.audio.channel) { if(abs(p[i]) > lpeak) lpeak = abs(p[i]); if(abs(p[i+(cfg.audio.channel-1)]) > rpeak) rpeak = abs(p[i+(cfg.audio.channel-1)]); } int mean_peak = lpeak/2 + rpeak/2; float mean_peak_dB = 20*log10(mean_peak/32768.0); if (mean_peak_dB < -cfg.audio.silence_level) silence_detected = true; else silence_detected = false; if (mean_peak_dB > -cfg.audio.signal_level) signal_detected = true; else signal_detected = false; lavg = (decay * lpeak) + (1.0-decay) * lavg; ravg = (decay * rpeak) + (1.0-decay) * ravg; // Update the vu meter UI only every second call of this function. // This reduces the CPU usage by not missing any samples if (call_cnt == 1) { vu_meter((short)round(lavg), (short)round(ravg)); call_cnt = 0; } else { call_cnt++; lpeak = 0; rpeak = 0; } pa_new_frames = 0; } snd_dev_t **snd_get_devices(int *dev_count) { int i, j; int devcount, sr_count, dev_num; bool sr_supported = 0; const PaDeviceInfo *p_di; char info_buf[256]; PaStreamParameters pa_params; int sr[] = { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000}; snd_dev_t **dev_list; dev_list = (snd_dev_t**)malloc(100*sizeof(snd_dev_t*)); //100 sound devices should be enough for(i = 0; i < 100; i++) dev_list[i] = (snd_dev_t*)malloc(sizeof(snd_dev_t)); dev_list[0]->name = (char*) malloc(strlen(_("Default PCM device (default)"))+1); strcpy(dev_list[0]->name, _("Default PCM device (default)")); dev_list[0]->dev_id = Pa_GetDefaultInputDevice(); dev_num = 1; devcount = Pa_GetDeviceCount(); if(devcount < 0) { snprintf(info_buf, sizeof(info_buf), "PaError: %s", Pa_GetErrorText(devcount)); print_info(info_buf, 1); } for(i = 0; i < devcount && i < 100; i++) { sr_count = 0; p_di = Pa_GetDeviceInfo(i); if(p_di == NULL) { snprintf(info_buf, sizeof(info_buf), _("Error getting device Info (%d)"), i); print_info(info_buf, 1); continue; } //Save only devices which have input Channels if(p_di->maxInputChannels <= 0) continue; const PaHostApiInfo *pa_hostapi = Pa_GetHostApiInfo(p_di->hostApi); pa_params.device = i; pa_params.channelCount = p_di->maxInputChannels; pa_params.sampleFormat = paInt16; pa_params.suggestedLatency = p_di->defaultHighInputLatency; pa_params.hostApiSpecificStreamInfo = NULL; //add the supported samplerates to the device structure for(j = 0; j < sizeof(sr)/sizeof(sr[0]); j++) { if(Pa_IsFormatSupported(&pa_params, NULL, sr[j]) == paFormatIsSupported) { dev_list[dev_num]->sr_list[sr_count] = sr[j]; sr_count++; sr_supported = 1; } } //Go to the next device if this one doesn't support at least one of our samplerates if(!sr_supported) continue; dev_list[dev_num]->num_of_sr = sr_count; //Mark the end of the samplerate list for this device with a 0 dev_list[dev_num]->sr_list[sr_count] = 0; dev_list[dev_num]->name = (char*) malloc(strlen(p_di->name)+strlen(pa_hostapi->name)+10); dev_list[dev_num]->dev_id = i; dev_list[dev_num]->num_of_channels = p_di->maxInputChannels; snprintf(dev_list[dev_num]->name, strlen(p_di->name)+strlen(pa_hostapi->name)+10, "%d: %s [%s]", dev_num, p_di->name, pa_hostapi->name); //copy the sr_list from the device where the //virtual default device points to if(dev_list[0]->dev_id == dev_list[dev_num]->dev_id) { memcpy(dev_list[0]->sr_list, dev_list[dev_num]->sr_list, sizeof(dev_list[dev_num]->sr_list)); dev_list[0]->num_of_sr = sr_count; dev_list[0]->num_of_channels = p_di->maxInputChannels; } //We need to escape every '/' in the device name //otherwise FLTK will add a submenu for every '/' in the dev list strrpl(&dev_list[dev_num]->name, (char*)"/", (char*)"\\/", MODE_ALL); dev_num++; }//for(i = 0; i < devcount && i < 100; i++) if(dev_num == 1) *dev_count = 0; else *dev_count = dev_num; return dev_list; } void snd_reset_samplerate_conv(int rec_or_stream) { int error; if (rec_or_stream == SND_STREAM) { if (srconv_state_stream != NULL) { src_delete(srconv_state_stream); srconv_state_stream = NULL; } srconv_state_stream = src_new(cfg.audio.resample_mode, cfg.audio.channel, &error); if (srconv_state_stream == NULL) { print_info(_("ERROR: Could not initialize samplerate converter"), 0); } } if (rec_or_stream == SND_REC) { if (srconv_state_record != NULL) { src_delete(srconv_state_record); srconv_state_record = NULL; } srconv_state_record = src_new(cfg.audio.resample_mode, cfg.audio.channel, &error); if (srconv_state_record == NULL) { print_info(_("ERROR: Could not initialize samplerate converter"), 0); } } } char *snd_get_device_name(int id) { const PaDeviceInfo *pa_dev_info; pa_dev_info = Pa_GetDeviceInfo(id); if(pa_dev_info == NULL) return NULL; else return strdup(pa_dev_info->name); // Make sure it will be free'd on the caller side } int snd_get_number_of_channels(int id) { const PaDeviceInfo *pa_dev_info; pa_dev_info = Pa_GetDeviceInfo(id); if(pa_dev_info == NULL) return 0; else return pa_dev_info->maxInputChannels; } void snd_close(void) { Pa_StopStream(stream); Pa_CloseStream(stream); Pa_Terminate(); free((void*)srconv_stream.data_in); free(srconv_stream.data_out); free((void*)srconv_record.data_in); free(srconv_record.data_out); free(pa_pcm_buf); free(encode_buf); } butt-0.1.26/src/Biquad.cpp0000664000175000017500000001177113663226731012221 00000000000000// // Biquad.cpp // // Created by Nigel Redmon on 11/24/12 // EarLevel Engineering: earlevel.com // Copyright 2012 Nigel Redmon // // For a complete explanation of the Biquad code: // http://www.earlevel.com/main/2012/11/26/biquad-c-source-code/ // // License: // // This source code is provided as is, without warranty. // You may copy and distribute verbatim copies of this document. // You may modify and use this source code to create binary code // for your own purposes, free or commercial. // // Modifications by melchor629 on 20/08/2016 #include #include "Biquad.h" Biquad::Biquad() { type = bq_type_lowpass; a0 = 1.0; a1 = a2 = b1 = b2 = 0.0; Fc = 0.50; Q = 0.707; peakGain = 0.0; z1 = z2 = 0.0; } Biquad::Biquad(int type, double Fc, double Q, double peakGainDB) { setBiquad(type, Fc, Q, peakGainDB); z1 = z2 = 0.0; } Biquad::~Biquad() { } void Biquad::setType(int type) { if(this->type != type) { this->type = type; calcBiquad(); } } void Biquad::setQ(double Q) { if(this->Q != Q) { this->Q = Q; calcBiquad(); } } void Biquad::setFc(double Fc) { if(this->Fc != Fc) { this->Fc = Fc; calcBiquad(); } } void Biquad::setPeakGain(double peakGainDB) { if(this->peakGain != peakGainDB) { this->peakGain = peakGainDB; calcBiquad(); } } void Biquad::setBiquad(int type, double Fc, double Q, double peakGainDB) { this->type = type; this->Q = Q; this->Fc = Fc; this->peakGain = peakGainDB; calcBiquad(); } void Biquad::calcBiquad(void) { double norm; double V = pow(10, fabs(peakGain) / 20.0); double K = tan(M_PI * Fc); switch (this->type) { case bq_type_lowpass: norm = 1 / (1 + K / Q + K * K); a0 = K * K * norm; a1 = 2 * a0; a2 = a0; b1 = 2 * (K * K - 1) * norm; b2 = (1 - K / Q + K * K) * norm; break; case bq_type_highpass: norm = 1 / (1 + K / Q + K * K); a0 = 1 * norm; a1 = -2 * a0; a2 = a0; b1 = 2 * (K * K - 1) * norm; b2 = (1 - K / Q + K * K) * norm; break; case bq_type_bandpass: norm = 1 / (1 + K / Q + K * K); a0 = K / Q * norm; a1 = 0; a2 = -a0; b1 = 2 * (K * K - 1) * norm; b2 = (1 - K / Q + K * K) * norm; break; case bq_type_notch: norm = 1 / (1 + K / Q + K * K); a0 = (1 + K * K) * norm; a1 = 2 * (K * K - 1) * norm; a2 = a0; b1 = a1; b2 = (1 - K / Q + K * K) * norm; break; case bq_type_peak: if (peakGain >= 0) { // boost norm = 1 / (1 + 1/Q * K + K * K); a0 = (1 + V/Q * K + K * K) * norm; a1 = 2 * (K * K - 1) * norm; a2 = (1 - V/Q * K + K * K) * norm; b1 = a1; b2 = (1 - 1/Q * K + K * K) * norm; } else { // cut norm = 1 / (1 + V/Q * K + K * K); a0 = (1 + 1/Q * K + K * K) * norm; a1 = 2 * (K * K - 1) * norm; a2 = (1 - 1/Q * K + K * K) * norm; b1 = a1; b2 = (1 - V/Q * K + K * K) * norm; } break; case bq_type_lowshelf: if (peakGain >= 0) { // boost norm = 1 / (1 + sqrt(2) * K + K * K); a0 = (1 + sqrt(2*V) * K + V * K * K) * norm; a1 = 2 * (V * K * K - 1) * norm; a2 = (1 - sqrt(2*V) * K + V * K * K) * norm; b1 = 2 * (K * K - 1) * norm; b2 = (1 - sqrt(2) * K + K * K) * norm; } else { // cut norm = 1 / (1 + sqrt(2*V) * K + V * K * K); a0 = (1 + sqrt(2) * K + K * K) * norm; a1 = 2 * (K * K - 1) * norm; a2 = (1 - sqrt(2) * K + K * K) * norm; b1 = 2 * (V * K * K - 1) * norm; b2 = (1 - sqrt(2*V) * K + V * K * K) * norm; } break; case bq_type_highshelf: if (peakGain >= 0) { // boost norm = 1 / (1 + sqrt(2) * K + K * K); a0 = (V + sqrt(2*V) * K + K * K) * norm; a1 = 2 * (K * K - V) * norm; a2 = (V - sqrt(2*V) * K + K * K) * norm; b1 = 2 * (K * K - 1) * norm; b2 = (1 - sqrt(2) * K + K * K) * norm; } else { // cut norm = 1 / (V + sqrt(2*V) * K + K * K); a0 = (1 + sqrt(2) * K + K * K) * norm; a1 = 2 * (K * K - 1) * norm; a2 = (1 - sqrt(2) * K + K * K) * norm; b1 = 2 * (K * K - V) * norm; b2 = (V - sqrt(2*V) * K + K * K) * norm; } break; } return; } butt-0.1.26/src/currentTrack.cpp0000664000175000017500000000044213663226731013454 00000000000000// // currentTrack.cpp // butt // // Created by Melchor Garau Madrigal on 22/7/15. // Copyright (c) 2015 Daniel Nöthen. All rights reserved. // #include "currentTrack.h" currentTrackFunction getCurrentTrackFunctionFromId(int i) { switch(i) { default: return NULL; } }butt-0.1.26/src/util.h0000664000175000017500000000141113663226731011424 00000000000000// string manipulation functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // // #ifndef UTIL_H #define UTIL_H char *util_base64_enc(char *data); char *util_get_file_extension(char *filename); float util_factor_to_db(float factor); float util_db_to_factor(float dB); #endif butt-0.1.26/src/parseconfig.h0000664000175000017500000000062713663226731012757 00000000000000#ifndef PARSECONFIG_H #define PARSECONFIG_H //taken from camE http://linuxbrit.co.uk/camE/ int cfg_parse_file(const char *filename); char** cfg_list_sections(void); char** cfg_list_entries(const char *name); char* cfg_get_str(const char *sec, const char *ent); int cfg_get_int(const char *sec, const char *ent); float cfg_get_float(const char *sec, const char *ent); #endif /* PARSECONFIG_H */ butt-0.1.26/src/flac_encode.cpp0000664000175000017500000002124113770206736013231 00000000000000// flac encoding functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #include #include #include #include "flac_encode.h" FLAC__uint64 g_bytes_written = 0; static void progress_callback(const FLAC__StreamEncoder *encoder, FLAC__uint64 bytes_written, FLAC__uint64 samples_written, unsigned frames_written, unsigned total_frames_estimate, void *client_data); static FLAC__StreamEncoderWriteStatus ogg_stream_callback(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data); uint8_t *g_enc_p = NULL; uint8_t *g_hdr_p; uint8_t g_hdr[1024]; int g_hdr_written; int g_hdr_size = 0; static bool set_settings(flac_enc *flac) { FLAC__bool ret = true; ret &= FLAC__stream_encoder_set_verify(flac->encoder, false); ret &= FLAC__stream_encoder_set_compression_level(flac->encoder, 5); ret &= FLAC__stream_encoder_set_channels(flac->encoder, flac->channel); ret &= FLAC__stream_encoder_set_bits_per_sample(flac->encoder, 16); ret &= FLAC__stream_encoder_set_sample_rate(flac->encoder, flac->samplerate); ret &= FLAC__stream_encoder_set_total_samples_estimate(flac->encoder, 0); ret &= FLAC__stream_encoder_set_ogg_serial_number(flac->encoder, rand()); return ret; } static void inject_new_song_title(flac_enc *flac) { int comment_len; if (flac->vorbis_comment.length > 0) { for (int i = 0; i < flac->vorbis_comment.data.vorbis_comment.num_comments; i++) free(flac->vorbis_comment.data.vorbis_comment.comments[i].entry); free(flac->vorbis_comment.data.vorbis_comment.comments); memset(&flac->vorbis_comment, 0, sizeof(FLAC__StreamMetadata)); } comment_len = strlen(flac->song_title); flac->vorbis_comment.is_last = true; flac->vorbis_comment.type = FLAC__METADATA_TYPE_VORBIS_COMMENT; flac->vorbis_comment.length = 3*sizeof(uint32_t) + comment_len; // size of data field with ".length" and ".num_comments" variables included flac->vorbis_comment.data.vorbis_comment.vendor_string.length = 0; flac->vorbis_comment.data.vorbis_comment.vendor_string.entry = 0; flac->vorbis_comment.data.vorbis_comment.num_comments = 1; flac->vorbis_comment.data.vorbis_comment.comments = (FLAC__StreamMetadata_VorbisComment_Entry*)malloc(flac->vorbis_comment.data.vorbis_comment.num_comments * sizeof(FLAC__StreamMetadata_VorbisComment_Entry)); flac->vorbis_comment.data.vorbis_comment.comments[0].length = comment_len; flac->vorbis_comment.data.vorbis_comment.comments[0].entry = (FLAC__byte*)malloc(comment_len+1); memcpy(flac->vorbis_comment.data.vorbis_comment.comments[0].entry, flac->song_title, comment_len+1); } int flac_enc_init(flac_enc *flac) { FLAC__bool ret = true; if((flac->encoder = FLAC__stream_encoder_new()) == NULL) { printf("ERROR: allocating encoder\n"); return 1; } memset(&flac->vorbis_comment, 0, sizeof(FLAC__StreamMetadata)); if (flac->enc_type == FLAC_ENC_TYPE_STREAM) ret = flac_enc_init_ogg_stream(flac); if (ret == true) { flac->state = FLAC_STATE_OK; return 0; } else return 1; } int flac_enc_init_FILE(flac_enc *flac, FILE *fout) { FLAC__StreamEncoderInitStatus init_status; set_settings(flac); init_status = FLAC__stream_encoder_init_FILE(flac->encoder, fout, progress_callback, /*client_data=*/NULL); if(init_status != FLAC__STREAM_ENCODER_INIT_STATUS_OK) { fprintf(stderr, "ERROR: initializing encoder: %s\n", FLAC__StreamEncoderInitStatusString[init_status]); return 1; } return 0; } FLAC__bool flac_enc_init_ogg_stream(flac_enc *flac) { FLAC__StreamEncoderInitStatus init_status; g_hdr_written = 0; g_hdr_size = 0; g_hdr_p = g_hdr; set_settings(flac); if (flac->state == FLAC_STATE_UPDATE_META_DATA) { inject_new_song_title(flac); FLAC__StreamMetadata *comment_pointer = &flac->vorbis_comment; FLAC__stream_encoder_set_metadata(flac->encoder, &comment_pointer, 1); flac->state = FLAC_STATE_OK; } init_status = FLAC__stream_encoder_init_ogg_stream(flac->encoder, NULL, ogg_stream_callback, NULL, NULL, NULL, NULL); if (init_status != FLAC__STREAM_ENCODER_INIT_STATUS_OK) { fprintf(stderr, "ERROR: initializing encoder: %s\n", FLAC__StreamEncoderInitStatusString[init_status]); return false; } flac->state = FLAC_STATE_OK; return true; } void flac_update_song_title(flac_enc *flac, char *song_title) { snprintf(flac->song_title, sizeof(flac->song_title), "TITLE=%s", song_title); flac->state = FLAC_STATE_NEW_SONG_AVAILABLE; } void flac_set_initial_song_title(flac_enc *flac, char *song_title) { snprintf(flac->song_title, sizeof(flac->song_title), "TITLE=%s", song_title); flac->state = FLAC_STATE_UPDATE_META_DATA; flac_enc_reinit(flac); } int flac_enc_encode(flac_enc *flac, short *pcm_buf, int samples_per_chan, int channel) { int i; int samples_left; int chunk_size; int pcm_32[8192]; int samples_written = 0; chunk_size = 2048; if (chunk_size > samples_per_chan) chunk_size = samples_per_chan; samples_left = samples_per_chan; while(samples_left > 0) { // Convert 16bit samples to 32bit samples for(i = 0; i < chunk_size * channel; i++) pcm_32[i] = (int)pcm_buf[i+samples_written]; FLAC__stream_encoder_process_interleaved(flac->encoder, pcm_32, chunk_size); samples_written += chunk_size*channel; samples_left -= chunk_size; if(samples_left < chunk_size) chunk_size = samples_left; } return 0; } int flac_enc_encode_stream(flac_enc *flac, short *pcm_buf, uint8_t *enc_buf, int samples_per_chan, int channel, int new_stream) { int i; int samples_left; int chunk_size; int bytes_written; int pcm_32[8192]; g_enc_p = enc_buf; if (g_hdr_written == 0) { memcpy(g_enc_p, g_hdr, g_hdr_size); g_enc_p += g_hdr_size; g_hdr_written = 1; } int samples_written = 0; chunk_size = 2048; if (chunk_size > samples_per_chan) chunk_size = samples_per_chan; samples_left = samples_per_chan; while (samples_left > 0) { // Convert 16bit samples to 32bit samples for(i = 0; i < chunk_size * channel; i++) pcm_32[i] = (int)pcm_buf[i+samples_written]; FLAC__stream_encoder_process_interleaved(flac->encoder, pcm_32, chunk_size); samples_written += chunk_size*channel; samples_left -= chunk_size; if(samples_left < chunk_size) chunk_size = samples_left; } if (flac->state == FLAC_STATE_NEW_SONG_AVAILABLE) { FLAC__stream_encoder_finish(flac->encoder); flac->state = FLAC_STATE_UPDATE_META_DATA; } bytes_written = (int)(g_enc_p - enc_buf); return bytes_written; } int flac_enc_reinit(flac_enc *flac) { flac_enc_close(flac); return flac_enc_init(flac); } void flac_enc_close(flac_enc *flac) { if(flac->encoder != NULL) { FLAC__stream_encoder_delete(flac->encoder); } flac->encoder = NULL; } void progress_callback(const FLAC__StreamEncoder *encoder, FLAC__uint64 bytes_written, FLAC__uint64 samples_written, unsigned frames_written, unsigned total_frames_estimate, void *client_data) { g_bytes_written = bytes_written; } FLAC__StreamEncoderWriteStatus ogg_stream_callback(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data) { if (current_frame == 0) { // assemble header memcpy(g_hdr_p, buffer, bytes); g_hdr_p += bytes; g_hdr_size += bytes; return FLAC__STREAM_ENCODER_WRITE_STATUS_OK; } if (g_enc_p != NULL) { memcpy(g_enc_p, buffer, bytes); g_enc_p += bytes; } return FLAC__STREAM_ENCODER_WRITE_STATUS_OK; } FLAC__uint64 flac_enc_get_bytes_written(void) { return g_bytes_written; } butt-0.1.26/src/lame_encode.h0000664000175000017500000000203213663226731012702 00000000000000// lame encoding functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef LAME_ENCODE_H #define LAME_ENCODE_H #include #include struct lame_enc { lame_global_flags *gfp; int bitrate; int samplerate; int channel; volatile int state; }; enum { LAME_READY = 0, LAME_BUSY = 1 }; int lame_enc_init(lame_enc *lame); int lame_enc_encode(lame_enc *lame, short *pcm_buf, char *enc_buf, int samples, int size); int lame_enc_reinit(lame_enc *lame); void lame_enc_close(lame_enc *lame); #endif butt-0.1.26/src/vorbis_encode.h0000664000175000017500000000314013742356652013275 00000000000000// vorbis encoding functions for butt // // Copyright 2007-2018 by Daniel Noethen. // // 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. // #ifndef VORBIS_ENCODE_H #define VORBIS_ENCODE_H #include struct vorbis_enc { ogg_stream_state os; /* take physical pages, weld into a logical stream of packets */ ogg_page og; /* one Ogg bitstream page. Vorbis packets are inside */ ogg_packet op; /* one raw packet of data for decode */ vorbis_info vi; vorbis_comment vc; /* struct that stores all the user comments */ vorbis_block vb; vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */ int bitrate; int samplerate; int channel; int state; }; enum { VORBIS_READY = 0, VORBIS_BUSY = 1 }; extern vorbis_info vorbis_vi; extern char* vorbis_buf; int vorbis_enc_init(vorbis_enc *vorbis); int vorbis_enc_encode(vorbis_enc *vorbis, short *pcm_buf, char *enc_buf, int size); int vorbis_enc_reinit(vorbis_enc *vorbis); void vorbis_enc_write_header(vorbis_enc *vorbis); void vorbis_enc_close(vorbis_enc *vorbis); void vorbis_enc_new_song(vorbis_enc *vorbis, char *song); #endif butt-0.1.26/gettext.h0000664000175000017500000002371113751456251011353 00000000000000/* Convenience header for conditional use of GNU . Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2016 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 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 . */ #ifndef _LIBGETTEXT_H #define _LIBGETTEXT_H 1 #include "config.h" /* NLS can be disabled through the configure --disable-nls option. */ #if ENABLE_NLS /* Get declarations of GNU message catalog functions. */ # include /* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by the gettext() and ngettext() macros. This is an alternative to calling textdomain(), and is useful for libraries. */ # ifdef DEFAULT_TEXT_DOMAIN # undef gettext # define gettext(Msgid) \ dgettext (DEFAULT_TEXT_DOMAIN, Msgid) # undef ngettext # define ngettext(Msgid1, Msgid2, N) \ dngettext (DEFAULT_TEXT_DOMAIN, Msgid1, Msgid2, N) # endif #else /* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which chokes if dcgettext is defined as a macro. So include it now, to make later inclusions of a NOP. We don't include as well because people using "gettext.h" will not include , and also including would fail on SunOS 4, whereas is OK. */ #if defined(__sun) # include #endif /* Many header files from the libstdc++ coming with g++ 3.3 or newer include , which chokes if dcgettext is defined as a macro. So include it now, to make later inclusions of a NOP. */ #if defined(__cplusplus) && defined(__GNUG__) && (__GNUC__ >= 3) # include # if (__GLIBC__ >= 2 && !defined __UCLIBC__) || _GLIBCXX_HAVE_LIBINTL_H # include # endif #endif /* Disabled NLS. The casts to 'const char *' serve the purpose of producing warnings for invalid uses of the value returned from these functions. On pre-ANSI systems without 'const', the config.h file is supposed to contain "#define const". */ # undef gettext # define gettext(Msgid) ((const char *) (Msgid)) # undef dgettext # define dgettext(Domainname, Msgid) ((void) (Domainname), gettext (Msgid)) # undef dcgettext # define dcgettext(Domainname, Msgid, Category) \ ((void) (Category), dgettext (Domainname, Msgid)) # undef ngettext # define ngettext(Msgid1, Msgid2, N) \ ((N) == 1 \ ? ((void) (Msgid2), (const char *) (Msgid1)) \ : ((void) (Msgid1), (const char *) (Msgid2))) # undef dngettext # define dngettext(Domainname, Msgid1, Msgid2, N) \ ((void) (Domainname), ngettext (Msgid1, Msgid2, N)) # undef dcngettext # define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ ((void) (Category), dngettext (Domainname, Msgid1, Msgid2, N)) # undef textdomain # define textdomain(Domainname) ((const char *) (Domainname)) # undef bindtextdomain # define bindtextdomain(Domainname, Dirname) \ ((void) (Domainname), (const char *) (Dirname)) # undef bind_textdomain_codeset # define bind_textdomain_codeset(Domainname, Codeset) \ ((void) (Domainname), (const char *) (Codeset)) #endif /* Prefer gnulib's setlocale override over libintl's setlocale override. */ #ifdef GNULIB_defined_setlocale # undef setlocale # define setlocale rpl_setlocale #endif /* A pseudo function call that serves as a marker for the automated extraction of messages, but does not call gettext(). The run-time translation is done at a different place in the code. The argument, String, should be a literal string. Concatenated strings and other string expressions won't work. The macro's expansion is not parenthesized, so that it is suitable as initializer for static 'char[]' or 'const char[]' variables. */ #define gettext_noop(String) String /* The separator between msgctxt and msgid in a .mo file. */ #define GETTEXT_CONTEXT_GLUE "\004" /* Pseudo function calls, taking a MSGCTXT and a MSGID instead of just a MSGID. MSGCTXT and MSGID must be string literals. MSGCTXT should be short and rarely need to change. The letter 'p' stands for 'particular' or 'special'. */ #ifdef DEFAULT_TEXT_DOMAIN # define pgettext(Msgctxt, Msgid) \ pgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) #else # define pgettext(Msgctxt, Msgid) \ pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) #endif #define dpgettext(Domainname, Msgctxt, Msgid) \ pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) #define dcpgettext(Domainname, Msgctxt, Msgid, Category) \ pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category) #ifdef DEFAULT_TEXT_DOMAIN # define npgettext(Msgctxt, Msgid, MsgidPlural, N) \ npgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) #else # define npgettext(Msgctxt, Msgid, MsgidPlural, N) \ npgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) #endif #define dnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) #define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category) \ npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category) #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * pgettext_aux (const char *domain, const char *msg_ctxt_id, const char *msgid, int category) { const char *translation = dcgettext (domain, msg_ctxt_id, category); if (translation == msg_ctxt_id) return msgid; else return translation; } #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * npgettext_aux (const char *domain, const char *msg_ctxt_id, const char *msgid, const char *msgid_plural, unsigned long int n, int category) { const char *translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); if (translation == msg_ctxt_id || translation == msgid_plural) return (n == 1 ? msgid : msgid_plural); else return translation; } /* The same thing extended for non-constant arguments. Here MSGCTXT and MSGID can be arbitrary expressions. But for string literals these macros are less efficient than those above. */ #include #if (((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined __STRICT_ANSI__) \ /* || __STDC_VERSION__ >= 199901L */ ) # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 1 #else # define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 0 #endif #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS #include #endif #define pgettext_expr(Msgctxt, Msgid) \ dcpgettext_expr (NULL, Msgctxt, Msgid, LC_MESSAGES) #define dpgettext_expr(Domainname, Msgctxt, Msgid) \ dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES) #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * dcpgettext_expr (const char *domain, const char *msgctxt, const char *msgid, int category) { size_t msgctxt_len = strlen (msgctxt) + 1; size_t msgid_len = strlen (msgid) + 1; const char *translation; #if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS char msg_ctxt_id[msgctxt_len + msgid_len]; #else char buf[1024]; char *msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof (buf) ? buf : (char *) malloc (msgctxt_len + msgid_len)); if (msg_ctxt_id != NULL) #endif { int found_translation; memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); msg_ctxt_id[msgctxt_len - 1] = '\004'; memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); translation = dcgettext (domain, msg_ctxt_id, category); found_translation = (translation != msg_ctxt_id); #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS if (msg_ctxt_id != buf) free (msg_ctxt_id); #endif if (found_translation) return translation; } return msgid; } #define npgettext_expr(Msgctxt, Msgid, MsgidPlural, N) \ dcnpgettext_expr (NULL, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) #define dnpgettext_expr(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) #ifdef __GNUC__ __inline #else #ifdef __cplusplus inline #endif #endif static const char * dcnpgettext_expr (const char *domain, const char *msgctxt, const char *msgid, const char *msgid_plural, unsigned long int n, int category) { size_t msgctxt_len = strlen (msgctxt) + 1; size_t msgid_len = strlen (msgid) + 1; const char *translation; #if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS char msg_ctxt_id[msgctxt_len + msgid_len]; #else char buf[1024]; char *msg_ctxt_id = (msgctxt_len + msgid_len <= sizeof (buf) ? buf : (char *) malloc (msgctxt_len + msgid_len)); if (msg_ctxt_id != NULL) #endif { int found_translation; memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); msg_ctxt_id[msgctxt_len - 1] = '\004'; memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); found_translation = !(translation == msg_ctxt_id || translation == msgid_plural); #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS if (msg_ctxt_id != buf) free (msg_ctxt_id); #endif if (found_translation) return translation; } return (n == 1 ? msgid : msgid_plural); } #endif /* _LIBGETTEXT_H */ butt-0.1.26/butt.10000664000175000017500000000450713742356746010570 00000000000000'\" t .\" Title: butt .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.10 .\" Date: 2020-10-13 .\" Manual: BUTT .\" Source: BUTT .\" Language: English .\" .TH "BUTT" "1" "2020-10-13" "BUTT" "BUTT" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" butt \- Easy to use, multi OS streaming tool .SH "SYNOPSIS" .sp \fBbutt\fP [\-h | \-s [name] \-Sdrt | \-c ] [\-A | \-x] [\-a ] [\-p ] .SH "DESCRIPTION" .sp \fBbutt\fP (broadcast using this tool) is an easy to use, multi OS streaming tool. It supports ShoutCast and IceCast and runs on Linux, MacOS and Windows. The main purpose of \fBbutt\fP is to stream live audio data from your computers Mic or Line input to an Shoutcast or Icecast server. Recording is also possible. It is NOT intended to be a server by itself or automatically stream a set of audio files. .SH "OPTIONS" .sp Options for operating mode: .sp \fB\-c \fP .RS 4 Path to configuration file .RE .sp \fB\-A\fP .RS 4 Command server will be accessible from your network/internet (default: localhost only) .RE .sp \fB\-x\fP .RS 4 Do not start a command server for receiving commands .RE .sp \fB\-p \fP .RS 4 Port where the command server shall listen to (default: 1256) .RE .sp Options for control mode: .sp \fB\-s [name]\fP .RS 4 Connect to streaming server .RE .sp \fB\-d\fP .RS 4 Disconnect from streaming server .RE .sp \fB\-r\fP .RS 4 Start recording .RE .sp \fB\-t\fP .RS 4 Stop recording .RE .sp \fB\-S\fP .RS 4 Request status .RE .sp \fB\-a

\fP .RS 4 Address of the \fBbutt\fP instance to be controlled (default: 127.0.0.1) .RE .sp \fB\-p \fP .RS 4 Port of the \fBbutt\fP instance to be controlled (default: 1256) .RE .SH "RESSOURCES" .sp Project web site: \c .URL "https://danielnoethen.de/butt" "" "" .SH "SEE ALSO" .sp A more detailed description can be found in the manual at .URL "http://danielnoethen.de/butt/manual.html" "" "" .SH "FILES" .sp ~/.buttrc .RS 4 \fBbutt\fP configuration file. .RE .SH "BUGS" .sp Please contact me at \c .MTO "butt\(atdanielnoethen.de" "" " " if you find any bugs. .SH "AUTHORS" .sp \fBbutt\fP was written by Daniel Nöthen and other contributors.butt-0.1.26/Makefile.in0000664000175000017500000006344613770375233011575 00000000000000# Makefile.in generated by automake 1.16.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2018 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 = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } 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@ subdir = . 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/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) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(am__DIST_COMMON) 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 = 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 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 distdir-am 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) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \ compile config.guess config.rpath config.sub depcomp \ install-sh missing 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@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DBUS_CFLAGS = @DBUS_CFLAGS@ DBUS_LIBS = @DBUS_LIBS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FLTKCONFIG = @FLTKCONFIG@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ 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@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ OBJC = @OBJC@ OBJCDEPMODE = @OBJCDEPMODE@ OBJCFLAGS = @OBJCFLAGS@ OBJEXT = @OBJEXT@ 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@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ XMKMF = @XMKMF@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_OBJC = @ac_ct_OBJC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign SUBDIRS = po src EXTRA_DIST = config.rpath m4/ChangeLog src/aac_dll.h src/xpm config.h src/butt.manifest player_plugins icons usr ChangeLog \ AUTHORS THANKS KNOWN_BUGS INSTALL README COPYING NEWS src/FLTK/flgui.fl \ src/FLTK/Fl_My_Native_File_Chooser_MAC.mm src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx \ src/FLTK/Fl_My_Native_File_Chooser_FLTK.cxx src/FLTK/Fl_My_Native_File_Chooser_common.cxx \ src/FLTK/Fl_My_Native_File_Chooser_GTK.cxx src/AskForMicPermission.m src/AskForMicPermission.h \ butt.1 gettext.h ACLOCAL_AMFLAGS = -I m4 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) --foreign'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign 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__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ 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 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 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 # 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: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(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) | eval GZIP= gzip $(GZIP_ENV) -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 @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -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*) \ eval GZIP= gzip $(GZIP_ENV) -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*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(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/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(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 config.h installdirs: installdirs-recursive installdirs-am: 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 mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: 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 $(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 pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .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 \ 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-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-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 pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile #install-exec-hook: # cp po/de.gmo locale/de/LC_MESSAGES/butt.mo # 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: butt-0.1.26/config.sub0000775000175000017500000010645013751456251011503 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2018 Free Software Foundation, Inc. timestamp='2018-02-22' # 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: # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub # 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 or ALIAS Canonicalize a configuration name. Options: -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-2018 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* | cloudabi*-eabi* | \ 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/'` ;; -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 \ | ba \ | be32 | be64 \ | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | e2k | epiphany \ | fido | fr30 | frv | ft32 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia16 | 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 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pru \ | pyramid \ | riscv32 | riscv64 \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]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 \ | wasm32 \ | 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) ;; 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-* \ | ba-* \ | 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-* | ia16-* | 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-* \ | pru-* \ | pyramid-* \ | riscv32-* | riscv64-* \ | 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-* \ | wasm32-* \ | 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-pc 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*) basic_machine=m68k-bull os=-sysv3 ;; e500v[12]) basic_machine=powerpc-unknown os=$os"spe" ;; e500v[12]-*) basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=$os"spe" ;; 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 ;; 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 ;; 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 ;; 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 ;; 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 ;; nsv-tandem) basic_machine=nsv-tandem ;; nsx-tandem) basic_machine=nsx-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) 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) 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 ;; sh5el) basic_machine=sh5le-unknown ;; 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 ;; x64) basic_machine=x86_64-pc ;; 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 ;; 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 ;; 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 ;; 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 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # es1800 is here to avoid being matched by es* (a different OS) -es1800*) os=-ose ;; # Now 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* | -sortix* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \ | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ | -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* | -glidix* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ | -midnightbsd*) # 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 | -xray | -os68k* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* \ | -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 ;; -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 ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -pikeos*) # Until real need of OS specific support for # particular features comes up, bare metal # configurations are quite functional. case $basic_machine in arm*) os=-eabi ;; *) os=-elf ;; esac ;; -nacl*) ;; -ios) ;; -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 ;; pru-*) os=-elf ;; *-be) os=-beos ;; *-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 ;; *-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-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: butt-0.1.26/AUTHORS0000664000175000017500000000004713663226731010563 00000000000000Daniel Nöthen (butt@danielnoethen.de) butt-0.1.26/config.rpath0000755000175000017500000004443513751456327012036 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-2014 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,' ;; mingw* | cygwin* | pw32* | os2* | cegcc*) ;; hpux9* | hpux10* | hpux11*) wl='-Wl,' ;; irix5* | irix6* | nonstopux*) wl='-Wl,' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in ecc*) wl='-Wl,' ;; icc* | ifort*) wl='-Wl,' ;; lf95*) wl='-Wl,' ;; nagfor*) wl='-Wl,-Wl,,' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) wl='-Wl,' ;; ccc*) wl='-Wl,' ;; xl* | bgxl* | bgf* | mpixl*) wl='-Wl,' ;; como) wl='-lopt=' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ F* | *Sun*Fortran*) wl= ;; *Sun\ C*) wl='-Wl,' ;; esac ;; esac ;; newsos6) ;; *nto* | *qnx*) ;; osf3* | osf4* | osf5*) wl='-Wl,' ;; rdos*) ;; solaris*) case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) wl='-Qoption ld ' ;; *) wl='-Wl,' ;; esac ;; 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*) case "$host_cpu" in powerpc) ;; m68k) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; 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 ;; haiku*) ;; interix[3-9]*) hardcode_direct=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-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*) case "$host_cpu" in powerpc) ;; m68k) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; 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 { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then : else ld_shlibs=no fi ;; dgux*) hardcode_libdir_flag_spec='-L$libdir' ;; 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=: ;; *nto* | *qnx*) ;; 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*) case "$host_cpu" in powerpc*) library_names_spec='$libname$shrext' ;; m68k) library_names_spec='$libname.a' ;; esac ;; 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' ;; 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' ;; haiku*) 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 | kopensolaris*-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' ;; tpf*) 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=/' <a AiCCPICC ProfileH wTSϽ7" %z ;HQIP&vDF)VdTG"cE b PQDE݌k 5ޚYg}׺PtX4X\XffGD=HƳ.d,P&s"7C$ E6<~&S2)212 "įl+ɘ&Y4Pޚ%ᣌ\%g|eTI(L0_&l2E9r9hxgIbטifSb1+MxL 0oE%YmhYh~S=zU&ϞAYl/$ZUm@O ޜl^ ' lsk.+7oʿ9V;?#I3eE妧KD d9i,UQ h A1vjpԁzN6p\W p G@ K0ށiABZyCAP8C@&*CP=#t] 4}a ٰ;GDxJ>,_“@FXDBX$!k"EHqaYbVabJ0՘cVL6f3bձX'?v 6-V``[a;p~\2n5׌ &x*sb|! ߏƿ' Zk! $l$T4QOt"y\b)AI&NI$R$)TIj"]&=&!:dGrY@^O$ _%?P(&OJEBN9J@y@yCR nXZOD}J}/G3ɭk{%Oחw_.'_!JQ@SVF=IEbbbb5Q%O@%!BӥyҸM:e0G7ӓ e%e[(R0`3R46i^)*n*|"fLUo՝mO0j&jajj.ϧwϝ_4갺zj=U45nɚ4ǴhZ ZZ^0Tf%9->ݫ=cXgN].[7A\SwBOK/X/_Q>QG[ `Aaac#*Z;8cq>[&IIMST`ϴ kh&45ǢYYF֠9<|y+ =X_,,S-,Y)YXmĚk]c}džjcΦ浭-v};]N"&1=xtv(}'{'IߝY) Σ -rqr.d._xpUەZM׍vm=+K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````````\Vxo!2;$*$ar|x P^ LYw IV FS HU N\ IW"(nbt M[_p DP :Dw~ Xg&-;E AM! KY =H _p"(o  {  ")##)x DP2;4> P_*2h{ LYr6@ IW)0 IW i|-57AwU+```````````````Z???????????????????????????(0  Uuz\ )0$+-5 \h{ HU  \ z N\$+ \h{(0  \ =Hbt/74>i| \5>k~ =Har \ Ra FS \  \ BN"( n \ >J Q`{v BNas \ DQ'.*1 Q` \ \ @L JW \ Ra ;F \{#) \k Q` \'.1: Ja?(   `F Sa Wg =G Wg EQ Uepgy IV09o LZ*1 ?J [l EQ Wgj}u'.{/7 P_(0)1^n)0%, Vfut,45> 0000000.butt-0.1.26/icons/icon_48x48.png0000664000175000017500000001143713663226731013150 00000000000000PNG  IHDR00W AiCCPICC ProfileH wTSϽ7" %z ;HQIP&vDF)VdTG"cE b PQDE݌k 5ޚYg}׺PtX4X\XffGD=HƳ.d,P&s"7C$ E6<~&S2)212 "įl+ɘ&Y4Pޚ%ᣌ\%g|eTI(L0_&l2E9r9hxgIbטifSb1+MxL 0oE%YmhYh~S=zU&ϞAYl/$ZUm@O ޜl^ ' lsk.+7oʿ9V;?#I3eE妧KD d9i,UQ h A1vjpԁzN6p\W p G@ K0ށiABZyCAP8C@&*CP=#t] 4}a ٰ;GDxJ>,_“@FXDBX$!k"EHqaYbVabJ0՘cVL6f3bձX'?v 6-V``[a;p~\2n5׌ &x*sb|! ߏƿ' Zk! $l$T4QOt"y\b)AI&NI$R$)TIj"]&=&!:dGrY@^O$ _%?P(&OJEBN9J@y@yCR nXZOD}J}/G3ɭk{%Oחw_.'_!JQ@SVF=IEbbbb5Q%O@%!BӥyҸM:e0G7ӓ e%e[(R0`3R46i^)*n*|"fLUo՝mO0j&jajj.ϧwϝ_4갺zj=U45nɚ4ǴhZ ZZ^0Tf%9->ݫ=cXgN].[7A\SwBOK/X/_Q>QG[ `Aaac#*Z;8cq>[&IIMST`ϴ kh&45ǢYYF֠9<|y+ =X_,,S-,Y)YXmĚk]c}dž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o+p3NlR@6CE$  H|3_eL0AgDvHN7$px+{o0H" H@}W__Woɤ+ `I`%# b}V``t7S\$  H@K'G$dޝH@@MX oF?})?eϻ&I$  H@GC'}/&Q?H66S!h;$̏8 Q$  H@83q0#>n>] 3^~&nx~y7@W$)$  H t 2K6):}hc c8~}'ݗW;;Xʾ! E$ %Й_#f柁EeO@W|6oxޞU(=7F}. H@W3KS$ = =8IgౄIhWtE嚖" H@7W퟿{*gIw (u4e ;9}?`طDj$)$  H`/ ~̧gdDz(Lr(p w$cv%+x>A 0 H@}Wt,?K} (Gǣ> F+ч3b#" H@^`y84τ.EHxTܧS!W1jΏ+ 3 8) H@`Y?=(frc4$\];\7Eߕ 3`c;" H@n3Og+y֟^<@_LP+ȸ_D̗D28(@$  H@"~ /g?0e,M$p \p <(@"x, 6 H@NɈ", ߙ@P$p(\p(G<,Gynq" H@B_wl?Q'E_á1p}9ʪG2 c *$  H#O>ge,K?Cz EHxS!,?<mggrLqEE$ kz^?K_+'CAWf#z7ʊcX{E$ + 0r|fX_2 x" WA+fc0`u@W<8]c 0X8wO H@)gƿy~3ˏ\()89 q2(?}#AV 0" H@` 3:af% 8(3:H 9H,(a,$  H@$OJok8Dy3 88$p/_YB 7JV<epwy۳r+I" H@ W緗͌><<yq_ڇO: #ә~C)H@K?tF`i yg f `:vA$  lsw ~~EHy @+ H@m8?fs$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H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]"?,Ozp H@$pt+&MvD;fN,e>=)`VǎN?aE$  +ok =_ף< оѱ~o+p3NlR@6CE$  H|3_eL0AgDvHN7$px+{o0H" H@}W__Woɤ+ `I`%# b}V``t7S\$  H@K'G$dޝH@@MX oF?})?eϻ&I$  H@GC'}/&Q?H66S!h;$̏8 Q$  H@83q0#>n>] 3^~&nx~y7@W$)$  H t 2K6):}hc c8~}'ݗW;;Xʾ! E$ %Й_#f柁EeO@W|6oxޞU(=7F}. H@W3KS$ = =8IgౄIhWtE嚖" H@7W퟿{*gIw (u4e ;9}?`طDj$)$  H`/ ~̧gdDz(Lr(p w$cv%+x>A 0 H@}Wt,?K} (Gǣ> F+ч3b#" H@^`y84τ.EHxTܧS!W1jΏ+ 3 8) H@`Y?=(frc4$\];\7Eߕ 3`c;" H@n3Og+y֟^<@_LP+ȸ_D̗D28(@$  H@"~ /g?0e,M$p \p <(@"x, 6 H@NɈ", ߙ@P$p(\p(G<,Gynq" H@B_wl?Q'E_á1p}9ʪG2 c *$  H#O>ge,K?Cz EHxS!,?<mggrLqEE$ kz^?K_+'CAWf#z7ʊcX{E$ + 0r|fX_2 x" WA+fc0`u@W<8]c 0X8wO H@)gƿy~3ˏ\()89 q2(?}#AV 0" H@` 3:af% 8(3:H 9H,(a,$  H@$OJok8Dy3 88$p/_YB 7JV<epwy۳r+I" H@ W緗͌><<yq_ڇO: #ә~C)H@K?tF`i yg f `:vA$  lsw ~~EHy @+ H@m8?fs$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H`  &6IENDB`butt-0.1.26/icons/icon_256x256@2x.png0000664000175000017500000010153613663226731013664 00000000000000PNG  IHDRx AiCCPICC ProfileH wTSϽ7" %z ;HQIP&vDF)VdTG"cE b PQDE݌k 5ޚYg}׺PtX4X\XffGD=HƳ.d,P&s"7C$ E6<~&S2)212 "įl+ɘ&Y4Pޚ%ᣌ\%g|eTI(L0_&l2E9r9hxgIbטifSb1+MxL 0oE%YmhYh~S=zU&ϞAYl/$ZUm@O ޜl^ ' lsk.+7oʿ9V;?#I3eE妧KD d9i,UQ h A1vjpԁzN6p\W p G@ K0ށiABZyCAP8C@&*CP=#t] 4}a ٰ;GDxJ>,_“@FXDBX$!k"EHqaYbVabJ0՘cVL6f3bձX'?v 6-V``[a;p~\2n5׌ &x*sb|! ߏƿ' Zk! $l$T4QOt"y\b)AI&NI$R$)TIj"]&=&!:dGrY@^O$ _%?P(&OJEBN9J@y@yCR nXZOD}J}/G3ɭk{%Oחw_.'_!JQ@SVF=IEbbbb5Q%O@%!BӥyҸM:e0G7ӓ e%e[(R0`3R46i^)*n*|"fLUo՝mO0j&jajj.ϧwϝ_4갺zj=U45nɚ4ǴhZ ZZ^0Tf%9->ݫ=cXgN].[7A\SwBOK/X/_Q>QG[ `A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[!bwUhl!TƉ$dxc1cA$`i0v58~mYAR"  $G@c$*h"ӂ+ NM3KЬ\׵Ьq 0,OR'!-HwBPILrɉ0/ŕY3'`2LS^Ձ>n&f4;>6,[Pc9yNwXPu1T݈&´cgUHSϱ<)aR7ŢX0nUv>N[ڃH1x{@w*xNƕִPv. Ps'΅!ˎ7*kqOޘ1h`q $ HCg唏"i6'qxlQ1:V<+aJlYS.;ZXd aᱨ(U'!N|uLv418fw 0=q?=`@J\(ܴqScuJgEKS 3NQ2#`yt L:f@@P$̐*G`w LO˫0ĩ9<0: 6LΧWxXOm;l|0VB(t97NzM oxn9Np٧9ylql<994٨caax80]内AuaesrJ~ ])Ex8m!1-c }fA:+ ;^v޺u\$2Lf|g( 8%.K#tf- G@3~-F $;5"s09`'̟ƙEf<s 4/*ͣt_vmB29MV;4 =k-+-Ԁ9A>ֹ4k@v0 Piː/KV"W0ܯd4wxB5q3ę+{] 4SZP6(xB yǪa/VO52K3ϺA IK'c)#^ y-IG 0-;#8PgY tv?z4t+b'+k1 0}\  xa٭u"KsdM{ #01ZON܈ Sˆ۷?`ćB >I#`@m?.ExQy%;/[ib?r2c.r th4rYb 7Q)3Uµ![A?qG :Odm`1F >)̹Bku O䯰]=F?ᓿFnom'lrvu}87A]D-F(\ВPUn:t ( 0F|HG_k؈_9n"j/Wb8v6mv6b{5{3Fp}rkvmu"`Ngo+B?WJ`  @-TG:N r&ҍ.FԌ  @쑥c,߱;+nw0#`B@jvZ1L>Jט #Gs^i39hr# {H |[&K2'A @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @g \r0lIENDB`butt-0.1.26/po/0000775000175000017500000000000013770656734010221 500000000000000butt-0.1.26/po/POTFILES.in0000664000175000017500000000046513751456251011712 00000000000000# List of source files which contain translatable strings. src/AskForMicPermission.m src/butt.cpp src/cfg.cpp src/FLTK/flgui.cpp src/FLTK/fl_timer_funcs.cpp src/FLTK/fl_callbacks.cpp src/FLTK/flgui.cpp src/FLTK/fl_funcs.cpp src/icecast.cpp src/lame_encode.cpp src/port_audio.cpp src/shoutcast.cpp src/tls.cpp butt-0.1.26/po/Makefile.in.in0000664000175000017500000004155313751456251012612 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.19 GETTEXT_MACRO_VERSION = 0.19 PACKAGE = @PACKAGE@ VERSION = @VERSION@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ SED = @SED@ 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@ POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot POFILESDEPS_yes = $(POFILESDEPS_) POFILESDEPS_no = POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT)) DISTFILESDEPS_ = update-po DISTFILESDEPS_yes = $(DISTFILESDEPS_) DISTFILESDEPS_no = DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO)) # 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: 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 @$(CHECK_MACRO_VERSION) 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. # The determination of whether the package xyz is a GNU one is based on the # heuristic whether some file in the top level directory mentions "GNU xyz". # If GNU 'find' is available, we avoid grepping through monster files. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed package_gnu="$(PACKAGE_GNU)"; \ test -n "$$package_gnu" || { \ if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f \ -size -10000000c -exec grep 'GNU @PACKAGE@' \ /dev/null '{}' ';' 2>/dev/null; \ else \ LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null; \ fi; \ } | grep -v 'libtool:' >/dev/null; then \ package_gnu=yes; \ else \ package_gnu=no; \ fi; \ }; \ if test "$$package_gnu" = "yes"; then \ package_prefix='GNU '; \ else \ package_prefix=''; \ 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_prefix}@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): $(POFILESDEPS) @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ if test -f "$(srcdir)/$${lang}.po"; then \ test -f $(srcdir)/$(DOMAIN).pot || $(MAKE) $(srcdir)/$(DOMAIN).pot; \ 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: test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS) @$(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: butt-0.1.26/po/boldquot.sed0000664000175000017500000000033113751456251012453 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 butt-0.1.26/po/stamp-po0000664000175000017500000000001213770656734011615 00000000000000timestamp butt-0.1.26/po/butt.pot0000664000175000017500000010060313770656734011643 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Daniel Nöthen # This file is distributed under the same license as the butt package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: butt 0.1.26\n" "Report-Msgid-Bugs-To: butt@danielnoethen.de\n" "POT-Creation-Date: 2020-12-23 16:10+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" #: src/AskForMicPermission.m:20 msgid "Microphone access" msgstr "" #: src/AskForMicPermission.m:21 msgid "" "butt needs access to your microphone\n" "Please go to\n" "System Preferences->Security & Privacy->Privacy->Microphone\n" "and activate the check mark next to the butt entry" msgstr "" #: src/butt.cpp:185 msgid "No home-directory found" msgstr "" #: src/butt.cpp:196 #, c-format msgid "Reading config %s\n" msgstr "" #: src/butt.cpp:200 #, c-format msgid "Could not find config %s\n" msgstr "" #: src/butt.cpp:203 #, c-format msgid "" "Could not create config %s\n" "butt is going to close now" msgstr "" #: src/butt.cpp:206 #, c-format msgid "" "butt created a default config at\n" "%s\n" msgstr "" #: src/butt.cpp:360 #, c-format msgid "Illegal argument: Port must be a number between 1023 and 65535\n" msgstr "" #: src/butt.cpp:373 #, c-format msgid "" "\n" "Options for operating mode\n" "-c\tPath to configuration file\n" "-A\tCommand server will be accessible from your network/internet (default: " "localhost only)\n" "-x\tDo not start a command server\n" "-p\tPort where the command server shall listen to (default: 1256)\n" "\n" "Options for control mode:\n" "-s\tConnect to streaming server\n" "-d\tDisconnect from streaming server\n" "-r\tStart recording\n" "-t\tStop recording\n" "-S\tRequest status\n" "-a\tAddress of the butt instance to be controlled (default: 127.0.0.1)\n" "-p\tPort of the butt instance to be controlled (default: 1256)\n" msgstr "" #: src/butt.cpp:389 #, c-format msgid "" "Illegal option -%c.\n" "Type butt -h to get a list of supported options.\n" msgstr "" #: src/butt.cpp:397 #, c-format msgid "Option -%c requires an argument\n" msgstr "" #: src/butt.cpp:401 #, c-format msgid "Command line parsing failed\n" msgstr "" #: src/butt.cpp:419 #, c-format msgid "No butt instance running on %s at port %d\n" msgstr "" #: src/butt.cpp:431 #, c-format msgid "" "connected: %d\n" "connecting: %d\n" "recording: %d\n" msgstr "" #: src/butt.cpp:442 msgid "" "PortAudio init failed\n" "butt is going to close now" msgstr "" #: src/butt.cpp:498 #, c-format msgid "" "Starting %s\n" "Written by Daniel Nöthen\n" "iPhone/iPad client: https://izicast.de\n" "Donate: paypal@danielnoethen.de\n" msgstr "" #: src/butt.cpp:512 src/FLTK/fl_callbacks.cpp:82 src/FLTK/fl_callbacks.cpp:94 #: src/FLTK/fl_callbacks.cpp:642 src/FLTK/fl_callbacks.cpp:717 msgid "idle" msgstr "" #: src/butt.cpp:533 #, c-format msgid "Warning: could not start command server on port %d\n" msgstr "" #: src/butt.cpp:548 src/FLTK/fl_callbacks.cpp:3306 #, c-format msgid "" "New version available: %s\n" "You have version %s" msgstr "" #: src/butt.cpp:548 src/FLTK/fl_callbacks.cpp:3306 msgid "Cancel" msgstr "" #: src/butt.cpp:548 src/FLTK/fl_callbacks.cpp:3306 msgid "Get new version" msgstr "" #: src/cfg.cpp:51 #, c-format msgid "Could not write to file: %s" msgstr "" #: src/cfg.cpp:349 #, c-format msgid "Config written to %s" msgstr "" #: src/cfg.cpp:530 msgid "" "error while parsing config. Illegal value (-1) for num_of_srv.\n" "butt is going to close now" msgstr "" #: src/cfg.cpp:538 msgid "" "error while parsing config. Missing main/server entry.\n" "butt is going to close now" msgstr "" #: src/cfg.cpp:545 msgid "" "error while parsing config. Missing main/srv_ent entry.\n" "butt is going to close now" msgstr "" #: src/cfg.cpp:565 #, c-format msgid "" "error while parsing config. Missing address entry for server \"%s\".\n" "butt is going to close now" msgstr "" #: src/cfg.cpp:573 #, c-format msgid "" "error while parsing config. Missing port entry for server \"%s\".\n" "butt is going to close now" msgstr "" #: src/cfg.cpp:581 #, c-format msgid "" "error while parsing config. Missing password entry for server \"%s\".\n" "butt is going to close now" msgstr "" #: src/cfg.cpp:589 #, c-format msgid "" "error while parsing config. Missing type entry for server \"%s\".\n" "butt is going to close now" msgstr "" #: src/cfg.cpp:597 #, c-format msgid "" "error while parsing config. Missing mount entry for server \"%s\".\n" "butt is going to close now" msgstr "" #: src/cfg.cpp:633 msgid "" "error while parsing config. Illegal value (-1) for num_of_icy.\n" "butt is going to close now" msgstr "" #: src/cfg.cpp:643 msgid "" "error while parsing config. Missing main/icy entry.\n" "butt is going to close now" msgstr "" #: src/cfg.cpp:649 msgid "" "error while parsing config. Missing main/icy_ent entry.\n" "butt is going to close now" msgstr "" #: src/cfg.cpp:675 #, c-format msgid "" "error while parsing config. Missing pub entry for icy \"%s\".\n" "butt is going to close now" msgstr "" #: src/FLTK/flgui.cpp:997 msgid "press left mouse to toggle lcd info" msgstr "" #: src/FLTK/flgui.cpp:1009 msgid "@> " msgstr "" #: src/FLTK/flgui.cpp:1010 msgid "connect to server" msgstr "" #: src/FLTK/flgui.cpp:1020 msgid "@-3square" msgstr "" #: src/FLTK/flgui.cpp:1021 msgid "disconnect from server" msgstr "" #: src/FLTK/flgui.cpp:1031 msgid "@-3circle" msgstr "" #: src/FLTK/flgui.cpp:1032 msgid "start/stop recording" msgstr "" #: src/FLTK/flgui.cpp:1042 src/FLTK/fl_callbacks.cpp:950 msgid "Show log" msgstr "" #: src/FLTK/flgui.cpp:1043 msgid "show/hide info window" msgstr "" #: src/FLTK/flgui.cpp:1069 msgid "Settings" msgstr "" #: src/FLTK/flgui.cpp:1070 msgid "show/hide config window" msgstr "" #: src/FLTK/flgui.cpp:1077 msgid "-24 dB" msgstr "" #: src/FLTK/flgui.cpp:1081 msgid "Gain" msgstr "" #: src/FLTK/flgui.cpp:1097 msgid "+24 dB" msgstr "" #: src/FLTK/flgui.cpp:1103 msgid "butt settings" msgstr "" #: src/FLTK/flgui.cpp:1116 msgid "Main" msgstr "" #: src/FLTK/flgui.cpp:1118 msgid "Server Settings" msgstr "" #: src/FLTK/flgui.cpp:1121 msgid "Server" msgstr "" #: src/FLTK/flgui.cpp:1122 msgid "Server to connect to" msgstr "" #: src/FLTK/flgui.cpp:1127 src/FLTK/flgui.cpp:1148 msgid "ADD" msgstr "" #: src/FLTK/flgui.cpp:1128 src/FLTK/flgui.cpp:1948 msgid "Add server" msgstr "" #: src/FLTK/flgui.cpp:1132 src/FLTK/flgui.cpp:1153 msgid "EDIT" msgstr "" #: src/FLTK/flgui.cpp:1133 msgid "Edit selected server" msgstr "" #: src/FLTK/flgui.cpp:1137 src/FLTK/flgui.cpp:1158 msgid "DEL" msgstr "" #: src/FLTK/flgui.cpp:1138 msgid "Delete selected server" msgstr "" #: src/FLTK/flgui.cpp:1142 msgid "Stream Infos" msgstr "" #: src/FLTK/flgui.cpp:1143 msgid "Stream info that shall be used" msgstr "" #: src/FLTK/flgui.cpp:1149 src/FLTK/flgui.cpp:2022 msgid "Add stream info" msgstr "" #: src/FLTK/flgui.cpp:1154 msgid "Edit stream info" msgstr "" #: src/FLTK/flgui.cpp:1159 msgid "Delete stream info" msgstr "" #: src/FLTK/flgui.cpp:1165 msgid "Log File" msgstr "" #: src/FLTK/flgui.cpp:1169 msgid "Log file path" msgstr "" #: src/FLTK/flgui.cpp:1174 msgid "Select log file" msgstr "" #: src/FLTK/flgui.cpp:1181 msgid "Configuration" msgstr "" #: src/FLTK/flgui.cpp:1184 src/FLTK/fl_callbacks.cpp:3260 msgid "Import..." msgstr "" #: src/FLTK/flgui.cpp:1185 msgid "Import settings from config file" msgstr "" #: src/FLTK/flgui.cpp:1189 src/FLTK/flgui.cpp:1998 src/FLTK/flgui.cpp:2064 msgid "&Save" msgstr "" #: src/FLTK/flgui.cpp:1190 msgid "Save settings" msgstr "" #: src/FLTK/flgui.cpp:1194 msgid "Export..." msgstr "" #: src/FLTK/flgui.cpp:1195 msgid "export settings" msgstr "" #: src/FLTK/flgui.cpp:1201 msgid "Updates" msgstr "" #: src/FLTK/flgui.cpp:1204 msgid "Check now" msgstr "" #: src/FLTK/flgui.cpp:1205 msgid "Check if a new version is available" msgstr "" #: src/FLTK/flgui.cpp:1209 msgid "Check at startup" msgstr "" #: src/FLTK/flgui.cpp:1210 msgid "Check for updates at start" msgstr "" #: src/FLTK/flgui.cpp:1218 msgid "Audio" msgstr "" #: src/FLTK/flgui.cpp:1220 msgid "Main Audio Settings" msgstr "" #: src/FLTK/flgui.cpp:1223 msgid "Audio Device" msgstr "" #: src/FLTK/flgui.cpp:1224 msgid "select your sound card device" msgstr "" #: src/FLTK/flgui.cpp:1229 msgid "Channel mode" msgstr "" #: src/FLTK/flgui.cpp:1230 msgid "Select input channel" msgstr "" #: src/FLTK/flgui.cpp:1243 msgid "Samplerate" msgstr "" #: src/FLTK/flgui.cpp:1244 msgid "Select input sample rate" msgstr "" #: src/FLTK/flgui.cpp:1249 msgid "Left" msgstr "" #: src/FLTK/flgui.cpp:1254 msgid "Right" msgstr "" #: src/FLTK/flgui.cpp:1261 src/FLTK/flgui.cpp:1453 msgid "Streaming" msgstr "" #: src/FLTK/flgui.cpp:1264 src/FLTK/flgui.cpp:1304 msgid "Codec" msgstr "" #: src/FLTK/flgui.cpp:1265 msgid "Select streaming codec" msgstr "" #: src/FLTK/flgui.cpp:1278 src/FLTK/flgui.cpp:1318 msgid "Bitrate" msgstr "" #: src/FLTK/flgui.cpp:1279 msgid "Select streaming bitrate" msgstr "" #: src/FLTK/flgui.cpp:1293 msgid "Convert Mono to Stereo" msgstr "" #: src/FLTK/flgui.cpp:1294 msgid "Copies a mono channel to both stereo channels" msgstr "" #: src/FLTK/flgui.cpp:1301 src/FLTK/flgui.cpp:1542 msgid "Recording" msgstr "" #: src/FLTK/flgui.cpp:1305 msgid "Select recording codec" msgstr "" #: src/FLTK/flgui.cpp:1319 msgid "Select recording bitrate" msgstr "" #: src/FLTK/flgui.cpp:1334 msgid "Advanced..." msgstr "" #: src/FLTK/flgui.cpp:1340 msgid "Buffer (ms)" msgstr "" #: src/FLTK/flgui.cpp:1349 msgid "Resample Quality" msgstr "" #: src/FLTK/flgui.cpp:1364 msgid "Signal detection levels" msgstr "" #: src/FLTK/flgui.cpp:1367 msgid "Signal present" msgstr "" #: src/FLTK/flgui.cpp:1374 msgid "Signal absent" msgstr "" #: src/FLTK/flgui.cpp:1381 src/FLTK/flgui.cpp:1384 msgid "dB" msgstr "" #: src/FLTK/flgui.cpp:1391 msgid "Stream" msgstr "" #: src/FLTK/flgui.cpp:1393 msgid "Update song name from file" msgstr "" #: src/FLTK/flgui.cpp:1397 msgid "Filename that holds the current song name" msgstr "" #: src/FLTK/flgui.cpp:1403 msgid "Select file that holds the current song name" msgstr "" #: src/FLTK/flgui.cpp:1408 src/FLTK/flgui.cpp:1442 src/FLTK/flgui.cpp:1624 #: src/FLTK/flgui.cpp:1737 msgid "Activate" msgstr "" #: src/FLTK/flgui.cpp:1409 src/FLTK/flgui.cpp:1414 msgid "Activate auto update song name from file" msgstr "" #: src/FLTK/flgui.cpp:1413 msgid "Read last line instead of first" msgstr "" #: src/FLTK/flgui.cpp:1420 msgid "Update song name manually" msgstr "" #: src/FLTK/flgui.cpp:1424 msgid "Current song name" msgstr "" #: src/FLTK/flgui.cpp:1430 msgid "OK" msgstr "" #: src/FLTK/flgui.cpp:1431 msgid "Send current song name to the server" msgstr "" #: src/FLTK/flgui.cpp:1439 msgid "Update song name from application" msgstr "" #: src/FLTK/flgui.cpp:1447 msgid "Changes the song through an running application" msgstr "" #: src/FLTK/flgui.cpp:1456 msgid "Start streaming after launch" msgstr "" #: src/FLTK/flgui.cpp:1457 msgid "Connect automatically to a server after launch" msgstr "" #: src/FLTK/flgui.cpp:1467 src/FLTK/flgui.cpp:1470 src/FLTK/flgui.cpp:1558 #: src/FLTK/flgui.cpp:1569 msgid "seconds" msgstr "" #: src/FLTK/flgui.cpp:1473 src/FLTK/flgui.cpp:1572 msgid "Start if signal is present for" msgstr "" #: src/FLTK/flgui.cpp:1476 src/FLTK/flgui.cpp:1575 msgid "Stop if signal is absent for" msgstr "" #: src/FLTK/flgui.cpp:1479 msgid "Force reconnecting" msgstr "" #: src/FLTK/flgui.cpp:1480 msgid "If enabled butt keeps reconnecting regardless of the error message" msgstr "" #: src/FLTK/flgui.cpp:1486 msgid "Extend song name" msgstr "" #: src/FLTK/flgui.cpp:1489 msgid "Prefix:" msgstr "" #: src/FLTK/flgui.cpp:1494 msgid "Suffix:" msgstr "" #: src/FLTK/flgui.cpp:1503 msgid "Record" msgstr "" #: src/FLTK/flgui.cpp:1505 msgid "Record File Name:" msgstr "" #: src/FLTK/flgui.cpp:1506 msgid "Record file name" msgstr "" #: src/FLTK/flgui.cpp:1511 msgid "Record Directory:" msgstr "" #: src/FLTK/flgui.cpp:1512 msgid "Directory of recordings" msgstr "" #: src/FLTK/flgui.cpp:1518 msgid "Select recording directory" msgstr "" #: src/FLTK/flgui.cpp:1523 msgid "Split file" msgstr "" #: src/FLTK/flgui.cpp:1526 msgid "every" msgstr "" #: src/FLTK/flgui.cpp:1529 msgid "minutes" msgstr "" #: src/FLTK/flgui.cpp:1531 src/FLTK/flgui.cpp:1532 msgid "Sync to full hour" msgstr "" #: src/FLTK/flgui.cpp:1536 msgid "Split now" msgstr "" #: src/FLTK/flgui.cpp:1545 src/FLTK/flgui.cpp:1546 msgid "Start recording when connected" msgstr "" #: src/FLTK/flgui.cpp:1550 src/FLTK/flgui.cpp:1551 msgid "Start recording after launch" msgstr "" #: src/FLTK/flgui.cpp:1561 msgid "Stop recording when disconnected" msgstr "" #: src/FLTK/flgui.cpp:1562 msgid "Start recording when disconnected" msgstr "" #: src/FLTK/flgui.cpp:1582 msgid "TLS" msgstr "" #: src/FLTK/flgui.cpp:1584 src/FLTK/flgui.cpp:2007 msgid "SSL/TLS" msgstr "" #: src/FLTK/flgui.cpp:1587 msgid "CA Certificate File:" msgstr "" #: src/FLTK/flgui.cpp:1588 msgid "Certificate file" msgstr "" #: src/FLTK/flgui.cpp:1593 msgid "CA Certificate Directory:" msgstr "" #: src/FLTK/flgui.cpp:1594 msgid "Certificate directory" msgstr "" #: src/FLTK/flgui.cpp:1600 msgid "Select certificate directory" msgstr "" #: src/FLTK/flgui.cpp:1606 msgid "Select certificate file" msgstr "" #: src/FLTK/flgui.cpp:1611 msgid "" "If your server uses a certificate from\n" "Let's Encrypt or another well known\n" "CA, you can leave these fields blank." msgstr "" #: src/FLTK/flgui.cpp:1619 msgid "DSP" msgstr "" #: src/FLTK/flgui.cpp:1621 msgid "Equalizer" msgstr "" #: src/FLTK/flgui.cpp:1628 msgid "100Hz" msgstr "" #: src/FLTK/flgui.cpp:1644 msgid "350Hz" msgstr "" #: src/FLTK/flgui.cpp:1660 msgid "1kHz" msgstr "" #: src/FLTK/flgui.cpp:1676 msgid "3.5kHz" msgstr "" #: src/FLTK/flgui.cpp:1692 msgid "10kHz" msgstr "" #: src/FLTK/flgui.cpp:1708 src/FLTK/flgui.cpp:1712 src/FLTK/flgui.cpp:1716 #: src/FLTK/flgui.cpp:1720 src/FLTK/flgui.cpp:1724 src/FLTK/flgui.cpp:1806 #: src/FLTK/flgui.cpp:1810 src/FLTK/flgui.cpp:1814 src/FLTK/flgui.cpp:1818 #: src/FLTK/flgui.cpp:1843 msgid "+0.0" msgstr "" #: src/FLTK/flgui.cpp:1728 src/FLTK/flgui.cpp:1822 msgid "Reset" msgstr "" #: src/FLTK/flgui.cpp:1734 msgid "Dynamic Range Compressor" msgstr "" #: src/FLTK/flgui.cpp:1741 msgid "Threshold" msgstr "" #: src/FLTK/flgui.cpp:1756 msgid "Ratio" msgstr "" #: src/FLTK/flgui.cpp:1772 msgid "Attack" msgstr "" #: src/FLTK/flgui.cpp:1789 msgid "Release" msgstr "" #: src/FLTK/flgui.cpp:1826 msgid "" "Makeup\n" "Gain" msgstr "" #: src/FLTK/flgui.cpp:1851 msgid "GUI" msgstr "" #: src/FLTK/flgui.cpp:1853 msgid "Display Color" msgstr "" #: src/FLTK/flgui.cpp:1856 src/FLTK/flgui.cpp:1857 msgid "Select text color" msgstr "" #: src/FLTK/flgui.cpp:1863 src/FLTK/flgui.cpp:1864 msgid "Select background color" msgstr "" #: src/FLTK/flgui.cpp:1872 msgid "Misc" msgstr "" #: src/FLTK/flgui.cpp:1875 msgid "Attach settings window to main window" msgstr "" #: src/FLTK/flgui.cpp:1876 msgid "Attach this window to the butt window" msgstr "" #: src/FLTK/flgui.cpp:1880 src/FLTK/flgui.cpp:1881 src/FLTK/flgui.cpp:1891 #: src/FLTK/flgui.cpp:1896 msgid "Stay always on top" msgstr "" #: src/FLTK/flgui.cpp:1885 src/FLTK/flgui.cpp:1886 msgid "Change display mode every 5 seconds" msgstr "" #: src/FLTK/flgui.cpp:1890 msgid "Hide log window after start up" msgstr "" #: src/FLTK/flgui.cpp:1895 msgid "Remember main window position" msgstr "" #: src/FLTK/flgui.cpp:1902 msgid "Language" msgstr "" #: src/FLTK/flgui.cpp:1921 msgid "Donate" msgstr "" #: src/FLTK/flgui.cpp:1923 msgid "Donation" msgstr "" #: src/FLTK/flgui.cpp:1926 msgid "" "Keeping this software up to date, adding\n" "new features and answering support mails\n" "takes a lot of time and effort. If you can\n" "afford it, please consider supporting this\n" "project.\n" "\n" "Thank you!" msgstr "" #: src/FLTK/flgui.cpp:1931 msgid "&Donate via PayPal" msgstr "" #: src/FLTK/flgui.cpp:1935 msgid "Become a &patron" msgstr "" #: src/FLTK/flgui.cpp:1950 src/FLTK/flgui.cpp:2024 msgid "Name:" msgstr "" #: src/FLTK/flgui.cpp:1954 msgid "Address:" msgstr "" #: src/FLTK/flgui.cpp:1958 msgid "Port:" msgstr "" #: src/FLTK/flgui.cpp:1962 msgid "Password:" msgstr "" #: src/FLTK/flgui.cpp:1967 msgid "IceCast mountpoint:" msgstr "" #: src/FLTK/flgui.cpp:1971 msgid "IceCast user:" msgstr "" #: src/FLTK/flgui.cpp:1975 msgid "Type" msgstr "" #: src/FLTK/flgui.cpp:1978 msgid "ShoutCast" msgstr "" #: src/FLTK/flgui.cpp:1983 msgid "IceCast" msgstr "" #: src/FLTK/flgui.cpp:1990 src/FLTK/flgui.cpp:2056 msgid "&Cancel" msgstr "" #: src/FLTK/flgui.cpp:1994 src/FLTK/flgui.cpp:2060 msgid "&ADD" msgstr "" #: src/FLTK/flgui.cpp:2002 src/FLTK/fl_callbacks.cpp:989 #: src/FLTK/fl_callbacks.cpp:1021 src/FLTK/fl_callbacks.cpp:1291 msgid "Show" msgstr "" #: src/FLTK/flgui.cpp:2003 msgid "show/hide password" msgstr "" #: src/FLTK/flgui.cpp:2010 msgid "Use SSL/TLS" msgstr "" #: src/FLTK/flgui.cpp:2013 msgid "Revoke certificate trust" msgstr "" #: src/FLTK/flgui.cpp:2025 msgid "The name of your new ICY-entrie" msgstr "" #: src/FLTK/flgui.cpp:2029 msgid "Description:" msgstr "" #: src/FLTK/flgui.cpp:2033 msgid "Genre:" msgstr "" #: src/FLTK/flgui.cpp:2037 msgid "URL:" msgstr "" #: src/FLTK/flgui.cpp:2041 msgid "ICQ:" msgstr "" #: src/FLTK/flgui.cpp:2045 msgid "IRC:" msgstr "" #: src/FLTK/flgui.cpp:2049 msgid "AIM:" msgstr "" #: src/FLTK/flgui.cpp:2053 msgid "Make server public" msgstr "" #: src/FLTK/fl_timer_funcs.cpp:125 #, c-format msgid "" "stream sent\n" "%0.2lfMB" msgstr "" #: src/FLTK/fl_timer_funcs.cpp:132 #, c-format msgid "" "stream time\n" "%s" msgstr "" #: src/FLTK/fl_timer_funcs.cpp:139 #, c-format msgid "" "record time\n" "%s" msgstr "" #: src/FLTK/fl_timer_funcs.cpp:146 #, c-format msgid "" "record size\n" "%0.2lfMB" msgstr "" #: src/FLTK/fl_timer_funcs.cpp:196 msgid "" "ERROR: Connection lost\n" "reconnecting..." msgstr "" #: src/FLTK/fl_timer_funcs.cpp:264 msgid "" "Could not find a file extension in current filename\n" "Automatic file splitting is deactivated" msgstr "" #: src/FLTK/fl_timer_funcs.cpp:302 msgid "" "Could not find a valid filename for next file\n" "butt keeps recording to current file" msgstr "" #: src/FLTK/fl_timer_funcs.cpp:313 src/FLTK/fl_callbacks.cpp:868 #, c-format msgid "" "Could not open:\n" "%s" msgstr "" #: src/FLTK/fl_timer_funcs.cpp:318 msgid "Recording to:" msgstr "" #: src/FLTK/fl_timer_funcs.cpp:480 #, c-format msgid "" "Warning\n" "Could not open: %s.\n" "Will retry in 5 seconds" msgstr "" #: src/FLTK/fl_callbacks.cpp:119 msgid "connecting" msgstr "" #: src/FLTK/fl_callbacks.cpp:155 msgid "" "Error: No server entry found.\n" "Please add a server in the settings-window." msgstr "" #: src/FLTK/fl_callbacks.cpp:161 msgid "" "Error: ogg vorbis encoder doesn't support bitrates\n" "lower than 48kbit" msgstr "" #: src/FLTK/fl_callbacks.cpp:170 #, c-format msgid "Warning: %s is not supported by every ShoutCast version" msgstr "" #: src/FLTK/fl_callbacks.cpp:175 msgid "Error: FLAC is not supported by ShoutCast" msgstr "" #: src/FLTK/fl_callbacks.cpp:182 #, c-format msgid "Connecting to %s:%u (%u) ..." msgstr "" #: src/FLTK/fl_callbacks.cpp:187 #, c-format msgid "Connecting to %s:%u ..." msgstr "" #: src/FLTK/fl_callbacks.cpp:240 msgid "Connection established" msgstr "" #: src/FLTK/fl_callbacks.cpp:261 src/FLTK/fl_callbacks.cpp:3364 #: src/FLTK/fl_callbacks.cpp:3368 msgid "no" msgstr "" #: src/FLTK/fl_callbacks.cpp:261 src/FLTK/fl_callbacks.cpp:3364 #: src/FLTK/fl_callbacks.cpp:3368 msgid "yes" msgstr "" #: src/FLTK/fl_callbacks.cpp:328 #, c-format msgid "Connected to: %s" msgstr "" #: src/FLTK/fl_callbacks.cpp:376 src/FLTK/fl_callbacks.cpp:1326 msgid "" "No mountpoint specified\n" "Setting mountpoint to \"stream\"" msgstr "" #: src/FLTK/fl_callbacks.cpp:381 src/FLTK/fl_callbacks.cpp:1331 msgid "" "No user specified\n" "Setting user to \"source\"" msgstr "" #: src/FLTK/fl_callbacks.cpp:386 src/FLTK/fl_callbacks.cpp:1336 #: src/FLTK/fl_callbacks.cpp:1486 src/FLTK/fl_callbacks.cpp:2156 msgid "No name specified" msgstr "" #: src/FLTK/fl_callbacks.cpp:393 src/FLTK/fl_callbacks.cpp:1343 msgid "" "The number of characters of all your server names exeeds 1000\n" "Please reduce the number of characters of each server name" msgstr "" #: src/FLTK/fl_callbacks.cpp:400 src/FLTK/fl_callbacks.cpp:1350 #: src/FLTK/fl_callbacks.cpp:1500 src/FLTK/fl_callbacks.cpp:2171 msgid "No newline characters and ;/\\ are allowed in the name field" msgstr "" #: src/FLTK/fl_callbacks.cpp:405 src/FLTK/fl_callbacks.cpp:1355 msgid "No address specified" msgstr "" #: src/FLTK/fl_callbacks.cpp:410 src/FLTK/fl_callbacks.cpp:1360 msgid "No password specified" msgstr "" #: src/FLTK/fl_callbacks.cpp:415 src/FLTK/fl_callbacks.cpp:1365 msgid "No port specified" msgstr "" #: src/FLTK/fl_callbacks.cpp:421 src/FLTK/fl_callbacks.cpp:1371 msgid "" "Invalid port number\n" "The port number must be between 1 and 65535" msgstr "" #: src/FLTK/fl_callbacks.cpp:431 src/FLTK/fl_callbacks.cpp:1382 #: src/FLTK/fl_callbacks.cpp:2181 msgid "Server name already exist!" msgstr "" #: src/FLTK/fl_callbacks.cpp:697 msgid "stop recording?" msgstr "" #: src/FLTK/fl_callbacks.cpp:697 src/FLTK/fl_funcs.cpp:600 msgid "No" msgstr "" #: src/FLTK/fl_callbacks.cpp:697 msgid "Yes" msgstr "" #: src/FLTK/fl_callbacks.cpp:756 msgid "No recording filename specified" msgstr "" #: src/FLTK/fl_callbacks.cpp:821 msgid "Could not find a valid filename" msgstr "" #: src/FLTK/fl_callbacks.cpp:832 #, c-format msgid "%s already exists!" msgstr "" #: src/FLTK/fl_callbacks.cpp:833 msgid "cancel" msgstr "" #: src/FLTK/fl_callbacks.cpp:833 msgid "overwrite" msgstr "" #: src/FLTK/fl_callbacks.cpp:833 msgid "append" msgstr "" #: src/FLTK/fl_callbacks.cpp:939 src/FLTK/fl_funcs.cpp:490 msgid "Hide log" msgstr "" #: src/FLTK/fl_callbacks.cpp:978 msgid "Add Server" msgstr "" #: src/FLTK/fl_callbacks.cpp:1008 msgid "Edit Server" msgstr "" #: src/FLTK/fl_callbacks.cpp:1070 msgid "Add Server Infos" msgstr "" #: src/FLTK/fl_callbacks.cpp:1138 #, c-format msgid "" "Updated songname to:\n" "%s\n" msgstr "" #: src/FLTK/fl_callbacks.cpp:1144 msgid "Updating songname failed" msgstr "" #: src/FLTK/fl_callbacks.cpp:1221 #, c-format msgid "Audio buffer has been set to %d ms" msgstr "" #: src/FLTK/fl_callbacks.cpp:1285 msgid "Hide" msgstr "" #: src/FLTK/fl_callbacks.cpp:1308 msgid "Could not revoke trust for certificate" msgstr "" #: src/FLTK/fl_callbacks.cpp:1493 msgid "" "The number of characters of all your icy names exeeds 1000\n" "Please reduce the count of characters of each icy name" msgstr "" #: src/FLTK/fl_callbacks.cpp:1511 msgid "Icy name already exist!" msgstr "" #: src/FLTK/fl_callbacks.cpp:1646 src/FLTK/fl_callbacks.cpp:1661 #: src/FLTK/fl_callbacks.cpp:1677 src/FLTK/fl_callbacks.cpp:1694 #: src/FLTK/fl_callbacks.cpp:1841 src/FLTK/fl_callbacks.cpp:1856 #: src/FLTK/fl_callbacks.cpp:1872 src/FLTK/fl_callbacks.cpp:1889 #: src/FLTK/fl_callbacks.cpp:1906 msgid "" "Warning:\n" "The stream Sample-/Bitrate combination is invalid" msgstr "" #: src/FLTK/fl_callbacks.cpp:1652 src/FLTK/fl_callbacks.cpp:1667 #: src/FLTK/fl_callbacks.cpp:1683 src/FLTK/fl_callbacks.cpp:1700 msgid "The previous values have been set\n" msgstr "" #: src/FLTK/fl_callbacks.cpp:1707 #, c-format msgid "Stream bitrate set to: %dk" msgstr "" #: src/FLTK/fl_callbacks.cpp:1741 src/FLTK/fl_callbacks.cpp:1756 #: src/FLTK/fl_callbacks.cpp:1772 src/FLTK/fl_callbacks.cpp:1789 #: src/FLTK/fl_callbacks.cpp:1931 src/FLTK/fl_callbacks.cpp:1949 #: src/FLTK/fl_callbacks.cpp:1967 src/FLTK/fl_callbacks.cpp:1986 #: src/FLTK/fl_callbacks.cpp:2004 msgid "" "Warning:\n" "The record Sample-/Bitrate combination is invalid" msgstr "" #: src/FLTK/fl_callbacks.cpp:1747 src/FLTK/fl_callbacks.cpp:1762 #: src/FLTK/fl_callbacks.cpp:1778 src/FLTK/fl_callbacks.cpp:1795 #: src/FLTK/fl_callbacks.cpp:1847 src/FLTK/fl_callbacks.cpp:1862 #: src/FLTK/fl_callbacks.cpp:1878 src/FLTK/fl_callbacks.cpp:1895 #: src/FLTK/fl_callbacks.cpp:1912 src/FLTK/fl_callbacks.cpp:1939 #: src/FLTK/fl_callbacks.cpp:1957 src/FLTK/fl_callbacks.cpp:1975 #: src/FLTK/fl_callbacks.cpp:1994 src/FLTK/fl_callbacks.cpp:2010 msgid "The previous values have been set" msgstr "" #: src/FLTK/fl_callbacks.cpp:1801 #, c-format msgid "Record bitrate set to: %dk" msgstr "" #: src/FLTK/fl_callbacks.cpp:2020 #, c-format msgid "Samplerate set to: %dHz" msgstr "" #: src/FLTK/fl_callbacks.cpp:2080 msgid "Channels set to: stereo" msgstr "" #: src/FLTK/fl_callbacks.cpp:2134 msgid "Channels set to: mono" msgstr "" #: src/FLTK/fl_callbacks.cpp:2164 msgid "" "The number of characters of all your icy names exeeds 1000\n" "Please reduce the number of characters of each icy name" msgstr "" #: src/FLTK/fl_callbacks.cpp:2277 msgid "Edit Server Infos" msgstr "" #: src/FLTK/fl_callbacks.cpp:2325 src/FLTK/fl_callbacks.cpp:2464 msgid "" "MP3 encoder doesn't support current\n" "Sample-/Bitrate combination" msgstr "" #: src/FLTK/fl_callbacks.cpp:2340 msgid "Stream codec set to mp3" msgstr "" #: src/FLTK/fl_callbacks.cpp:2349 src/FLTK/fl_callbacks.cpp:2496 msgid "" "OGG Vorbis encoder doesn't support current\n" "Sample-/Bitrate combination" msgstr "" #: src/FLTK/fl_callbacks.cpp:2364 msgid "Stream codec set to ogg/vorbis" msgstr "" #: src/FLTK/fl_callbacks.cpp:2373 src/FLTK/fl_callbacks.cpp:2527 msgid "" "Opus encoder doesn't support current\n" "Sample-/Bitrate combination" msgstr "" #: src/FLTK/fl_callbacks.cpp:2388 msgid "Stream codec set to opus" msgstr "" #: src/FLTK/fl_callbacks.cpp:2399 src/FLTK/fl_callbacks.cpp:2560 msgid "" "Could not find aac library.\n" "Please follow the instructions in the manual for adding aac support." msgstr "" #: src/FLTK/fl_callbacks.cpp:2413 src/FLTK/fl_callbacks.cpp:2574 msgid "" "AAC encoder doesn't support current\n" "Sample-/Bitrate combination" msgstr "" #: src/FLTK/fl_callbacks.cpp:2428 msgid "Stream codec set to aac" msgstr "" #: src/FLTK/fl_callbacks.cpp:2440 src/FLTK/fl_callbacks.cpp:2610 msgid "ERROR: While initializing flac settings" msgstr "" #: src/FLTK/fl_callbacks.cpp:2454 msgid "Stream codec set to flac" msgstr "" #: src/FLTK/fl_callbacks.cpp:2487 msgid "Record codec set to mp3" msgstr "" #: src/FLTK/fl_callbacks.cpp:2518 msgid "Record codec set to ogg/vorbis" msgstr "" #: src/FLTK/fl_callbacks.cpp:2550 msgid "Record codec set to opus" msgstr "" #: src/FLTK/fl_callbacks.cpp:2597 msgid "Record codec set to aac" msgstr "" #: src/FLTK/fl_callbacks.cpp:2631 msgid "Record codec set to flac" msgstr "" #: src/FLTK/fl_callbacks.cpp:2647 msgid "Record codec set to wav" msgstr "" #: src/FLTK/fl_callbacks.cpp:2683 msgid "Select certificate file..." msgstr "" #: src/FLTK/fl_callbacks.cpp:2688 src/FLTK/fl_callbacks.cpp:2710 #: src/FLTK/fl_callbacks.cpp:2805 src/FLTK/fl_callbacks.cpp:2887 #: src/FLTK/fl_callbacks.cpp:3242 src/FLTK/fl_callbacks.cpp:3265 #: src/FLTK/fl_callbacks.cpp:3344 #, c-format msgid "ERROR: %s" msgstr "" #: src/FLTK/fl_callbacks.cpp:2701 msgid "Select certificate directory..." msgstr "" #: src/FLTK/fl_callbacks.cpp:2796 msgid "Record to..." msgstr "" #: src/FLTK/fl_callbacks.cpp:2883 msgid "Select Songfile" msgstr "" #: src/FLTK/fl_callbacks.cpp:2990 msgid "select background color" msgstr "" #: src/FLTK/fl_callbacks.cpp:3012 msgid "select text color" msgstr "" #: src/FLTK/fl_callbacks.cpp:3036 msgid "Please restart butt to apply new language." msgstr "" #: src/FLTK/fl_callbacks.cpp:3091 src/FLTK/fl_callbacks.cpp:3097 #: src/FLTK/fl_callbacks.cpp:3108 src/FLTK/fl_callbacks.cpp:3114 msgid "Value must be a number between -90.0 and 0" msgstr "" #: src/FLTK/fl_callbacks.cpp:3235 msgid "Export to..." msgstr "" #: src/FLTK/fl_callbacks.cpp:3277 #, c-format msgid "Could not import config %s" msgstr "" #: src/FLTK/fl_callbacks.cpp:3287 #, c-format msgid "Config imported %s" msgstr "" #: src/FLTK/fl_callbacks.cpp:3316 msgid "" "Could not get update information.\n" "Reason: Network error" msgstr "" #: src/FLTK/fl_callbacks.cpp:3319 msgid "" "Could not get update information.\n" "Reason: Unknown answer from server" msgstr "" #: src/FLTK/fl_callbacks.cpp:3322 msgid "You have the latest version!" msgstr "" #: src/FLTK/fl_callbacks.cpp:3325 msgid "" "Could not get update information.\n" "Reason: Unknown" msgstr "" #: src/FLTK/fl_callbacks.cpp:3338 msgid "Select logfile..." msgstr "" #: src/FLTK/fl_callbacks.cpp:3362 msgid "" "butt is currently streaming.\n" "Do you really want to close butt now?" msgstr "" #: src/FLTK/fl_callbacks.cpp:3366 msgid "" "butt is currently recording.\n" "Do you really want to close butt now?" msgstr "" #: src/FLTK/fl_funcs.cpp:176 msgid "Not supported on Windows" msgstr "" #: src/FLTK/fl_funcs.cpp:600 msgid "TRUST" msgstr "" #: src/icecast.cpp:84 msgid "" "\n" "connect: Could not create network socket" msgstr "" #: src/icecast.cpp:95 msgid "" "\n" "connect: Error resolving server address" msgstr "" #: src/icecast.cpp:134 msgid "" "\n" "connect: SSL connection timed out. Trying again..." msgstr "" #: src/icecast.cpp:143 #, c-format msgid "" "SSL/TLS certificate verification failed\n" "Reason: %s\n" "\n" "Do you still want to trust this certificate?\n" "Trusting will be permanent and can be revoked\n" "in the server settings." msgstr "" #: src/icecast.cpp:158 #, c-format msgid "" "\n" "connect: SSL connection failed\n" "Reason: %s" msgstr "" #: src/icecast.cpp:278 msgid "" "\n" "connect: connection timed out. Trying again..." msgstr "" #: src/icecast.cpp:325 msgid "" "\n" "connect: invalid user/password!\n" msgstr "" #: src/icecast.cpp:347 msgid "" "\n" "connect: server answered with 404!\n" msgstr "" #: src/icecast.cpp:355 #, c-format msgid "" "\n" "connect: server answered with %d!\n" msgstr "" #: src/icecast.cpp:380 msgid "" "\n" "ERROR: Opus is not supported by your\n" "Icecast server (>=1.4.0 required)!\n" msgstr "" #: src/icecast.cpp:456 msgid "" "\n" "update_song: could not create network socket" msgstr "" #: src/icecast.cpp:460 msgid "" "\n" "update_song: error resolving server address" msgstr "" #: src/lame_encode.cpp:40 #, c-format msgid "unable to init lame params %d" msgstr "" #: src/port_audio.cpp:93 #, c-format msgid "" "PortAudio init failed:\n" "%s\n" msgstr "" #: src/port_audio.cpp:132 msgid "ERROR: no sound device with input channels found" msgstr "" #: src/port_audio.cpp:149 src/port_audio.cpp:770 #, c-format msgid "Error getting device Info (%d)" msgstr "" #: src/port_audio.cpp:187 #, c-format msgid "" "Samplerate not supported: %dHz\n" "Using default samplerate: %dHz" msgstr "" #: src/port_audio.cpp:207 #, c-format msgid "PA: Format not supported: %s\n" msgstr "" #: src/port_audio.cpp:219 #, c-format msgid "" "error opening sound device: \n" "%s\n" msgstr "" #: src/port_audio.cpp:497 msgid "disconnected\n" msgstr "" #: src/port_audio.cpp:514 msgid "recording to:" msgstr "" #: src/port_audio.cpp:529 msgid "recording stopped" msgstr "" #: src/port_audio.cpp:750 src/port_audio.cpp:751 msgid "Default PCM device (default)" msgstr "" #: src/port_audio.cpp:855 src/port_audio.cpp:871 msgid "ERROR: Could not initialize samplerate converter" msgstr "" #: src/shoutcast.cpp:78 msgid "" "\n" "Connect: Could not create network socket" msgstr "" #: src/shoutcast.cpp:89 msgid "" "\n" "Connect: Error resolving server address" msgstr "" #: src/shoutcast.cpp:164 msgid "" "\n" "connect: connection timed out. Trying again...\n" msgstr "" #: src/shoutcast.cpp:179 msgid "" "\n" "Connect: Invalid password!\n" msgstr "" #: src/shoutcast.cpp:226 msgid "" "\n" "Update song: Could not create network socket" msgstr "" #: src/shoutcast.cpp:230 msgid "" "\n" "Update song: Error resolving server address" msgstr "" #: src/tls.cpp:156 msgid "check_host: could not read host name from cert" msgstr "" #: src/tls.cpp:189 msgid "check_cert: No peer certificate available" msgstr "" #: src/tls.cpp:204 msgid "check_cert: X509_check_host failed" msgstr "" #: src/tls.cpp:211 msgid "check_cert: check_host failed" msgstr "" #: src/tls.cpp:228 msgid "calc_cert_hash: No peer certificate available" msgstr "" #: src/tls.cpp:236 msgid "calc_cert_hash: Hash calculation failed" msgstr "" #: src/tls.cpp:308 msgid "tls_setup: Could not set cipher list" msgstr "" #: src/tls.cpp:322 msgid "tls_setup: SSL_new failed" msgstr "" #: src/tls.cpp:330 msgid "tls_setup: Could not bind socket to SSL" msgstr "" #: src/tls.cpp:347 msgid "tls_setup: SSL_connect read timeout" msgstr "" #: src/tls.cpp:354 msgid "tls_setup: SSL_connect write timeout" msgstr "" #: src/tls.cpp:371 msgid "tls_setup: Cert hash could not be calculated" msgstr "" #: src/tls.cpp:397 msgid "tls_send: read timeout" msgstr "" #: src/tls.cpp:405 msgid "tls_send: write timeout" msgstr "" #: src/tls.cpp:434 msgid "tls_recv: read timeout" msgstr "" #: src/tls.cpp:442 msgid "tls_recv: write timeout" msgstr "" butt-0.1.26/po/insert-header.sin0000664000175000017500000000124013751456251013372 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 } butt-0.1.26/po/en@quot.header0000664000175000017500000000226313751456251012720 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. # butt-0.1.26/po/Makevars0000664000175000017500000000647613751456251011641 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=_ --from-code=UTF-8 # 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 = Daniel Nöthen # This tells whether or not to prepend "GNU " prefix to the package # name that gets inserted into the header of the $(DOMAIN).pot file. # Possible values are "yes", "no", or empty. If it is empty, try to # detect it automatically by scanning the files in $(top_srcdir) for # "GNU packagename" string. PACKAGE_GNU = no # 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 = butt@danielnoethen.de # 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 = # This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' # context. Possible values are "yes" and "no". Set this to yes if the # package uses functions taking also a message context, like pgettext(), or # if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. USE_MSGCTXT = no # These options get passed to msgmerge. # Useful options are in particular: # --previous to keep previous msgids of translated messages, # --quiet to reduce the verbosity. MSGMERGE_OPTIONS = # These options get passed to msginit. # If you want to disable line wrapping when writing PO files, add # --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and # MSGINIT_OPTIONS. MSGINIT_OPTIONS = # This tells whether or not to regenerate a PO file when $(DOMAIN).pot # has changed. Possible values are "yes" and "no". Set this to no if # the POT file is checked in the repository and the version control # program ignores timestamps. PO_DEPENDS_ON_POT = yes # This tells whether or not to forcibly update $(DOMAIN).pot and # regenerate PO files on "make dist". Possible values are "yes" and # "no". Set this to no if the POT file and PO files are maintained # externally. DIST_DEPENDS_ON_UPDATE_PO = yes butt-0.1.26/po/en@boldquot.header0000664000175000017500000000247113751456251013562 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. # butt-0.1.26/po/de.po0000664000175000017500000013201113770656734011067 00000000000000# German translations for butt-0.1.25 package. # Copyright (C) 2020 THE butt-0.1.25'S COPYRIGHT HOLDER # This file is distributed under the same license as the butt package. # Daniel Nöthen , 2020. # msgid "" msgstr "" "Project-Id-Version: butt 0.1.25\n" "Report-Msgid-Bugs-To: butt@danielnoethen.de\n" "POT-Creation-Date: 2020-12-23 16:10+0100\n" "PO-Revision-Date: 2020-11-02 11:09+0100\n" "Last-Translator: Daniel Nöthen \n" "Language-Team: German\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/AskForMicPermission.m:20 msgid "Microphone access" msgstr "Zugriff auf Mikrofon" #: src/AskForMicPermission.m:21 msgid "" "butt needs access to your microphone\n" "Please go to\n" "System Preferences->Security & Privacy->Privacy->Microphone\n" "and activate the check mark next to the butt entry" msgstr "" "butt benötigt Zugriff auf Dein Microfon\n" "Bitte gehe zu\n" "Systemeinstellungen->Sicherheit->Datenschutz->Mikrofon\n" "Und aktiviere die Checkbox neben dem butt Eintrag" #: src/butt.cpp:185 msgid "No home-directory found" msgstr "Keine Heimatverzeichnis gefunden" #: src/butt.cpp:196 #, c-format msgid "Reading config %s\n" msgstr "Lese Konfiguration %s\n" #: src/butt.cpp:200 #, c-format msgid "Could not find config %s\n" msgstr "Konnte Konfigurationsdatei %s nicht finden\n" #: src/butt.cpp:203 #, c-format msgid "" "Could not create config %s\n" "butt is going to close now" msgstr "" "Konfigurationsdatei %s konnte nicht erstellt werden\n" "butt wird automatisch geschlossen" #: src/butt.cpp:206 #, c-format msgid "" "butt created a default config at\n" "%s\n" msgstr "" "Konfigurationsdatei wurde erstellt\n" "%s\n" #: src/butt.cpp:360 #, c-format msgid "Illegal argument: Port must be a number between 1023 and 65535\n" msgstr "" "Ungültiges Argument: Port muss eine Nummer zwischen 1023 and 65535 sein\n" #: src/butt.cpp:373 #, c-format msgid "" "\n" "Options for operating mode\n" "-c\tPath to configuration file\n" "-A\tCommand server will be accessible from your network/internet (default: " "localhost only)\n" "-x\tDo not start a command server\n" "-p\tPort where the command server shall listen to (default: 1256)\n" "\n" "Options for control mode:\n" "-s\tConnect to streaming server\n" "-d\tDisconnect from streaming server\n" "-r\tStart recording\n" "-t\tStop recording\n" "-S\tRequest status\n" "-a\tAddress of the butt instance to be controlled (default: 127.0.0.1)\n" "-p\tPort of the butt instance to be controlled (default: 1256)\n" msgstr "" "\n" "Optionen für den operativen Modus\n" "-c\tPfad zur Konfigurationsdatei\n" "-A\tKomandos können über das Netzwerk/Internet empfangen werden (default: " "nur von localhost)\n" "-x\tKeinen Kommando Server starten\n" "-p\tPort des Kommando Servers (default: 1256)\n" "\n" "Optionen für den Steuerungsmodus:\n" "-s\tMit streaming server verbinden\n" "-d\tVon streaming server trennen\n" "-r\tAufnahme starten\n" "-t\tAufnahme beenden\n" "-S\tStatus abrufen\n" "-a\tAdresse des Kommando Servers (default: 127.0.0.1)\n" "-p\tPort des Kommando Servers (default: 1256)\n" #: src/butt.cpp:389 #, c-format msgid "" "Illegal option -%c.\n" "Type butt -h to get a list of supported options.\n" msgstr "" "Ungültige Option -%c.\n" "Gebe butt -h ein, um eine Liste aller gültigen Optionen zu erhalten.\n" #: src/butt.cpp:397 #, c-format msgid "Option -%c requires an argument\n" msgstr "Option -%c benötigt ein Argument\n" #: src/butt.cpp:401 #, c-format msgid "Command line parsing failed\n" msgstr "Ungültige Optionen angegeben\n" #: src/butt.cpp:419 #, c-format msgid "No butt instance running on %s at port %d\n" msgstr "Keine butt Instanz an Adresse %s mit Port %d vorhanden\n" #: src/butt.cpp:431 #, c-format msgid "" "connected: %d\n" "connecting: %d\n" "recording: %d\n" msgstr "" "Verbunden: %d\n" "Verbinde: %d\n" "Nehme auf: %d\n" #: src/butt.cpp:442 msgid "" "PortAudio init failed\n" "butt is going to close now" msgstr "" "PortAudio Initzialisierung fehlgeschlagen\n" "butt wird automatisch geschlossen" #: src/butt.cpp:498 #, c-format msgid "" "Starting %s\n" "Written by Daniel Nöthen\n" "iPhone/iPad client: https://izicast.de\n" "Donate: paypal@danielnoethen.de\n" msgstr "" "Starte %s\n" "Entwickelt von Daniel Nöthen\n" "iPhone/iPad client: https://izicast.de\n" "Spende: paypal@danielnoethen.de\n" #: src/butt.cpp:512 src/FLTK/fl_callbacks.cpp:82 src/FLTK/fl_callbacks.cpp:94 #: src/FLTK/fl_callbacks.cpp:642 src/FLTK/fl_callbacks.cpp:717 msgid "idle" msgstr "Warte" #: src/butt.cpp:533 #, c-format msgid "Warning: could not start command server on port %d\n" msgstr "Warnung: Konnte Kommandoserver nicht an port %d starten\n" #: src/butt.cpp:548 src/FLTK/fl_callbacks.cpp:3306 #, c-format msgid "" "New version available: %s\n" "You have version %s" msgstr "" "Neue Version verfügbar: %s\n" "Du hast Version Version %s" #: src/butt.cpp:548 src/FLTK/fl_callbacks.cpp:3306 msgid "Cancel" msgstr "Abbrechen" #: src/butt.cpp:548 src/FLTK/fl_callbacks.cpp:3306 msgid "Get new version" msgstr "Neue version holen" #: src/cfg.cpp:51 #, c-format msgid "Could not write to file: %s" msgstr "Konnte Datei nicht schreiben: %s" #: src/cfg.cpp:349 #, c-format msgid "Config written to %s" msgstr "Konfiguration gespeichert nach %s" #: src/cfg.cpp:530 msgid "" "error while parsing config. Illegal value (-1) for num_of_srv.\n" "butt is going to close now" msgstr "" "Fehler beim lesen der Konfigurationsdatei. Ungültiger Wert (-1) für " "num_of_srv.\n" "butt wird automatisch geschlossen" #: src/cfg.cpp:538 msgid "" "error while parsing config. Missing main/server entry.\n" "butt is going to close now" msgstr "" "Fehler beim Lesen der Konfigurationsdatei. Ein main/server Eintrag fehlt.\n" "butt wird automatisch geschlossen" #: src/cfg.cpp:545 msgid "" "error while parsing config. Missing main/srv_ent entry.\n" "butt is going to close now" msgstr "" "Fehler beim Lesen der Konfigurationsdatei. Ein main/srv_ent Eintrag fehlt.\n" "butt wird automatisch geschlossen" #: src/cfg.cpp:565 #, c-format msgid "" "error while parsing config. Missing address entry for server \"%s\".\n" "butt is going to close now" msgstr "" "Fehler beim Lesen der Konfigurationsdatei. Für den server \"%s\" existiert " "keine Adresse.\n" "butt wird automatisch geschlossen" #: src/cfg.cpp:573 #, c-format msgid "" "error while parsing config. Missing port entry for server \"%s\".\n" "butt is going to close now" msgstr "" "Fehler beim Lesen der Konfigurationsdatei. Der Port für server \"%s\" " "fehlt.\n" "butt wird automatisch geschlossen" #: src/cfg.cpp:581 #, c-format msgid "" "error while parsing config. Missing password entry for server \"%s\".\n" "butt is going to close now" msgstr "" "Fehler beim Lesen der Konfigurationsdatei. Das Password für server \"%s\" " "fehlt.\n" "butt wird automatisch geschlossen" #: src/cfg.cpp:589 #, c-format msgid "" "error while parsing config. Missing type entry for server \"%s\".\n" "butt is going to close now" msgstr "" "Fehler beim Lesen der Konfigurationsdatei. Der Type für server \"%s\" " "fehlt.\n" "butt wird automatisch geschlossen" #: src/cfg.cpp:597 #, c-format msgid "" "error while parsing config. Missing mount entry for server \"%s\".\n" "butt is going to close now" msgstr "" "Fehler beim Lesen der Konfigurationsdatei. Der Mountpoint für server \"%s\" " "fehlt.\n" "butt wird automatisch geschlossen" #: src/cfg.cpp:633 msgid "" "error while parsing config. Illegal value (-1) for num_of_icy.\n" "butt is going to close now" msgstr "" "Fehler beim Lesen der Konfigurationsdatei. Ungültiger Wert (-1) für " "num_of_icy.\n" "butt wird automatisch geschlossen" #: src/cfg.cpp:643 msgid "" "error while parsing config. Missing main/icy entry.\n" "butt is going to close now" msgstr "" "Fehler beim Lesen der Konfigurationsdatei. Es fehlt ein main/icy Eintrag.\n" "butt wird automatisch geschlossen" #: src/cfg.cpp:649 msgid "" "error while parsing config. Missing main/icy_ent entry.\n" "butt is going to close now" msgstr "" "Fehler beim Lesen der Konfigurationsdatei. Es fehlt ein main/icy_ent " "Eintrag.\n" "butt wird automatisch geschlossen" #: src/cfg.cpp:675 #, c-format msgid "" "error while parsing config. Missing pub entry for icy \"%s\".\n" "butt is going to close now" msgstr "" "Fehler beim Lesen der Konfigurationsdatei. Es fehlt der pub Eintrag für icy " "\"%s\".\n" "butt wird automatisch geschlossen" #: src/FLTK/flgui.cpp:997 msgid "press left mouse to toggle lcd info" msgstr "Linke Maustaste betätigen, um Anzeige zu ändern" #: src/FLTK/flgui.cpp:1009 msgid "@> " msgstr "@> " #: src/FLTK/flgui.cpp:1010 msgid "connect to server" msgstr "Mit Server verbinden" #: src/FLTK/flgui.cpp:1020 msgid "@-3square" msgstr "@-3square" #: src/FLTK/flgui.cpp:1021 msgid "disconnect from server" msgstr "Von Server trennen" #: src/FLTK/flgui.cpp:1031 msgid "@-3circle" msgstr "@-3circle" #: src/FLTK/flgui.cpp:1032 msgid "start/stop recording" msgstr "Aufnahme starten/stoppen" #: src/FLTK/flgui.cpp:1042 src/FLTK/fl_callbacks.cpp:950 msgid "Show log" msgstr "Log anzeigen" #: src/FLTK/flgui.cpp:1043 msgid "show/hide info window" msgstr "Informationsfenster anzeigen/verbergen" #: src/FLTK/flgui.cpp:1069 msgid "Settings" msgstr "Einstellungen" #: src/FLTK/flgui.cpp:1070 msgid "show/hide config window" msgstr "Einstellungen anzeigen/verbergen" #: src/FLTK/flgui.cpp:1077 msgid "-24 dB" msgstr "-24 dB" #: src/FLTK/flgui.cpp:1081 msgid "Gain" msgstr "Verstärkung" #: src/FLTK/flgui.cpp:1097 msgid "+24 dB" msgstr "+24 dB" #: src/FLTK/flgui.cpp:1103 msgid "butt settings" msgstr "butt Einstellungen" #: src/FLTK/flgui.cpp:1116 msgid "Main" msgstr "Main" #: src/FLTK/flgui.cpp:1118 msgid "Server Settings" msgstr "Server Einstellungen" #: src/FLTK/flgui.cpp:1121 msgid "Server" msgstr "Server" #: src/FLTK/flgui.cpp:1122 msgid "Server to connect to" msgstr "Mit diesem Server verbinden" #: src/FLTK/flgui.cpp:1127 src/FLTK/flgui.cpp:1148 msgid "ADD" msgstr "NEU" #: src/FLTK/flgui.cpp:1128 src/FLTK/flgui.cpp:1948 msgid "Add server" msgstr "Neuer Server" #: src/FLTK/flgui.cpp:1132 src/FLTK/flgui.cpp:1153 msgid "EDIT" msgstr "EDIT" #: src/FLTK/flgui.cpp:1133 msgid "Edit selected server" msgstr "Server editieren" #: src/FLTK/flgui.cpp:1137 src/FLTK/flgui.cpp:1158 msgid "DEL" msgstr "ENTF" #: src/FLTK/flgui.cpp:1138 msgid "Delete selected server" msgstr "Server löschen" #: src/FLTK/flgui.cpp:1142 msgid "Stream Infos" msgstr "Stream Infos" #: src/FLTK/flgui.cpp:1143 msgid "Stream info that shall be used" msgstr "Zu verwendende Stream Info" #: src/FLTK/flgui.cpp:1149 src/FLTK/flgui.cpp:2022 msgid "Add stream info" msgstr "Neue Stream Infos" #: src/FLTK/flgui.cpp:1154 msgid "Edit stream info" msgstr "Stream info editieren" #: src/FLTK/flgui.cpp:1159 msgid "Delete stream info" msgstr "Stream info löschen" #: src/FLTK/flgui.cpp:1165 msgid "Log File" msgstr "Logdatei" #: src/FLTK/flgui.cpp:1169 msgid "Log file path" msgstr "Logdatei Pfad" #: src/FLTK/flgui.cpp:1174 msgid "Select log file" msgstr "Logdatei wählen" #: src/FLTK/flgui.cpp:1181 msgid "Configuration" msgstr "Konfiguration" #: src/FLTK/flgui.cpp:1184 src/FLTK/fl_callbacks.cpp:3260 msgid "Import..." msgstr "Import..." #: src/FLTK/flgui.cpp:1185 msgid "Import settings from config file" msgstr "Einstellungen importieren" #: src/FLTK/flgui.cpp:1189 src/FLTK/flgui.cpp:1998 src/FLTK/flgui.cpp:2064 msgid "&Save" msgstr "Speichern" #: src/FLTK/flgui.cpp:1190 msgid "Save settings" msgstr "Einst. speichern" #: src/FLTK/flgui.cpp:1194 msgid "Export..." msgstr "Export..." #: src/FLTK/flgui.cpp:1195 msgid "export settings" msgstr "Einstellungen exportieren" #: src/FLTK/flgui.cpp:1201 msgid "Updates" msgstr "Aktualisierung" #: src/FLTK/flgui.cpp:1204 msgid "Check now" msgstr "Prüfen" #: src/FLTK/flgui.cpp:1205 msgid "Check if a new version is available" msgstr "Prüft ob eine neue Version verfügbar ist" #: src/FLTK/flgui.cpp:1209 msgid "Check at startup" msgstr "Beim Starten prüfen" #: src/FLTK/flgui.cpp:1210 msgid "Check for updates at start" msgstr "Beim Starten prüfen" #: src/FLTK/flgui.cpp:1218 msgid "Audio" msgstr "Audio" #: src/FLTK/flgui.cpp:1220 msgid "Main Audio Settings" msgstr "Audio Einstellungen" #: src/FLTK/flgui.cpp:1223 msgid "Audio Device" msgstr "Audio Gerät" #: src/FLTK/flgui.cpp:1224 msgid "select your sound card device" msgstr "Audiogerät auswählen" #: src/FLTK/flgui.cpp:1229 msgid "Channel mode" msgstr "Kanalmodus" #: src/FLTK/flgui.cpp:1230 msgid "Select input channel" msgstr "Eingangskanal wählen" #: src/FLTK/flgui.cpp:1243 msgid "Samplerate" msgstr "Samplerate" #: src/FLTK/flgui.cpp:1244 msgid "Select input sample rate" msgstr "Samplerate wählen" #: src/FLTK/flgui.cpp:1249 msgid "Left" msgstr "Links" #: src/FLTK/flgui.cpp:1254 msgid "Right" msgstr "Rechts" #: src/FLTK/flgui.cpp:1261 src/FLTK/flgui.cpp:1453 msgid "Streaming" msgstr "Streaming" #: src/FLTK/flgui.cpp:1264 src/FLTK/flgui.cpp:1304 msgid "Codec" msgstr "Codec" #: src/FLTK/flgui.cpp:1265 msgid "Select streaming codec" msgstr "Stream Codec wählen" #: src/FLTK/flgui.cpp:1278 src/FLTK/flgui.cpp:1318 msgid "Bitrate" msgstr "Bitrate" #: src/FLTK/flgui.cpp:1279 msgid "Select streaming bitrate" msgstr "Stream Bitrate wählen" #: src/FLTK/flgui.cpp:1293 msgid "Convert Mono to Stereo" msgstr "Konvertiere Mono nach Stereo" #: src/FLTK/flgui.cpp:1294 msgid "Copies a mono channel to both stereo channels" msgstr "Kopiert einen Mono Kanal in beide Stereo Kanäle" #: src/FLTK/flgui.cpp:1301 src/FLTK/flgui.cpp:1542 msgid "Recording" msgstr "Aufnahme" #: src/FLTK/flgui.cpp:1305 msgid "Select recording codec" msgstr "Aufnahme Codec wählen" #: src/FLTK/flgui.cpp:1319 msgid "Select recording bitrate" msgstr "Aufnahme Bitrate wählen" #: src/FLTK/flgui.cpp:1334 msgid "Advanced..." msgstr "Erweitert" #: src/FLTK/flgui.cpp:1340 msgid "Buffer (ms)" msgstr "Puffer (ms)" #: src/FLTK/flgui.cpp:1349 msgid "Resample Quality" msgstr "Resample Qualtät" #: src/FLTK/flgui.cpp:1364 msgid "Signal detection levels" msgstr "Detektions Pegel" #: src/FLTK/flgui.cpp:1367 msgid "Signal present" msgstr "Signal vorhanden" #: src/FLTK/flgui.cpp:1374 msgid "Signal absent" msgstr "Signal abwesend" #: src/FLTK/flgui.cpp:1381 src/FLTK/flgui.cpp:1384 msgid "dB" msgstr "dB" #: src/FLTK/flgui.cpp:1391 msgid "Stream" msgstr "Stream" #: src/FLTK/flgui.cpp:1393 msgid "Update song name from file" msgstr "Song von Datei aktualisieren" #: src/FLTK/flgui.cpp:1397 msgid "Filename that holds the current song name" msgstr "Datei mit aktuellem Songnamen" #: src/FLTK/flgui.cpp:1403 msgid "Select file that holds the current song name" msgstr "Datei mit Songnamen auswählen" #: src/FLTK/flgui.cpp:1408 src/FLTK/flgui.cpp:1442 src/FLTK/flgui.cpp:1624 #: src/FLTK/flgui.cpp:1737 msgid "Activate" msgstr "Aktivieren" #: src/FLTK/flgui.cpp:1409 src/FLTK/flgui.cpp:1414 msgid "Activate auto update song name from file" msgstr "Aktualisierung des Songnamens von Datei aktivieren" #: src/FLTK/flgui.cpp:1413 msgid "Read last line instead of first" msgstr "Lese letzte Zeile der Datei" #: src/FLTK/flgui.cpp:1420 msgid "Update song name manually" msgstr "Song manuell einstellen" #: src/FLTK/flgui.cpp:1424 msgid "Current song name" msgstr "Aktueller Song" #: src/FLTK/flgui.cpp:1430 msgid "OK" msgstr "OK" #: src/FLTK/flgui.cpp:1431 msgid "Send current song name to the server" msgstr "Aktuellen Song dem Server mitteilen" #: src/FLTK/flgui.cpp:1439 msgid "Update song name from application" msgstr "Song von Applikation aktualisieren" #: src/FLTK/flgui.cpp:1447 msgid "Changes the song through an running application" msgstr "Song wird durch ein Musikprogramm geändert" #: src/FLTK/flgui.cpp:1456 msgid "Start streaming after launch" msgstr "Nach Start mit server verbinden" #: src/FLTK/flgui.cpp:1457 msgid "Connect automatically to a server after launch" msgstr "Nach dem starten mit Server verbinden" #: src/FLTK/flgui.cpp:1467 src/FLTK/flgui.cpp:1470 src/FLTK/flgui.cpp:1558 #: src/FLTK/flgui.cpp:1569 msgid "seconds" msgstr "Sekunden" #: src/FLTK/flgui.cpp:1473 src/FLTK/flgui.cpp:1572 msgid "Start if signal is present for" msgstr "Starten wenn Signal da für" #: src/FLTK/flgui.cpp:1476 src/FLTK/flgui.cpp:1575 msgid "Stop if signal is absent for" msgstr "Stoppen wenn Signal weg für" #: src/FLTK/flgui.cpp:1479 msgid "Force reconnecting" msgstr "Erzwinge Verbindungsaufbau" #: src/FLTK/flgui.cpp:1480 msgid "If enabled butt keeps reconnecting regardless of the error message" msgstr "" "Bei Aktivierung versucht butt sich unabhängig von einer Fehlermeldung mit " "dem Server zu verbinden" #: src/FLTK/flgui.cpp:1486 msgid "Extend song name" msgstr "Song erweitern" #: src/FLTK/flgui.cpp:1489 msgid "Prefix:" msgstr "Präfix:" #: src/FLTK/flgui.cpp:1494 msgid "Suffix:" msgstr "Suffix:" #: src/FLTK/flgui.cpp:1503 msgid "Record" msgstr "Aufnahme" #: src/FLTK/flgui.cpp:1505 msgid "Record File Name:" msgstr "Aufnahmedatei:" #: src/FLTK/flgui.cpp:1506 msgid "Record file name" msgstr "Aufnahmedatei" #: src/FLTK/flgui.cpp:1511 msgid "Record Directory:" msgstr "Aufnahmen Ordner:" #: src/FLTK/flgui.cpp:1512 msgid "Directory of recordings" msgstr "Order für Aufnahmen" #: src/FLTK/flgui.cpp:1518 msgid "Select recording directory" msgstr "Aufnahme Ordner wählen" #: src/FLTK/flgui.cpp:1523 msgid "Split file" msgstr "Datei aufteilen" #: src/FLTK/flgui.cpp:1526 msgid "every" msgstr "jede " #: src/FLTK/flgui.cpp:1529 msgid "minutes" msgstr "minuten" #: src/FLTK/flgui.cpp:1531 src/FLTK/flgui.cpp:1532 msgid "Sync to full hour" msgstr "Zur Stunde synchronisieren" #: src/FLTK/flgui.cpp:1536 msgid "Split now" msgstr "Aufteilen" #: src/FLTK/flgui.cpp:1545 src/FLTK/flgui.cpp:1546 msgid "Start recording when connected" msgstr "Aufnahme beginnen wenn verbunden" #: src/FLTK/flgui.cpp:1550 src/FLTK/flgui.cpp:1551 msgid "Start recording after launch" msgstr "Aufnahme nach Start beginnen" #: src/FLTK/flgui.cpp:1561 msgid "Stop recording when disconnected" msgstr "Aufnahme nach Trennung stoppen" #: src/FLTK/flgui.cpp:1562 msgid "Start recording when disconnected" msgstr "Aufnahme nach Trennung stoppen" #: src/FLTK/flgui.cpp:1582 msgid "TLS" msgstr "TLS" #: src/FLTK/flgui.cpp:1584 src/FLTK/flgui.cpp:2007 msgid "SSL/TLS" msgstr "SSL/TLS" #: src/FLTK/flgui.cpp:1587 msgid "CA Certificate File:" msgstr "CA Zertifikate Datei" #: src/FLTK/flgui.cpp:1588 msgid "Certificate file" msgstr "Zertifikate Datei" #: src/FLTK/flgui.cpp:1593 msgid "CA Certificate Directory:" msgstr "CA Zertifikate Ordner" #: src/FLTK/flgui.cpp:1594 msgid "Certificate directory" msgstr "Zertifikate Ordner" #: src/FLTK/flgui.cpp:1600 msgid "Select certificate directory" msgstr "Zertifikate Ordner" #: src/FLTK/flgui.cpp:1606 msgid "Select certificate file" msgstr "Zertifikatedatei" #: src/FLTK/flgui.cpp:1611 msgid "" "If your server uses a certificate from\n" "Let's Encrypt or another well known\n" "CA, you can leave these fields blank." msgstr "" "Wenn dein Server ein Zertifikat von\n" "Let's Encrypt oder einer anderen bekannten\n" "CA verwenden, kann dieses Feld leer gelassen\n" "werden." #: src/FLTK/flgui.cpp:1619 msgid "DSP" msgstr "DSP" #: src/FLTK/flgui.cpp:1621 msgid "Equalizer" msgstr "Equalizer" #: src/FLTK/flgui.cpp:1628 msgid "100Hz" msgstr "100Hz" #: src/FLTK/flgui.cpp:1644 msgid "350Hz" msgstr "350Hz" #: src/FLTK/flgui.cpp:1660 msgid "1kHz" msgstr "1kHz" #: src/FLTK/flgui.cpp:1676 msgid "3.5kHz" msgstr "3.5kHz" #: src/FLTK/flgui.cpp:1692 msgid "10kHz" msgstr "10kHz" #: src/FLTK/flgui.cpp:1708 src/FLTK/flgui.cpp:1712 src/FLTK/flgui.cpp:1716 #: src/FLTK/flgui.cpp:1720 src/FLTK/flgui.cpp:1724 src/FLTK/flgui.cpp:1806 #: src/FLTK/flgui.cpp:1810 src/FLTK/flgui.cpp:1814 src/FLTK/flgui.cpp:1818 #: src/FLTK/flgui.cpp:1843 msgid "+0.0" msgstr "+0.0" #: src/FLTK/flgui.cpp:1728 src/FLTK/flgui.cpp:1822 msgid "Reset" msgstr "Reset" #: src/FLTK/flgui.cpp:1734 msgid "Dynamic Range Compressor" msgstr "Dynamic Range Compressor" #: src/FLTK/flgui.cpp:1741 msgid "Threshold" msgstr "Threshold" #: src/FLTK/flgui.cpp:1756 msgid "Ratio" msgstr "Ratio" #: src/FLTK/flgui.cpp:1772 msgid "Attack" msgstr "Attack" #: src/FLTK/flgui.cpp:1789 msgid "Release" msgstr "Release" #: src/FLTK/flgui.cpp:1826 msgid "" "Makeup\n" "Gain" msgstr "" "Makeup\n" "Gain" #: src/FLTK/flgui.cpp:1851 msgid "GUI" msgstr "GUI" #: src/FLTK/flgui.cpp:1853 msgid "Display Color" msgstr "Anzeige Farbe" #: src/FLTK/flgui.cpp:1856 src/FLTK/flgui.cpp:1857 msgid "Select text color" msgstr "Textfarbe wählen" #: src/FLTK/flgui.cpp:1863 src/FLTK/flgui.cpp:1864 msgid "Select background color" msgstr "Hintergrundfarbe wählen" #: src/FLTK/flgui.cpp:1872 msgid "Misc" msgstr "Sonst." #: src/FLTK/flgui.cpp:1875 msgid "Attach settings window to main window" msgstr "Fenster an Hauptfenster anhaften" #: src/FLTK/flgui.cpp:1876 msgid "Attach this window to the butt window" msgstr "Fenster an Hauptfenster anhaften" #: src/FLTK/flgui.cpp:1880 src/FLTK/flgui.cpp:1881 src/FLTK/flgui.cpp:1891 #: src/FLTK/flgui.cpp:1896 msgid "Stay always on top" msgstr "Im Vordergrund bleiben" #: src/FLTK/flgui.cpp:1885 src/FLTK/flgui.cpp:1886 msgid "Change display mode every 5 seconds" msgstr "Anzeige alle 5 Sekunden ändern" #: src/FLTK/flgui.cpp:1890 msgid "Hide log window after start up" msgstr "Logfenster nach Start verbergen" #: src/FLTK/flgui.cpp:1895 msgid "Remember main window position" msgstr "Fensterposition merken" #: src/FLTK/flgui.cpp:1902 msgid "Language" msgstr "Sprache" #: src/FLTK/flgui.cpp:1921 msgid "Donate" msgstr "Spende" #: src/FLTK/flgui.cpp:1923 msgid "Donation" msgstr "Spenden" #: src/FLTK/flgui.cpp:1926 msgid "" "Keeping this software up to date, adding\n" "new features and answering support mails\n" "takes a lot of time and effort. If you can\n" "afford it, please consider supporting this\n" "project.\n" "\n" "Thank you!" msgstr "" "Es benötigt viel Zeit und Fleiß, diese\n" "Software aktuell zu halten und mit\n" "neuen Funktionen zu erweitern. Wenn Du\n" "es Dir erlauben kannst, würde ich mich\n" "sehr über eine Spende freuen.\n" "\n" "Danke!" #: src/FLTK/flgui.cpp:1931 msgid "&Donate via PayPal" msgstr "Mit PayPal spenden" #: src/FLTK/flgui.cpp:1935 msgid "Become a &patron" msgstr "Patron werden" #: src/FLTK/flgui.cpp:1950 src/FLTK/flgui.cpp:2024 msgid "Name:" msgstr "Name:" #: src/FLTK/flgui.cpp:1954 msgid "Address:" msgstr "Adresse:" #: src/FLTK/flgui.cpp:1958 msgid "Port:" msgstr "Port:" #: src/FLTK/flgui.cpp:1962 msgid "Password:" msgstr "Passwort" #: src/FLTK/flgui.cpp:1967 msgid "IceCast mountpoint:" msgstr "IceCast mountpoint:" #: src/FLTK/flgui.cpp:1971 msgid "IceCast user:" msgstr "IceCast Benutzer:" #: src/FLTK/flgui.cpp:1975 msgid "Type" msgstr "Typ" #: src/FLTK/flgui.cpp:1978 msgid "ShoutCast" msgstr "ShoutCast" #: src/FLTK/flgui.cpp:1983 msgid "IceCast" msgstr "IceCast" #: src/FLTK/flgui.cpp:1990 src/FLTK/flgui.cpp:2056 msgid "&Cancel" msgstr "Abbrechen" #: src/FLTK/flgui.cpp:1994 src/FLTK/flgui.cpp:2060 msgid "&ADD" msgstr "OK" #: src/FLTK/flgui.cpp:2002 src/FLTK/fl_callbacks.cpp:989 #: src/FLTK/fl_callbacks.cpp:1021 src/FLTK/fl_callbacks.cpp:1291 msgid "Show" msgstr "Zeigen" #: src/FLTK/flgui.cpp:2003 msgid "show/hide password" msgstr "Password anzeigen/verbergen" #: src/FLTK/flgui.cpp:2010 msgid "Use SSL/TLS" msgstr "SSL/TLS verwenden" #: src/FLTK/flgui.cpp:2013 msgid "Revoke certificate trust" msgstr "Vertrauen zurücksetzen" #: src/FLTK/flgui.cpp:2025 msgid "The name of your new ICY-entrie" msgstr "Name des neue ICY-Eintrags" #: src/FLTK/flgui.cpp:2029 msgid "Description:" msgstr "Beschreibung:" #: src/FLTK/flgui.cpp:2033 msgid "Genre:" msgstr "Genre:" #: src/FLTK/flgui.cpp:2037 msgid "URL:" msgstr "URL:" #: src/FLTK/flgui.cpp:2041 msgid "ICQ:" msgstr "ICQ:" #: src/FLTK/flgui.cpp:2045 msgid "IRC:" msgstr "IRC:" #: src/FLTK/flgui.cpp:2049 msgid "AIM:" msgstr "AIM:" #: src/FLTK/flgui.cpp:2053 msgid "Make server public" msgstr "Server publizieren" #: src/FLTK/fl_timer_funcs.cpp:125 #, c-format msgid "" "stream sent\n" "%0.2lfMB" msgstr "" "Stream gesendet\n" "%0.2lfMB" #: src/FLTK/fl_timer_funcs.cpp:132 #, c-format msgid "" "stream time\n" "%s" msgstr "" "Stream Zeit\n" "%s" #: src/FLTK/fl_timer_funcs.cpp:139 #, c-format msgid "" "record time\n" "%s" msgstr "" "Record Zeit\n" "%s" #: src/FLTK/fl_timer_funcs.cpp:146 #, c-format msgid "" "record size\n" "%0.2lfMB" msgstr "" "Record groesse\n" "%0.2lfMB" #: src/FLTK/fl_timer_funcs.cpp:196 msgid "" "ERROR: Connection lost\n" "reconnecting..." msgstr "" "FEHLER: Verbindung verloren\n" "Verbinde neu..." #: src/FLTK/fl_timer_funcs.cpp:264 msgid "" "Could not find a file extension in current filename\n" "Automatic file splitting is deactivated" msgstr "" "Der Aufnahmedateiname hat keine Dateiendung\n" "Automatische Dateiaufteilung wird deaktiviert" #: src/FLTK/fl_timer_funcs.cpp:302 msgid "" "Could not find a valid filename for next file\n" "butt keeps recording to current file" msgstr "" "Konnte keinen gültigen Dateinahmen für die nächste Datei erstellen\n" "butt wird die Aufnahme in der aktuellen Datei fortführen" #: src/FLTK/fl_timer_funcs.cpp:313 src/FLTK/fl_callbacks.cpp:868 #, c-format msgid "" "Could not open:\n" "%s" msgstr "" "Konnte Datei nicht öffnen:\n" "%s" #: src/FLTK/fl_timer_funcs.cpp:318 msgid "Recording to:" msgstr "Aufnahmedatei: " #: src/FLTK/fl_timer_funcs.cpp:480 #, c-format msgid "" "Warning\n" "Could not open: %s.\n" "Will retry in 5 seconds" msgstr "" "Warnung\n" "Konnte Datei nicht öffnen: %s.\n" "Versuche in 5 Sekunden erneut" #: src/FLTK/fl_callbacks.cpp:119 msgid "connecting" msgstr "Verbinde " #: src/FLTK/fl_callbacks.cpp:155 msgid "" "Error: No server entry found.\n" "Please add a server in the settings-window." msgstr "" "Fehler: Kein Servereintrag gefunden.\n" "Bitte füge einen Server in den Einstellungen hinzu." #: src/FLTK/fl_callbacks.cpp:161 msgid "" "Error: ogg vorbis encoder doesn't support bitrates\n" "lower than 48kbit" msgstr "" "Fehler: Der ogg vorbis encoder erlaubt keine Bitraten\n" "kleiner als 48kbit" #: src/FLTK/fl_callbacks.cpp:170 #, c-format msgid "Warning: %s is not supported by every ShoutCast version" msgstr "Warnung: %s wird nicht von jeder ShoutCast version unterstützt" #: src/FLTK/fl_callbacks.cpp:175 msgid "Error: FLAC is not supported by ShoutCast" msgstr "Fehler: FLAC wird von ShoutCast nicht unterstützt" #: src/FLTK/fl_callbacks.cpp:182 #, c-format msgid "Connecting to %s:%u (%u) ..." msgstr "Verbinde mit %s:%u (%u) ..." #: src/FLTK/fl_callbacks.cpp:187 #, c-format msgid "Connecting to %s:%u ..." msgstr "Verbinde mit %s:%u ..." #: src/FLTK/fl_callbacks.cpp:240 msgid "Connection established" msgstr "Verbindung hergestellt" #: src/FLTK/fl_callbacks.cpp:261 src/FLTK/fl_callbacks.cpp:3364 #: src/FLTK/fl_callbacks.cpp:3368 msgid "no" msgstr "nein" #: src/FLTK/fl_callbacks.cpp:261 src/FLTK/fl_callbacks.cpp:3364 #: src/FLTK/fl_callbacks.cpp:3368 msgid "yes" msgstr "ja" #: src/FLTK/fl_callbacks.cpp:328 #, c-format msgid "Connected to: %s" msgstr "Verbunden mit: %s" #: src/FLTK/fl_callbacks.cpp:376 src/FLTK/fl_callbacks.cpp:1326 msgid "" "No mountpoint specified\n" "Setting mountpoint to \"stream\"" msgstr "" "Kein Mountpoint angegeben\n" "Nutze Mountpoint \"stream\"" #: src/FLTK/fl_callbacks.cpp:381 src/FLTK/fl_callbacks.cpp:1331 msgid "" "No user specified\n" "Setting user to \"source\"" msgstr "" "Kein Benutzer angegeben\n" "Nutze Benutzer \"source\"" #: src/FLTK/fl_callbacks.cpp:386 src/FLTK/fl_callbacks.cpp:1336 #: src/FLTK/fl_callbacks.cpp:1486 src/FLTK/fl_callbacks.cpp:2156 msgid "No name specified" msgstr "Kein Name angegeben" #: src/FLTK/fl_callbacks.cpp:393 src/FLTK/fl_callbacks.cpp:1343 msgid "" "The number of characters of all your server names exeeds 1000\n" "Please reduce the number of characters of each server name" msgstr "" "Der Name des Servers ist länger als 1000 Zeichen\n" "Bitte wähle einen kürzeren Namen" #: src/FLTK/fl_callbacks.cpp:400 src/FLTK/fl_callbacks.cpp:1350 #: src/FLTK/fl_callbacks.cpp:1500 src/FLTK/fl_callbacks.cpp:2171 msgid "No newline characters and ;/\\ are allowed in the name field" msgstr "Der Name darf keine neuen Zeilen und die Zeichen ;/\\ enthalten" #: src/FLTK/fl_callbacks.cpp:405 src/FLTK/fl_callbacks.cpp:1355 msgid "No address specified" msgstr "Keine Adresse angegeben" #: src/FLTK/fl_callbacks.cpp:410 src/FLTK/fl_callbacks.cpp:1360 msgid "No password specified" msgstr "Keine Password angegeben" #: src/FLTK/fl_callbacks.cpp:415 src/FLTK/fl_callbacks.cpp:1365 msgid "No port specified" msgstr "Kein Port angegeben" #: src/FLTK/fl_callbacks.cpp:421 src/FLTK/fl_callbacks.cpp:1371 msgid "" "Invalid port number\n" "The port number must be between 1 and 65535" msgstr "" "Ungültiger Port\n" "Der Port muss eine Zahl zwischen 1 und 65535 sein" #: src/FLTK/fl_callbacks.cpp:431 src/FLTK/fl_callbacks.cpp:1382 #: src/FLTK/fl_callbacks.cpp:2181 msgid "Server name already exist!" msgstr "Der Servername existiert bereits!" #: src/FLTK/fl_callbacks.cpp:697 msgid "stop recording?" msgstr "Aufnahme beenden?" #: src/FLTK/fl_callbacks.cpp:697 src/FLTK/fl_funcs.cpp:600 msgid "No" msgstr "Nein" #: src/FLTK/fl_callbacks.cpp:697 msgid "Yes" msgstr "Ja" #: src/FLTK/fl_callbacks.cpp:756 msgid "No recording filename specified" msgstr "Keine Aufnahmedatei spezifiziert" #: src/FLTK/fl_callbacks.cpp:821 msgid "Could not find a valid filename" msgstr "Konnte keinen gültigen Dateinamen finden" #: src/FLTK/fl_callbacks.cpp:832 #, c-format msgid "%s already exists!" msgstr "%s existiert bereits!" #: src/FLTK/fl_callbacks.cpp:833 msgid "cancel" msgstr "Abbrechen" #: src/FLTK/fl_callbacks.cpp:833 msgid "overwrite" msgstr "Überschreiben" #: src/FLTK/fl_callbacks.cpp:833 msgid "append" msgstr "Anhängen" #: src/FLTK/fl_callbacks.cpp:939 src/FLTK/fl_funcs.cpp:490 msgid "Hide log" msgstr "Log verbergen" #: src/FLTK/fl_callbacks.cpp:978 msgid "Add Server" msgstr "Neuer Server" #: src/FLTK/fl_callbacks.cpp:1008 msgid "Edit Server" msgstr "Server editieren" #: src/FLTK/fl_callbacks.cpp:1070 msgid "Add Server Infos" msgstr "Neue Server Infos" #: src/FLTK/fl_callbacks.cpp:1138 #, c-format msgid "" "Updated songname to:\n" "%s\n" msgstr "" "Neuer Songname:\n" "%s\n" #: src/FLTK/fl_callbacks.cpp:1144 msgid "Updating songname failed" msgstr "Aktualisierung des Songnamens ist fehlgeschlagen" #: src/FLTK/fl_callbacks.cpp:1221 #, c-format msgid "Audio buffer has been set to %d ms" msgstr "Audio Puffer wurde auf %d ms gesetzt" #: src/FLTK/fl_callbacks.cpp:1285 msgid "Hide" msgstr "Ausbl." #: src/FLTK/fl_callbacks.cpp:1308 msgid "Could not revoke trust for certificate" msgstr "Konnte Vertrauen für Zertifikat nicht zurückziehen" #: src/FLTK/fl_callbacks.cpp:1493 msgid "" "The number of characters of all your icy names exeeds 1000\n" "Please reduce the count of characters of each icy name" msgstr "" "Der ICY Namen ist länger als 1000 Zeichen\n" "Bitte wähle einen kürzeren Namen" #: src/FLTK/fl_callbacks.cpp:1511 msgid "Icy name already exist!" msgstr "ICY Name existiert bereits" #: src/FLTK/fl_callbacks.cpp:1646 src/FLTK/fl_callbacks.cpp:1661 #: src/FLTK/fl_callbacks.cpp:1677 src/FLTK/fl_callbacks.cpp:1694 #: src/FLTK/fl_callbacks.cpp:1841 src/FLTK/fl_callbacks.cpp:1856 #: src/FLTK/fl_callbacks.cpp:1872 src/FLTK/fl_callbacks.cpp:1889 #: src/FLTK/fl_callbacks.cpp:1906 msgid "" "Warning:\n" "The stream Sample-/Bitrate combination is invalid" msgstr "" "Warnung:\n" "Ungültige stream Sample-/Bitrate Kombination" #: src/FLTK/fl_callbacks.cpp:1652 src/FLTK/fl_callbacks.cpp:1667 #: src/FLTK/fl_callbacks.cpp:1683 src/FLTK/fl_callbacks.cpp:1700 msgid "The previous values have been set\n" msgstr "Die vorherigen Werte werden verwenden\n" #: src/FLTK/fl_callbacks.cpp:1707 #, c-format msgid "Stream bitrate set to: %dk" msgstr "Stream Bitrate geändert: %dk" #: src/FLTK/fl_callbacks.cpp:1741 src/FLTK/fl_callbacks.cpp:1756 #: src/FLTK/fl_callbacks.cpp:1772 src/FLTK/fl_callbacks.cpp:1789 #: src/FLTK/fl_callbacks.cpp:1931 src/FLTK/fl_callbacks.cpp:1949 #: src/FLTK/fl_callbacks.cpp:1967 src/FLTK/fl_callbacks.cpp:1986 #: src/FLTK/fl_callbacks.cpp:2004 msgid "" "Warning:\n" "The record Sample-/Bitrate combination is invalid" msgstr "" "Warnung:\n" "Ungültige Aufnahme Sample-/Bitrate Kombination" #: src/FLTK/fl_callbacks.cpp:1747 src/FLTK/fl_callbacks.cpp:1762 #: src/FLTK/fl_callbacks.cpp:1778 src/FLTK/fl_callbacks.cpp:1795 #: src/FLTK/fl_callbacks.cpp:1847 src/FLTK/fl_callbacks.cpp:1862 #: src/FLTK/fl_callbacks.cpp:1878 src/FLTK/fl_callbacks.cpp:1895 #: src/FLTK/fl_callbacks.cpp:1912 src/FLTK/fl_callbacks.cpp:1939 #: src/FLTK/fl_callbacks.cpp:1957 src/FLTK/fl_callbacks.cpp:1975 #: src/FLTK/fl_callbacks.cpp:1994 src/FLTK/fl_callbacks.cpp:2010 msgid "The previous values have been set" msgstr "Die vorherigen Werte werden verwenden" #: src/FLTK/fl_callbacks.cpp:1801 #, c-format msgid "Record bitrate set to: %dk" msgstr "Neue Aufnahme Bitrate: %dk" #: src/FLTK/fl_callbacks.cpp:2020 #, c-format msgid "Samplerate set to: %dHz" msgstr "Neue Samplerate: %dHz" #: src/FLTK/fl_callbacks.cpp:2080 msgid "Channels set to: stereo" msgstr "Verwende stereo" #: src/FLTK/fl_callbacks.cpp:2134 msgid "Channels set to: mono" msgstr "Verwende mono" #: src/FLTK/fl_callbacks.cpp:2164 msgid "" "The number of characters of all your icy names exeeds 1000\n" "Please reduce the number of characters of each icy name" msgstr "" "Der ICY Namen ist länger als 1000 Zeichen\n" "Bitte wähle einen kürzeren Namen" #: src/FLTK/fl_callbacks.cpp:2277 msgid "Edit Server Infos" msgstr "Server Infos Editieren" #: src/FLTK/fl_callbacks.cpp:2325 src/FLTK/fl_callbacks.cpp:2464 msgid "" "MP3 encoder doesn't support current\n" "Sample-/Bitrate combination" msgstr "" "MP3 encoder unterstützt die aktuelle\n" "Sample-/Bitrate Kombination nicht" #: src/FLTK/fl_callbacks.cpp:2340 msgid "Stream codec set to mp3" msgstr "Stream Codec nach mp3 geändert" #: src/FLTK/fl_callbacks.cpp:2349 src/FLTK/fl_callbacks.cpp:2496 msgid "" "OGG Vorbis encoder doesn't support current\n" "Sample-/Bitrate combination" msgstr "" "OGG Vorbis encoder unterstützt die aktuelle\n" "Sample-/Bitrate Kombination nicht" #: src/FLTK/fl_callbacks.cpp:2364 msgid "Stream codec set to ogg/vorbis" msgstr "Stream Codec nach ogg/vorbis geändert" #: src/FLTK/fl_callbacks.cpp:2373 src/FLTK/fl_callbacks.cpp:2527 msgid "" "Opus encoder doesn't support current\n" "Sample-/Bitrate combination" msgstr "" "Opus encoder unterstützt die aktuelle\n" "Sample-/Bitrate Kombination nicht" #: src/FLTK/fl_callbacks.cpp:2388 msgid "Stream codec set to opus" msgstr "Stream Codec nach opus geändert" #: src/FLTK/fl_callbacks.cpp:2399 src/FLTK/fl_callbacks.cpp:2560 msgid "" "Could not find aac library.\n" "Please follow the instructions in the manual for adding aac support." msgstr "" "Konnte die AAC Bibliothek nicht finden.\n" "Bitte folge den Schritten im Handbuch, um die AAC Unterstützung zu " "aktivieren." #: src/FLTK/fl_callbacks.cpp:2413 src/FLTK/fl_callbacks.cpp:2574 msgid "" "AAC encoder doesn't support current\n" "Sample-/Bitrate combination" msgstr "" "AAC encoder unterstützt die aktuelle\n" "Sample-/Bitrate Kombination nicht" #: src/FLTK/fl_callbacks.cpp:2428 msgid "Stream codec set to aac" msgstr "Stream Codec nach AAC geändert" #: src/FLTK/fl_callbacks.cpp:2440 src/FLTK/fl_callbacks.cpp:2610 msgid "ERROR: While initializing flac settings" msgstr "FEHLER: Beim Initialisieren der FLAC Einstellungen" #: src/FLTK/fl_callbacks.cpp:2454 msgid "Stream codec set to flac" msgstr "Stream Codec nach FLAC geändert" #: src/FLTK/fl_callbacks.cpp:2487 msgid "Record codec set to mp3" msgstr "Aufnahme Codec nach mp3 geändert" #: src/FLTK/fl_callbacks.cpp:2518 msgid "Record codec set to ogg/vorbis" msgstr "Aufnahme Codec nach ogg/vorbis geändert" #: src/FLTK/fl_callbacks.cpp:2550 msgid "Record codec set to opus" msgstr "Aufnahme Codec nach opus geändert" #: src/FLTK/fl_callbacks.cpp:2597 msgid "Record codec set to aac" msgstr "Aufnahme Codec nach ACC geändert" #: src/FLTK/fl_callbacks.cpp:2631 msgid "Record codec set to flac" msgstr "Aufnahme Codec nach FLAC geändert" #: src/FLTK/fl_callbacks.cpp:2647 msgid "Record codec set to wav" msgstr "Aufnahme Codec nach wav geändert" #: src/FLTK/fl_callbacks.cpp:2683 msgid "Select certificate file..." msgstr "Zertifikat auswählen..." #: src/FLTK/fl_callbacks.cpp:2688 src/FLTK/fl_callbacks.cpp:2710 #: src/FLTK/fl_callbacks.cpp:2805 src/FLTK/fl_callbacks.cpp:2887 #: src/FLTK/fl_callbacks.cpp:3242 src/FLTK/fl_callbacks.cpp:3265 #: src/FLTK/fl_callbacks.cpp:3344 #, c-format msgid "ERROR: %s" msgstr "FEHLER: %s" #: src/FLTK/fl_callbacks.cpp:2701 msgid "Select certificate directory..." msgstr "Zertifikate Ordner auswählen..." #: src/FLTK/fl_callbacks.cpp:2796 msgid "Record to..." msgstr "Aufnehmen nach..." #: src/FLTK/fl_callbacks.cpp:2883 msgid "Select Songfile" msgstr "Songdatei wählen" #: src/FLTK/fl_callbacks.cpp:2990 msgid "select background color" msgstr "Hintergrundfarbe wählen" #: src/FLTK/fl_callbacks.cpp:3012 msgid "select text color" msgstr "Textfarbe wählen" #: src/FLTK/fl_callbacks.cpp:3036 msgid "Please restart butt to apply new language." msgstr "Bitte starte butt neu, um die neue Sprache zu laden." #: src/FLTK/fl_callbacks.cpp:3091 src/FLTK/fl_callbacks.cpp:3097 #: src/FLTK/fl_callbacks.cpp:3108 src/FLTK/fl_callbacks.cpp:3114 msgid "Value must be a number between -90.0 and 0" msgstr "Bitte eine Zahl zwischen -90 und 0 eingeben" #: src/FLTK/fl_callbacks.cpp:3235 msgid "Export to..." msgstr "Expotieren nach..." #: src/FLTK/fl_callbacks.cpp:3277 #, c-format msgid "Could not import config %s" msgstr "Konnte Konfiguration nicht importieren %s" #: src/FLTK/fl_callbacks.cpp:3287 #, c-format msgid "Config imported %s" msgstr "Konfiguration importiert %s" #: src/FLTK/fl_callbacks.cpp:3316 msgid "" "Could not get update information.\n" "Reason: Network error" msgstr "" "Konnte aktuelle Version nicht empfangen.\n" "Grund: Netzwerkfehler" #: src/FLTK/fl_callbacks.cpp:3319 msgid "" "Could not get update information.\n" "Reason: Unknown answer from server" msgstr "" "Konnte aktuelle Version nicht empfangen.\n" "Grund: Ungültige Antwort von Server" #: src/FLTK/fl_callbacks.cpp:3322 msgid "You have the latest version!" msgstr "Du hast die aktuellste Version!" #: src/FLTK/fl_callbacks.cpp:3325 msgid "" "Could not get update information.\n" "Reason: Unknown" msgstr "" "Konnte aktuelle Version nicht empfangen.\n" "Grund: Unbekannt" #: src/FLTK/fl_callbacks.cpp:3338 msgid "Select logfile..." msgstr "Logdatei wählen..." #: src/FLTK/fl_callbacks.cpp:3362 msgid "" "butt is currently streaming.\n" "Do you really want to close butt now?" msgstr "" "butt ist gerade mit einem Server verbunden.\n" "Soll butt wirklich geschlossen werden?" #: src/FLTK/fl_callbacks.cpp:3366 msgid "" "butt is currently recording.\n" "Do you really want to close butt now?" msgstr "" "butt nimmt gerade auf.\n" "Soll butt wirklich geschlossen werden?" #: src/FLTK/fl_funcs.cpp:176 msgid "Not supported on Windows" msgstr "Wird nicht unterstüzt" #: src/FLTK/fl_funcs.cpp:600 msgid "TRUST" msgstr "VERTRAUE" #: src/icecast.cpp:84 msgid "" "\n" "connect: Could not create network socket" msgstr "" "\n" "connect: Netzwerk socket konnte nicht erstellt werden" #: src/icecast.cpp:95 msgid "" "\n" "connect: Error resolving server address" msgstr "" "\n" "connect: Konnte Servernamen nicht auflösen" #: src/icecast.cpp:134 msgid "" "\n" "connect: SSL connection timed out. Trying again..." msgstr "" "\n" "connect: Zeitüberschreitung der SSL-Verbindung . Versuche erneut..." #: src/icecast.cpp:143 #, c-format msgid "" "SSL/TLS certificate verification failed\n" "Reason: %s\n" "\n" "Do you still want to trust this certificate?\n" "Trusting will be permanent and can be revoked\n" "in the server settings." msgstr "" "SSL/TLS Zertfikat ist ungültig\n" "Grund: %s\n" "\n" "Möchtest Du dem Zertifikat dennoch vertrauen?\n" "Das Vertrauen kann zu einem späteren Zeitpunkt\n" "in den Servereinstellungen zurückgezogen werden." #: src/icecast.cpp:158 #, c-format msgid "" "\n" "connect: SSL connection failed\n" "Reason: %s" msgstr "" "\n" "connect: SSL Verbindung fehlgeschlagen\n" "Grund: %s" #: src/icecast.cpp:278 msgid "" "\n" "connect: connection timed out. Trying again..." msgstr "" "\n" "connect: Zeitüberschreitung. Versuche erneut..." #: src/icecast.cpp:325 msgid "" "\n" "connect: invalid user/password!\n" msgstr "" "\n" "connect: Falscher Benutzername oder Passwort\n" #: src/icecast.cpp:347 msgid "" "\n" "connect: server answered with 404!\n" msgstr "" "\n" "connect: Server hat mit 404 geantwortet. Falscher mountpoint?\n" #: src/icecast.cpp:355 #, c-format msgid "" "\n" "connect: server answered with %d!\n" msgstr "" "\n" "connect: Server hat mit %d geantwortet\n" #: src/icecast.cpp:380 msgid "" "\n" "ERROR: Opus is not supported by your\n" "Icecast server (>=1.4.0 required)!\n" msgstr "" "\n" "FEHLER: Opus wird von Deinem Icecast server\n" "nicht unterstützt (>=1.4.0 wird benötigt)!\n" #: src/icecast.cpp:456 msgid "" "\n" "update_song: could not create network socket" msgstr "" "\n" "update_song: Konnte Netzwerk socket nicht erstellen" #: src/icecast.cpp:460 msgid "" "\n" "update_song: error resolving server address" msgstr "" "\n" "update_song: Konnte Servernamen nicht auflösen" #: src/lame_encode.cpp:40 #, c-format msgid "unable to init lame params %d" msgstr "Lame Parameter konnten nicht initialisiert werden %d" #: src/port_audio.cpp:93 #, c-format msgid "" "PortAudio init failed:\n" "%s\n" msgstr "" "PortAudio Initialisierung fehlgeschlagen:\n" "%s\n" #: src/port_audio.cpp:132 msgid "ERROR: no sound device with input channels found" msgstr "FEHLER: Konnte kein Aufnahmegerät finden" #: src/port_audio.cpp:149 src/port_audio.cpp:770 #, c-format msgid "Error getting device Info (%d)" msgstr "Fehler beim Einholen der Geräteinfos (%d)" #: src/port_audio.cpp:187 #, c-format msgid "" "Samplerate not supported: %dHz\n" "Using default samplerate: %dHz" msgstr "" "Samplerate nicht unterstsützt: %dHz\n" "Nutze Samplerate: %dHz" #: src/port_audio.cpp:207 #, c-format msgid "PA: Format not supported: %s\n" msgstr "PA: Format wird nicht unterstützt: %s\n" #: src/port_audio.cpp:219 #, c-format msgid "" "error opening sound device: \n" "%s\n" msgstr "" "Fehler beim öffnen des Audiogerätes: \n" "%s\n" #: src/port_audio.cpp:497 msgid "disconnected\n" msgstr "Verbindung getrennt\n" #: src/port_audio.cpp:514 msgid "recording to:" msgstr "Nehme auf nach:" #: src/port_audio.cpp:529 msgid "recording stopped" msgstr "Aufnahme gestoppt" #: src/port_audio.cpp:750 src/port_audio.cpp:751 msgid "Default PCM device (default)" msgstr "Default PCM device (default)" #: src/port_audio.cpp:855 src/port_audio.cpp:871 msgid "ERROR: Could not initialize samplerate converter" msgstr "FEHLER: Konnte Sampleratenkonverter nicht initialisieren" #: src/shoutcast.cpp:78 msgid "" "\n" "Connect: Could not create network socket" msgstr "" "\n" "Connect: Netzwerk Socket konnte nicht erstellen werden" #: src/shoutcast.cpp:89 msgid "" "\n" "Connect: Error resolving server address" msgstr "" "\n" "Connect: Fehler beim Auflösen des Servernamens" #: src/shoutcast.cpp:164 msgid "" "\n" "connect: connection timed out. Trying again...\n" msgstr "" "\n" "connect: Zeitüberschreitung. Versuche erneut...\n" #: src/shoutcast.cpp:179 msgid "" "\n" "Connect: Invalid password!\n" msgstr "" "\n" "Connect: Falsches Passwort\n" #: src/shoutcast.cpp:226 msgid "" "\n" "Update song: Could not create network socket" msgstr "" "\n" "Update song: Netzwerk Socket konnte nicht erstellt werden" #: src/shoutcast.cpp:230 msgid "" "\n" "Update song: Error resolving server address" msgstr "" "\n" "Update song: Fehler beim Auflösung des Servernamens" #: src/tls.cpp:156 msgid "check_host: could not read host name from cert" msgstr "check_host: Zertifikat enthält keinen Hostnamen" #: src/tls.cpp:189 msgid "check_cert: No peer certificate available" msgstr "check_cert: Kein peer Zertifikat vorhanden" #: src/tls.cpp:204 msgid "check_cert: X509_check_host failed" msgstr "check_cert: X509_check_host fehlgeschlagen" #: src/tls.cpp:211 msgid "check_cert: check_host failed" msgstr "check_ert: check_host fehlgeschlagen" #: src/tls.cpp:228 msgid "calc_cert_hash: No peer certificate available" msgstr "calc_cert_hash: Kein peer Zertifikat vorhanden" #: src/tls.cpp:236 msgid "calc_cert_hash: Hash calculation failed" msgstr "calc_cert_hash: Konnte Hash nicht berechnen" #: src/tls.cpp:308 msgid "tls_setup: Could not set cipher list" msgstr "tls_setup: Konnte cipher Liste nicht setzen" #: src/tls.cpp:322 msgid "tls_setup: SSL_new failed" msgstr "tls_setup: SSL_new fehlgeschlagen" #: src/tls.cpp:330 msgid "tls_setup: Could not bind socket to SSL" msgstr "tls_setup: Konnte socket nicht an SSL binden" #: src/tls.cpp:347 msgid "tls_setup: SSL_connect read timeout" msgstr "tls_setup: SSL_connect Zeitüberschreitung beim Lesen" #: src/tls.cpp:354 msgid "tls_setup: SSL_connect write timeout" msgstr "tls_setup: SSL_connect Zeitüberschreitung beim Schreiben" #: src/tls.cpp:371 msgid "tls_setup: Cert hash could not be calculated" msgstr "tls_setup: Es konnte kein Hashwert für das Zertifikat berechnet werden" #: src/tls.cpp:397 msgid "tls_send: read timeout" msgstr "tls_send: Zeitüberschreitung beim Lesen" #: src/tls.cpp:405 msgid "tls_send: write timeout" msgstr "tls_send: Zeitüberschreitung beim Schreiben" #: src/tls.cpp:434 msgid "tls_recv: read timeout" msgstr "tls_recv: Zeitüberschreitung beim Lesen" #: src/tls.cpp:442 msgid "tls_recv: write timeout" msgstr "tls_recv: Zeitüberschreitung beim Schreiben" #~ msgid "hello\n" #~ msgstr "HAllo\n" #~ msgid "More @2<" #~ msgstr "Mehr @2<" butt-0.1.26/po/quot.sed0000664000175000017500000000023113751456251011611 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g butt-0.1.26/po/LINGUAS0000664000175000017500000000000313751456251011146 00000000000000de butt-0.1.26/po/de.gmo0000664000175000017500000007517513770656734011254 00000000000000d< \)(,II- , ) ((!*Q!3|!/!0!!"#3"$W"-|",""""" ######)#/#4#;# A# K#U#?Y####(# ## ## $ $% $%F$l$s$ y$"$$$ $$$$%%#+%/O% %%%%%#% &&&7&J& _&.m&&&&&&-'5>'[t''R'`C((7(1(D()m))&))))))*,* ?*L* d*r*y*** *&*0*'+0*+ [+g+y++ ++)+I+D<, , ,,),,,,,,- --3-8-=-E- Y-g-B-p-?3.Es. . .?.$//// /?0F0K0_0 r0~000-000*0 16$1[1;m1111*12F52|2 2@22 2* 3430:3k333333333 4%4>4V4u444 4 4 4445552585@5 5=506 H6V6f6~6666,6707I7Y7k777777$78$848O8d8 m8w8|8 888 8 888 9!*9L9mi999 :(: /:<:W:o::::: :; ;;;%;qE;r;x*<!<"< <<<!<=9=S=l=t= =*=3=:=:3>7n>3>>>>$?B'?Bj?? N@'\@-@@)@"@A.$ASA+eA AAA A AYAY?B]BNBRFCQCRC[>D^DZDVTEZEF FF!F)F ,F#6FZFoF~F FFFFFFGG/GDGTGiGxGGGG,G'H$+H#PH$tHHHHTH7*J0bJJZJ K:L5:M6pM,M1MEN1LN2~N.N(N? O4IO0~OOO OO OOOOPPPPP P *P4PG8PPP P2P PP PPQ Q Q 9QZQaQ gQ$tQ QQ QQQ QQRR+5R aR lRzRRR*RRRR S!(S JS%XS~SSSSS0SU(TY~T)TUwU+U>&V9eVMV)VW46W kWWWWWWW WW XXX&X?X DX+OX8{X2X)XY"Y9YJY `Y*jY2YYYH"ZkZ ~ZZZZZ ZZZZ [[0[5[:[B[V[h[b[[Ij\]\] ,]B6]y];^C^I^ R^G`^^^^ ^^^^6_9_>_7V_ _3__>_6`O` c`/``N`a"aH@a'aa4aaKa-Abobxb~bbbbbb!b"c!;c(]c"c!c ccccd d#d5d;dSdZdbd e;)eee{eeee eeef4fJf]fnfffffff#g,g3g!Hgjg g gg ggggg ggh 7hXhwhohii;iZi ainii ii&i j5j PjZjbj}jjjMjMjTAk%k&k kkk"kl6lNlbl0qll+lEl8&m6_m?m8mnn 2n&xWx(fx,x(x,xGy,Zy+y5y9y!#z4Ezzz. SCoFX!xl&A>*0=X@ w1"d,P#^}(S)%` c)9T+V>aGU9_4;CO |/E ^Oqbm]#BI28WKp/MER1 8Z3\IUs(dJP&'.! V_i0F {=~BJ TtQL-%:WL$?bQ HA'6jN<M7Da7[Rv5-gKh63ZY`:Y\+fG*D?Ne[H254;zu< ]n" r,c@ky$ Connect: Could not create network socket Connect: Error resolving server address Connect: Invalid password! ERROR: Opus is not supported by your Icecast server (>=1.4.0 required)! Options for operating mode -c Path to configuration file -A Command server will be accessible from your network/internet (default: localhost only) -x Do not start a command server -p Port where the command server shall listen to (default: 1256) Options for control mode: -s Connect to streaming server -d Disconnect from streaming server -r Start recording -t Stop recording -S Request status -a Address of the butt instance to be controlled (default: 127.0.0.1) -p Port of the butt instance to be controlled (default: 1256) Update song: Could not create network socket Update song: Error resolving server address connect: Could not create network socket connect: Error resolving server address connect: SSL connection failed Reason: %s connect: SSL connection timed out. Trying again... connect: connection timed out. Trying again... connect: connection timed out. Trying again... connect: invalid user/password! connect: server answered with %d! connect: server answered with 404! update_song: could not create network socket update_song: error resolving server address%s already exists!&ADD&Cancel&Donate via PayPal&Save+0.0+24 dB-24 dB100Hz10kHz1kHz3.5kHz350Hz@-3circle@-3square@> AAC encoder doesn't support current Sample-/Bitrate combinationADDAIM:ActivateActivate auto update song name from fileAdd ServerAdd Server InfosAdd serverAdd stream infoAddress:Advanced...Attach settings window to main windowAttach this window to the butt windowAttackAudioAudio DeviceAudio buffer has been set to %d msBecome a &patronBitrateBuffer (ms)CA Certificate Directory:CA Certificate File:CancelCertificate directoryCertificate fileChange display mode every 5 secondsChanges the song through an running applicationChannel modeChannels set to: monoChannels set to: stereoCheck at startupCheck for updates at startCheck if a new version is availableCheck nowCodecCommand line parsing failed Config imported %sConfig written to %sConfigurationConnect automatically to a server after launchConnected to: %sConnecting to %s:%u (%u) ...Connecting to %s:%u ...Connection establishedConvert Mono to StereoCopies a mono channel to both stereo channelsCould not create config %s butt is going to close nowCould not find a file extension in current filename Automatic file splitting is deactivatedCould not find a valid filenameCould not find a valid filename for next file butt keeps recording to current fileCould not find aac library. Please follow the instructions in the manual for adding aac support.Could not find config %s Could not get update information. Reason: Network errorCould not get update information. Reason: UnknownCould not get update information. Reason: Unknown answer from serverCould not import config %sCould not open: %sCould not revoke trust for certificateCould not write to file: %sCurrent song nameDELDSPDefault PCM device (default)Delete selected serverDelete stream infoDescription:Directory of recordingsDisplay ColorDonateDonationDynamic Range CompressorEDITERROR: %sERROR: Connection lost reconnecting...ERROR: Could not initialize samplerate converterERROR: While initializing flac settingsERROR: no sound device with input channels foundEdit ServerEdit Server InfosEdit selected serverEdit stream infoEqualizerError getting device Info (%d)Error: FLAC is not supported by ShoutCastError: No server entry found. Please add a server in the settings-window.Error: ogg vorbis encoder doesn't support bitrates lower than 48kbitExport to...Export...Extend song nameFilename that holds the current song nameForce reconnectingGUIGainGenre:Get new versionHideHide logHide log window after start upICQ:IRC:IceCastIceCast mountpoint:IceCast user:Icy name already exist!If enabled butt keeps reconnecting regardless of the error messageIf your server uses a certificate from Let's Encrypt or another well known CA, you can leave these fields blank.Illegal argument: Port must be a number between 1023 and 65535 Illegal option -%c. Type butt -h to get a list of supported options. Import settings from config fileImport...Invalid port number The port number must be between 1 and 65535Keeping this software up to date, adding new features and answering support mails takes a lot of time and effort. If you can afford it, please consider supporting this project. Thank you!LanguageLeftLog FileLog file pathMP3 encoder doesn't support current Sample-/Bitrate combinationMainMain Audio SettingsMake server publicMakeup GainMicrophone accessMiscName:New version available: %s You have version %sNoNo address specifiedNo butt instance running on %s at port %d No home-directory foundNo mountpoint specified Setting mountpoint to "stream"No name specifiedNo newline characters and ;/\ are allowed in the name fieldNo password specifiedNo port specifiedNo recording filename specifiedNo user specified Setting user to "source"Not supported on WindowsOGG Vorbis encoder doesn't support current Sample-/Bitrate combinationOKOption -%c requires an argument Opus encoder doesn't support current Sample-/Bitrate combinationPA: Format not supported: %s Password:Please restart butt to apply new language.Port:PortAudio init failed butt is going to close nowPortAudio init failed: %s Prefix:RatioRead last line instead of firstReading config %s RecordRecord Directory:Record File Name:Record bitrate set to: %dkRecord codec set to aacRecord codec set to flacRecord codec set to mp3Record codec set to ogg/vorbisRecord codec set to opusRecord codec set to wavRecord file nameRecord to...RecordingRecording to:ReleaseRemember main window positionResample QualityResetRevoke certificate trustRightSSL/TLSSSL/TLS certificate verification failed Reason: %s Do you still want to trust this certificate? Trusting will be permanent and can be revoked in the server settings.SamplerateSamplerate not supported: %dHz Using default samplerate: %dHzSamplerate set to: %dHzSave settingsSelect SongfileSelect background colorSelect certificate directorySelect certificate directory...Select certificate fileSelect certificate file...Select file that holds the current song nameSelect input channelSelect input sample rateSelect log fileSelect logfile...Select recording bitrateSelect recording codecSelect recording directorySelect streaming bitrateSelect streaming codecSelect text colorSend current song name to the serverServerServer SettingsServer name already exist!Server to connect toSettingsShoutCastShowShow logSignal absentSignal detection levelsSignal presentSplit fileSplit nowStart if signal is present forStart recording after launchStart recording when connectedStart recording when disconnectedStart streaming after launchStarting %s Written by Daniel Nöthen iPhone/iPad client: https://izicast.de Donate: paypal@danielnoethen.de Stay always on topStop if signal is absent forStop recording when disconnectedStreamStream InfosStream bitrate set to: %dkStream codec set to aacStream codec set to flacStream codec set to mp3Stream codec set to ogg/vorbisStream codec set to opusStream info that shall be usedStreamingSuffix:Sync to full hourTLSTRUSTThe name of your new ICY-entrieThe number of characters of all your icy names exeeds 1000 Please reduce the count of characters of each icy nameThe number of characters of all your icy names exeeds 1000 Please reduce the number of characters of each icy nameThe number of characters of all your server names exeeds 1000 Please reduce the number of characters of each server nameThe previous values have been setThe previous values have been set ThresholdTypeURL:Update song name from applicationUpdate song name from fileUpdate song name manuallyUpdated songname to: %s UpdatesUpdating songname failedUse SSL/TLSValue must be a number between -90.0 and 0Warning Could not open: %s. Will retry in 5 secondsWarning: The record Sample-/Bitrate combination is invalidWarning: The stream Sample-/Bitrate combination is invalidWarning: %s is not supported by every ShoutCast versionWarning: could not start command server on port %d YesYou have the latest version!appendbutt created a default config at %s butt is currently recording. Do you really want to close butt now?butt is currently streaming. Do you really want to close butt now?butt needs access to your microphone Please go to System Preferences->Security & Privacy->Privacy->Microphone and activate the check mark next to the butt entrybutt settingscalc_cert_hash: Hash calculation failedcalc_cert_hash: No peer certificate availablecancelcheck_cert: No peer certificate availablecheck_cert: X509_check_host failedcheck_cert: check_host failedcheck_host: could not read host name from certconnect to serverconnected: %d connecting: %d recording: %d connectingdBdisconnect from serverdisconnected error opening sound device: %s error while parsing config. Illegal value (-1) for num_of_icy. butt is going to close nowerror while parsing config. Illegal value (-1) for num_of_srv. butt is going to close nowerror while parsing config. Missing address entry for server "%s". butt is going to close nowerror while parsing config. Missing main/icy entry. butt is going to close nowerror while parsing config. Missing main/icy_ent entry. butt is going to close nowerror while parsing config. Missing main/server entry. butt is going to close nowerror while parsing config. Missing main/srv_ent entry. butt is going to close nowerror while parsing config. Missing mount entry for server "%s". butt is going to close nowerror while parsing config. Missing password entry for server "%s". butt is going to close nowerror while parsing config. Missing port entry for server "%s". butt is going to close nowerror while parsing config. Missing pub entry for icy "%s". butt is going to close nowerror while parsing config. Missing type entry for server "%s". butt is going to close noweveryexport settingsidleminutesnooverwritepress left mouse to toggle lcd inforecord size %0.2lfMBrecord time %srecording stoppedrecording to:secondsselect background colorselect text colorselect your sound card deviceshow/hide config windowshow/hide info windowshow/hide passwordstart/stop recordingstop recording?stream sent %0.2lfMBstream time %stls_recv: read timeouttls_recv: write timeouttls_send: read timeouttls_send: write timeouttls_setup: Cert hash could not be calculatedtls_setup: Could not bind socket to SSLtls_setup: Could not set cipher listtls_setup: SSL_connect read timeouttls_setup: SSL_connect write timeouttls_setup: SSL_new failedunable to init lame params %dyesProject-Id-Version: butt 0.1.25 Report-Msgid-Bugs-To: butt@danielnoethen.de PO-Revision-Date: 2020-11-02 11:09+0100 Last-Translator: Daniel Nöthen Language-Team: German Language: de MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); Connect: Netzwerk Socket konnte nicht erstellen werden Connect: Fehler beim Auflösen des Servernamens Connect: Falsches Passwort FEHLER: Opus wird von Deinem Icecast server nicht unterstützt (>=1.4.0 wird benötigt)! Optionen für den operativen Modus -c Pfad zur Konfigurationsdatei -A Komandos können über das Netzwerk/Internet empfangen werden (default: nur von localhost) -x Keinen Kommando Server starten -p Port des Kommando Servers (default: 1256) Optionen für den Steuerungsmodus: -s Mit streaming server verbinden -d Von streaming server trennen -r Aufnahme starten -t Aufnahme beenden -S Status abrufen -a Adresse des Kommando Servers (default: 127.0.0.1) -p Port des Kommando Servers (default: 1256) Update song: Netzwerk Socket konnte nicht erstellt werden Update song: Fehler beim Auflösung des Servernamens connect: Netzwerk socket konnte nicht erstellt werden connect: Konnte Servernamen nicht auflösen connect: SSL Verbindung fehlgeschlagen Grund: %s connect: Zeitüberschreitung der SSL-Verbindung . Versuche erneut... connect: Zeitüberschreitung. Versuche erneut... connect: Zeitüberschreitung. Versuche erneut... connect: Falscher Benutzername oder Passwort connect: Server hat mit %d geantwortet connect: Server hat mit 404 geantwortet. Falscher mountpoint? update_song: Konnte Netzwerk socket nicht erstellen update_song: Konnte Servernamen nicht auflösen%s existiert bereits!OKAbbrechenMit PayPal spendenSpeichern+0.0+24 dB-24 dB100Hz10kHz1kHz3.5kHz350Hz@-3circle@-3square@> AAC encoder unterstützt die aktuelle Sample-/Bitrate Kombination nichtNEUAIM:AktivierenAktualisierung des Songnamens von Datei aktivierenNeuer ServerNeue Server InfosNeuer ServerNeue Stream InfosAdresse:ErweitertFenster an Hauptfenster anhaftenFenster an Hauptfenster anhaftenAttackAudioAudio GerätAudio Puffer wurde auf %d ms gesetztPatron werdenBitratePuffer (ms)CA Zertifikate OrdnerCA Zertifikate DateiAbbrechenZertifikate OrdnerZertifikate DateiAnzeige alle 5 Sekunden ändernSong wird durch ein Musikprogramm geändertKanalmodusVerwende monoVerwende stereoBeim Starten prüfenBeim Starten prüfenPrüft ob eine neue Version verfügbar istPrüfenCodecUngültige Optionen angegeben Konfiguration importiert %sKonfiguration gespeichert nach %sKonfigurationNach dem starten mit Server verbindenVerbunden mit: %sVerbinde mit %s:%u (%u) ...Verbinde mit %s:%u ...Verbindung hergestelltKonvertiere Mono nach StereoKopiert einen Mono Kanal in beide Stereo KanäleKonfigurationsdatei %s konnte nicht erstellt werden butt wird automatisch geschlossenDer Aufnahmedateiname hat keine Dateiendung Automatische Dateiaufteilung wird deaktiviertKonnte keinen gültigen Dateinamen findenKonnte keinen gültigen Dateinahmen für die nächste Datei erstellen butt wird die Aufnahme in der aktuellen Datei fortführenKonnte die AAC Bibliothek nicht finden. Bitte folge den Schritten im Handbuch, um die AAC Unterstützung zu aktivieren.Konnte Konfigurationsdatei %s nicht finden Konnte aktuelle Version nicht empfangen. Grund: NetzwerkfehlerKonnte aktuelle Version nicht empfangen. Grund: UnbekanntKonnte aktuelle Version nicht empfangen. Grund: Ungültige Antwort von ServerKonnte Konfiguration nicht importieren %sKonnte Datei nicht öffnen: %sKonnte Vertrauen für Zertifikat nicht zurückziehenKonnte Datei nicht schreiben: %sAktueller SongENTFDSPDefault PCM device (default)Server löschenStream info löschenBeschreibung:Order für AufnahmenAnzeige FarbeSpendeSpendenDynamic Range CompressorEDITFEHLER: %sFEHLER: Verbindung verloren Verbinde neu...FEHLER: Konnte Sampleratenkonverter nicht initialisierenFEHLER: Beim Initialisieren der FLAC EinstellungenFEHLER: Konnte kein Aufnahmegerät findenServer editierenServer Infos EditierenServer editierenStream info editierenEqualizerFehler beim Einholen der Geräteinfos (%d)Fehler: FLAC wird von ShoutCast nicht unterstütztFehler: Kein Servereintrag gefunden. Bitte füge einen Server in den Einstellungen hinzu.Fehler: Der ogg vorbis encoder erlaubt keine Bitraten kleiner als 48kbitExpotieren nach...Export...Song erweiternDatei mit aktuellem SongnamenErzwinge VerbindungsaufbauGUIVerstärkungGenre:Neue version holenAusbl.Log verbergenLogfenster nach Start verbergenICQ:IRC:IceCastIceCast mountpoint:IceCast Benutzer:ICY Name existiert bereitsBei Aktivierung versucht butt sich unabhängig von einer Fehlermeldung mit dem Server zu verbindenWenn dein Server ein Zertifikat von Let's Encrypt oder einer anderen bekannten CA verwenden, kann dieses Feld leer gelassen werden.Ungültiges Argument: Port muss eine Nummer zwischen 1023 and 65535 sein Ungültige Option -%c. Gebe butt -h ein, um eine Liste aller gültigen Optionen zu erhalten. Einstellungen importierenImport...Ungültiger Port Der Port muss eine Zahl zwischen 1 und 65535 seinEs benötigt viel Zeit und Fleiß, diese Software aktuell zu halten und mit neuen Funktionen zu erweitern. Wenn Du es Dir erlauben kannst, würde ich mich sehr über eine Spende freuen. Danke!SpracheLinksLogdateiLogdatei PfadMP3 encoder unterstützt die aktuelle Sample-/Bitrate Kombination nichtMainAudio EinstellungenServer publizierenMakeup GainZugriff auf MikrofonSonst.Name:Neue Version verfügbar: %s Du hast Version Version %sNeinKeine Adresse angegebenKeine butt Instanz an Adresse %s mit Port %d vorhanden Keine Heimatverzeichnis gefundenKein Mountpoint angegeben Nutze Mountpoint "stream"Kein Name angegebenDer Name darf keine neuen Zeilen und die Zeichen ;/\ enthaltenKeine Password angegebenKein Port angegebenKeine Aufnahmedatei spezifiziertKein Benutzer angegeben Nutze Benutzer "source"Wird nicht unterstüztOGG Vorbis encoder unterstützt die aktuelle Sample-/Bitrate Kombination nichtOKOption -%c benötigt ein Argument Opus encoder unterstützt die aktuelle Sample-/Bitrate Kombination nichtPA: Format wird nicht unterstützt: %s PasswortBitte starte butt neu, um die neue Sprache zu laden.Port:PortAudio Initzialisierung fehlgeschlagen butt wird automatisch geschlossenPortAudio Initialisierung fehlgeschlagen: %s Präfix:RatioLese letzte Zeile der DateiLese Konfiguration %s AufnahmeAufnahmen Ordner:Aufnahmedatei:Neue Aufnahme Bitrate: %dkAufnahme Codec nach ACC geändertAufnahme Codec nach FLAC geändertAufnahme Codec nach mp3 geändertAufnahme Codec nach ogg/vorbis geändertAufnahme Codec nach opus geändertAufnahme Codec nach wav geändertAufnahmedateiAufnehmen nach...AufnahmeAufnahmedatei: ReleaseFensterposition merkenResample QualtätResetVertrauen zurücksetzenRechtsSSL/TLSSSL/TLS Zertfikat ist ungültig Grund: %s Möchtest Du dem Zertifikat dennoch vertrauen? Das Vertrauen kann zu einem späteren Zeitpunkt in den Servereinstellungen zurückgezogen werden.SamplerateSamplerate nicht unterstsützt: %dHz Nutze Samplerate: %dHzNeue Samplerate: %dHzEinst. speichernSongdatei wählenHintergrundfarbe wählenZertifikate OrdnerZertifikate Ordner auswählen...ZertifikatedateiZertifikat auswählen...Datei mit Songnamen auswählenEingangskanal wählenSamplerate wählenLogdatei wählenLogdatei wählen...Aufnahme Bitrate wählenAufnahme Codec wählenAufnahme Ordner wählenStream Bitrate wählenStream Codec wählenTextfarbe wählenAktuellen Song dem Server mitteilenServerServer EinstellungenDer Servername existiert bereits!Mit diesem Server verbindenEinstellungenShoutCastZeigenLog anzeigenSignal abwesendDetektions PegelSignal vorhandenDatei aufteilenAufteilenStarten wenn Signal da fürAufnahme nach Start beginnenAufnahme beginnen wenn verbundenAufnahme nach Trennung stoppenNach Start mit server verbindenStarte %s Entwickelt von Daniel Nöthen iPhone/iPad client: https://izicast.de Spende: paypal@danielnoethen.de Im Vordergrund bleibenStoppen wenn Signal weg fürAufnahme nach Trennung stoppenStreamStream InfosStream Bitrate geändert: %dkStream Codec nach AAC geändertStream Codec nach FLAC geändertStream Codec nach mp3 geändertStream Codec nach ogg/vorbis geändertStream Codec nach opus geändertZu verwendende Stream InfoStreamingSuffix:Zur Stunde synchronisierenTLSVERTRAUEName des neue ICY-EintragsDer ICY Namen ist länger als 1000 Zeichen Bitte wähle einen kürzeren NamenDer ICY Namen ist länger als 1000 Zeichen Bitte wähle einen kürzeren NamenDer Name des Servers ist länger als 1000 Zeichen Bitte wähle einen kürzeren NamenDie vorherigen Werte werden verwendenDie vorherigen Werte werden verwenden ThresholdTypURL:Song von Applikation aktualisierenSong von Datei aktualisierenSong manuell einstellenNeuer Songname: %s AktualisierungAktualisierung des Songnamens ist fehlgeschlagenSSL/TLS verwendenBitte eine Zahl zwischen -90 und 0 eingebenWarnung Konnte Datei nicht öffnen: %s. Versuche in 5 Sekunden erneutWarnung: Ungültige Aufnahme Sample-/Bitrate KombinationWarnung: Ungültige stream Sample-/Bitrate KombinationWarnung: %s wird nicht von jeder ShoutCast version unterstütztWarnung: Konnte Kommandoserver nicht an port %d starten JaDu hast die aktuellste Version!AnhängenKonfigurationsdatei wurde erstellt %s butt nimmt gerade auf. Soll butt wirklich geschlossen werden?butt ist gerade mit einem Server verbunden. Soll butt wirklich geschlossen werden?butt benötigt Zugriff auf Dein Microfon Bitte gehe zu Systemeinstellungen->Sicherheit->Datenschutz->Mikrofon Und aktiviere die Checkbox neben dem butt Eintragbutt Einstellungencalc_cert_hash: Konnte Hash nicht berechnencalc_cert_hash: Kein peer Zertifikat vorhandenAbbrechencheck_cert: Kein peer Zertifikat vorhandencheck_cert: X509_check_host fehlgeschlagencheck_ert: check_host fehlgeschlagencheck_host: Zertifikat enthält keinen HostnamenMit Server verbindenVerbunden: %d Verbinde: %d Nehme auf: %d Verbinde dBVon Server trennenVerbindung getrennt Fehler beim öffnen des Audiogerätes: %s Fehler beim Lesen der Konfigurationsdatei. Ungültiger Wert (-1) für num_of_icy. butt wird automatisch geschlossenFehler beim lesen der Konfigurationsdatei. Ungültiger Wert (-1) für num_of_srv. butt wird automatisch geschlossenFehler beim Lesen der Konfigurationsdatei. Für den server "%s" existiert keine Adresse. butt wird automatisch geschlossenFehler beim Lesen der Konfigurationsdatei. Es fehlt ein main/icy Eintrag. butt wird automatisch geschlossenFehler beim Lesen der Konfigurationsdatei. Es fehlt ein main/icy_ent Eintrag. butt wird automatisch geschlossenFehler beim Lesen der Konfigurationsdatei. Ein main/server Eintrag fehlt. butt wird automatisch geschlossenFehler beim Lesen der Konfigurationsdatei. Ein main/srv_ent Eintrag fehlt. butt wird automatisch geschlossenFehler beim Lesen der Konfigurationsdatei. Der Mountpoint für server "%s" fehlt. butt wird automatisch geschlossenFehler beim Lesen der Konfigurationsdatei. Das Password für server "%s" fehlt. butt wird automatisch geschlossenFehler beim Lesen der Konfigurationsdatei. Der Port für server "%s" fehlt. butt wird automatisch geschlossenFehler beim Lesen der Konfigurationsdatei. Es fehlt der pub Eintrag für icy "%s". butt wird automatisch geschlossenFehler beim Lesen der Konfigurationsdatei. Der Type für server "%s" fehlt. butt wird automatisch geschlossenjede Einstellungen exportierenWarteminutenneinÜberschreibenLinke Maustaste betätigen, um Anzeige zu ändernRecord groesse %0.2lfMBRecord Zeit %sAufnahme gestopptNehme auf nach:SekundenHintergrundfarbe wählenTextfarbe wählenAudiogerät auswählenEinstellungen anzeigen/verbergenInformationsfenster anzeigen/verbergenPassword anzeigen/verbergenAufnahme starten/stoppenAufnahme beenden?Stream gesendet %0.2lfMBStream Zeit %stls_recv: Zeitüberschreitung beim Lesentls_recv: Zeitüberschreitung beim Schreibentls_send: Zeitüberschreitung beim Lesentls_send: Zeitüberschreitung beim Schreibentls_setup: Es konnte kein Hashwert für das Zertifikat berechnet werdentls_setup: Konnte socket nicht an SSL bindentls_setup: Konnte cipher Liste nicht setzentls_setup: SSL_connect Zeitüberschreitung beim Lesentls_setup: SSL_connect Zeitüberschreitung beim Schreibentls_setup: SSL_new fehlgeschlagenLame Parameter konnten nicht initialisiert werden %djabutt-0.1.26/po/remove-potcdate.sin0000664000175000017500000000066013751456251013743 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 } butt-0.1.26/po/Rules-quot0000664000175000017500000000414213751456251012134 00000000000000# This file, Rules-quot, can be copied and used freely without restrictions. # 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-tools"; 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 | \ { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \ $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \ ;; \ *) \ $(MSGFILTER) `echo $$lang | sed -e 's/.*@//'` \ ;; \ esac } 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 butt-0.1.26/THANKS0000664000175000017500000000153213770374154010430 00000000000000butt THANKS file butt has originally been written by Daniel Nöthen. Many people have further contributed to butt by reporting problems, suggesting various improvements, writing tutorials or even submitting code. Thanks to all of you! Special thanks go to: Heinrich Unrau, for suggestion me the name "butt" Thomas Ziebura, for teaching me C Jorge Suárez de Lis, for creating ubuntu packages Dominik Durner, for creating a patch for icecast stream infos Subrat (ipapuna) Nayak, for creating the icon and releasing it under cc Mikko Pikarinen, for writing a huge patch with some nice features Melchor Garau Madrigal, for forking butt and releasing it on github with new features Thomas Preece, for adding the dynamic range compressor Not to forget the developers of all the libraries butt depends on! Drop me a mail in case I forgot to mention you ;-) butt-0.1.26/COPYING0000664000175000017500000004325413663226731010555 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. butt-0.1.26/ChangeLog0000664000175000017500000003302113770374154011265 00000000000000Version 0.1.26 (2020-12-24) --------------------------- * Added ASIO support * Added support for multi-channel audio devices * Added multi-language support (i18n) * Added German translation * Added option to force reconnection regardless of the server response * Added support for Strawberry audio player (Thanks to Stefan S.) * Added config parameter to disable dithering (set disable_dithering=1 in cfg file) * Fixed possible crash if server is not reachable * Fixed possible crash when reconnecting * Fixed possible crash when using FLAC and song update * Fixed unwanted rounding of compressor values * Fixed overwriting of a DSP setting if it was set to -1.0 * Improved CPU usage * Improved mono/stereo handling * Improved overall song update implementation * Compiles on FreeBSD (Thanks to Per G. and Tobias C. B.) Version 0.1.25 (2020-10-26) --------------------------- * Added the ability to extend the song name with a prefix and a suffix * Fixed issue with automatic song update from text files * Fixed recording in FLAC Version 0.1.24 (2020-10-14) --------------------------- * VU-meter has been redesigned * Fixed issues with usernames that contain special characters * The port of the command server can be specified via command line * Commands can be received via network * It is possible to connect to a particular streaming server when sending the connect command * You can ask a butt instance about its current status with the -S command * butt can automatically check for updates after launch * Update of song name works with FLAC * Thresholds for signal detection can be specified * Added -h command line option to get an overview of all available commands * Updated the manual Version 0.1.23 (2020-09-27) --------------------------- * Fixed crash if the server is not reachable (e.g. unstable internet connections) * Fixed issue with transfering song meta data from music apps to butt (MacOS) * Improved handling of mic permissions dialog on MacOS Version 0.1.22 (2020-07-09) --------------------------- * Added Dynamic Range Compressor (thanks to Thomas P.) * Added ability to check for new versions * butt can now be controlled via command line * Replaced experimental portaudio version with the stable portaudio version * Fixed issue with stereo audio when using the Equalizer (thanks to Thomas P.) * Fixed traffic calculation when using OPUS * Fixed issue with OPUS encoding under some circumstances Version 0.1.21 (2020-05-26) --------------------------- * Streaming and recording can now be started automatically if an audio signal is present * Fixed reconnection issue on unreliable network connections. Should now behave like 0.1.19 again * wav recordings can now be up to 4 GB large * Removed advanced section from the Audio tab. Buffer time can still be set in the configuration file if you need to Version 0.1.20 (2020-04-21) --------------------------- * Added SSL/TLS support for icecast * Recording can now automatically be stopped if the user disconnects from the server * Fixed icecast connection issue (mostly occurring on mobile internet connections like 4G/LTE) * Fixed wrong password detection for liquidsoap based setups * Fixed configuration export on MacOS * Fixed logfile selection on MacOS * Song name is not updated on reconnect anymore if the manual song name input field has been cleared * Upgraded FLTK to version 1.3.5 Version 0.1.19 (2019-12-30) --------------------------- * The song name can now be read from the last line instead from the first line of a file * Streaming and recording can now be automatically stopped after silence has been detected * The last window position can be remembered. Useful when running multiple instances * butt can now be started with hidden info window * The vu-meter runs smoother and needs less cpu * VU-meter peak hold is only active for the red light * Closing butt while streaming or recording must be confirmed now * Changes are now saved without asking for confirmation when closing the app * Removed a new line character from the server name in the title bar * Fixed recceiving song information from iTunes/Music in MacOS Catalina * Fixed wrong counting of sent bytes when using AAC Version 0.1.18 (2019-05-12) --------------------------- * Added support for automatic recording after starting butt * Enabled AAC afterburner (improves audio quality) * Fixed issue with configure.ac and s390x architecture * Updated the FSF address in COPYING * AAC libs are not delivered with the setup files anymore (read the manual on how to activate AAC support again) Version 0.1.17 (2018-12-27) --------------------------- * Added support for FLAC streaming (icecast only) * Added 5-band equalizer (thanks to Melchor Garau Madrigal) * Added the ability to read song informations from several apps on MacOS and Linux (thanks to Melchor Garau Madrigal) * Window title is automatically renamed to the connected server (useful when running multiple instances) * Fixed connection issue with airtime * Fixed integer overflow when gain is set too high * Fixed compilation error on ubuntu 18 * Changed color of windows icon from black to yellow. So people using Win10 can now find butt in their black taskbar ;-) Version 0.1.16 (2017-09-17) --------------------------- * Fixed compatibility issues with shoutcast v2.5.5.732 * Replaced portaudio by newest stable version v190600_20161030 * When using AAC+ the best AAC profile for the current bitrate is selected automatically + AAC+v2: bitrate < 48kBit/s (aac_aot = 29) + AAC+v1: 48 kBit/s \<= bitrate < 96kBit/s (aac_aot = 5) + AAC-LC: bitrate >= 96kBit/s (aac_aot = 2) + * You can force the AAC codec to a specific profile by setting aac_overwrite_aot = 1 and aac_aot to the appropriate aot value {2,5,29} in buttrc Version 0.1.15 (2016-05-28) --------------------------- * Added AAC+ support * Added a "Split now" button to instantly start a new recording file * Improved look&feel on retina displays on OSX * Improved compatibility with proxies/load balancers (thanks to boyska) * Fixed handling of newline characters when reading the song name file * Fixed evlauation of time/date variables when automatic file splitting is enabled * Fixed compatibility with airtime servers * Fixed ogg and opus support for ShoutCast Version 0.1.14 (2014-12-27) --------------------------- * Added FLAC support for recording * Added Opus support (thanks to oneman) * Added logfile support (thanks to mikko) * Added support for more variables in the filename (%H %M %S) (thanks to mikko) * Automatic file splitting can be synced to full hour now (thanks to mikko) * LCD info can automatically rotate every 5 seconds now (thanks to mikko) * Added ability to change audio buffer size * Uncluttered LCD (thanks to mikko) * File extension of record filename gets automatically updated now * Dropped support of different samplerate/channels for stream and record * Resorted settings elements/widgets * Removed possible memleaks * Connecting to an unreachable server does not freeze the GUI anymore * Fixed icecast and shoutcast meta data handling * ;ade update song from file more robust * "update song name manually" reacts on Enter button now Version 0.1.13 (2014-05-02) --------------------------- * Has an icon now! - Thanks to Subrat (ipapuna) Nayak * Added support for lower bitrates (24k, 16k, 8k) * Added support for user defined configuration path e.g. "butt -c " * Added support for user names in Icecast * Added gain slider. This slider multiplies the audio input samples with the given factor * Added .manifest file to disable the VirtualStore on Windows Vista and higher * Added the ability to automatically split the recording every 'n' minutes * Added feature for importing and exporting configuration files * Compiles with Xcode 5 on OS X Mavericks * Compiles with traditional GNU autoconf/automake environment on linux and mingw * Improved robustness against faulty config files * Improved compatibility to ShoutCast v2 servers * Improved look&feel * Fixed samplerate issues * Fixed mono playback/recording * Changed data volume information vom kBytes to MBytes * Changed default recording path to users home folder * Sends audio information (bitrate etc.) to Icecast server - Thanks to Dominik Durner * Reimplemented VU-Meter with peak hold * Comes with as an ubuntu package * Windows: can be installed as user without admin rights * Windows: uninstallation process also removes the configuration file * Instead of canceling the automatic song update in case the given file is not readable, butt now tries to reread the file every 5 seconds Version 0.1.12 (2010-04-10) --------------------------- * butt is now able to connect automatically after startup * Shortened time between connect attempts (fixes Shouted.FM connection problems) * Improved wrong password detection for shoutcast Version 0.1.11-2 (2008-12-14) --------------------------- * Fixed display info after automatic reconnection Version 0.1.11-1 (2008-11-09) --------------------------- * Fixed segfault if there is no '.' in the filename Version 0.1.11 (2008-10-26) --------------------------- * Fixed unintended disconnects * Fixed recording problems * Removed buffer overrun messages * Recording can be now stopped with the stop-button * Replaced pcm recording by wav recording * Recording as ogg is now possible * Added "stay on top" checkbox * Fixed possible crash when changing mp3 settings while streaming Version 0.1.10 (2008-05-25) --------------------------- * Removed xrun "led". Instead the msg window informs the user about overruns * Added dB values to the vu-meter * Fixed bitrate/samplerate selection for ogg * Network backend works with non-blocking sockets now * libshout is not needed anymore * Songname can be updated from a textfile now * More samplerates are supported now * Fixed samplerate selection problems * Fixed crash when connecting to icecast server on MacOS 10.4 * Fixed crash when changing the server type from shoutcast to icecast * Some cosmetic changes (buttons, LEDs) Version 0.1.9 (2008-04-10) --------------------------- * Minor GUI makeup * Made butt more verbose * Fixed possible segfault when trying to EDIT stream info * Fixed automatic reconnection * Filenames can be indexed with the %i variable now * Renamed "rec not until connected" checkbox to "start rec. when connected" * Added orange record icon for "armed" state ("start rec. when connected" = 1) * butt starts recording as soon as connected, when in "armed" state Version 0.1.8 (2008-03-30) --------------------------- * Text/bg color can be changed in the [GUI] tab * Removed the "Config saved" popup message * Added pcm recording * Improoved record handling * The config menu is more user friendly now * Fixed crash when connection loss * The user may select the samplerate now * The config window can be attached to the main window now * Fixed bitrate and codec ShoutCast info Version 0.1.7rc1 (2008-01-04) --------------------------- * butt runs on MacOS 10.4 and 10.5 now! * Added recording time to the display info * Fixed bug with '&' in the song string * Changing the display mode works only when connected now * Added a checkbox which lets the user decide if the recording should start right after selecting the output file or when connected * Added a msg box which ask the user if he wants to stop the recording when disconnecting Version 0.1.6 (2007-12-08) --------------------------- * Added status symbols to the display * Recording runs with a seperate thread now! * Added a button for showing/hiding the server password Version 0.1.5 (2007-11-22) --------------------------- * Minor GUI changes * Fixed streaming/recording with mp3 320kb/s * Fixed segfault in Fl_ILM216.cpp * The user may change the display colors now (right click on the display) * The "connecting" info on the display updates faster now * Changed default display colors to white/blue Version 0.1.5rc1 (2007-11-16) --------------------------- * Replaced ALSA by PortAudio -> OSS is supported now * Ported butt to Microsoft Windows (tested with win2k and win xp) * butt reminds the user about unsaved changes when closing now * Starting the recording is possible at any time now * Added mono encoding for OGG * Improved some GUI stuff * Improved CPU usage Version 0.1.4rc2 (2007-11-03) --------------------------- * butt should compile on more machines now Version 0.1.4rc1 (2007-11-01) --------------------------- * Added IceCast support (ogg and mp3) * Added ./configure script * butt is now able to send the "Current Song" value to the ShoutCast/IceCast server * Changed stereo mode from joint-stereo to real-stereo * Code cleanup Version 0.1.3 (2007-10-08) --------------------------- * Bugfix: butt crashed if you press "apply" in the server/icy tab without having an server/ICY-entry * Bugfix: butt crashed if you change the bitrate without having an ICY-entry * Bugfix: there was some uncommented code in the [DEL]-server callback-routine which shouldn't be uncommented * Facelift: if you delete all server/ICY-entries, the input fields in the server/ICY still showed the values of the last server/ICY-entry Version 0.1.2 (2007-10-07) --------------------------- * Added a GUI for configuring butt * Comments behind config entries are not allowed anymore. * Removed the network init part. It was nonsense * Fixed mono playblack * Fixed recording problems * ICY entries can now be empty without causing butt to crash * butt shows the real port in its "connecting to..."-info line now and the "pseudeo" port in parenthesis * Fixed a bug which causes pcm data loss in some cases Version 0.1.1 (2007-09-16) --------------------------- * Added recording feature * Fixed seg fault on startup when compiled with gcc-4.1.2 * Fixed seg fault when encoding with high bitrates butt-0.1.26/compile0000775000175000017500000001624513751456251011100 00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2014 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: butt-0.1.26/KNOWN_BUGS0000664000175000017500000000017313663226731011152 00000000000000When "stay on top" is activated some tooltips are hidden their parent window. Please report bugs to butt@danielnoethen.de butt-0.1.26/Makefile.am0000664000175000017500000000122613770375231011546 00000000000000AUTOMAKE_OPTIONS = foreign SUBDIRS = po src EXTRA_DIST = config.rpath m4/ChangeLog src/aac_dll.h src/xpm config.h src/butt.manifest player_plugins icons usr ChangeLog \ AUTHORS THANKS KNOWN_BUGS INSTALL README COPYING NEWS src/FLTK/flgui.fl \ src/FLTK/Fl_My_Native_File_Chooser_MAC.mm src/FLTK/Fl_My_Native_File_Chooser_WIN32.cxx \ src/FLTK/Fl_My_Native_File_Chooser_FLTK.cxx src/FLTK/Fl_My_Native_File_Chooser_common.cxx \ src/FLTK/Fl_My_Native_File_Chooser_GTK.cxx src/AskForMicPermission.m src/AskForMicPermission.h \ butt.1 gettext.h ACLOCAL_AMFLAGS = -I m4 #install-exec-hook: # cp po/de.gmo locale/de/LC_MESSAGES/butt.mo butt-0.1.26/config.h0000664000175000017500000001300613770374165011134 00000000000000/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if translation of program messages to the user's native language is requested. */ #define ENABLE_NLS 1 /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework. */ /* #undef HAVE_CFLOCALECOPYCURRENT */ /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework. */ /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ /* Use dbus to get current tracks */ #define HAVE_DBUS 1 /* Define if the GNU dcgettext() function is already present or preinstalled. */ #define HAVE_DCGETTEXT 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `gethostbyaddr' function. */ #define HAVE_GETHOSTBYADDR 1 /* Define to 1 if you have the `gethostbyname' function. */ #define HAVE_GETHOSTBYNAME 1 /* Define if the GNU gettext() function is already present or preinstalled. */ #define HAVE_GETTEXT 1 /* Define if you have the iconv() function and it works. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the `crypto' library (-lcrypto). */ #define HAVE_LIBCRYPTO 1 /* Define to 1 if you have the `fdk-aac' library (-lfdk-aac). */ #define HAVE_LIBFDK_AAC 1 /* Define to 1 if you have the `FLAC' library (-lFLAC). */ #define HAVE_LIBFLAC 1 /* Define to 1 if you have the `mp3lame' library (-lmp3lame). */ #define HAVE_LIBMP3LAME 1 /* Define to 1 if you have the `ogg' library (-logg). */ #define HAVE_LIBOGG 1 /* Define to 1 if you have the `opus' library (-lopus). */ #define HAVE_LIBOPUS 1 /* Define to 1 if you have the `portaudio' library (-lportaudio). */ #define HAVE_LIBPORTAUDIO 1 /* Define to 1 if you have the `pthread' library (-lpthread). */ #define HAVE_LIBPTHREAD 1 /* Define to 1 if you have the `samplerate' library (-lsamplerate). */ #define HAVE_LIBSAMPLERATE 1 /* Define to 1 if you have the `ssl' library (-lssl). */ #define HAVE_LIBSSL 1 /* Define to 1 if you have the `vorbis' library (-lvorbis). */ #define HAVE_LIBVORBIS 1 /* Define to 1 if you have the `vorbisenc' library (-lvorbisenc). */ #define HAVE_LIBVORBISENC 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and to 0 otherwise. */ #define HAVE_MALLOC 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `memset' function. */ #define HAVE_MEMSET 1 /* Define to 1 if you have the header file. */ #define HAVE_NETDB_H 1 /* Define to 1 if you have the header file. */ #define HAVE_NETINET_IN_H 1 /* Define to 1 if you have the `pow' function. */ /* #undef HAVE_POW */ /* Define to 1 if your system has a GNU libc compatible `realloc' function, and to 0 otherwise. */ #define HAVE_REALLOC 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `socket' function. */ #define HAVE_SOCKET 1 /* Define to 1 if stdbool.h conforms to C99. */ #define HAVE_STDBOOL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strpbrk' function. */ #define HAVE_STRPBRK 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if you have the `strstr' function. */ #define HAVE_STRSTR 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SOCKET_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `X509_check_host' function. */ #define HAVE_X509_CHECK_HOST 1 /* Define to 1 if the system has the type `_Bool'. */ #define HAVE__BOOL 1 /* Name of package */ #define PACKAGE "butt" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS" /* Define to the full name of this package. */ #define PACKAGE_NAME "butt" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "butt 0.1.26" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "butt" /* Define to the home page for this package. */ #define PACKAGE_URL "" /* Define to the version of this package. */ #define PACKAGE_VERSION "0.1.26" /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Version number of package */ #define VERSION "0.1.26" /* 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 rpl_realloc if the replacement function should be used. */ /* #undef realloc */ butt-0.1.26/configure0000775000175000017500000117236013770374501011431 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for butt 0.1.26. # # 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 \$(( 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 BUG-REPORT-ADDRESS $0: about your system, including any error possibly output $0: before this message. Then install a modern shell, or $0: manually run the script under such a shell if you do $0: 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'" 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='butt' PACKAGE_TARNAME='butt' PACKAGE_VERSION='0.1.26' PACKAGE_STRING='butt 0.1.26' PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' 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 LIBOBJS XMKMF DBUS_LIBS DBUS_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG FLTKCONFIG FREEBSD_FALSE FREEBSD_TRUE OSX_FALSE OSX_TRUE LINUX_FALSE LINUX_TRUE WINDOWS_FALSE WINDOWS_TRUE 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 SED EGREP GREP CPP am__fastdepOBJC_FALSE am__fastdepOBJC_TRUE OBJCDEPMODE ac_ct_OBJC OBJCFLAGS OBJC am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE ac_ct_CC CFLAGS CC am__fastdepCXX_FALSE am__fastdepCXX_TRUE CXXDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__include DEPDIR OBJEXT EXEEXT ac_ct_CXX CPPFLAGS LDFLAGS CXXFLAGS CXX host_os host_vendor host_cpu host build_os build_vendor build_cpu build 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_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir 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 am__quote' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_dependency_tracking enable_aac enable_ssl enable_nls with_gnu_ld enable_rpath with_libiconv_prefix with_libintl_prefix with_x ' ac_precious_vars='build_alias host_alias target_alias CXX CXXFLAGS LDFLAGS LIBS CPPFLAGS CCC CC CFLAGS OBJC OBJCFLAGS CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR DBUS_CFLAGS DBUS_LIBS XMKMF' # 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' runstatedir='${localstatedir}/run' 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 ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -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 runstatedir 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 butt 0.1.26 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] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --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/butt] --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 X features: --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of butt 0.1.26:";; 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-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --disable-aac Disable aac support --disable-ssl Disable SSL/TLS support --disable-nls do not use Native Language Support --disable-rpath do not hardcode runtime library paths Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --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 --with-x use the X Window System Some influential environment variables: CXX C++ compiler command CXXFLAGS 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 CC C compiler command CFLAGS C compiler flags OBJC Objective C compiler command OBJCFLAGS Objective C compiler flags 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 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config DBUS_LIBS linker flags for DBUS, overriding pkg-config XMKMF Path to xmkmf, Makefile generator for X Window System 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 butt configure 0.1.26 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_cxx_try_compile LINENO # ---------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_cxx_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_cxx_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_cxx_try_compile # 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_objc_try_compile LINENO # ----------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_objc_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_objc_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_objc_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_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_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 BUG-REPORT-ADDRESS ## ## --------------------------------- ##" ) | 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_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_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_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 # 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 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 butt $as_me 0.1.26, 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 am__api_version='1.16' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --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+set}" != 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='butt' VERSION='0.1.26' 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 (and possibly the TAP driver). 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 -' # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi # 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 ac_config_headers="$ac_config_headers config.h" # Checks for programs. ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -z "$CXX"; then if test -n "$CCC"; then CXX=$CCC else if test -n "$ac_tool_prefix"; then for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 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_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # 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_CXX="$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 CXX=$ac_cv_prog_CXX if test -n "$CXX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 $as_echo "$CXX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 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_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_CXX="$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_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 $as_echo "$ac_ct_CXX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CXX" && break done if test "x$ac_ct_CXX" = x; then CXX="g++" 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 CXX=$ac_ct_CXX fi fi fi fi # 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_cxx_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_cxx_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_cxx_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GXX=yes else GXX= fi ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } if ${ac_cv_prog_cxx_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_g=yes else CXXFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : else ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_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_cxx_werror_flag=$ac_save_cxx_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 $as_echo "$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi 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 DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out .PHONY: am__doit END am__include="#" am__quote= # BSD make does it like this. echo '.include "confinc.mk" # ignored' > confmf.BSD # Other make implementations (GNU, Solaris 10, AIX) do it like this. echo 'include confinc.mk # ignored' > confmf.GNU _am_result=no for s in GNU BSD; do { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } case $?:`cat confinc.out 2>/dev/null` in #( '0:this is the am__doit target') : case $s in #( BSD) : am__include='.include' am__quote='"' ;; #( *) : am__include='include' am__quote='' ;; esac ;; #( *) : ;; esac if test "$am__include" != "#"; then _am_result="yes ($s style)" break fi done rm -f confinc.* confmf.* { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 $as_echo "${_am_result}" >&6; } # 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 depcc="$CXX" 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_CXX_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_CXX_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_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_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 { $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 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 whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_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. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != 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 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 ac_ext=m ac_cpp='$OBJCPP $CPPFLAGS' ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_objc_compiler_gnu if test -n "$ac_tool_prefix"; then for ac_prog in gcc objcc objc cc CC 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_OBJC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJC"; then ac_cv_prog_OBJC="$OBJC" # 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_OBJC="$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 OBJC=$ac_cv_prog_OBJC if test -n "$OBJC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5 $as_echo "$OBJC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$OBJC" && break done fi if test -z "$OBJC"; then ac_ct_OBJC=$OBJC for ac_prog in gcc objcc objc cc CC 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_OBJC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJC"; then ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # 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_OBJC="$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_OBJC=$ac_cv_prog_ac_ct_OBJC if test -n "$ac_ct_OBJC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5 $as_echo "$ac_ct_OBJC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_OBJC" && break done if test "x$ac_ct_OBJC" = x; then OBJC="gcc" 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 OBJC=$ac_ct_OBJC fi fi # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; } if ${ac_cv_objc_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_objc_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_objc_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5 $as_echo "$ac_cv_objc_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GOBJC=yes else GOBJC= fi ac_test_OBJCFLAGS=${OBJCFLAGS+set} ac_save_OBJCFLAGS=$OBJCFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5 $as_echo_n "checking whether $OBJC accepts -g... " >&6; } if ${ac_cv_prog_objc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_objc_werror_flag=$ac_objc_werror_flag ac_objc_werror_flag=yes ac_cv_prog_objc_g=no OBJCFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_objc_try_compile "$LINENO"; then : ac_cv_prog_objc_g=yes else OBJCFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_objc_try_compile "$LINENO"; then : else ac_objc_werror_flag=$ac_save_objc_werror_flag OBJCFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_objc_try_compile "$LINENO"; then : ac_cv_prog_objc_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_objc_werror_flag=$ac_save_objc_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5 $as_echo "$ac_cv_prog_objc_g" >&6; } if test "$ac_test_OBJCFLAGS" = set; then OBJCFLAGS=$ac_save_OBJCFLAGS elif test $ac_cv_prog_objc_g = yes; then if test "$GOBJC" = yes; then OBJCFLAGS="-g -O2" else OBJCFLAGS="-g" fi else if test "$GOBJC" = yes; then OBJCFLAGS="-O2" else OBJCFLAGS= fi 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="$OBJC" am_compiler_list='gcc3 gcc' { $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_OBJC_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_OBJC_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 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_OBJC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_OBJC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; } OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then am__fastdepOBJC_TRUE= am__fastdepOBJC_FALSE='#' else am__fastdepOBJC_TRUE='#' am__fastdepOBJC_FALSE= fi LDFLAGS="$LDFLAGS -L/usr/local/lib" # Check whether --enable-aac was given. if test "${enable_aac+set}" = set; then : enableval=$enable_aac; fi # Check whether --enable-ssl was given. if test "${enable_ssl+set}" = set; then : enableval=$enable_ssl; fi # Checks for libraries. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg_stream_init in -logg" >&5 $as_echo_n "checking for ogg_stream_init in -logg... " >&6; } if ${ac_cv_lib_ogg_ogg_stream_init+:} 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_init (); int main () { return ogg_stream_init (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_ogg_ogg_stream_init=yes else ac_cv_lib_ogg_ogg_stream_init=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_init" >&5 $as_echo "$ac_cv_lib_ogg_ogg_stream_init" >&6; } if test "x$ac_cv_lib_ogg_ogg_stream_init" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBOGG 1 _ACEOF LIBS="-logg $LIBS" else as_fn_error $? "**** Could not find libogg ****" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_info_init in -lvorbis" >&5 $as_echo_n "checking for vorbis_info_init in -lvorbis... " >&6; } if ${ac_cv_lib_vorbis_vorbis_info_init+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lvorbis $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 vorbis_info_init (); int main () { return vorbis_info_init (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_vorbis_vorbis_info_init=yes else ac_cv_lib_vorbis_vorbis_info_init=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_vorbis_vorbis_info_init" >&5 $as_echo "$ac_cv_lib_vorbis_vorbis_info_init" >&6; } if test "x$ac_cv_lib_vorbis_vorbis_info_init" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBVORBIS 1 _ACEOF LIBS="-lvorbis $LIBS" else as_fn_error $? "**** Could not find libvorbis ****" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_encode_init in -lvorbisenc" >&5 $as_echo_n "checking for vorbis_encode_init in -lvorbisenc... " >&6; } if ${ac_cv_lib_vorbisenc_vorbis_encode_init+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lvorbisenc $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 vorbis_encode_init (); int main () { return vorbis_encode_init (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_vorbisenc_vorbis_encode_init=yes else ac_cv_lib_vorbisenc_vorbis_encode_init=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_vorbisenc_vorbis_encode_init" >&5 $as_echo "$ac_cv_lib_vorbisenc_vorbis_encode_init" >&6; } if test "x$ac_cv_lib_vorbisenc_vorbis_encode_init" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBVORBISENC 1 _ACEOF LIBS="-lvorbisenc $LIBS" else as_fn_error $? "**** Could not find libvorbisenc ****" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opus_encoder_create in -lopus" >&5 $as_echo_n "checking for opus_encoder_create in -lopus... " >&6; } if ${ac_cv_lib_opus_opus_encoder_create+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lopus $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 opus_encoder_create (); int main () { return opus_encoder_create (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_opus_opus_encoder_create=yes else ac_cv_lib_opus_opus_encoder_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_opus_opus_encoder_create" >&5 $as_echo "$ac_cv_lib_opus_opus_encoder_create" >&6; } if test "x$ac_cv_lib_opus_opus_encoder_create" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBOPUS 1 _ACEOF LIBS="-lopus $LIBS" else as_fn_error $? "**** Could not find libopus ****" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lame_init in -lmp3lame" >&5 $as_echo_n "checking for lame_init in -lmp3lame... " >&6; } if ${ac_cv_lib_mp3lame_lame_init+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lmp3lame $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 : ac_cv_lib_mp3lame_lame_init=yes else ac_cv_lib_mp3lame_lame_init=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_mp3lame_lame_init" >&5 $as_echo "$ac_cv_lib_mp3lame_lame_init" >&6; } if test "x$ac_cv_lib_mp3lame_lame_init" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBMP3LAME 1 _ACEOF LIBS="-lmp3lame $LIBS" else as_fn_error $? "**** Could not find libmp3lame ****" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC__stream_encoder_new in -lFLAC" >&5 $as_echo_n "checking for FLAC__stream_encoder_new in -lFLAC... " >&6; } if ${ac_cv_lib_FLAC_FLAC__stream_encoder_new+:} 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_encoder_new (); int main () { return FLAC__stream_encoder_new (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_FLAC_FLAC__stream_encoder_new=yes else ac_cv_lib_FLAC_FLAC__stream_encoder_new=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_encoder_new" >&5 $as_echo "$ac_cv_lib_FLAC_FLAC__stream_encoder_new" >&6; } if test "x$ac_cv_lib_FLAC_FLAC__stream_encoder_new" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBFLAC 1 _ACEOF LIBS="-lFLAC $LIBS" else as_fn_error $? "**** Could not find libFLAC ****" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Pa_Initialize in -lportaudio" >&5 $as_echo_n "checking for Pa_Initialize in -lportaudio... " >&6; } if ${ac_cv_lib_portaudio_Pa_Initialize+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lportaudio $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 Pa_Initialize (); int main () { return Pa_Initialize (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_portaudio_Pa_Initialize=yes else ac_cv_lib_portaudio_Pa_Initialize=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_portaudio_Pa_Initialize" >&5 $as_echo "$ac_cv_lib_portaudio_Pa_Initialize" >&6; } if test "x$ac_cv_lib_portaudio_Pa_Initialize" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBPORTAUDIO 1 _ACEOF LIBS="-lportaudio $LIBS" else as_fn_error $? "**** Could not find libportaudio ****" "$LINENO" 5 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 : cat >>confdefs.h <<_ACEOF #define HAVE_LIBPTHREAD 1 _ACEOF LIBS="-lpthread $LIBS" else as_fn_error $? "**** Could not find libpthread ****" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 $as_echo_n "checking for src_new in -lsamplerate... " >&6; } if ${ac_cv_lib_samplerate_src_new+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsamplerate $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 src_new (); int main () { return src_new (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_samplerate_src_new=yes else ac_cv_lib_samplerate_src_new=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_samplerate_src_new" >&5 $as_echo "$ac_cv_lib_samplerate_src_new" >&6; } if test "x$ac_cv_lib_samplerate_src_new" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBSAMPLERATE 1 _ACEOF LIBS="-lsamplerate $LIBS" else as_fn_error $? "**** Could not find samplerate ****" "$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 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 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 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 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" if test "x$ac_cv_header_winsock2_h" = xyes; then : LIBS="$LIBS -lws2_32" host_os="windows" 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 { $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.19 # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. 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 # 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 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. 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 # 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 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. 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 # 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 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. 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 ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${acl_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$acl_save_ifs" 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 variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_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 ${acl_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 "$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 () { int result = 0; /* 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) result |= 1; iconv_close (cd_utf8_to_88591); } } /* 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) result |= 2; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static const char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; const char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 4; iconv_close (cd_88591_to_utf8); } } #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) result |= 8; iconv_close (cd_88591_to_utf8); } } #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)) result |= 16; return result; } _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" if test "$host_os" = "windows"; then WINDOWS_TRUE= WINDOWS_FALSE='#' else WINDOWS_TRUE='#' WINDOWS_FALSE= fi build_linux=no build_windows=no build_mac=no build_freebsd=no # Detect the target system case "${host_os}" in linux*) build_linux=yes { $as_echo "$as_me:${as_lineno-$LINENO}: Linux detected" >&5 $as_echo "$as_me: Linux detected" >&6;} if test "x$enable_aac" != "xno"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aacEncOpen in -lfdk-aac" >&5 $as_echo_n "checking for aacEncOpen in -lfdk-aac... " >&6; } if ${ac_cv_lib_fdk_aac_aacEncOpen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lfdk-aac $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 aacEncOpen (); int main () { return aacEncOpen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_fdk_aac_aacEncOpen=yes else ac_cv_lib_fdk_aac_aacEncOpen=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_fdk_aac_aacEncOpen" >&5 $as_echo "$ac_cv_lib_fdk_aac_aacEncOpen" >&6; } if test "x$ac_cv_lib_fdk_aac_aacEncOpen" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBFDK_AAC 1 _ACEOF LIBS="-lfdk-aac $LIBS" else as_fn_error $? "**** Could not find libfdk-aac ****" "$LINENO" 5 fi fi if test "x$enable_ssl" != "xno"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_new in -lssl" >&5 $as_echo_n "checking for SSL_CTX_new in -lssl... " >&6; } if ${ac_cv_lib_ssl_SSL_CTX_new+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lssl $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 SSL_CTX_new (); int main () { return SSL_CTX_new (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_ssl_SSL_CTX_new=yes else ac_cv_lib_ssl_SSL_CTX_new=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_ssl_SSL_CTX_new" >&5 $as_echo "$ac_cv_lib_ssl_SSL_CTX_new" >&6; } if test "x$ac_cv_lib_ssl_SSL_CTX_new" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBSSL 1 _ACEOF LIBS="-lssl $LIBS" else as_fn_error $? "**** Could not find libssl ****" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_EncryptInit in -lcrypto" >&5 $as_echo_n "checking for EVP_EncryptInit in -lcrypto... " >&6; } if ${ac_cv_lib_crypto_EVP_EncryptInit+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $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 EVP_EncryptInit (); int main () { return EVP_EncryptInit (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_crypto_EVP_EncryptInit=yes else ac_cv_lib_crypto_EVP_EncryptInit=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_crypto_EVP_EncryptInit" >&5 $as_echo "$ac_cv_lib_crypto_EVP_EncryptInit" >&6; } if test "x$ac_cv_lib_crypto_EVP_EncryptInit" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBCRYPTO 1 _ACEOF LIBS="-lcrypto $LIBS" else as_fn_error $? "**** Could not find libcrypto ****" "$LINENO" 5 fi fi ;; cygwin*|mingw*|windows) build_windows=yes { $as_echo "$as_me:${as_lineno-$LINENO}: Windows detected" >&5 $as_echo "$as_me: Windows detected" >&6;} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_new in -lssl" >&5 $as_echo_n "checking for SSL_CTX_new in -lssl... " >&6; } if ${ac_cv_lib_ssl_SSL_CTX_new+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lssl $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 SSL_CTX_new (); int main () { return SSL_CTX_new (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_ssl_SSL_CTX_new=yes else ac_cv_lib_ssl_SSL_CTX_new=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_ssl_SSL_CTX_new" >&5 $as_echo "$ac_cv_lib_ssl_SSL_CTX_new" >&6; } if test "x$ac_cv_lib_ssl_SSL_CTX_new" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBSSL 1 _ACEOF LIBS="-lssl $LIBS" else as_fn_error $? "**** Could not find openssl ****" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_EncryptInit in -lcrypto" >&5 $as_echo_n "checking for EVP_EncryptInit in -lcrypto... " >&6; } if ${ac_cv_lib_crypto_EVP_EncryptInit+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $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 EVP_EncryptInit (); int main () { return EVP_EncryptInit (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_crypto_EVP_EncryptInit=yes else ac_cv_lib_crypto_EVP_EncryptInit=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_crypto_EVP_EncryptInit" >&5 $as_echo "$ac_cv_lib_crypto_EVP_EncryptInit" >&6; } if test "x$ac_cv_lib_crypto_EVP_EncryptInit" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBCRYPTO 1 _ACEOF LIBS="-lcrypto $LIBS" else as_fn_error $? "**** Could not find libcrypto ****" "$LINENO" 5 fi ;; darwin*) build_mac=yes { $as_echo "$as_me:${as_lineno-$LINENO}: MacOS detected" >&5 $as_echo "$as_me: MacOS detected" >&6;} ;; freebsd*) build_freebsd=yes { $as_echo "$as_me:${as_lineno-$LINENO}: FreeBSD detected" >&5 $as_echo "$as_me: FreeBSD detected" >&6;} if test "x$enable_aac" != "xno"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aacEncOpen in -lfdk-aac" >&5 $as_echo_n "checking for aacEncOpen in -lfdk-aac... " >&6; } if ${ac_cv_lib_fdk_aac_aacEncOpen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lfdk-aac $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 aacEncOpen (); int main () { return aacEncOpen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_fdk_aac_aacEncOpen=yes else ac_cv_lib_fdk_aac_aacEncOpen=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_fdk_aac_aacEncOpen" >&5 $as_echo "$ac_cv_lib_fdk_aac_aacEncOpen" >&6; } if test "x$ac_cv_lib_fdk_aac_aacEncOpen" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBFDK_AAC 1 _ACEOF LIBS="-lfdk-aac $LIBS" else as_fn_error $? "**** Could not find libfdk-aac ****" "$LINENO" 5 fi fi if test "x$enable_ssl" != "xno"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_CTX_new in -lssl" >&5 $as_echo_n "checking for SSL_CTX_new in -lssl... " >&6; } if ${ac_cv_lib_ssl_SSL_CTX_new+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lssl $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 SSL_CTX_new (); int main () { return SSL_CTX_new (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_ssl_SSL_CTX_new=yes else ac_cv_lib_ssl_SSL_CTX_new=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_ssl_SSL_CTX_new" >&5 $as_echo "$ac_cv_lib_ssl_SSL_CTX_new" >&6; } if test "x$ac_cv_lib_ssl_SSL_CTX_new" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBSSL 1 _ACEOF LIBS="-lssl $LIBS" else as_fn_error $? "**** Could not find libssl ****" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_EncryptInit in -lcrypto" >&5 $as_echo_n "checking for EVP_EncryptInit in -lcrypto... " >&6; } if ${ac_cv_lib_crypto_EVP_EncryptInit+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $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 EVP_EncryptInit (); int main () { return EVP_EncryptInit (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_crypto_EVP_EncryptInit=yes else ac_cv_lib_crypto_EVP_EncryptInit=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_crypto_EVP_EncryptInit" >&5 $as_echo "$ac_cv_lib_crypto_EVP_EncryptInit" >&6; } if test "x$ac_cv_lib_crypto_EVP_EncryptInit" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBCRYPTO 1 _ACEOF LIBS="-lcrypto $LIBS" else as_fn_error $? "**** Could not find libcrypto ****" "$LINENO" 5 fi fi ;; *) as_fn_error $? "\"OS $host_os is not supported\"" "$LINENO" 5 ;; esac # Pass the conditionals to automake if test "$build_linux" = "yes"; then LINUX_TRUE= LINUX_FALSE='#' else LINUX_TRUE='#' LINUX_FALSE= fi if test "$build_windows" = "yes"; then WINDOWS_TRUE= WINDOWS_FALSE='#' else WINDOWS_TRUE='#' WINDOWS_FALSE= fi if test "$build_mac" = "yes"; then OSX_TRUE= OSX_FALSE='#' else OSX_TRUE='#' OSX_FALSE= fi if test "$build_freebsd" = "yes"; then FREEBSD_TRUE= FREEBSD_FALSE='#' else FREEBSD_TRUE='#' FREEBSD_FALSE= fi # Extract the first word of "fltk-config", so it can be a program name with args. set dummy fltk-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_prog_FLTKCONFIG+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$FLTKCONFIG"; then ac_cv_prog_FLTKCONFIG="$FLTKCONFIG" # 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_FLTKCONFIG="fltk-config" $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 FLTKCONFIG=$ac_cv_prog_FLTKCONFIG if test -n "$FLTKCONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLTKCONFIG" >&5 $as_echo "$FLTKCONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "$FLTKCONFIG" = "fltk-config"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lfltk" >&5 $as_echo_n "checking for main in -lfltk... " >&6; } if ${ac_cv_lib_fltk_main+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lfltk $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { return main (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_fltk_main=yes else ac_cv_lib_fltk_main=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_fltk_main" >&5 $as_echo "$ac_cv_lib_fltk_main" >&6; } if test "x$ac_cv_lib_fltk_main" = xyes; then : LIBS="$LIBS `fltk-config --ldflags --use-images`" CXXFLAGS="$CXXFLAGS `fltk-config --cxxflags`" else as_fn_error $? "**** Could not find libfltk ****" "$LINENO" 5 fi else as_fn_error $? "**** Could not find fltk-config ****" "$LINENO" 5 fi #Add dbus library for Linux if test "$build_linux" = "yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 $as_echo "$as_me: " >&6;} 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 DBUS" >&5 $as_echo_n "checking for DBUS... " >&6; } if test -n "$DBUS_CFLAGS"; then pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$DBUS_LIBS"; then pkg_cv_DBUS_LIBS="$DBUS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 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 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1` else DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$DBUS_PKG_ERRORS" >&5 $as_echo "#define HAVE_DBUS 0" >>confdefs.h as_fn_error $? "**** Coud not find dbus dev files" "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "#define HAVE_DBUS 0" >>confdefs.h as_fn_error $? "**** Coud not find dbus dev files" "$LINENO" 5 else DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS DBUS_LIBS=$pkg_cv_DBUS_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_DBUS 1" >>confdefs.h LIBS="$LIBS $DBUS_LIBS" CFLAGS="$CFLAGS $LIBS $DBUS_CFLAGS" CXXFLAGS="$CXXFLAGS $DBUS_CFLAGS" fi fi #Add dbus library for FreeBSD if test "$build_freebsd" = "yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 $as_echo "$as_me: " >&6;} pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5 $as_echo_n "checking for DBUS... " >&6; } if test -n "$DBUS_CFLAGS"; then pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$DBUS_LIBS"; then pkg_cv_DBUS_LIBS="$DBUS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 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 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1` else DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$DBUS_PKG_ERRORS" >&5 $as_echo "#define HAVE_DBUS 0" >>confdefs.h as_fn_error $? "**** Coud not find dbus dev files" "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "#define HAVE_DBUS 0" >>confdefs.h as_fn_error $? "**** Coud not find dbus dev files" "$LINENO" 5 else DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS DBUS_LIBS=$pkg_cv_DBUS_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_DBUS 1" >>confdefs.h LIBS="$LIBS $DBUS_LIBS" CFLAGS="$CFLAGS $LIBS $DBUS_CFLAGS" CXXFLAGS="$CXXFLAGS $DBUS_CFLAGS" fi fi # Checks for header files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 $as_echo_n "checking for X... " >&6; } # Check whether --with-x was given. if test "${with_x+set}" = set; then : withval=$with_x; fi # $have_x is `yes', `no', `disabled', or empty when we do not yet know. if test "x$with_x" = xno; then # The user explicitly disabled X. have_x=disabled else case $x_includes,$x_libraries in #( *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : $as_echo_n "(cached) " >&6 else # One or both of the vars are not set, and there is no cached value. ac_x_includes=no ac_x_libraries=no rm -f -r conftest.dir if mkdir conftest.dir; then cd conftest.dir cat >Imakefile <<'_ACEOF' incroot: @echo incroot='${INCROOT}' usrlibdir: @echo usrlibdir='${USRLIBDIR}' libdir: @echo libdir='${LIBDIR}' _ACEOF if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. for ac_var in incroot usrlibdir libdir; do eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" done # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. for ac_extension in a so sl dylib la dll; do if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && test -f "$ac_im_libdir/libX11.$ac_extension"; then ac_im_usrlibdir=$ac_im_libdir; break fi done # Screen out bogus values from the imake configuration. They are # bogus both because they are the default anyway, and because # using them would break gcc on systems where it needs fixed includes. case $ac_im_incroot in /usr/include) ac_x_includes= ;; *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; esac case $ac_im_usrlibdir in /usr/lib | /usr/lib64 | /lib | /lib64) ;; *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; esac fi cd .. rm -f -r conftest.dir fi # Standard set of common directories for X headers. # Check X11 before X11Rn because it is often a symlink to the current release. ac_x_header_dirs=' /usr/X11/include /usr/X11R7/include /usr/X11R6/include /usr/X11R5/include /usr/X11R4/include /usr/include/X11 /usr/include/X11R7 /usr/include/X11R6 /usr/include/X11R5 /usr/include/X11R4 /usr/local/X11/include /usr/local/X11R7/include /usr/local/X11R6/include /usr/local/X11R5/include /usr/local/X11R4/include /usr/local/include/X11 /usr/local/include/X11R7 /usr/local/include/X11R6 /usr/local/include/X11R5 /usr/local/include/X11R4 /usr/X386/include /usr/x386/include /usr/XFree86/include/X11 /usr/include /usr/local/include /usr/unsupported/include /usr/athena/include /usr/local/x11r5/include /usr/lpp/Xamples/include /usr/openwin/include /usr/openwin/share/include' if test "$ac_x_includes" = no; then # Guess where to find include files, by looking for Xlib.h. # First, try using that file with no special directory specified. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # We can compile using X headers with no special include directory. ac_x_includes= else for ac_dir in $ac_x_header_dirs; do if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir break fi done fi rm -f conftest.err conftest.i conftest.$ac_ext fi # $ac_x_includes = no if test "$ac_x_libraries" = no; then # Check for the libraries. # See if we find them without any special options. # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS LIBS="-lX11 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { XrmInitialize () ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : LIBS=$ac_save_LIBS # We can link X programs with no special library path. ac_x_libraries= else LIBS=$ac_save_LIBS for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` do # Don't even attempt the hair of trying to link an X program! for ac_extension in a so sl dylib la dll; do if test -r "$ac_dir/libX11.$ac_extension"; then ac_x_libraries=$ac_dir break 2 fi done done fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi # $ac_x_libraries = no case $ac_x_includes,$ac_x_libraries in #( no,* | *,no | *\'*) # Didn't find X, or a directory has "'" in its name. ac_cv_have_x="have_x=no";; #( *) # Record where we found X for the cache. ac_cv_have_x="have_x=yes\ ac_x_includes='$ac_x_includes'\ ac_x_libraries='$ac_x_libraries'" esac fi ;; #( *) have_x=yes;; esac eval "$ac_cv_have_x" fi # $with_x != no if test "$have_x" != yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 $as_echo "$have_x" >&6; } no_x=yes else # If each of the values was on the command line, it overrides each guess. test "x$x_includes" = xNONE && x_includes=$ac_x_includes test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries # Update the cache value to reflect the command line values. ac_cv_have_x="have_x=yes\ ac_x_includes='$x_includes'\ ac_x_libraries='$x_libraries'" { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } fi for ac_header in fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h unistd.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 # Checks for typedefs, structures, and compiler characteristics. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } if ${ac_cv_header_stdbool_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef bool "error: bool is not defined" #endif #ifndef false "error: false is not defined" #endif #if false "error: false is not 0" #endif #ifndef true "error: true is not defined" #endif #if true != 1 "error: true is not 1" #endif #ifndef __bool_true_false_are_defined "error: __bool_true_false_are_defined is not defined" #endif struct s { _Bool s: 1; _Bool t; } s; char a[true == 1 ? 1 : -1]; char b[false == 0 ? 1 : -1]; char c[__bool_true_false_are_defined == 1 ? 1 : -1]; char d[(bool) 0.5 == true ? 1 : -1]; /* See body of main program for 'e'. */ char f[(_Bool) 0.0 == false ? 1 : -1]; char g[true]; char h[sizeof (_Bool)]; char i[sizeof s.t]; enum { j = false, k = true, l = false * true, m = true * 256 }; /* The following fails for HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ _Bool n[m]; char o[sizeof n == m * sizeof n[0] ? 1 : -1]; char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; /* Catch a bug in an HP-UX C compiler. See http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html */ _Bool q = true; _Bool *pq = &q; int main () { bool e = &s; *pq |= q; *pq |= ! q; /* Refer to every declared value, to avoid compiler optimizations. */ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + !m + !n + !o + !p + !q + !pq); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdbool_h=yes else ac_cv_header_stdbool_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 $as_echo "$ac_cv_header_stdbool_h" >&6; } ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" if test "x$ac_cv_type__Bool" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE__BOOL 1 _ACEOF fi if test $ac_cv_header_stdbool_h = yes; then $as_echo "#define HAVE_STDBOOL_H 1" >>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 # 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 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 realloc" >&5 $as_echo_n "checking for GNU libc compatible realloc... " >&6; } if ${ac_cv_func_realloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_realloc_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 *realloc (); #endif int main () { return ! realloc (0, 0); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_realloc_0_nonnull=yes else ac_cv_func_realloc_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_realloc_0_nonnull" >&5 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } if test $ac_cv_func_realloc_0_nonnull = yes; then : $as_echo "#define HAVE_REALLOC 1" >>confdefs.h else $as_echo "#define HAVE_REALLOC 0" >>confdefs.h case " $LIBOBJS " in *" realloc.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;; esac $as_echo "#define realloc rpl_realloc" >>confdefs.h fi for ac_func in gethostbyaddr gethostbyname memset pow select socket strchr strdup strpbrk strrchr strstr X509_check_host 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 fi done ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCXX\" 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 "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${WINDOWS_TRUE}" && test -z "${WINDOWS_FALSE}"; then as_fn_error $? "conditional \"WINDOWS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then as_fn_error $? "conditional \"LINUX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${WINDOWS_TRUE}" && test -z "${WINDOWS_FALSE}"; then as_fn_error $? "conditional \"WINDOWS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${OSX_TRUE}" && test -z "${OSX_FALSE}"; then as_fn_error $? "conditional \"OSX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${FREEBSD_TRUE}" && test -z "${FREEBSD_FALSE}"; then as_fn_error $? "conditional \"FREEBSD\" 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 butt $as_me 0.1.26, 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="\\ butt config.status 0.1.26 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" MAKE="${MAKE-make}" # 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" ;; "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; *) 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. # TODO: see whether this extra hack can be removed once we start # requiring Autoconf 2.70 or later. case $CONFIG_FILES in #( *\'*) : eval set x "$CONFIG_FILES" ;; #( *) : set x $CONFIG_FILES ;; #( *) : ;; esac shift # Used to flag and report bootstrapping failures. am_rc=0 for am_mf do # Strip MF so we end up with the name of the file. am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ || continue am_dirpart=`$as_dirname -- "$am_mf" || $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$am_mf" : 'X\(//\)[^/]' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$am_mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` am_filepart=`$as_basename -- "$am_mf" || $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$am_mf" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` { echo "$as_me:$LINENO: cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles" >&5 (cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } || am_rc=$? done if test $am_rc -ne 0; then { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "Something went wrong bootstrapping makefile fragments for automatic dependency tracking. Try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). See \`config.log' for more details" "$LINENO" 5; } fi { am_dirpart=; unset am_dirpart;} { am_filepart=; unset am_filepart;} { am_mf=; unset am_mf;} { am_rc=; unset am_rc;} rm -f conftest-deps.mk } ;; "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" gt_tab=`printf '\t'` cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/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 assignment 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 assignment 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 butt-0.1.26/config.h.in0000664000175000017500000001230213770374501011531 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if translation of program messages to the user's native language is requested. */ #undef ENABLE_NLS /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework. */ #undef HAVE_CFLOCALECOPYCURRENT /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework. */ #undef HAVE_CFPREFERENCESCOPYAPPVALUE /* Use dbus to get current tracks */ #undef HAVE_DBUS /* 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_FCNTL_H /* Define to 1 if you have the `gethostbyaddr' function. */ #undef HAVE_GETHOSTBYADDR /* Define to 1 if you have the `gethostbyname' function. */ #undef HAVE_GETHOSTBYNAME /* 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 `crypto' library (-lcrypto). */ #undef HAVE_LIBCRYPTO /* Define to 1 if you have the `fdk-aac' library (-lfdk-aac). */ #undef HAVE_LIBFDK_AAC /* Define to 1 if you have the `FLAC' library (-lFLAC). */ #undef HAVE_LIBFLAC /* Define to 1 if you have the `mp3lame' library (-lmp3lame). */ #undef HAVE_LIBMP3LAME /* Define to 1 if you have the `ogg' library (-logg). */ #undef HAVE_LIBOGG /* Define to 1 if you have the `opus' library (-lopus). */ #undef HAVE_LIBOPUS /* Define to 1 if you have the `portaudio' library (-lportaudio). */ #undef HAVE_LIBPORTAUDIO /* Define to 1 if you have the `pthread' library (-lpthread). */ #undef HAVE_LIBPTHREAD /* Define to 1 if you have the `samplerate' library (-lsamplerate). */ #undef HAVE_LIBSAMPLERATE /* Define to 1 if you have the `ssl' library (-lssl). */ #undef HAVE_LIBSSL /* Define to 1 if you have the `vorbis' library (-lvorbis). */ #undef HAVE_LIBVORBIS /* Define to 1 if you have the `vorbisenc' library (-lvorbisenc). */ #undef HAVE_LIBVORBISENC /* Define to 1 if you have the header file. */ #undef HAVE_LIMITS_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_NETDB_H /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IN_H /* Define to 1 if you have the `pow' function. */ #undef HAVE_POW /* Define to 1 if your system has a GNU libc compatible `realloc' function, and to 0 otherwise. */ #undef HAVE_REALLOC /* Define to 1 if you have the `select' function. */ #undef HAVE_SELECT /* Define to 1 if you have the `socket' function. */ #undef HAVE_SOCKET /* Define to 1 if stdbool.h conforms to C99. */ #undef HAVE_STDBOOL_H /* 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 `strdup' function. */ #undef HAVE_STRDUP /* 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 `strpbrk' function. */ #undef HAVE_STRPBRK /* Define to 1 if you have the `strrchr' function. */ #undef HAVE_STRRCHR /* Define to 1 if you have the `strstr' function. */ #undef HAVE_STRSTR /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SOCKET_H /* 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 /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if you have the `X509_check_host' function. */ #undef HAVE_X509_CHECK_HOST /* Define to 1 if the system has the type `_Bool'. */ #undef HAVE__BOOL /* 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 to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION /* 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 rpl_realloc if the replacement function should be used. */ #undef realloc butt-0.1.26/depcomp0000775000175000017500000005601713751456251011100 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2016-01-11.22; # UTC # Copyright (C) 1999-2017 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: "UTC0" # time-stamp-end: "; # UTC" # End: butt-0.1.26/install-sh0000775000175000017500000003546313751456251011531 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2014-09-12.12; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi 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 if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi 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 "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else dstdir=`dirname "$dst"` 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. ;; *) # $RANDOM is not portable (e.g. dash); use it when possible to # lower collision chance tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 # As "mkdir -p" follows symlinks and we work in /tmp possibly; so # create the $tmpdir first (and fail if unsuccessful) to make sure # that nobody tries to guess the $tmpdir name. if (umask $mkdir_umask && $mkdirprog $mkdir_mode "$tmpdir" && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/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. test_tmpdir="$tmpdir/a" ls_ld_tmpdir=`ls -ld "$test_tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 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 oIFS=$IFS IFS=/ set -f set fnord $dstdir shift 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` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && 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: butt-0.1.26/player_plugins/0000775000175000017500000000000013663226731012627 500000000000000butt-0.1.26/player_plugins/amarok/0000775000175000017500000000000013663226731014101 500000000000000butt-0.1.26/player_plugins/amarok/butt_amarok.amarokscript.tar.bz20000664000175000017500000000205613663226731022236 00000000000000BZh91AY&SYz T@ |ߺ@P;0BF4='{SQ?T6 ChЁ@ !EOHLѐɐ240@54i 'fOQ=M44=F{>JPF﹊ $u칩86!x,'MjG1(liq'yXAB;X@@:A`ܫRhmV!1mӭ+ >SE6'օCT |H„2ldy(΍&:U+:(mNU 3e1ZE! Sk6 kC bU0l2lkxU‰8(HdJ"E G j'R}`) plQcA\w8`Z5 r䊴$2Iu-.*a3&wI \jד{FD8"]u]Q8+;zا~Mt@2T? ␘";"%N p o} H5 W7?Pe duXMf ̳)ˣ-e?vfxV|0 'W|wd6j Eś AǩlٳFv . .b7Kfcj.d\窸9~JQO`̙[: u|g4Vy9@a+fA3ۓO?S-/gfȵtX"ꝬgLHٛV)%8#[i,zP;XxjVۺJD fLBVO&.n..k" bobdH56LE#{eRꀬmsYI)"1OogE,*X2@EtRf[tUYs`IhYk 7T%f}˚Xi yFZwTJl{-j dH" bc)թB_)„butt-0.1.26/player_plugins/amarok/butt_amarok.rb0000775000175000017500000000411113663226731016656 00000000000000#!/usr/bin/env ruby # # Now playing script for IRC. # Use with the "/exec -o" command of your client. You can bind an alias like this: # /alias np exec -o /home/myself/amaroknowplaying.rb # # (c) 2005-2006 Mark Kretschmann # License: GNU General Public License V2 # # modified by Daniel Nthen for use in combination with butt loop do message = gets().chomp() #Read message from stdin command = /[A-Za-z]*/.match( message ).to_s() case command when "configure" msg = '"This script does not have configuration options."' `dcop amarok playlist popupMessage "#{msg}"` when "trackChange" title = `dcop amarok player title 2> /dev/null`.chomp exit( 1 ) unless $?.success? # Abort if Amarok isn't running artist = `dcop amarok player artist`.chomp album = `dcop amarok player album`.chomp year = `dcop amarok player year`.chomp lastfm = `dcop amarok player lastfmStation`.chomp output = "" if title.empty? output += `dcop amarok player nowPlaying`.chomp else # Strip file extension extensions = ".ogg", ".mp3", ".wav", ".flac", ".fla", ".wma", ".mpc" ext = File.extname( title ).downcase if extensions.include?( ext ) title = title[0, title.length - ext.length] end if artist.empty? output += "#{title}" else output += "#{artist} - #{title}" end unless album.empty? output += " [#{album}" output += ", #{year}" unless year == "0" output += "]" end unless lastfm.empty? output += " (Last.fm #{lastfm})" end end f = File.open(File.expand_path("~/.amarok_song"), File::WRONLY|File::TRUNC|File::CREAT) f.puts "#{output}" f.close end end butt-0.1.26/INSTALL0000664000175000017500000000322413701623566010544 00000000000000Installation: ------------- OS X: Mount the butt-.dmg by double clicking and drop the butt file into the Applications folder. WINDOWS: Just run the butt--setup.exe as usual and go through the installer pages. The default installation path might be unusual, but this way it is possible to install butt without administration rights. Linux/MinGW (Windows): First of all the following libraries have to be installed on your system fltk-1.3, portaudio19, libmp3lame, libvorbis, libogg, libflac, libopus, libsamplerate, libfdk-aac, libdbus-1, libssl They are quite common and should be included in every popular linux distribution. On Ubuntu you can install them with sudo apt-get install libfltk1.3-dev portaudio19-dev libopus-dev libmp3lame-dev libvorbis-dev libogg-dev libflac-dev libfdk-aac-dev libdbus-1-dev libsamplerate0-dev libssl-dev On Distributions which don't have libfdk-aac like Debian you can compile without aac support: ./configure --disable-aac If you want to disable SSL/TLS support you can run: ./configure --disable-ssl For compiling on Windows I recommend the msys2 x64 (www.msys2.org) environment. They have all the needed packages in their pacman repository. Additionally you need to install the libwinpthread-git package. Make sure that you select the x64 version of each package. After installing the above libraries you can install butt from source as usual: tar -xzf butt-.tar.gz cd butt- ./configure make sudo make install In case the included configure script or the make process fails on your system, try to create a new configure script by invoking: autoreconf -i and start with ./configure again. butt-0.1.26/usr/0000775000175000017500000000000013663226731010403 500000000000000butt-0.1.26/usr/share/0000775000175000017500000000000013663226731011505 500000000000000butt-0.1.26/usr/share/icons/0000775000175000017500000000000013663226731012620 500000000000000butt-0.1.26/usr/share/icons/hicolor/0000775000175000017500000000000013663226731014257 500000000000000butt-0.1.26/usr/share/icons/hicolor/16x16/0000775000175000017500000000000013663226731015044 500000000000000butt-0.1.26/usr/share/icons/hicolor/16x16/apps/0000775000175000017500000000000013663226731016007 500000000000000butt-0.1.26/usr/share/icons/hicolor/16x16/apps/butt.png0000664000175000017500000000571713663226731017425 00000000000000PNG  IHDRa AiCCPICC ProfileH wTSϽ7" %z ;HQIP&vDF)VdTG"cE b PQDE݌k 5ޚYg}׺PtX4X\XffGD=HƳ.d,P&s"7C$ E6<~&S2)212 "įl+ɘ&Y4Pޚ%ᣌ\%g|eTI(L0_&l2E9r9hxgIbטifSb1+MxL 0oE%YmhYh~S=zU&ϞAYl/$ZUm@O ޜl^ ' lsk.+7oʿ9V;?#I3eE妧KD d9i,UQ h A1vjpԁzN6p\W p G@ K0ށiABZyCAP8C@&*CP=#t] 4}a ٰ;GDxJ>,_“@FXDBX$!k"EHqaYbVabJ0՘cVL6f3bձX'?v 6-V``[a;p~\2n5׌ &x*sb|! ߏƿ' Zk! $l$T4QOt"y\b)AI&NI$R$)TIj"]&=&!:dGrY@^O$ _%?P(&OJEBN9J@y@yCR nXZOD}J}/G3ɭk{%Oחw_.'_!JQ@SVF=IEbbbb5Q%O@%!BӥyҸM:e0G7ӓ e%e[(R0`3R46i^)*n*|"fLUo՝mO0j&jajj.ϧwϝ_4갺zj=U45nɚ4ǴhZ ZZ^0Tf%9->ݫ=cXgN].[7A\SwBOK/X/_Q>QG[ `Aaac#*Z;8cq>[&IIMST`ϴ kh&45ǢYYF֠9<|y+ =X_,,S-,Y)YXmĚk]c}džjcΦ浭-v};]N"&1=xtv(}'{'IߝY) Σ -rqr.d._xpUەZM׍vm=+KGǔ ^WWbj>:>>>v}/avO8 FV> 2 u/_$\BCv< 5 ]s.,4&yUx~xw-bEDCĻHGKwFGEGME{EEKX,YFZ ={$vrK .3\rϮ_Yq*©L_wד+]eD]cIIIOAu_䩔)3ѩiB%a+]3='/40CiU@ёL(sYfLH$%Y jgGeQn~5f5wugv5k֮\۹Nw]m mHFˍenQQ`hBBQ-[lllfjۗ"^bO%ܒY}WwvwXbY^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9A>ֹ4k@v0 Piː/KV"W0ܯd4wxB5q3ę+{] 4SZP6(xB yǪa/VO52K3ϺA IK'c)#^ y-IG 0-;#8PgY tv?z4t+b'+k1 0}\  xa٭u"KsdM{ #01ZON܈ Sˆ۷?`ćB >I#`@m?.ExQy%;/[ib?r2c.r th4rYb 7Q)3Uµ![A?qG :Odm`1F >)̹Bku O䯰]=F?ᓿFnom'lrvu}87A]D-F(\ВPUn:t ( 0F|HG_k؈_9n"j/Wb8v6mv6b{5{3Fp}rkvmu"`Ngo+B?WJ`  @-TG:N r&ҍ.FԌ  @쑥c,߱;+nw0#`B@jvZ1L>Jט #Gs^i39hr# {H |[&K2'A @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @g \r0lIENDB`butt-0.1.26/usr/share/icons/hicolor/22x22/0000775000175000017500000000000013663226731015036 500000000000000butt-0.1.26/usr/share/icons/hicolor/22x22/apps/0000775000175000017500000000000013663226731016001 500000000000000butt-0.1.26/usr/share/icons/hicolor/22x22/apps/butt.png0000664000175000017500000000663213663226731017414 00000000000000PNG  IHDRĴl; AiCCPICC ProfileH wTSϽ7" %z ;HQIP&vDF)VdTG"cE b PQDE݌k 5ޚYg}׺PtX4X\XffGD=HƳ.d,P&s"7C$ E6<~&S2)212 "įl+ɘ&Y4Pޚ%ᣌ\%g|eTI(L0_&l2E9r9hxgIbטifSb1+MxL 0oE%YmhYh~S=zU&ϞAYl/$ZUm@O ޜl^ ' lsk.+7oʿ9V;?#I3eE妧KD d9i,UQ h A1vjpԁzN6p\W p G@ K0ށiABZyCAP8C@&*CP=#t] 4}a ٰ;GDxJ>,_“@FXDBX$!k"EHqaYbVabJ0՘cVL6f3bձX'?v 6-V``[a;p~\2n5׌ &x*sb|! ߏƿ' Zk! $l$T4QOt"y\b)AI&NI$R$)TIj"]&=&!:dGrY@^O$ _%?P(&OJEBN9J@y@yCR nXZOD}J}/G3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  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H@$  H`  &6IENDB`butt-0.1.26/usr/share/icons/hicolor/24x24/0000775000175000017500000000000013663226731015042 500000000000000butt-0.1.26/usr/share/icons/hicolor/24x24/apps/0000775000175000017500000000000013663226731016005 500000000000000butt-0.1.26/usr/share/icons/hicolor/24x24/apps/butt.png0000664000175000017500000000676713663226731017431 00000000000000PNG  IHDRw= AiCCPICC ProfileH wTSϽ7" %z ;HQIP&vDF)VdTG"cE b PQDE݌k 5ޚYg}׺PtX4X\XffGD=HƳ.d,P&s"7C$ E6<~&S2)212 "įl+ɘ&Y4Pޚ%ᣌ\%g|eTI(L0_&l2E9r9hxgIbטifSb1+MxL 0oE%YmhYh~S=zU&ϞAYl/$ZUm@O ޜl^ ' lsk.+7oʿ9V;?#I3eE妧KD d9i,UQ h A1vjpԁzN6p\W p G@ K0ށiABZyCAP8C@&*CP=#t] 4}a ٰ;GDxJ>,_“@FXDBX$!k"EHqaYbVabJ0՘cVL6f3bձX'?v 6-V``[a;p~\2n5׌ &x*sb|! ߏƿ' Zk! $l$T4QOt"y\b)AI&NI$R$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"NN{l{ ]]lIFpb } A#obo)rlw!M [9N bK}&a&<.ܨ-,h rt =gBm/VXƿA]ip7F?nIENDB`butt-0.1.26/usr/share/icons/hicolor/48x48/0000775000175000017500000000000013663226731015056 500000000000000butt-0.1.26/usr/share/icons/hicolor/48x48/apps/0000775000175000017500000000000013663226731016021 500000000000000butt-0.1.26/usr/share/icons/hicolor/48x48/apps/butt.png0000664000175000017500000001143713663226731017433 00000000000000PNG  IHDR00W AiCCPICC ProfileH wTSϽ7" %z ;HQIP&vDF)VdTG"cE b PQDE݌k 5ޚYg}׺PtX4X\XffGD=HƳ.d,P&s"7C$ E6<~&S2)212 "įl+ɘ&Y4Pޚ%ᣌ\%g|eTI(L0_&l2E9r9hxgIbטifSb1+MxL 0oE%YmhYh~S=zU&ϞAYl/$ZUm@O ޜl^ ' lsk.+7oʿ9V;?#I3eE妧KD d9i,UQ h A1vjpԁzN6p\W p G@ K0ށiABZyCAP8C@&*CP=#t] 4}a ٰ;GDxJ>,_“@FXDBX$!k"EHqaYbVabJ0՘cVL6f3bձX'?v 6-V``[a;p~\2n5׌ &x*sb|! ߏƿ' Zk! $l$T4QOt"y\b)AI&NI$R$)TIj"]&=&!:dGrY@^O$ _%?P(&OJEBN9J@y@yCR nXZOD}J}/G3ɭk{%Oחw_.'_!JQ@SVF=IEbbbb5Q%O@%!BӥyҸM:e0G7ӓ e%e[(R0`3R46i^)*n*|"fLUo՝mO0j&jajj.ϧwϝ_4갺zj=U45nɚ4ǴhZ ZZ^0Tf%9->ݫ=cXgN].[7A\SwBOK/X/_Q>QG[ `Aaac#*Z;8cq>[&IIMST`ϴ kh&45ǢYYF֠9<|y+ =X_,,S-,Y)YXmĚk]c}džjcΦ浭-v};]N"&1=xtv(}'{'IߝY) Σ -rqr.d._xpUەZM׍vm=+KGǔ ^WWbj>:>>>v}/avO8 FV> 2 u/_$\BCv< 5 ]s.,4&yUx~xw-bEDCĻHGKwFGEGME{EEKX,YFZ ={$vrK .3\rϮ_Yq*©L_w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4j1]["ql:m#bV̄|=4Yщo}7T3`\&a&|1ɢW'8W7L9 4Ko3v`*fLlMQ &8FF_%VzY\[4xIENDB`butt-0.1.26/usr/share/icons/hicolor/256x256@2x/0000775000175000017500000000000013663226731015572 500000000000000butt-0.1.26/usr/share/icons/hicolor/256x256@2x/apps/0000775000175000017500000000000013663226731016535 500000000000000butt-0.1.26/usr/share/icons/hicolor/256x256@2x/apps/butt.png0000664000175000017500000010153613663226731020147 00000000000000PNG  IHDRx AiCCPICC ProfileH wTSϽ7" %z ;HQIP&vDF)VdTG"cE b PQDE݌k 5ޚYg}׺PtX4X\XffGD=HƳ.d,P&s"7C$ E6<~&S2)212 "įl+ɘ&Y4Pޚ%ᣌ\%g|eTI(L0_&l2E9r9hxgIbטifSb1+MxL 0oE%YmhYh~S=zU&ϞAYl/$ZUm@O ޜl^ ' lsk.+7oʿ9V;?#I3eE妧KD d9i,UQ h A1vjpԁzN6p\W p G@ K0ށiABZyCAP8C@&*CP=#t] 4}a ٰ;GDxJ>,_“@FXDBX$!k"EHqaYbVabJ0՘cVL6f3bձX'?v 6-V``[a;p~\2n5׌ &x*sb|! ߏƿ' Zk! $l$T4QOt"y\b)AI&NI$R$)TIj"]&=&!:dGrY@^O$ _%?P(&OJEBN9J@y@yCR nXZOD}J}/G3ɭk{%Oחw_.'_!JQ@SVF=IEbbbb5Q%O@%!BӥyҸM:e0G7ӓ e%e[(R0`3R46i^)*n*|"fLUo՝mO0j&jajj.ϧwϝ_4갺zj=U45nɚ4ǴhZ ZZ^0Tf%9->ݫ=cXgN].[7A\SwBOK/X/_Q>QG[ `Aaac#*Z;8cq>[&IIMST`ϴ kh&45ǢYYF֠9<|y+ =X_,,S-,Y)YXmĚk]c}džjcΦ浭-v};]N"&1=xtv(}'{'IߝY) Σ -rqr.d._xpUەZM׍vm=+KGǔ ^WWbj>:>>>v}/avO8 FV> 2 u/_$\BCv< 5 ]s.,4&yUx~xw-bEDCĻHGKwFGEGME{EEKX,YFZ ={$vrK .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Q1:V<+aJlYS.;ZXd aᱨ(U'!N|uLv418fw 0=q?=`@J\(ܴqScuJgEKS 3NQ2#`yt L:f@@P$̐*G`w LO˫0ĩ9<0: 6LΧWxXOm;l|0VB(t97NzM oxn9Np٧9ylql<994٨caax80]内AuaesrJ~ ])Ex8m!1-c }fA:+ ;^v޺u\$2Lf|g( 8%.K#tf- G@3~-F $;5"s09`'̟ƙEf<s 4/*ͣt_vmB29MV;4 =k-+-Ԁ9A>ֹ4k@v0 Piː/KV"W0ܯd4wxB5q3ę+{] 4SZP6(xB yǪa/VO52K3ϺA IK'c)#^ y-IG 0-;#8PgY tv?z4t+b'+k1 0}\  xa٭u"KsdM{ #01ZON܈ Sˆ۷?`ćB >I#`@m?.ExQy%;/[ib?r2c.r th4rYb 7Q)3Uµ![A?qG :Odm`1F >)̹Bku O䯰]=F?ᓿFnom'lrvu}87A]D-F(\ВPUn:t ( 0F|HG_k؈_9n"j/Wb8v6mv6b{5{3Fp}rkvmu"`Ngo+B?WJ`  @-TG:N r&ҍ.FԌ  @쑥c,߱;+nw0#`B@jvZ1L>Jט #Gs^i39hr# {H |[&K2'A @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @g \r0lIENDB`butt-0.1.26/usr/share/icons/hicolor/64x64/0000775000175000017500000000000013663226731015052 500000000000000butt-0.1.26/usr/share/icons/hicolor/64x64/apps/0000775000175000017500000000000013663226731016015 500000000000000butt-0.1.26/usr/share/icons/hicolor/64x64/apps/butt.png0000664000175000017500000001301413663226731017420 00000000000000PNG  IHDR@@iq AiCCPICC ProfileH wTSϽ7" %z ;HQIP&vDF)VdTG"cE b PQDE݌k 5ޚYg}׺PtX4X\XffGD=HƳ.d,P&s"7C$ E6<~&S2)212 "įl+ɘ&Y4Pޚ%ᣌ\%g|eTI(L0_&l2E9r9hxgIbטifSb1+MxL 0oE%YmhYh~S=zU&ϞAYl/$ZUm@O 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fPU,@ɘ7Xdd3G ɐTRmIpgRRPJ[HZ/3{%p#odRo%Uđ[~* lEޏD ~VQUQ-ӿR_%q+8mJ z@fR(D[E X{phMJ璖F/¥ fp5O]3)nI)f$U%~,.}JW[:c)ғ($VuRTS%On Gdr=H򭢯ާiģ4҂[>_hOV ;egSH_s eµLϓ&ХԿ^E'E4 ٟw&E]5YayJ1p(2J#ޅ moWm~è|)r)W9|Dc6 !Wq=)mI^tfI; =|.crգ4f~-@ř!8l6Gi=eQ;{%.xOTPSa#WP-''ZDf'MsQ*VGTv7h}0ahY\bK\g-JdM㧷SAQdׂ&R24§8B ܖ,;=xP@u`0aGh~N#'O|k ~۫N._ݻ@ֻ h+,)ʣ"Asncu޽c\47y~7K-p=<)t[bU<]@ cypC#gm*~ cbSxE+q+g1VK ҹ̍ncͭ=S&r$S _:#?08ji(=j ~`D*o`иA3]'8vZ`l <];[.Cpg* !@gO\ A{)N(>4%8 jv@ VDH3_OQB(p0zSP lA?+E*3`k`R|]\h2:P6'2hrKX\;Y84h8p@Á 4h8p@Á 4 /ͪNIENDB`butt-0.1.26/usr/share/icons/hicolor/128x128@2x/0000775000175000017500000000000013663226731015566 500000000000000butt-0.1.26/usr/share/icons/hicolor/128x128@2x/apps/0000775000175000017500000000000013663226731016531 500000000000000butt-0.1.26/usr/share/icons/hicolor/128x128@2x/apps/butt.png0000664000175000017500000003463513663226731020150 00000000000000PNG  IHDR\rf AiCCPICC ProfileH wTSϽ7" %z ;HQIP&vDF)VdTG"cE b PQDE݌k 5ޚYg}׺PtX4X\XffGD=HƳ.d,P&s"7C$ E6<~&S2)212 "įl+ɘ&Y4Pޚ%ᣌ\%g|eTI(L0_&l2E9r9hxgIbטifSb1+MxL 0oE%YmhYh~S=zU&ϞAYl/$ZUm@O ޜl^ ' lsk.+7oʿ9V;?#I3eE妧KD d9i,UQ h A1vjpԁzN6p\W p G@ K0ށiABZyCAP8C@&*CP=#t] 4}a ٰ;GDxJ>,_“@FXDBX$!k"EHqaY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'Xk 6nVenBF&gd'2eD?LCMp*(xax&׽@{͕{||SH=]W=lqp|OK>dM6Z"coԖ;.@'c/=^[ 5,S߸VHhzx\A*`567y [Fc, -Q#}6Ϋ;6vm(xD!#>|"3<08#8#8#8#8#8#8#8#8#8#8#8#8#8#8#8#8#8#8#8#8`o:2JdIENDB`butt-0.1.26/usr/share/icons/hicolor/256x256/0000775000175000017500000000000013663226731015220 500000000000000butt-0.1.26/usr/share/icons/hicolor/256x256/apps/0000775000175000017500000000000013663226731016163 500000000000000butt-0.1.26/usr/share/icons/hicolor/256x256/apps/butt.png0000664000175000017500000004732513663226731017602 00000000000000PNG  IHDR\rf AiCCPICC ProfileH wTSϽ7" %z ;HQIP&vDF)VdTG"cE b PQDE݌k 5ޚYg}׺PtX4X\XffGD=HƳ.d,P&s"7C$ E6<~&S2)212 "įl+ɘ&Y4Pޚ%ᣌ\%g|eTI(L0_&l2E9r9hxgIbטifSb1+MxL 0oE%YmhYh~S=zU&ϞAYl/$ZUm@O ޜl^ ' lsk.+7oʿ9V;?#I3eE妧KD d9i,UQ h A1vjpԁzN6p\W p G@ K0ށiABZyCAP8C@&*CP=#t] 4}a ٰ;GDxJ>,_“@FXDBX$!k"EHqaYbVabJ0՘cVL6f3bձX'?v 6-V``[a;p~\2n5׌ &x*sb|! ߏƿ' Zk! $l$T4QOt"y\b)AI&NI$R$)TIj"]&=&!:dGrY@^O$ _%?P(&OJEBN9J@y@yCR nXZOD}J}/G3ɭk{%Oחw_.'_!JQ@SVF=IEbbbb5Q%O@%!BӥyҸM:e0G7ӓ e%e[(R0`3R46i^)*n*|"fLUo՝mO0j&jajj.ϧwϝ_4갺zj=U45nɚ4ǴhZ ZZ^0Tf%9->ݫ=cXgN].[7A\SwBOK/X/_Q>QG[ `Aaac#*Z;8cq>[&IIMST`ϴ kh&45ǢYYF֠9<|y+ =X_,,S-,Y)YXmĚk]c}džjcΦ浭-v};]N"&1=xtv(}'{'IߝY) Σ -rqr.d._xpUەZM׍vm=+K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775000175000017500000000000013663226731015064 500000000000000butt-0.1.26/usr/share/icons/hicolor/96x96/apps/0000775000175000017500000000000013663226731016027 500000000000000butt-0.1.26/usr/share/icons/hicolor/96x96/apps/butt.png0000664000175000017500000001721113663226731017435 00000000000000PNG  IHDR``w8 AiCCPICC ProfileH wTSϽ7" %z ;HQIP&vDF)VdTG"cE b PQDE݌k 5ޚYg}׺PtX4X\XffGD=HƳ.d,P&s"7C$ E6<~&S2)212 "įl+ɘ&Y4Pޚ%ᣌ\%g|eTI(L0_&l2E9r9hxgIbטifSb1+MxL 0oE%YmhYh~S=zU&ϞAYl/$ZUm@O ޜl^ ' lsk.+7oʿ9V;?#I3eE妧KD d9i,UQ h A1vjpԁzN6p\W p G@ K0ށiABZyCAP8C@&*CP=#t] 4}a ٰ;GDxJ>,_“@FXDBX$!k"EHqaYbVabJ0՘cVL6f3bձX'?v 6-V``[a;p~\2n5׌ &x*sb|! ߏƿ' Zk! $l$T4QOt"y\b)AI&NI$R$)TIj"]&=&!:dGrY@^O$ _%?P(&OJEBN9J@y@yCR nXZOD}J}/G3ɭk{%Oחw_.'_!JQ@SVF=IEbbbb5Q%O@%!BӥyҸM:e0G7ӓ e%e[(R0`3R46i^)*n*|"fLUo՝mO0j&jajj.ϧwϝ_4갺zj=U45nɚ4ǴhZ ZZ^0Tf%9->ݫ=cXgN].[7A\SwBOK/X/_Q>QG[ `Aaac#*Z;8cq>[&IIMST`ϴ kh&45ǢYYF֠9<|y+ =X_,,S-,Y)YXmĚk]c}džjcΦ浭-v};]N"&1=xtv(}'{'IߝY) Σ -rqr.d._xpUەZM׍vm=+KGǔ ^WWbj>:>>>v}/avO8 FV> 2 u/_$\BCv< 5 ]s.,4&yUx~xw-bEDCĻHGKwFGEGME{EEKX,YFZ ={$vrK .3\rϮ_Yq*©L_wד+]eD]cIIIOAu_䩔)3ѩiB%a+]3='/40CiU@ёL(sYfLH$%Y jgGeQn~5f5wugv5k֮\۹Nw]m mHFˍenQQ`hBBQ-[lllf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lJz[!B N4@ !ZSo 3}ib*/[܇bbmO\$g纤RQ _҂r)@m8h-_vf;KV꾼f&^lhw(tIܝPT^w XR0_RZjW+n,jzԲW۔:d=rJe+ ^b0Î@Fy{/g@꣆^]);""-XJ.|mT?.[dZm[L7mV#[G j9Cŧv] V`_w0R #uH >Z+g] X_v،kێ6ݎ26u*O.ĔTE8xPl_o 8P /2j.Ŀ$;{t_${1ER"6)Nϩإ/ϯ tftԎLe*@i<'*EN9)~VGV.#IJ}'nUHG֫gf Z 6υTo)w`AL ?F;K4y5 ͣ ?GJ yLZe= ,}1C} rvN-V@X>'q5ңaUDG$3` BtvXݛ3#.OOKfR-'() x> HULسw>&<}_M/ 6kM5&|V$}a0)j]2B21O` Ikx |٠u9$VTX;nLX?:-yerrՋ+ad8@۾s-mط quB1`wZBK>z(@?c`;c]^[@1Lrl?Fd 2MgoIάҩ p#`i8]pVWBN"- [HiƈJ=񫄛r?]W5?ەhr>!9yUYjh-[׏m9頴n94 мLp,ߌp"(Ej3m w!-9xgl^WUήlf:b'̍y%ɦV[=)݀ B|˵qGvim .j\!1f^u&(A3 >~su z5Sgn@x3YXk Qwf@B\xSWQE{+oguL'Z  BN K w[RWKU?p image/svg+xml butt-0.1.26/usr/share/pixmaps/0000775000175000017500000000000013663226731013166 500000000000000butt-0.1.26/usr/share/pixmaps/butt16.xpm0000664000175000017500000001031113663226731014755 00000000000000/* XPM */ static char *butt16x16[] = { /* columns rows colors chars-per-pixel */ "16 16 256 2 ", " c None", ". c black", "X c black", "o c black", "O c black", "+ c black", "@ c black", "# c black", "$ c black", "% c black", "& c black", "* c black", "= c black", "- c black", "; c black", ": c black", "> c black", ", c black", "< c black", "1 c black", "2 c black", "3 c black", "4 c black", "5 c black", "6 c black", "7 c black", "8 c black", "9 c black", "0 c black", "q c black", "w c black", "e c black", "r c black", "t c black", "y c black", "u c black", "i c black", "p c black", "a c black", "s c black", "d c black", "f c black", "g c black", "h c black", "j c #020202", "k c black", "l c black", "z c black", "x c black", "c c black", "v c black", "b c black", "n c black", "m c black", "M c black", "N c black", "B c black", "V c black", "C c black", "Z c black", "A c #020202", "S c black", "D c black", "F c black", "G c black", "H c black", "J c black", "K c black", "L c black", "P c black", "I c black", "U c black", "Y c black", "T c black", "R c black", "E c black", "W c #020202", "Q c black", "! c black", "~ c black", "^ c black", "/ c black", "( c black", ") c black", "_ c black", "` c black", "' c black", "] c black", "[ c black", "{ c black", "} c black", "| c black", " . c #020202", ".. c black", "X. c black", "o. c black", "O. c black", "+. c black", "@. c black", "#. c black", "$. c black", "%. c black", "&. c black", "*. c black", "=. c black", "-. c black", ";. c black", ":. c black", ">. c #020202", ",. c black", "<. c black", "1. c black", "2. c black", "3. c black", "4. c black", "5. c black", "6. c black", "7. c black", "8. c black", "9. c black", "0. c black", "q. c black", "w. c black", "e. c black", "r. c #020202", "t. c black", "y. c black", "u. c black", "i. c black", "p. c black", "a. c black", "s. c black", "d. c black", "f. c black", "g. c black", "h. c black", "j. c black", "k. c black", "l. c black", "z. c black", "x. c #020202", "c. c black", "v. c black", "b. c black", "n. c black", "m. c black", "M. c black", "N. c black", "B. c black", "V. c black", "C. c black", "Z. c black", "A. c black", "S. c black", "D. c black", "F. c black", "G. c #020202", "H. c black", "J. c black", "K. c black", "L. c black", "P. c black", "I. c black", "U. c black", "Y. c black", "T. c black", "R. c black", "E. c black", "W. c black", "Q. c black", "!. c #020202", "~. c black", "^. c #020202", "/. c black", "(. c black", "). c black", "_. c black", "`. c black", "'. c black", "]. c black", "[. c black", "{. c black", "}. c black", "|. c black", " X c black", ".X c black", "XX c black", "oX c black", "OX c #020202", "+X c black", "@X c black", "#X c black", "$X c black", "%X c black", "&X c black", "*X c black", "=X c black", "-X c black", ";X c black", ":X c black", ">X c black", ",X c black", " , < 1 2 3 4 5 6 7 8 9 0 q w e ", "r t y u i p a s d f g h j k l z ", "x c v b n m M N B V C Z A S D F ", "G H J K L P I U Y T R E W Q ! ~ ", "^ / ( ) _ ` ' ] [ { } | ...X.o.", "O.+.@.#.$.%.&.*.=.-.;.:.>.,.<.1.", "2.3.4.5.6.7.8.9.0.q.w.e.r.t.y.u.", "i.p.a.s.d.f.g.h.j.k.l.z.x.c.v.b.", "n.m.M.N.B.V.C.Z.A.S.D.F.G.H.J.K.", "L.P.I.U.Y.T.R.E.W.Q.!.~.^./.(.).", "_.`.'.].[.{.}.|. X.XXXoXOX+X@X#X", "$X%X&X*X=X-X;X:X>X,X. dnl Copyright © 2012-2015 Dan Nicholson dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl This program is distributed in the hope that it will be useful, but dnl WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA dnl 02111-1307, USA. dnl dnl As a special exception to the GNU General Public License, if you dnl distribute this file as part of a program that contains a dnl configuration script generated by Autoconf, you may include it under dnl the same distribution terms that you use for the rest of that dnl program. dnl PKG_PREREQ(MIN-VERSION) dnl ----------------------- dnl Since: 0.29 dnl dnl Verify that the version of the pkg-config macros are at least dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's dnl installed version of pkg-config, this checks the developer's version dnl of pkg.m4 when generating configure. dnl dnl To ensure that this macro is defined, also add: dnl m4_ifndef([PKG_PREREQ], dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) dnl dnl See the "Since" comment for each macro you use to see what version dnl of the macros you require. m4_defun([PKG_PREREQ], [m4_define([PKG_MACROS_VERSION], [0.29.1]) m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) ])dnl PKG_PREREQ dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) dnl ---------------------------------- dnl Since: 0.16 dnl dnl Search for the pkg-config tool and set the PKG_CONFIG variable to dnl first found in the path. Checks that the version of pkg-config found dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is dnl used since that's the first version where most current features of dnl pkg-config existed. 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 ])dnl PKG_PROG_PKG_CONFIG dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------------------------------- dnl Since: 0.18 dnl dnl Check to see whether a particular set of modules exists. Similar to dnl PKG_CHECK_MODULES(), but does not set variables or print errors. dnl dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) dnl only at the first occurence in configure.ac, so if the first place dnl it's called might be skipped (such as if it is within an "if", you dnl 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]) dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) dnl --------------------------------------------- dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting dnl pkg_failed based on the result. 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 ])dnl _PKG_CONFIG dnl _PKG_SHORT_ERRORS_SUPPORTED dnl --------------------------- dnl Internal check to see if pkg-config supports short errors. 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 ])dnl _PKG_SHORT_ERRORS_SUPPORTED dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl -------------------------------------------------------------- dnl Since: 0.4.0 dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES might not happen, you should be sure to include an dnl 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 ])dnl PKG_CHECK_MODULES dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl --------------------------------------------------------------------- dnl Since: 0.29 dnl dnl Checks for existence of MODULES and gathers its build flags with dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags dnl and VARIABLE-PREFIX_LIBS from --libs. dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to dnl include an explicit call to PKG_PROG_PKG_CONFIG in your dnl configure.ac. AC_DEFUN([PKG_CHECK_MODULES_STATIC], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl _save_PKG_CONFIG=$PKG_CONFIG PKG_CONFIG="$PKG_CONFIG --static" PKG_CHECK_MODULES($@) PKG_CONFIG=$_save_PKG_CONFIG[]dnl ])dnl PKG_CHECK_MODULES_STATIC dnl PKG_INSTALLDIR([DIRECTORY]) dnl ------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable pkgconfigdir as the location where a module dnl should install pkg-config .pc files. By default the directory is dnl $libdir/pkgconfig, but the default can be changed by passing dnl DIRECTORY. The user can override through the --with-pkgconfigdir dnl 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 dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) dnl -------------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable noarch_pkgconfigdir as the location where a dnl module should install arch-independent pkg-config .pc files. By dnl default the directory is $datadir/pkgconfig, but the default can be dnl changed by passing DIRECTORY. The user can override through the dnl --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 dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------- dnl Since: 0.28 dnl dnl 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 ])dnl PKG_CHECK_VAR # Copyright (C) 2002-2018 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.16' 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.16.1], [], [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.16.1])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-2018 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], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2018 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-2018 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-2018 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. # TODO: see whether this extra hack can be removed once we start # requiring Autoconf 2.70 or later. AS_CASE([$CONFIG_FILES], [*\'*], [eval set x "$CONFIG_FILES"], [*], [set x $CONFIG_FILES]) shift # Used to flag and report bootstrapping failures. am_rc=0 for am_mf do # Strip MF so we end up with the name of the file. am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ || continue am_dirpart=`AS_DIRNAME(["$am_mf"])` am_filepart=`AS_BASENAME(["$am_mf"])` AM_RUN_LOG([cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles]) || am_rc=$? done if test $am_rc -ne 0; then AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments for automatic dependency tracking. Try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking).]) fi AS_UNSET([am_dirpart]) AS_UNSET([am_filepart]) AS_UNSET([am_mf]) AS_UNSET([am_rc]) rm -f conftest-deps.mk } ])# _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. # This creates each '.Po' and '.Plo' makefile fragment that we'll 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" MAKE="${MAKE-make}"])]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2018 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. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # 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 (and possibly the TAP driver). 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 # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) 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-2018 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+set}" != 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-2018 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-2018 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 whether make has an 'include' directive that can support all # the idioms we need for our automatic dependency tracking code. AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out .PHONY: am__doit END am__include="#" am__quote= # BSD make does it like this. echo '.include "confinc.mk" # ignored' > confmf.BSD # Other make implementations (GNU, Solaris 10, AIX) do it like this. echo 'include confinc.mk # ignored' > confmf.GNU _am_result=no for s in GNU BSD; do AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) AS_CASE([$?:`cat confinc.out 2>/dev/null`], ['0:this is the am__doit target'], [AS_CASE([$s], [BSD], [am__include='.include' am__quote='"'], [am__include='include' am__quote=''])]) if test "$am__include" != "#"; then _am_result="yes ($s style)" break fi done rm -f confinc.* confmf.* AC_MSG_RESULT([${_am_result}]) AC_SUBST([am__include])]) AC_SUBST([am__quote])]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2018 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 ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2018 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-2018 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. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != 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 AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2001-2018 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-2018 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-2018 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-2018 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-2018 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-2018 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/nls.m4]) m4_include([m4/po.m4]) m4_include([m4/progtest.m4]) butt-0.1.26/README0000664000175000017500000004274713770374154010412 00000000000000//// execute as "asciidoc manual.txt" //// butt (0.1.26) Manual ==================== :author: Daniel Nöthen :doctype: book :toc2: :numbered: :lang: en :email: butt at danielnoethen dot de :encoding: utf-8 About ----- butt (broadcast using this tool) is an easy to use, multi OS streaming tool. + It supports ShoutCast and IceCast and runs on Linux, MacOS and Windows. + The main purpose of butt is to stream live audio data from your computers Mic or Line input + to an Shoutcast or Icecast server. Recording is also possible. + It is NOT intended to be a server by itself or automatically stream a set of audio files. + Install ------- .OS X: Mount the *butt-.dmg* by double clicking and + drop the butt file to the Applications folder. + .Windows: Just run the *butt--setup.exe* as usual and go through the + installer pages. + The default installation path might be unusual, but this way it is possible to install + butt without administration rights. + .Linux/MinGW (Windows): First of all the following libraries have to be installed on your system + 'fltk-1.3', 'portaudio19', 'libmp3lame', 'libvorbis', 'libogg', 'libflac', 'libopus', 'libsamplerate', 'libfdk-aac', 'libdbus-1, libssl' + They are quite common and should be included in every popular linux distribution. + On *Ubuntu* you can install them with + `sudo apt-get install libfltk1.3-dev portaudio19-dev libopus-dev libmp3lame-dev libvorbis-dev libogg-dev libflac-dev libfdk-aac-dev libdbus-1-dev libsamplerate0-dev libssl-dev` On Distributions which don't have libfdk-aac like *debian* you can compile without aac support with: + `./configure --disable-aac` If you want to disable SSL/TLS support you can run: + `./configure --disable-ssl` For compiling on *Windows* I recommend the msys2 x64 (www.msys2.org) environment. + They have all the needed packages in their pacman repository. Additionally you need to install the `libwinpthread-git` package. + Make sure that you select the x64 version of each package. After installing the above libraries you can install butt from source as usual: - +tar -xzf butt-.tar.gz+ - +cd butt-+ - +autoreconf -i+ (only on Windows/MSYS2) - +./configure+ - +make+ - +sudo make install+ In case the included configure script or the make process fails on your system, try to create a new configure script by invoking: `autoreconf -i` and start with `./configure` again. Quick start ----------- When you start butt the first time, it will create a default configuration + file in in your home directory ('~/.buttrc') on Linux and OS X or at + 'C:\Users\\AppData\Roaming\buttrc' on Windows. + In order to connect to a server, you need to add a new server in the config window. + Just open the settings window and click on [ADD]. + Now fill in the input fields with the server data and click on the new [ADD]. + To connect to the server just press the play button in the main window and enjoy + your broadcast. Install AAC libraries --------------------- .Windows: 1. Download libfdk-aac-2.dll from https://sourceforge.net/projects/butt/files/butt/butt-0.1.26/AAC/libfdk-aac-2.dll/download[here] 2. Go to the installation directory of butt by typing %LOCALAPPDATA%/butt-0.1.26 into the file explorer 3. Copy libfdk-aac-2.dll into the installation directory of butt 4. Restart butt 5. Enjoy AAC Streaming .MacOS: 1. Download libfdk-aac.2.dylib from https://sourceforge.net/projects/butt/files/butt/butt-0.1.26/AAC/libfdk-aac.2.dylib/download[here] + 2. Open your Applications folder + 3. Right click on butt.app + 4. Select Show Package Contents + 5. Copy libfdk-aac.2.dylib next to the butt executeable in Contents/MacOS + 6. Restart butt 7. Enjoy AAC Streaming + .Linux: 1. Install libfdk-aac from your linux distribution repository 2. Enjoy AAC Streaming Configuration ------------- The command line option +-c + allows you to define a new standard configuration path. + This makes it possible to have multiple instances with different configurations + running. In case the file does not exists, butt will create a default file. + [Save]: Saves your current settings to the standard configuration + file or to the file that was passed to the -c option + [Export]: Saves your current settings to the given file + [Import]: Loads the selected file and applies the settings + CAUTION: If you use the -c command line option and import another configuration file + by using the import function, pressing [Save] will overwrite the file that was passed to the -c option. Main Window ----------- The dot matrix display shows you the current state of the butt software. + The states are: idle, streaming, recording. + When in streaming and/or recording state you can cycle through the information by clicking on the display. + You can choose between online duration, data sent, recording duration and data recorded + The [>] symbol shines yellow if butt is connected to a server. + The [O] symbol shines orange if the +[start rec. when connected]+ checkbox is activated. + The [O] symbol shines red if butt is currently recording. + Gain slider: The slider is only visible when the little +[more/less]+ button below + the +[settings]+ button was clicked. + With this slider you can attenuate and amplify the input signal between '-24 dB' and '+24 dB', respectively. + Double clicking the slider resets the gain to '0 dB'. Use this slider only to fine tune your input signal. + It does not change the operating systems input volume setting. Instead, the input signal is multiplied + by the given factor. Thus, adding too much gain will also add lots of noise. + Audio ----- The audio settings tab allows you to select your audio interface and the desired sample rate. + If you have a multi-channel device you may also select the desired input channels for the left and + right audio channel. + With the channel mode setting you tell butt if the audio stream shall be encoded to stereo or mono. + This brings us to 4 possible combinations. .Channel mode = *Stereo* and *different channels* are selected for Left and Right: This is probably the most used combination. + Left and Right channels are encoded into a stereo stream. .Channel mode = *Stereo* and the *same channel* is selected for Left and Right: The selected channel is used for Left and Right channel in a stereo stream. .Channel mode = *Mono* and *different channels* are selected for Left and Right: Left and Right channels are averaged into a mono stream. .Channel mode = *Mono* and the *same channel* is selected for Left and Right: The selected channel is used as mono channel in a mono stream. Streaming --------- To start streaming just click the play symbol. + butt will try to connect to the server until you press the stop button. + If the connection gets lost, butt will try to reconnect until the stop button is pressed + You can stream in 5 different audio codecs: mp3, aac+, ogg/vorbis, ogg/opus and FLAC. + In case opus is selected the sample rate is always upsampled to 48 kHz. + Of course no upsampling is needed if you select 48 kHz as sample rate. + .Song name: If you want to inform the listener about which song is currently playing you + can do that on the +[Stream]+ tab. + You only need to type the song into the +Song Name+ input field + and hit Enter or click +[OK]+. butt can also update the song automatically from a text file. + The first or the last line of the file must be the name of the song. + As soon as butt detects that the file has been changed, it updates the + name of the song on the server. + If you run butt on MacOS or Linux you can even transfer the current + song name from an audio player to butt. + Supported audio players: + Linux: Rhythmbox, Banshee, Clementine, Cantana, Spotify + MacOS: iTunes/Music, Vox, Spotify In case you want to add a prefix and/or a suffix to your song name + you can do that by entering the desired text into the corresponding + input field. Updating the song name is not supported for the Opus codec. .Stream infos: In the +[main]+ settings window you can add stream infos. + This allows you to deliver more details about your stream. + For example the genre of your music, description of your station, web address etc. + Unfortunately, it is not possible to update stream infos during a broadcast. + You need to reconnect for updating the stream infos. + .Automatic streaming: If you activate the checkbox 'Start streaming after launch' butt will + automatically connect to the server as soon as the application has been started. butt can also connect and disconnect depending on the audio signal level: + To connect automatically if a signal is present for a certain amount of time + enter an integral number larger than 0 into the 'Start if signal is present for [...] seconds' field. To disconnect automatically if the signal is absent for a certain amount of time + enter an integral number larger than 0 into the 'Stop if signal is absent for [...] seconds' field. The default signal detection levels are set to -50.0 dB and can be independently changed + for the present and absent signal cases in the +[Audio]+ tab. Recording --------- butt is able to record and stream simultaneously in different bit rates. + For example you can stream with 96 kbit and record with 192 kbit. + Recording is possible in mp3, aac+, ogg/vorbis, ogg/opus, FLAC or wav. To record your session you first need to select the destination folder and specify a file name + in the +[Rec]+ tab. + butt will replace the variables +%d+, +%m+ and +%y+ with the current day, month and year. + For example +rec_(%m_%d_%y).mp3+ translates to +rec_(03_28_2008).mp3+. + Other possible time variables are +%H+ (hours) +%M+ (minutes) +%S+ (seconds). With the +%i+ variable you can add an index number to your file name. + This means with +rec_%i.mp3+ butt first tries to record to +rec_0.mp3+. In case that + file already exists, butt tries +rec_1.mp3+ and so on... + To manually start the recording simply press the record symbol. + To stop recording just click on the record symbol again. + .Automatic recording: If the 'start recording when connected' checkbox is activated butt starts the + recording immediately after being connected to a server. + Vice versa butt will stop the recording if the 'Stop recording when disconnected' checkbox + is active. + Additionally you can tell butt to immediately start recording after the application has been + launched by checking the 'Start recording after launch" box. + To start recording automatically if a signal is present for a certain amount of time + enter an integral number larger than 0 into the 'Start if signal is present for [...] seconds' field. To stop recording automatically if the signal is absent for a certain amount of time + enter an integral number larger than 0 into the 'Stop if signal is absent for [...] seconds' field. The default signal detection levels are set to -50.0 dB and can be independently changed+ for the present and absent signal cases in the +[Audio]+ tab. You can also tell butt to split your recording into + separat files every *n* minutes. Just enter a number higher than 0 + into the 'Split file every [..] minutes' field. + Let's assume your file name is +rec_(%m_%d_%y)\_%i.mp3+ Then the first file is + expanded to +rec\_(03_28_2008)\_0-1.mp3+, the second after *n* minutes to + +rec_(03_28_2008)\_0-2.mp3+, the third to +rec_(03_28_2008)_0-3.mp3+, you got it. + If the 'sync to full hour' checkbox is activated the automatic file splitting + is synchronized to the full hour. This means if the time is '8:55' and file + splitting is set to '15 minutes', the second file starts at '9:00' and the third + at '9:15'. + If you want to split the recording now, just click the '[Split now]' button. DSP --- .6-Band Equalizer: The equalizer allows you to change the gain of certain freuqncy bands from -15 dB to 15 dB. + .Dynamic Range Compressor: Dynamic range compression is used to reduce the difference between + loud and quiet parts of the signal, and thus provide a more consistent + experience for listeners. It is used by virtually all professional + radio stations. + The recommended procedure for configuring the compressor is as follows: + 1. Start playing the loudest audio source you intend to broadcast + (typically music), and line it up with the master gain slider. + 2. Enable the compressor, and adjust the threshold and gain to suit. + The attack and release times can generally be kept as they are, unless + you have a particular reason to change them. You will notice that the + overall signal level goes down, as it is being compressed. + 3. Adjust the makeup gain to bring the signal back to its original level. + 4. Now test with a quieter audio source (such as your voice), and see + that the level of that is boosted in comparison. If the quieter source + is still too quiet, reset the makeup gain to 0 and repeat from step 2 + onwards, until you have a satisfactory result. + This procedure can take some time to find the optimum settings, which + are determined by listening as much as by metering, but it generally + only needs to be done once - butt will save your settings, so once you + have values that work well for your content, you probably don't need + to adjust them again. + As a rough guide, music should be compressed relatively subtly, with a + fairly high threshold and a ratio typically between 2 and 3. Pure + speech content can be compressed much more dramatically, with a low + threshold and a ratio of 5 or more; this will make the speech easier + for the listener to understand, and will also reduce the differences + between different speakers or by not keeping a very consistent + distance from the microphone. + For mixed speech and music broadcasting, it is recommended to set + butt's compression as for music, and then have an additional + compressor (typically a hardware module) between the microphones and + the final mix. + Secure Connection over SSL/TLS (Icecast only) --------------------------------------------- To enable encryption for a certain server, you only have to activate the + 'Use SSL/TLS' checkbox in the server settings. Please bear in mind that the + server must be configured with SSL/TLS support in order to make this working. + The connection will fail if you activate SSL/TLS for a server which does not + support encryption. + If the certficicate validation fails, butt will ask you if you want to trust + that certificate anyway. If you click on +[TRUST]+ butt will establish the + connection and remembers the decision for that certificate and server. + By pressing the button '[Revoke certificate trust]' you can revoke that + decision. + If you want to specify your own file or folder with CA certificates, + you can enter the path to the file or folder in the +[TLS]+ tab of the + settings window. Usually you should not need to enter any information there. Command line control -------------------- butt can be controlled from command line. + If you want you can even control butt from a remote computer. + Please refer to the section below for more information on that. Command line options -------------------- butt has several command line options which can be seperated into two modes. .Operating Mode: These options change the behaviour of the instance you are about to start. + '-c :' + This option allows you to select a different configuration path. It is useful if you + want to run several butt instances with different configurations. Just pass a different + configuration file with the -c option for every instance. + '-A:' + This option tells butt to accept control commands from your network or even the internet. + CAUTION: When using this option everyone in your network or even internet may + control your butt instance. Please use this option only if you have secured your network appropriately. '-x:' + Use this option if you do not want to run a command server at all. This will also disable receiving commands from your local machine. '-p :' + With this option you can define the port of the command server. The default port is 1256. Use this option for example if you have several butt instances that you want to control from command line. .Control Mode: With these options you can send control commands to a running butt instance. + '-s [name]:' + This command tells butt to connect to the server 'name'. If the 'name' parameter is omitted, butt will connect to the currently selected server. '-d:' + When receiving this command, butt will disconnect from the current server. '-r:' + This command starts the recording engine. '-t:' + Use this option to stop the recording. '-S:' + Requests a status information packet. The answer will be of the form: + `connected: 1` + `connecting: 0` + `recording: 0` + where 0 means the function is inactive and 1 means the function is active. '-a
:' + Use this option to control a butt instance that is running on a remote computer. + In order to control a remote butt instance the butt instance must have been + started with the -A option. The parameter 'address' can be either a IP Address or a hostname. '-p :' + This should be set to the same port that has been given to the butt instance you want to control. + By default the command will be sent to port 1256. Uninstall --------- .MacOS: Delete the *butt.app* from your 'Application' folder and + remove the configuration file from '/Users//.buttrc' + .Windows: Run the Uninstaller from the butt folder in your windows start menu. + .Linux/MinGW: Run +sudo make uninstall+ from the source tree and + remove the configuration file from '/home//.buttrc' + Contact ------- butt at danielnoethen dot de Donate ------ Paypal: bipak@gmx.net butt-0.1.26/m4/0000775000175000017500000000000013770656734010123 500000000000000butt-0.1.26/m4/lib-prefix.m40000644000175000017500000002042213751456330012331 00000000000000# lib-prefix.m4 serial 7 (gettext-0.18) dnl Copyright (C) 2001-2005, 2008-2014 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" ]) butt-0.1.26/m4/lib-ld.m40000644000175000017500000000714313751456330011440 00000000000000# lib-ld.m4 serial 6 dnl Copyright (C) 1996-2003, 2009-2014 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/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid dnl collision with libtool.m4. dnl From libtool-2.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 lds only accept -v. case `$LD -v 2>&1 /dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } 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 $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL([acl_cv_path_LD], [if test -z "$LD"; then acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$acl_save_ifs" 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 variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 , 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 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. 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 # 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 ]) butt-0.1.26/m4/ChangeLog0000664000175000017500000003302113770374555011612 00000000000000Version 0.1.26 (2020-12-24) --------------------------- * Added ASIO support * Added support for multi-channel audio devices * Added multi-language support (i18n) * Added German translation * Added option to force reconnection regardless of the server response * Added support for Strawberry audio player (Thanks to Stefan S.) * Added config parameter to disable dithering (set disable_dithering=1 in cfg file) * Fixed possible crash if server is not reachable * Fixed possible crash when reconnecting * Fixed possible crash when using FLAC and song update * Fixed unwanted rounding of compressor values * Fixed overwriting of a DSP setting if it was set to -1.0 * Improved CPU usage * Improved mono/stereo handling * Improved overall song update implementation * Compiles on FreeBSD (Thanks to Per G. and Tobias C. B.) Version 0.1.25 (2020-10-26) --------------------------- * Added the ability to extend the song name with a prefix and a suffix * Fixed issue with automatic song update from text files * Fixed recording in FLAC Version 0.1.24 (2020-10-14) --------------------------- * VU-meter has been redesigned * Fixed issues with usernames that contain special characters * The port of the command server can be specified via command line * Commands can be received via network * It is possible to connect to a particular streaming server when sending the connect command * You can ask a butt instance about its current status with the -S command * butt can automatically check for updates after launch * Update of song name works with FLAC * Thresholds for signal detection can be specified * Added -h command line option to get an overview of all available commands * Updated the manual Version 0.1.23 (2020-09-27) --------------------------- * Fixed crash if the server is not reachable (e.g. unstable internet connections) * Fixed issue with transfering song meta data from music apps to butt (MacOS) * Improved handling of mic permissions dialog on MacOS Version 0.1.22 (2020-07-09) --------------------------- * Added Dynamic Range Compressor (thanks to Thomas P.) * Added ability to check for new versions * butt can now be controlled via command line * Replaced experimental portaudio version with the stable portaudio version * Fixed issue with stereo audio when using the Equalizer (thanks to Thomas P.) * Fixed traffic calculation when using OPUS * Fixed issue with OPUS encoding under some circumstances Version 0.1.21 (2020-05-26) --------------------------- * Streaming and recording can now be started automatically if an audio signal is present * Fixed reconnection issue on unreliable network connections. Should now behave like 0.1.19 again * wav recordings can now be up to 4 GB large * Removed advanced section from the Audio tab. Buffer time can still be set in the configuration file if you need to Version 0.1.20 (2020-04-21) --------------------------- * Added SSL/TLS support for icecast * Recording can now automatically be stopped if the user disconnects from the server * Fixed icecast connection issue (mostly occurring on mobile internet connections like 4G/LTE) * Fixed wrong password detection for liquidsoap based setups * Fixed configuration export on MacOS * Fixed logfile selection on MacOS * Song name is not updated on reconnect anymore if the manual song name input field has been cleared * Upgraded FLTK to version 1.3.5 Version 0.1.19 (2019-12-30) --------------------------- * The song name can now be read from the last line instead from the first line of a file * Streaming and recording can now be automatically stopped after silence has been detected * The last window position can be remembered. Useful when running multiple instances * butt can now be started with hidden info window * The vu-meter runs smoother and needs less cpu * VU-meter peak hold is only active for the red light * Closing butt while streaming or recording must be confirmed now * Changes are now saved without asking for confirmation when closing the app * Removed a new line character from the server name in the title bar * Fixed recceiving song information from iTunes/Music in MacOS Catalina * Fixed wrong counting of sent bytes when using AAC Version 0.1.18 (2019-05-12) --------------------------- * Added support for automatic recording after starting butt * Enabled AAC afterburner (improves audio quality) * Fixed issue with configure.ac and s390x architecture * Updated the FSF address in COPYING * AAC libs are not delivered with the setup files anymore (read the manual on how to activate AAC support again) Version 0.1.17 (2018-12-27) --------------------------- * Added support for FLAC streaming (icecast only) * Added 5-band equalizer (thanks to Melchor Garau Madrigal) * Added the ability to read song informations from several apps on MacOS and Linux (thanks to Melchor Garau Madrigal) * Window title is automatically renamed to the connected server (useful when running multiple instances) * Fixed connection issue with airtime * Fixed integer overflow when gain is set too high * Fixed compilation error on ubuntu 18 * Changed color of windows icon from black to yellow. So people using Win10 can now find butt in their black taskbar ;-) Version 0.1.16 (2017-09-17) --------------------------- * Fixed compatibility issues with shoutcast v2.5.5.732 * Replaced portaudio by newest stable version v190600_20161030 * When using AAC+ the best AAC profile for the current bitrate is selected automatically + AAC+v2: bitrate < 48kBit/s (aac_aot = 29) + AAC+v1: 48 kBit/s \<= bitrate < 96kBit/s (aac_aot = 5) + AAC-LC: bitrate >= 96kBit/s (aac_aot = 2) + * You can force the AAC codec to a specific profile by setting aac_overwrite_aot = 1 and aac_aot to the appropriate aot value {2,5,29} in buttrc Version 0.1.15 (2016-05-28) --------------------------- * Added AAC+ support * Added a "Split now" button to instantly start a new recording file * Improved look&feel on retina displays on OSX * Improved compatibility with proxies/load balancers (thanks to boyska) * Fixed handling of newline characters when reading the song name file * Fixed evlauation of time/date variables when automatic file splitting is enabled * Fixed compatibility with airtime servers * Fixed ogg and opus support for ShoutCast Version 0.1.14 (2014-12-27) --------------------------- * Added FLAC support for recording * Added Opus support (thanks to oneman) * Added logfile support (thanks to mikko) * Added support for more variables in the filename (%H %M %S) (thanks to mikko) * Automatic file splitting can be synced to full hour now (thanks to mikko) * LCD info can automatically rotate every 5 seconds now (thanks to mikko) * Added ability to change audio buffer size * Uncluttered LCD (thanks to mikko) * File extension of record filename gets automatically updated now * Dropped support of different samplerate/channels for stream and record * Resorted settings elements/widgets * Removed possible memleaks * Connecting to an unreachable server does not freeze the GUI anymore * Fixed icecast and shoutcast meta data handling * ;ade update song from file more robust * "update song name manually" reacts on Enter button now Version 0.1.13 (2014-05-02) --------------------------- * Has an icon now! - Thanks to Subrat (ipapuna) Nayak * Added support for lower bitrates (24k, 16k, 8k) * Added support for user defined configuration path e.g. "butt -c " * Added support for user names in Icecast * Added gain slider. This slider multiplies the audio input samples with the given factor * Added .manifest file to disable the VirtualStore on Windows Vista and higher * Added the ability to automatically split the recording every 'n' minutes * Added feature for importing and exporting configuration files * Compiles with Xcode 5 on OS X Mavericks * Compiles with traditional GNU autoconf/automake environment on linux and mingw * Improved robustness against faulty config files * Improved compatibility to ShoutCast v2 servers * Improved look&feel * Fixed samplerate issues * Fixed mono playback/recording * Changed data volume information vom kBytes to MBytes * Changed default recording path to users home folder * Sends audio information (bitrate etc.) to Icecast server - Thanks to Dominik Durner * Reimplemented VU-Meter with peak hold * Comes with as an ubuntu package * Windows: can be installed as user without admin rights * Windows: uninstallation process also removes the configuration file * Instead of canceling the automatic song update in case the given file is not readable, butt now tries to reread the file every 5 seconds Version 0.1.12 (2010-04-10) --------------------------- * butt is now able to connect automatically after startup * Shortened time between connect attempts (fixes Shouted.FM connection problems) * Improved wrong password detection for shoutcast Version 0.1.11-2 (2008-12-14) --------------------------- * Fixed display info after automatic reconnection Version 0.1.11-1 (2008-11-09) --------------------------- * Fixed segfault if there is no '.' in the filename Version 0.1.11 (2008-10-26) --------------------------- * Fixed unintended disconnects * Fixed recording problems * Removed buffer overrun messages * Recording can be now stopped with the stop-button * Replaced pcm recording by wav recording * Recording as ogg is now possible * Added "stay on top" checkbox * Fixed possible crash when changing mp3 settings while streaming Version 0.1.10 (2008-05-25) --------------------------- * Removed xrun "led". Instead the msg window informs the user about overruns * Added dB values to the vu-meter * Fixed bitrate/samplerate selection for ogg * Network backend works with non-blocking sockets now * libshout is not needed anymore * Songname can be updated from a textfile now * More samplerates are supported now * Fixed samplerate selection problems * Fixed crash when connecting to icecast server on MacOS 10.4 * Fixed crash when changing the server type from shoutcast to icecast * Some cosmetic changes (buttons, LEDs) Version 0.1.9 (2008-04-10) --------------------------- * Minor GUI makeup * Made butt more verbose * Fixed possible segfault when trying to EDIT stream info * Fixed automatic reconnection * Filenames can be indexed with the %i variable now * Renamed "rec not until connected" checkbox to "start rec. when connected" * Added orange record icon for "armed" state ("start rec. when connected" = 1) * butt starts recording as soon as connected, when in "armed" state Version 0.1.8 (2008-03-30) --------------------------- * Text/bg color can be changed in the [GUI] tab * Removed the "Config saved" popup message * Added pcm recording * Improoved record handling * The config menu is more user friendly now * Fixed crash when connection loss * The user may select the samplerate now * The config window can be attached to the main window now * Fixed bitrate and codec ShoutCast info Version 0.1.7rc1 (2008-01-04) --------------------------- * butt runs on MacOS 10.4 and 10.5 now! * Added recording time to the display info * Fixed bug with '&' in the song string * Changing the display mode works only when connected now * Added a checkbox which lets the user decide if the recording should start right after selecting the output file or when connected * Added a msg box which ask the user if he wants to stop the recording when disconnecting Version 0.1.6 (2007-12-08) --------------------------- * Added status symbols to the display * Recording runs with a seperate thread now! * Added a button for showing/hiding the server password Version 0.1.5 (2007-11-22) --------------------------- * Minor GUI changes * Fixed streaming/recording with mp3 320kb/s * Fixed segfault in Fl_ILM216.cpp * The user may change the display colors now (right click on the display) * The "connecting" info on the display updates faster now * Changed default display colors to white/blue Version 0.1.5rc1 (2007-11-16) --------------------------- * Replaced ALSA by PortAudio -> OSS is supported now * Ported butt to Microsoft Windows (tested with win2k and win xp) * butt reminds the user about unsaved changes when closing now * Starting the recording is possible at any time now * Added mono encoding for OGG * Improved some GUI stuff * Improved CPU usage Version 0.1.4rc2 (2007-11-03) --------------------------- * butt should compile on more machines now Version 0.1.4rc1 (2007-11-01) --------------------------- * Added IceCast support (ogg and mp3) * Added ./configure script * butt is now able to send the "Current Song" value to the ShoutCast/IceCast server * Changed stereo mode from joint-stereo to real-stereo * Code cleanup Version 0.1.3 (2007-10-08) --------------------------- * Bugfix: butt crashed if you press "apply" in the server/icy tab without having an server/ICY-entry * Bugfix: butt crashed if you change the bitrate without having an ICY-entry * Bugfix: there was some uncommented code in the [DEL]-server callback-routine which shouldn't be uncommented * Facelift: if you delete all server/ICY-entries, the input fields in the server/ICY still showed the values of the last server/ICY-entry Version 0.1.2 (2007-10-07) --------------------------- * Added a GUI for configuring butt * Comments behind config entries are not allowed anymore. * Removed the network init part. It was nonsense * Fixed mono playblack * Fixed recording problems * ICY entries can now be empty without causing butt to crash * butt shows the real port in its "connecting to..."-info line now and the "pseudeo" port in parenthesis * Fixed a bug which causes pcm data loss in some cases Version 0.1.1 (2007-09-16) --------------------------- * Added recording feature * Fixed seg fault on startup when compiled with gcc-4.1.2 * Fixed seg fault when encoding with high bitrates butt-0.1.26/m4/lib-link.m40000644000175000017500000010044313751456330011773 00000000000000# lib-link.m4 serial 26 (gettext-0.18.2) dnl Copyright (C) 2001-2014 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],[m4_translit([$1],[./+-], [____])]) pushdef([NAME],[m4_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],[m4_translit([$1],[./+-], [____])]) pushdef([NAME],[m4_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_LINK_IFELSE( [AC_LANG_PROGRAM([[$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_libname_spec, dnl acl_library_names_spec, 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],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) define([acl_frompackage_]NAME, [$2]) popdef([NAME]) pushdef([PACK],[$2]) pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) define([acl_libsinpackage_]PACKUP, m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([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],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) pushdef([PACKUP],[m4_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],[m4_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]) ]) butt-0.1.26/m4/gettext.m40000644000175000017500000003561513751456330011766 00000000000000# gettext.m4 serial 66 (gettext-0.18.2) dnl Copyright (C) 1995-2014 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 Mac OS 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_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #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_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #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_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #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], []) butt-0.1.26/m4/iconv.m40000644000175000017500000002162013751456330011407 00000000000000# iconv.m4 serial 18 (gettext-0.18.2) dnl Copyright (C) 2000-2002, 2007-2014 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_LINK_IFELSE will then fail, the second AC_LINK_IFELSE 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_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #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_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #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, AIX 6.1..7.1, HP-UX 11.11, dnl Solaris 10. am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi AC_RUN_IFELSE( [AC_LANG_SOURCE([[ #include #include int main () { int result = 0; /* 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) result |= 1; iconv_close (cd_utf8_to_88591); } } /* 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) result |= 2; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static const char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; const char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 4; iconv_close (cd_88591_to_utf8); } } #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) result |= 8; iconv_close (cd_88591_to_utf8); } } #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)) result |= 16; return result; }]])], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no], [ changequote(,)dnl case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac changequote([,])dnl ]) 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])]], [m4_ifdef([gl_00GNULIB], [[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_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(_MSC_VER) || 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.]) dnl Also substitute ICONV_CONST in the gnulib generated . m4_ifdef([gl_ICONV_H_DEFAULTS], [AC_REQUIRE([gl_ICONV_H_DEFAULTS]) if test -n "$am_cv_proto_iconv_arg1"; then ICONV_CONST="const" fi ]) fi ]) butt-0.1.26/m4/intlmacosx.m40000644000175000017500000000475313751456330012462 00000000000000# intlmacosx.m4 serial 5 (gettext-0.18.2) dnl Copyright (C) 2004-2014 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 Mac OS X. dnl Defines INTL_MACOSX_LIBS. AC_DEFUN([gt_INTL_MACOSX], [ dnl Check for API introduced in Mac OS X 10.2. AC_CACHE_CHECK([for CFPreferencesCopyAppValue], [gt_cv_func_CFPreferencesCopyAppValue], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#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 Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) fi dnl Check for API introduced in Mac OS X 10.3. AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#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 Mac OS 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]) ]) butt-0.1.26/m4/nls.m40000644000175000017500000000231513751456330011065 00000000000000# nls.m4 serial 5 (gettext-0.18) dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation, dnl 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]) 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]) ]) butt-0.1.26/m4/po.m40000644000175000017500000004503713751456330010717 00000000000000# po.m4 serial 22 (gettext-0.19) dnl Copyright (C) 1995-2014 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.60]) 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([AC_PROG_MKDIR_P])dnl AC_REQUIRE([AC_PROG_SED])dnl 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.19]) 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" gt_tab=`printf '\t'` cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/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 assignment 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 assignment 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" tab=`printf '\t'` 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" <. # # 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: # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess # # 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. Options: -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-2018 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'`" # If ldd exists, use it to detect musl libc. if command -v ldd >/dev/null && \ ldd --version 2>&1 | grep -q ^musl then LIBC=musl fi ;; 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) and ABI. case "$UNAME_MACHINE_ARCH" in earm*) os=netbsdelf ;; arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval "$set_cc_for_build" if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # 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/[-_].*//' | cut -d. -f1,2` ;; 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 ;; *:LibertyBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" exit ;; *:MidnightBSD:*:*) echo "$UNAME_MACHINE"-unknown-midnightbsd"$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 ;; *:Sortix:*:*) echo "$UNAME_MACHINE"-unknown-sortix exit ;; *:Redox:*:*) echo "$UNAME_MACHINE"-unknown-redox exit ;; mips:OSF1:*.*) echo mips-dec-osf1 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 ;; 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:4.4BSD:*) 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) UNAME_PROCESSOR=x86_64 ;; i386) UNAME_PROCESSOR=i586 ;; esac echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" 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*: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 ;; i*:UWIN*:*) echo "$UNAME_MACHINE"-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-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 "[:upper:]" "[:lower:]"``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 ;; k1om: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; } ;; mips64el:Linux:*:*) echo "$UNAME_MACHINE"-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 ;; riscv32:Linux:*:* | riscv64:Linux:*:*) echo "$UNAME_MACHINE"-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:*:*) if objdump -f /bin/sh | grep -q elf32-x86-64; then echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32 else echo "$UNAME_MACHINE"-pc-linux-"$LIBC" fi 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.*:*) 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 configure 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 ;; SX-ACE:SUPER-UX:*:*) echo sxace-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 # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_PPC >/dev/null then UNAME_PROCESSOR=powerpc 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 ;; NSV-*:NONSTOP_KERNEL:*:*) echo nsv-tandem-nsk"$UNAME_RELEASE" exit ;; NSX-*:NONSTOP_KERNEL:*:*) echo nsx-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 ;; amd64:Isilon\ OneFS:*:*) echo x86_64-unknown-onefs exit ;; esac echo "$0: unable to guess system type" >&2 case "$UNAME_MACHINE:$UNAME_SYSTEM" in mips:Linux | mips64:Linux) # If we got here on MIPS GNU/Linux, output extra information. cat >&2 <&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-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: butt-0.1.26/NEWS0000664000175000017500000000002713770374154010212 00000000000000See ChangeLog for more butt-0.1.26/configure.ac0000664000175000017500000001331613770374154012006 00000000000000# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.68]) AC_INIT([butt], [0.1.26], [BUG-REPORT-ADDRESS]) AM_INIT_AUTOMAKE([subdir-objects foreign]) AC_CANONICAL_HOST AC_CONFIG_SRCDIR([config.h.in]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CXX AC_PROG_CC AC_PROG_OBJC LDFLAGS="$LDFLAGS -L/usr/local/lib" AC_ARG_ENABLE([aac], AS_HELP_STRING([--disable-aac], [Disable aac support])) AC_ARG_ENABLE([ssl], AS_HELP_STRING([--disable-ssl], [Disable SSL/TLS support])) # Checks for libraries. AC_CHECK_LIB([ogg], [ogg_stream_init], [], [AC_MSG_ERROR([**** Could not find libogg ****])] ) AC_CHECK_LIB([vorbis], [vorbis_info_init], [], [AC_MSG_ERROR([**** Could not find libvorbis ****])] ) AC_CHECK_LIB([vorbisenc], [vorbis_encode_init], [], [AC_MSG_ERROR([**** Could not find libvorbisenc ****])] ) AC_CHECK_LIB([opus], [opus_encoder_create], [], [AC_MSG_ERROR([**** Could not find libopus ****])] ) AC_CHECK_LIB([mp3lame], [lame_init], [], [AC_MSG_ERROR([**** Could not find libmp3lame ****])] ) AC_CHECK_LIB([FLAC], [FLAC__stream_encoder_new], [], [AC_MSG_ERROR([**** Could not find libFLAC ****])] ) AC_CHECK_LIB([portaudio], [Pa_Initialize], [], [AC_MSG_ERROR([**** Could not find libportaudio ****])] ) AC_CHECK_LIB([pthread], [pthread_create], [], [AC_MSG_ERROR([**** Could not find libpthread ****])] ) AC_CHECK_LIB([samplerate], [src_new], [], [AC_MSG_ERROR([**** Could not find samplerate ****])] ) AC_CHECK_HEADER([winsock2.h], [ LIBS="$LIBS -lws2_32" host_os="windows" ], ) AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.19]) AM_CONDITIONAL(WINDOWS, test "$host_os" = "windows") build_linux=no build_windows=no build_mac=no build_freebsd=no # Detect the target system case "${host_os}" in linux*) build_linux=yes AC_MSG_NOTICE([Linux detected]) AS_IF([test "x$enable_aac" != "xno"], [ AC_CHECK_LIB([fdk-aac], [aacEncOpen], [], [AC_MSG_ERROR([**** Could not find libfdk-aac ****])] ) ]) AS_IF([test "x$enable_ssl" != "xno"], [ AC_CHECK_LIB([ssl], [SSL_CTX_new], [], [AC_MSG_ERROR([**** Could not find libssl ****])] ) AC_CHECK_LIB([crypto], [EVP_EncryptInit], [], [AC_MSG_ERROR([**** Could not find libcrypto ****])] ) ]) ;; cygwin*|mingw*|windows) build_windows=yes AC_MSG_NOTICE([Windows detected]) AC_CHECK_LIB([ssl], [SSL_CTX_new], [], [AC_MSG_ERROR([**** Could not find openssl ****])]) AC_CHECK_LIB([crypto], [EVP_EncryptInit], [], [AC_MSG_ERROR([**** Could not find libcrypto ****])]) ;; darwin*) build_mac=yes AC_MSG_NOTICE([MacOS detected]) ;; freebsd*) build_freebsd=yes AC_MSG_NOTICE([FreeBSD detected]) AS_IF([test "x$enable_aac" != "xno"], [ AC_CHECK_LIB([fdk-aac], [aacEncOpen], [], [AC_MSG_ERROR([**** Could not find libfdk-aac ****])] ) ]) AS_IF([test "x$enable_ssl" != "xno"], [ AC_CHECK_LIB([ssl], [SSL_CTX_new], [], [AC_MSG_ERROR([**** Could not find libssl ****])] ) AC_CHECK_LIB([crypto], [EVP_EncryptInit], [], [AC_MSG_ERROR([**** Could not find libcrypto ****])] ) ]) ;; *) AC_MSG_ERROR(["OS $host_os is not supported"]) ;; esac # Pass the conditionals to automake AM_CONDITIONAL([LINUX], [test "$build_linux" = "yes"]) AM_CONDITIONAL([WINDOWS], [test "$build_windows" = "yes"]) AM_CONDITIONAL([OSX], [test "$build_mac" = "yes"]) AM_CONDITIONAL([FREEBSD], [test "$build_freebsd" = "yes"]) AC_CHECK_PROG([FLTKCONFIG],[fltk-config], [fltk-config]) if test "$FLTKCONFIG" = "fltk-config"; then AC_CHECK_LIB([fltk], [main], [ LIBS="$LIBS `fltk-config --ldflags --use-images`" CXXFLAGS="$CXXFLAGS `fltk-config --cxxflags`" ], [AC_MSG_ERROR([**** Could not find libfltk ****])] ) else AC_MSG_ERROR([**** Could not find fltk-config ****]) fi #Add dbus library for Linux if test "$build_linux" = "yes"; then AC_MSG_NOTICE([]) PKG_CHECK_MODULES([DBUS], [dbus-1], [ AC_DEFINE([HAVE_DBUS], [1], [Use dbus to get current tracks]) LIBS="$LIBS $DBUS_LIBS" CFLAGS="$CFLAGS $LIBS $DBUS_CFLAGS" CXXFLAGS="$CXXFLAGS $DBUS_CFLAGS" ], [ AC_DEFINE([HAVE_DBUS], [0], [Use dbus to get current tracks]) AC_MSG_ERROR([**** Coud not find dbus dev files]) ]) fi #Add dbus library for FreeBSD if test "$build_freebsd" = "yes"; then AC_MSG_NOTICE([]) PKG_CHECK_MODULES([DBUS], [dbus-1], [ AC_DEFINE([HAVE_DBUS], [1], [Use dbus to get current tracks]) LIBS="$LIBS $DBUS_LIBS" CFLAGS="$CFLAGS $LIBS $DBUS_CFLAGS" CXXFLAGS="$CXXFLAGS $DBUS_CFLAGS" ], [ AC_DEFINE([HAVE_DBUS], [0], [Use dbus to get current tracks]) AC_MSG_ERROR([**** Coud not find dbus dev files]) ]) fi # Checks for header files. AC_PATH_X AC_CHECK_HEADERS([fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_C_INLINE # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_REALLOC AC_CHECK_FUNCS([gethostbyaddr gethostbyname memset pow select socket strchr strdup strpbrk strrchr strstr X509_check_host]) AC_CONFIG_FILES([Makefile po/Makefile.in src/Makefile]) AC_OUTPUT