vorbis-tools-1.4.2/0000755000175000017500000000000014002243561011156 500000000000000vorbis-tools-1.4.2/Makefile.am0000644000175000017500000000063014001560731013131 00000000000000## Process this file with automake to produce Makefile.in AUTOMAKE_OPTIONS = foreign dist-zip SUBDIRS = po intl include share win32 @OPT_SUBDIRS@ DIST_SUBDIRS = po intl include share win32 ogg123 oggenc oggdec ogginfo \ vcut vorbiscomment m4 EXTRA_DIST = config.rpath README AUTHORS COPYING CHANGES debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" ACLOCAL_AMFLAGS = -I m4 vorbis-tools-1.4.2/ogginfo/0000755000175000017500000000000014002243561012606 500000000000000vorbis-tools-1.4.2/ogginfo/Makefile.am0000644000175000017500000000176013776031470014601 00000000000000## Process this file with automake to produce Makefile.in mans = ogginfo.1 ogginfosources = \ ogginfo2.c \ metadata.c \ theora.c \ codec_vorbis.c \ codec_theora.c \ codec_kate.c \ codec_opus.c \ codec_speex.c \ codec_flac.c \ codec_skeleton.c \ codec_other.c \ codec_invalid.c noinst_HEADERS = \ private.h \ theora.h datadir = @datadir@ localedir = $(datadir)/locale DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ bin_PROGRAMS = ogginfo mandir = @MANDIR@ man_MANS = $(mans) AM_CPPFLAGS = @SHARE_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @KATE_CFLAGS@ @I18N_CFLAGS@ ogginfo_LDADD = @SHARE_LIBS@ @VORBIS_LIBS@ @KATE_LIBS@ @OGG_LIBS@ @LIBICONV@ @I18N_LIBS@ \ $(top_builddir)/share/libpicture.a $(top_builddir)/share/libbase64.a ogginfo_DEPENDENCIES = @SHARE_LIBS@ \ $(top_builddir)/share/libpicture.a $(top_builddir)/share/libbase64.a ogginfo_SOURCES = $(ogginfosources) EXTRA_ogginfo_SOURCES = $(man_MANS) debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" vorbis-tools-1.4.2/ogginfo/theora.h0000644000175000017500000001734313767140576014214 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2003 * * by the Xiph.Org Foundation http://www.xiph.org/ * * * ******************************************************************** function: last mod: $Id$ ********************************************************************/ #include /** * A Colorspace. */ typedef enum { OC_CS_UNSPECIFIED, /**< the colorspace is unknown or unspecified */ OC_CS_ITU_REC_470M, /**< best option for 'NTSC' content */ OC_CS_ITU_REC_470BG, /**< best option for 'PAL' content */ OC_CS_NSPACES /* mark the end of the defined colorspaces */ } theora_colorspace; /** * A Chroma subsampling * * These enumerate the available chroma subsampling options supported * by the theora format. See Section 4.4 of the specification for * exact definitions. */ typedef enum { OC_PF_420, /**< Chroma subsampling by 2 in each direction (4:2:0) */ OC_PF_RSVD, /**< reserved value */ OC_PF_422, /**< Horizonatal chroma subsampling by 2 (4:2:2) */ OC_PF_444, /**< No chroma subsampling at all (4:4:4) */ } theora_pixelformat; /** * Theora bitstream info. * Contains the basic playback parameters for a stream, * corresponds to the initial 'info' header packet. * * Encoded theora frames must be a multiple of 16 is size; * this is what the width and height members represent. To * handle other sizes, a crop rectangle is specified in * frame_height and frame_width, offset_x and offset_y. The * offset and size should still be a power of 2 to avoid * chroma sampling shifts. * * Frame rate, in frames per second is stored as a rational * fraction. So is the aspect ratio. Note that this refers * to the aspect ratio of the frame pixels, not of the * overall frame itself. * * see the example code for use of the other parameters and * good default settings for the encoder parameters. */ typedef struct { ogg_uint32_t width; ogg_uint32_t height; ogg_uint32_t frame_width; ogg_uint32_t frame_height; ogg_uint32_t offset_x; ogg_uint32_t offset_y; ogg_uint32_t fps_numerator; ogg_uint32_t fps_denominator; ogg_uint32_t aspect_numerator; ogg_uint32_t aspect_denominator; theora_colorspace colorspace; int target_bitrate; int quality; /**< nominal quality setting, 0-63 */ int quick_p; /**< quick encode/decode */ /* decode only */ unsigned char version_major; unsigned char version_minor; unsigned char version_subminor; int granule_shift; void *codec_setup; /* encode only */ int dropframes_p; int keyframe_auto_p; ogg_uint32_t keyframe_frequency; ogg_uint32_t keyframe_data_target_bitrate; ogg_int32_t keyframe_auto_threshold; ogg_uint32_t keyframe_mindistance; ogg_int32_t noise_sensitivity; ogg_int32_t sharpness; theora_pixelformat pixelformat; } theora_info; /** * Comment header metadata. * * This structure holds the in-stream metadata corresponding to * the 'comment' header packet. * * Meta data is stored as a series of (tag, value) pairs, in * length-encoded string vectors. The first occurence of the * '=' character delimits the tag and value. A particular tag * may occur more than once. The character set encoding for * the strings is always utf-8, but the tag names are limited * to case-insensitive ascii. See the spec for details. * * In filling in this structure, theora_decode_header() will * null-terminate the user_comment strings for safety. However, * the bitstream format itself treats them as 8-bit clean, * and so the length array should be treated as authoritative * for their length. */ typedef struct theora_comment{ char **user_comments; /**< an array of comment string vectors */ int *comment_lengths; /**< an array of corresponding string vector lengths in bytes */ int comments; /**< the total number of comment string vectors */ char *vendor; /**< the vendor string identifying the encoder, null terminated */ } theora_comment; #define OC_FAULT -1 /**< general failure */ #define OC_EINVAL -10 /**< library encountered invalid internal data */ #define OC_DISABLED -11 /**< requested action is disabled */ #define OC_BADHEADER -20 /**< header packet was corrupt/invalid */ #define OC_NOTFORMAT -21 /**< packet is not a theora packet */ #define OC_VERSION -22 /**< bitstream version is not handled */ #define OC_IMPL -23 /**< feature or action not implemented */ #define OC_BADPACKET -24 /**< packet is corrupt */ #define OC_NEWPACKET -25 /**< packet is an (ignorable) unhandled extension */ /** * Decode an Ogg packet, with the expectation that the packet contains * an initial header, comment data or codebook tables. * * \param ci A theora_info structure to fill. This must have been previously * initialized with theora_info_init(). If \a op contains an initial * header, theora_decode_header() will fill \a ci with the * parsed header values. If \a op contains codebook tables, * theora_decode_header() will parse these and attach an internal * representation to \a ci->codec_setup. * \param cc A theora_comment structure to fill. If \a op contains comment * data, theora_decode_header() will fill \a cc with the parsed * comments. * \param op An ogg_packet structure which you expect contains an initial * header, comment data or codebook tables. * * \retval OC_BADHEADER \a op is NULL; OR the first byte of \a op->packet * has the signature of an initial packet, but op is * not a b_o_s packet; OR this packet has the signature * of an initial header packet, but an initial header * packet has already been seen; OR this packet has the * signature of a comment packet, but the initial header * has not yet been seen; OR this packet has the signature * of a comment packet, but contains invalid data; OR * this packet has the signature of codebook tables, * but the initial header or comments have not yet * been seen; OR this packet has the signature of codebook * tables, but contains invalid data; * OR the stream being decoded has a compatible version * but this packet does not have the signature of a * theora initial header, comments, or codebook packet * \retval OC_VERSION The packet data of \a op is an initial header with * a version which is incompatible with this version of * libtheora. * \retval OC_NEWPACKET the stream being decoded has an incompatible (future) * version and contains an unknown signature. * \retval 0 Success * * \note The normal usage is that theora_decode_header() be called on the * first three packets of a theora logical bitstream in succession. */ extern int theora_decode_header(theora_info *ci, theora_comment *cc, ogg_packet *op); void theora_info_clear(theora_info *c); void theora_comment_clear(theora_comment *tc); vorbis-tools-1.4.2/ogginfo/ogginfo2.c0000644000175000017500000003231414000552773014415 00000000000000/* Ogginfo * * A tool to describe ogg file contents and metadata. * * Copyright 2002-2005 Michael Smith * Copyright 2020-2021 Philipp Schafft * Licensed under the GNU GPL, distributed with this program. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include #include #include "utf8.h" #include "i18n.h" #include "private.h" #define CHUNK 4500 /* TODO: * * - detect violations of muxing constraints * - detect granulepos 'gaps' (possibly vorbis-specific). (seperate from * serial-number gaps) */ typedef struct { stream_processor *streams; int allocated; int used; int in_headers; } stream_set; int printlots = 0; static int printinfo = 1; static int printwarn = 1; static int verbose = 1; static int flawed; #define CONSTRAINT_PAGE_AFTER_EOS 1 #define CONSTRAINT_MUXING_VIOLATED 2 static stream_set *create_stream_set(void) { stream_set *set = calloc(1, sizeof(stream_set)); set->streams = calloc(5, sizeof(stream_processor)); set->allocated = 5; set->used = 0; return set; } void info(const char *format, ...) { va_list ap; if (!printinfo) return; va_start(ap, format); vfprintf(stdout, format, ap); va_end(ap); } void warn(const char *format, ...) { va_list ap; flawed = 1; if (!printwarn) return; va_start(ap, format); vfprintf(stdout, format, ap); va_end(ap); } void error(const char *format, ...) { va_list ap; flawed = 1; va_start(ap, format); vfprintf(stdout, format, ap); va_end(ap); } void print_summary(stream_processor *stream, size_t bytes, double time) { long minutes, seconds, milliseconds; double bitrate; minutes = (long)time / 60; seconds = (long)time - minutes*60; milliseconds = (long)((time - minutes*60 - seconds)*1000); bitrate = bytes*8 / time / 1000.0; info(_("%s stream %d:\n" "\tTotal data length: %" PRId64 " bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n"), stream->type, stream->num, bytes, minutes, seconds, milliseconds, bitrate); } static void free_stream_set(stream_set *set) { int i; for (i=0; i < set->used; i++) { if (!set->streams[i].end) { warn(_("WARNING: EOS not set on stream %d\n"), set->streams[i].num); if (set->streams[i].process_end) set->streams[i].process_end(&set->streams[i]); } ogg_stream_clear(&set->streams[i].os); } free(set->streams); free(set); } static int streams_open(stream_set *set) { int i; int res=0; for (i=0; i < set->used; i++) { if (!set->streams[i].end) res++; } return res; } static stream_processor *find_stream_processor(stream_set *set, ogg_page *page) { ogg_uint32_t serial = ogg_page_serialno(page); int i; int invalid = 0; int constraint = 0; stream_processor *stream; for (i=0; i < set->used; i++) { if (serial == set->streams[i].serial) { /* We have a match! */ stream = &(set->streams[i]); set->in_headers = 0; /* if we have detected EOS, then this can't occur here. */ if (stream->end) { stream->isillegal = 1; stream->constraint_violated = CONSTRAINT_PAGE_AFTER_EOS; return stream; } stream->isnew = 0; stream->start = ogg_page_bos(page); stream->end = ogg_page_eos(page); stream->serial = serial; return stream; } } /* If there are streams open, and we've reached the end of the * headers, then we can't be starting a new stream. * XXX: might this sometimes catch ok streams if EOS flag is missing, * but the stream is otherwise ok? */ if (streams_open(set) && !set->in_headers) { constraint = CONSTRAINT_MUXING_VIOLATED; invalid = 1; } set->in_headers = 1; if (set->allocated < set->used) { stream = &set->streams[set->used]; } else { set->allocated += 5; set->streams = realloc(set->streams, sizeof(stream_processor)* set->allocated); stream = &set->streams[set->used]; } set->used++; stream->num = set->used; /* We count from 1 */ stream->isnew = 1; stream->isillegal = invalid; stream->constraint_violated = constraint; { int res; ogg_packet packet; /* We end up processing the header page twice, but that's ok. */ ogg_stream_init(&stream->os, serial); ogg_stream_pagein(&stream->os, page); res = ogg_stream_packetout(&stream->os, &packet); if (res <= 0) { warn(_("WARNING: Invalid header page, no packet found\n")); invalid_start(stream); } else if (packet.bytes >= 7 && memcmp(packet.packet, "\x01vorbis", 7)==0) { vorbis_start(stream); } else if (packet.bytes >= 7 && memcmp(packet.packet, "\x80theora", 7)==0) { theora_start(stream); } else if (packet.bytes >= 8 && memcmp(packet.packet, "OggMIDI\0", 8)==0) { other_start(stream, "MIDI"); } else if (packet.bytes >= 5 && memcmp(packet.packet, "\177FLAC", 5)==0) { flac_start(stream); } else if (packet.bytes == 4 && memcmp(packet.packet, "fLaC", 4)==0) { other_start(stream, "FLAC (legacy)"); } else if (packet.bytes >= 8 && memcmp(packet.packet, "Speex ", 8)==0) { speex_start(stream); } else if (packet.bytes >= 8 && memcmp(packet.packet, "fishead\0", 8)==0) { skeleton_start(stream); } else if (packet.bytes >= 5 && memcmp(packet.packet, "BBCD\0", 5)==0) { other_start(stream, "dirac"); } else if (packet.bytes >= 8 && memcmp(packet.packet, "KW-DIRAC", 8)==0) { other_start(stream, "dirac (legacy)"); } else if (packet.bytes >= 8 && memcmp(packet.packet, "OpusHead", 8)==0) { opus_start(stream); } else if (packet.bytes >= 8 && memcmp(packet.packet, "\x80kate\0\0\0", 8)==0) { kate_start(stream); } else { other_start(stream, NULL); } res = ogg_stream_packetout(&stream->os, &packet); if (res > 0) { warn(_("WARNING: Invalid header page in stream %d, " "contains multiple packets\n"), stream->num); } /* re-init, ready for processing */ ogg_stream_clear(&stream->os); ogg_stream_init(&stream->os, serial); } stream->start = ogg_page_bos(page); stream->end = ogg_page_eos(page); stream->serial = serial; if (stream->serial == 0 || stream->serial == -1) { info(_("Note: Stream %d has serial number %d, which is legal but may " "cause problems with some tools.\n"), stream->num, stream->serial); } return stream; } static int get_next_page(FILE *f, ogg_sync_state *sync, ogg_page *page, ogg_int64_t *written) { int ret; char *buffer; int bytes; while ((ret = ogg_sync_pageseek(sync, page)) <= 0) { if (ret < 0) { /* unsynced, we jump over bytes to a possible capture - we don't need to read more just yet */ warn(_("WARNING: Hole in data (%d bytes) found at approximate offset %" PRId64 " bytes. Corrupted Ogg.\n"), -ret, *written); continue; } /* zero return, we didn't have enough data to find a whole page, read */ buffer = ogg_sync_buffer(sync, CHUNK); bytes = fread(buffer, 1, CHUNK, f); if (bytes <= 0) { ogg_sync_wrote(sync, 0); return 0; } ogg_sync_wrote(sync, bytes); *written += bytes; } return 1; } static void process_file(const char *filename) { FILE *file = fopen(filename, "rb"); ogg_sync_state sync; ogg_page page; stream_set *processors = create_stream_set(); int gotpage = 0; ogg_int64_t written = 0; if (!file) { error(_("Error opening input file \"%s\": %s\n"), filename, strerror(errno)); return; } printf(_("Processing file \"%s\"...\n\n"), filename); ogg_sync_init(&sync); while (get_next_page(file, &sync, &page, &written)) { stream_processor *p = find_stream_processor(processors, &page); gotpage = 1; if (!p) { error(_("Could not find a processor for stream, bailing\n")); return; } if (p->isillegal && !p->shownillegal) { char *constraint; switch(p->constraint_violated) { case CONSTRAINT_PAGE_AFTER_EOS: constraint = _("Page found for stream after EOS flag"); break; case CONSTRAINT_MUXING_VIOLATED: constraint = _("Ogg muxing constraints violated, new " "stream before EOS of all previous streams"); break; default: constraint = _("Error unknown."); } warn(_("WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n"), p->num, constraint); p->shownillegal = 1; /* If it's a new stream, we want to continue processing this page * anyway to suppress additional spurious errors */ if (!p->isnew) continue; } if (p->isnew) { info(_("New logical stream (#%d, serial: %08x): type %s\n"), p->num, p->serial, p->type); if (!p->start) warn(_("WARNING: stream start flag not set on stream %d\n"), p->num); } else if (p->start) { warn(_("WARNING: stream start flag found in mid-stream " "on stream %d\n"), p->num); } if (p->seqno++ != ogg_page_pageno(&page)) { if (!p->lostseq) warn(_("WARNING: sequence number gap in stream %d. Got page " "%ld when expecting page %ld. Indicates missing data.\n" ), p->num, ogg_page_pageno(&page), p->seqno - 1); p->seqno = ogg_page_pageno(&page); p->lostseq = 1; } else { p->lostseq = 0; } if (!p->isillegal) { p->process_page(p, &page); if (p->end) { if (p->process_end) p->process_end(p); info(_("Logical stream %d ended\n"), p->num); p->isillegal = 1; p->constraint_violated = CONSTRAINT_PAGE_AFTER_EOS; } } } if (!gotpage) error(_("ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n"), filename); free_stream_set(processors); ogg_sync_clear(&sync); fclose(file); } static void version (void) { printf (_("ogginfo from %s %s\n"), PACKAGE, VERSION); } static void usage(void) { version (); printf (_(" by the Xiph.Org Foundation (https://www.xiph.org/)\n\n")); printf(_("(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n")); printf (_("\t-V Output version information and exit\n")); } int main(int argc, char **argv) { int f, ret; setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); if (argc < 2) { fprintf(stdout, _("Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n")); exit(1); } while ((ret = getopt(argc, argv, "hqvV")) >= 0) { switch(ret) { case 'h': usage(); return 0; case 'V': version(); return 0; case 'v': verbose++; break; case 'q': verbose--; break; } } if (verbose > 1) printlots = 1; if (verbose < 1) printinfo = 0; if (verbose < 0) printwarn = 0; if (optind >= argc) { fprintf(stderr, _("No input files specified. \"ogginfo -h\" for help\n")); return 1; } ret = 0; for (f=optind; f < argc; f++) { flawed = 0; process_file(argv[f]); if (flawed != 0) ret = flawed; } return ret; } vorbis-tools-1.4.2/ogginfo/codec_theora.c0000644000175000017500000002056513767412172015336 00000000000000/* Ogginfo * * A tool to describe ogg file contents and metadata. * * This file handles theora streams. * * Copyright 2002-2005 Michael Smith * Copyright 2020 Philipp Schafft * Licensed under the GNU GPL, distributed with this program. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include "i18n.h" #include "theora.h" #include "private.h" typedef struct { theora_info ti; theora_comment tc; ogg_int64_t bytes; ogg_int64_t lastgranulepos; ogg_int64_t firstgranulepos; int doneheaders; ogg_int64_t framenum_expected; } misc_theora_info; static void theora_process(stream_processor *stream, ogg_page *page) { ogg_packet packet; misc_theora_info *inf = stream->data; int i, header=0; int res; ogg_stream_pagein(&stream->os, page); if (inf->doneheaders < 3) header = 1; while (1) { res = ogg_stream_packetout(&stream->os, &packet); if (res < 0) { warn(_("WARNING: discontinuity in stream (%d)\n"), stream->num); continue; } else if (res == 0) { break; } if (inf->doneheaders < 3) { if (theora_decode_header(&inf->ti, &inf->tc, &packet) < 0) { warn(_("WARNING: Could not decode Theora header " "packet - invalid Theora stream (%d)\n"), stream->num); continue; } inf->doneheaders++; if (inf->doneheaders == 3) { if (ogg_page_granulepos(page) != 0 || ogg_stream_packetpeek(&stream->os, NULL) == 1) warn(_("WARNING: Theora stream %d does not have headers " "correctly framed. Terminal header page contains " "additional packets or has non-zero granulepos\n"), stream->num); info(_("Theora headers parsed for stream %d, " "information follows...\n"), stream->num); info(_("Version: %d.%d.%d\n"), inf->ti.version_major, inf->ti.version_minor, inf->ti.version_subminor); info(_("Vendor: %s\n"), inf->tc.vendor); info(_("Width: %d\n"), inf->ti.frame_width); info(_("Height: %d\n"), inf->ti.frame_height); info(_("Total image: %d by %d, crop offset (%d, %d)\n"), inf->ti.width, inf->ti.height, inf->ti.offset_x, inf->ti.offset_y); if (inf->ti.offset_x + inf->ti.frame_width > inf->ti.width) warn(_("Frame offset/size invalid: width incorrect\n")); if (inf->ti.offset_y + inf->ti.frame_height > inf->ti.height) warn(_("Frame offset/size invalid: height incorrect\n")); if (inf->ti.fps_numerator == 0 || inf->ti.fps_denominator == 0) { warn(_("Invalid zero framerate\n")); } else { info(_("Framerate %d/%d (%.02f fps)\n"), inf->ti.fps_numerator, inf->ti.fps_denominator, (float)inf->ti.fps_numerator/(float)inf->ti.fps_denominator); } if (inf->ti.aspect_numerator == 0 || inf->ti.aspect_denominator == 0) { info(_("Aspect ratio undefined\n")); } else { float frameaspect = (float)inf->ti.frame_width/(float)inf->ti.frame_height * (float)inf->ti.aspect_numerator/(float)inf->ti.aspect_denominator; info(_("Pixel aspect ratio %d:%d (%f:1)\n"), inf->ti.aspect_numerator, inf->ti.aspect_denominator, (float)inf->ti.aspect_numerator/(float)inf->ti.aspect_denominator); if (fabs(frameaspect - 4.0/3.0) < 0.02) info(_("Frame aspect 4:3\n")); else if (fabs(frameaspect - 16.0/9.0) < 0.02) info(_("Frame aspect 16:9\n")); else info(_("Frame aspect %f:1\n"), frameaspect); } if (inf->ti.colorspace == OC_CS_ITU_REC_470M) info(_("Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n")); else if (inf->ti.colorspace == OC_CS_ITU_REC_470BG) info(_("Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n")); else info(_("Colourspace unspecified\n")); if (inf->ti.pixelformat == OC_PF_420) info(_("Pixel format 4:2:0\n")); else if (inf->ti.pixelformat == OC_PF_422) info(_("Pixel format 4:2:2\n")); else if (inf->ti.pixelformat == OC_PF_444) info(_("Pixel format 4:4:4\n")); else warn(_("Pixel format invalid\n")); info(_("Target bitrate: %d kbps\n"), inf->ti.target_bitrate/1000); info(_("Nominal quality setting (0-63): %d\n"), inf->ti.quality); if (inf->tc.comments > 0) info(_("User comments section follows...\n")); for (i=0; i < inf->tc.comments; i++) { char *comment = inf->tc.user_comments[i]; check_xiph_comment(stream, i, comment, inf->tc.comment_lengths[i]); } } } else { ogg_int64_t framenum; ogg_int64_t iframe,pframe; ogg_int64_t gp = packet.granulepos; if (gp > 0) { iframe=gp>>inf->ti.granule_shift; pframe=gp-(iframe<ti.granule_shift); framenum = iframe+pframe; if (inf->framenum_expected >= 0 && inf->framenum_expected != framenum) { warn(_("WARNING: Expected frame %" PRId64 ", got %" PRId64 "\n"), inf->framenum_expected, framenum); } inf->framenum_expected = framenum + 1; } else if (inf->framenum_expected >= 0) { inf->framenum_expected++; } } } if (!header) { ogg_int64_t gp = ogg_page_granulepos(page); if (gp > 0) { if (gp < inf->lastgranulepos) warn(_("WARNING: granulepos in stream %d decreases from %" PRId64 " to %" PRId64 "\n"), stream->num, inf->lastgranulepos, gp); inf->lastgranulepos = gp; } if (inf->firstgranulepos < 0) { /* Not set yet */ } inf->bytes += page->header_len + page->body_len; } } static void theora_end(stream_processor *stream) { misc_theora_info *inf = stream->data; long minutes, seconds, milliseconds; double bitrate, time; int new_gp; new_gp = inf->ti.version_major > 3 || (inf->ti.version_major == 3 && (inf->ti.version_minor > 2 || (inf->ti.version_minor == 2 && inf->ti.version_subminor > 0))); /* This should be lastgranulepos - startgranulepos, or something like that*/ ogg_int64_t iframe=inf->lastgranulepos>>inf->ti.granule_shift; ogg_int64_t pframe=inf->lastgranulepos-(iframe<ti.granule_shift); /* The granule position starts at 0 for stream version 3.2.0, but starts at 1 for version 3.2.1 and above. In the former case, we need to add one to the final granule position to get the frame count. */ time = (double)(iframe+pframe+!new_gp) / ((float)inf->ti.fps_numerator/(float)inf->ti.fps_denominator); minutes = (long)time / 60; seconds = (long)time - minutes*60; milliseconds = (long)((time - minutes*60 - seconds)*1000); bitrate = inf->bytes*8 / time / 1000.0; info(_("Theora stream %d:\n" "\tTotal data length: %" PRId64 " bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n"), stream->num,inf->bytes, minutes, seconds, milliseconds, bitrate); theora_comment_clear(&inf->tc); theora_info_clear(&inf->ti); free(stream->data); } void theora_start(stream_processor *stream) { misc_theora_info *info; stream->type = "theora"; stream->process_page = theora_process; stream->process_end = theora_end; stream->data = calloc(1, sizeof(misc_theora_info)); info = stream->data; info->framenum_expected = -1; } vorbis-tools-1.4.2/ogginfo/ogginfo.10000644000175000017500000000277213767140576014273 00000000000000.\" Process this file with .\" groff -man -Tascii ogginfo.1 .\" .TH ogginfo 1 "July 10, 2002" "Xiph.Org Foundation" "Vorbis Tools" .SH NAME ogginfo \- gives information about Ogg files, and does extensive validity checking .SH SYNOPSIS .B ogginfo [ .B -q ] [ .B -v ] [ .B -h ] .I file1.ogg .B ... .I fileN.ogg .SH DESCRIPTION .B ogginfo reads one or more Ogg files and prints information about stream contents (including chained and/or multiplexed streams) to standard output. It will detect (but not correct) a wide range of common defects, with many additional checks specifically for Ogg Vorbis streams. For all stream types .B ogginfo will print the filename being processed, the stream serial numbers, and various common error conditions. For .B Vorbis streams, information including the version used for encoding, the sample rate and number of channels, the bitrate and playback length, and the contents of the comment header are printed. Similarly, for .B Theora streams, basic information about the video is provided, including frame rate, aspect ratio, bitrate, length, and the comment header. .SH OPTIONS .IP -h Show a help and usage message. .IP -q Quiet mode. This may be specified multiple times. Doing so once will remove the detailed informative messages, twice will remove warnings as well. .IP -v Verbose mode. At the current time, this does not do anything. .SH AUTHORS .br Michael Smith .SH "SEE ALSO" .PP \fBvorbiscomment\fR(1), \fBogg123\fR(1), \fBoggdec\fR(1), \fBoggenc\fR(1) vorbis-tools-1.4.2/ogginfo/Makefile.in0000644000175000017500000006535514002242753014613 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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@ bin_PROGRAMS = ogginfo$(EXEEXT) subdir = ogginfo ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \ $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intl.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/size_max.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ $(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" PROGRAMS = $(bin_PROGRAMS) am__objects_1 = ogginfo2.$(OBJEXT) metadata.$(OBJEXT) theora.$(OBJEXT) \ codec_vorbis.$(OBJEXT) codec_theora.$(OBJEXT) \ codec_kate.$(OBJEXT) codec_opus.$(OBJEXT) \ codec_speex.$(OBJEXT) codec_flac.$(OBJEXT) \ codec_skeleton.$(OBJEXT) codec_other.$(OBJEXT) \ codec_invalid.$(OBJEXT) am_ogginfo_OBJECTS = $(am__objects_1) ogginfo_OBJECTS = $(am_ogginfo_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(ogginfo_SOURCES) $(EXTRA_ogginfo_SOURCES) DIST_SOURCES = $(ogginfo_SOURCES) $(EXTRA_ogginfo_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) HEADERS = $(noinst_HEADERS) 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@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AO_CFLAGS = @AO_CFLAGS@ AO_LIBS = @AO_LIBS@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURL_CFLAGS = @CURL_CFLAGS@ CURL_LIBS = @CURL_LIBS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG = @DEBUG@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLAC_LIBS = @FLAC_LIBS@ GENCAT = @GENCAT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIBC2 = @GLIBC2@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WPRINTF = @HAVE_WPRINTF@ I18N_CFLAGS = @I18N_CFLAGS@ I18N_LIBS = @I18N_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KATE_CFLAGS = @KATE_CFLAGS@ KATE_LIBS = @KATE_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBPTH = @LIBPTH@ LIBPTH_PREFIX = @LIBPTH_PREFIX@ LIBS = @LIBS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBC = @LTLIBC@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBPTH = @LTLIBPTH@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ OPT_SUBDIRS = @OPT_SUBDIRS@ OPUSFILE_CFLAGS = @OPUSFILE_CFLAGS@ OPUSFILE_LIBS = @OPUSFILE_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POSUB = @POSUB@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PROFILE = @PROFILE@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHARE_CFLAGS = @SHARE_CFLAGS@ SHARE_LIBS = @SHARE_LIBS@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ SPEEX_LIBS = @SPEEX_LIBS@ STRIP = @STRIP@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISENC_LIBS = @VORBISENC_LIBS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ WINDRES = @WINDRES@ WOE32 = @WOE32@ WOE32DLL = @WOE32DLL@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ 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 = $(datadir)/locale 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@ mans = ogginfo.1 ogginfosources = \ ogginfo2.c \ metadata.c \ theora.c \ codec_vorbis.c \ codec_theora.c \ codec_kate.c \ codec_opus.c \ codec_speex.c \ codec_flac.c \ codec_skeleton.c \ codec_other.c \ codec_invalid.c noinst_HEADERS = \ private.h \ theora.h man_MANS = $(mans) AM_CPPFLAGS = @SHARE_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @KATE_CFLAGS@ @I18N_CFLAGS@ ogginfo_LDADD = @SHARE_LIBS@ @VORBIS_LIBS@ @KATE_LIBS@ @OGG_LIBS@ @LIBICONV@ @I18N_LIBS@ \ $(top_builddir)/share/libpicture.a $(top_builddir)/share/libbase64.a ogginfo_DEPENDENCIES = @SHARE_LIBS@ \ $(top_builddir)/share/libpicture.a $(top_builddir)/share/libbase64.a ogginfo_SOURCES = $(ogginfosources) EXTRA_ogginfo_SOURCES = $(man_MANS) all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ogginfo/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu ogginfo/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(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 \ || test -f $$p1 \ ; 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) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(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: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list ogginfo$(EXEEXT): $(ogginfo_OBJECTS) $(ogginfo_DEPENDENCIES) $(EXTRA_ogginfo_DEPENDENCIES) @rm -f ogginfo$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ogginfo_OBJECTS) $(ogginfo_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/codec_flac.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/codec_invalid.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/codec_kate.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/codec_opus.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/codec_other.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/codec_skeleton.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/codec_speex.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/codec_theora.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/codec_vorbis.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/metadata.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ogginfo2.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/theora.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-man 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-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \ ctags ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-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-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \ uninstall-binPROGRAMS uninstall-man uninstall-man1 .PRECIOUS: Makefile debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" # 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: vorbis-tools-1.4.2/ogginfo/codec_opus.c0000644000175000017500000001360413767273313015040 00000000000000/* Ogginfo * * A tool to describe ogg file contents and metadata. * * This file handles opus streams. * * Copyright 2002-2005 Michael Smith * Copyright 2020 Philipp Schafft * Licensed under the GNU GPL, distributed with this program. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include "i18n.h" #include "private.h" typedef struct { bool seen_opushead; bool seen_opustags; bool seen_data; ogg_int64_t bytes; /* from OpusHead */ int version; int channel_count; ogg_uint16_t pre_skip; ogg_uint32_t input_sample_rate; ogg_int16_t output_gain; int mapping_family; /* from OpusTags */ /* from data */ ogg_int64_t lastgranulepos; ogg_int64_t firstgranulepos; } misc_opus_info; static inline const char * mapping_family_name(int mapping_family) { switch (mapping_family) { case 0: return "RTP mapping"; break; case 1: return "Vorbis mapping"; break; case 2: return "Ambisonic mapping 2"; break; case 3: return "Ambisonic mapping 3"; break; case 255: return "unidentified mapping"; break; default: return ""; break; } } static void opus_process_opushead(stream_processor *stream, misc_opus_info *self, ogg_packet *packet) { if (packet->bytes >= 19) { self->version = (unsigned int)packet->packet[8]; if (self->version < 16) { self->channel_count = (unsigned int)packet->packet[9]; self->pre_skip = read_u16le(&(packet->packet[10])); self->input_sample_rate = read_u16le(&(packet->packet[12])); self->output_gain = read_u16le(&(packet->packet[16])); self->mapping_family = (unsigned int)packet->packet[18]; info(_("Version: %d\n"), self->version); info(_("Channels: %d\n"), self->channel_count); info(_("Preskip: %d (%.1fms)\n"), (int)self->pre_skip, (self->pre_skip / 48.)); info(_("Output gain: %.1fdB\n"), self->output_gain / 256.); info(_("Mapping family: %d (%s)\n"), self->mapping_family, mapping_family_name(self->mapping_family)); /* * Not reported as per discussion in #xiph on 2020-12-19 -- phschafft if (self->input_sample_rate) info(_("Input rate: %ld\n"), (long int)self->input_sample_rate); info(_("Rate: %ld\n\n"), (long int)48000); */ } else { warn(_("WARNING: invalid OpusHead version %d on stream %d\n"), self->version, stream->num); } } else { warn(_("WARNING: invalid OpusHead on stream %d: packet too short\n"), stream->num); } self->seen_opushead = true; } static void opus_process_opustags(stream_processor *stream, misc_opus_info *self, ogg_packet *packet) { bool too_short = false; do { size_t offset; if (packet->bytes < 16) { too_short = true; break; } if (handle_vorbis_comments(stream, &(packet->packet[8]), packet->bytes - 8, &offset) == -1) { too_short = true; break; } offset += 8; if (packet->bytes - offset - 1) { if (packet->packet[offset] & 0x1) { info(_("Extra metadata: %ld bytes\n"), (long int)(packet->bytes - offset - 1)); } else { info(_("Padding: %ld bytes\n"), (long int)(packet->bytes - offset - 1)); } } } while (0); if (too_short) warn(_("WARNING: invalid OpusTags on stream %d: packet too short\n"), stream->num); self->seen_opustags = true; } static void opus_process_data(stream_processor *stream, misc_opus_info *self, ogg_packet *packet) { if (packet->granulepos != -1) { if (!self->seen_data) self->firstgranulepos = packet->granulepos; self->lastgranulepos = packet->granulepos; } self->seen_data = true; } static void opus_process(stream_processor *stream, ogg_page *page) { misc_opus_info *self = stream->data; ogg_stream_pagein(&stream->os, page); while (1) { ogg_packet packet; int res = ogg_stream_packetout(&stream->os, &packet); if (res < 0) { warn(_("WARNING: discontinuity in stream (%d)\n"), stream->num); continue; } else if (res == 0) { break; } if (packet.bytes >= 8 && strncmp((const char *)packet.packet, "OpusHead", 8) == 0) { opus_process_opushead(stream, self, &packet); } else if (packet.bytes >= 8 && strncmp((const char *)packet.packet, "OpusTags", 8) == 0) { opus_process_opustags(stream, self, &packet); } else { opus_process_data(stream, self, &packet); } } if (self->seen_data) self->bytes += page->header_len + page->body_len; } static void opus_end(stream_processor *stream) { misc_opus_info *self = stream->data; if (!self->seen_opushead) warn(_("WARNING: stream (%d) did not contain OpusHead header\n"), stream->num); if (!self->seen_opustags) warn(_("WARNING: stream (%d) did not contain OpusTags header\n"), stream->num); if (!self->seen_data) warn(_("WARNING: stream (%d) did not contain data packets\n"), stream->num); print_summary(stream, self->bytes, (double)(self->lastgranulepos - self->firstgranulepos - self->pre_skip) / 48000.); free(stream->data); } void opus_start(stream_processor *stream) { misc_opus_info *self; stream->type = "Opus"; stream->process_page = opus_process; stream->process_end = opus_end; stream->data = calloc(1, sizeof(misc_opus_info)); self = stream->data; self->version = -1; } vorbis-tools-1.4.2/ogginfo/codec_kate.c0000644000175000017500000002220313767412175014772 00000000000000/* Ogginfo * * A tool to describe ogg file contents and metadata. * * This file handles kate streams. * * Copyright 2002-2005 Michael Smith * Copyright 2020 Philipp Schafft * Licensed under the GNU GPL, distributed with this program. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #ifdef HAVE_KATE #include #endif #include "i18n.h" #include "private.h" typedef struct { #ifdef HAVE_KATE kate_info ki; kate_comment kc; #else int num_headers; #endif int major; int minor; char language[16]; char category[16]; ogg_int64_t bytes; ogg_int64_t lastgranulepos; ogg_int64_t firstgranulepos; int doneheaders; } misc_kate_info; static void kate_process(stream_processor *stream, ogg_page *page ) { ogg_packet packet; misc_kate_info *inf = stream->data; int header=0, packets=0; int res; #ifdef HAVE_KATE int i; const char *encoding = NULL, *directionality = NULL; #endif ogg_stream_pagein(&stream->os, page); if (!inf->doneheaders) header = 1; while (1) { res = ogg_stream_packetout(&stream->os, &packet); if (res < 0) { warn(_("WARNING: discontinuity in stream (%d)\n"), stream->num); continue; } else if (res == 0) { break; } packets++; if (!inf->doneheaders) { #ifdef HAVE_KATE int ret = kate_ogg_decode_headerin(&inf->ki, &inf->kc, &packet); if (ret < 0) { warn(_("WARNING: Could not decode Kate header " "packet %d - invalid Kate stream (%d)\n"), packet.packetno, stream->num); continue; } else if (ret > 0) { inf->doneheaders=1; } #else /* if we're not building against libkate, do some limited checks */ if (packet.bytes<64 || memcmp(packet.packet+1, "kate\0\0\0", 7)) { warn(_("WARNING: packet %d does not seem to be a Kate header - " "invalid Kate stream (%d)\n"), packet.packetno, stream->num); continue; } if (packet.packetno==inf->num_headers) { inf->doneheaders=1; } #endif if (packet.packetno==0) { #ifdef HAVE_KATE inf->major = inf->ki.bitstream_version_major; inf->minor = inf->ki.bitstream_version_minor; memcpy(inf->language, inf->ki.language, 16); inf->language[15] = 0; memcpy(inf->category, inf->ki.category, 16); inf->category[15] = 0; #else inf->major = packet.packet[9]; inf->minor = packet.packet[10]; inf->num_headers = packet.packet[11]; memcpy(inf->language, packet.packet+32, 16); inf->language[15] = 0; memcpy(inf->category, packet.packet+48, 16); inf->category[15] = 0; #endif } if (inf->doneheaders) { if (ogg_page_granulepos(page) != 0 || ogg_stream_packetpeek(&stream->os, NULL) == 1) warn(_("WARNING: Kate stream %d does not have headers " "correctly framed. Terminal header page contains " "additional packets or has non-zero granulepos\n"), stream->num); info(_("Kate headers parsed for stream %d, " "information follows...\n"), stream->num); info(_("Version: %d.%d\n"), inf->major, inf->minor); #ifdef HAVE_KATE info(_("Vendor: %s\n"), inf->kc.vendor); #endif if (*inf->language) { info(_("Language: %s\n"), inf->language); } else { info(_("No language set\n")); } if (*inf->category) { info(_("Category: %s\n"), inf->category); } else { info(_("No category set\n")); } #ifdef HAVE_KATE switch (inf->ki.text_encoding) { case kate_utf8: encoding=_("utf-8"); break; default: encoding=NULL; break; } if (encoding) { info(_("Character encoding: %s\n"),encoding); } else { info(_("Unknown character encoding\n")); } if (printlots) { switch (inf->ki.text_directionality) { case kate_l2r_t2b: directionality=_("left to right, top to bottom"); break; case kate_r2l_t2b: directionality=_("right to left, top to bottom"); break; case kate_t2b_r2l: directionality=_("top to bottom, right to left"); break; case kate_t2b_l2r: directionality=_("top to bottom, left to right"); break; default: directionality=NULL; break; } if (directionality) { info(_("Text directionality: %s\n"),directionality); } else { info(_("Unknown text directionality\n")); } info("%u regions, %u styles, %u curves, %u motions, %u palettes,\n" "%u bitmaps, %u font ranges, %u font mappings\n", inf->ki.nregions, inf->ki.nstyles, inf->ki.ncurves, inf->ki.nmotions, inf->ki.npalettes, inf->ki.nbitmaps, inf->ki.nfont_ranges, inf->ki.nfont_mappings); } if (inf->ki.gps_numerator == 0 || inf->ki.gps_denominator == 0) { warn(_("Invalid zero granulepos rate\n")); } else { info(_("Granulepos rate %d/%d (%.02f gps)\n"), inf->ki.gps_numerator, inf->ki.gps_denominator, (float)inf->ki.gps_numerator/(float)inf->ki.gps_denominator); } if (inf->kc.comments > 0) info(_("User comments section follows...\n")); for (i=0; i < inf->kc.comments; i++) { const char *comment = inf->kc.user_comments[i]; check_xiph_comment(stream, i, comment, inf->kc.comment_lengths[i]); } #endif info(_("\n")); } } } if (!header) { ogg_int64_t gp = ogg_page_granulepos(page); if (gp > 0) { if (gp < inf->lastgranulepos) { warn(_("WARNING: granulepos in stream %d decreases from %" PRId64 " to %" PRId64 "\n" ), stream->num, inf->lastgranulepos, gp); } inf->lastgranulepos = gp; } else if (packets && gp<0) { /* zero granpos on data is valid for kate */ /* Only do this if we saw at least one packet ending on this page. * It's legal (though very unusual) to have no packets in a page at * all - this is occasionally used to have an empty EOS page */ warn(_("Negative granulepos (%" PRId64 ") on Kate stream outside of headers. This file was created by a buggy encoder\n"), gp); } if (inf->firstgranulepos < 0) { /* Not set yet */ } inf->bytes += page->header_len + page->body_len; } } #ifdef HAVE_KATE static void kate_end(stream_processor *stream) { misc_kate_info *inf = stream->data; long minutes, seconds, milliseconds; double bitrate, time; /* This should be lastgranulepos - startgranulepos, or something like that*/ //time = (double)(inf->lastgranulepos>>inf->ki.granule_shift) * inf->ki.gps_denominator / inf->ki.gps_numerator; ogg_int64_t gbase=inf->lastgranulepos>>inf->ki.granule_shift; ogg_int64_t goffset=inf->lastgranulepos-(gbase<ki.granule_shift); time = (double)(gbase+goffset) / ((float)inf->ki.gps_numerator/(float)inf->ki.gps_denominator); minutes = (long)time / 60; seconds = (long)time - minutes*60; milliseconds = (long)((time - minutes*60 - seconds)*1000); bitrate = inf->bytes*8 / time / 1000.0; info(_("Kate stream %d:\n" "\tTotal data length: %" PRId64 " bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n"), stream->num,inf->bytes, minutes, seconds, milliseconds, bitrate); kate_comment_clear(&inf->kc); kate_info_clear(&inf->ki); free(stream->data); } #else static void kate_end(stream_processor *stream) { } #endif void kate_start(stream_processor *stream) { misc_kate_info *info; stream->type = "kate"; stream->process_page = kate_process; stream->process_end = kate_end; stream->data = calloc(1, sizeof(misc_kate_info)); info = stream->data; #ifdef HAVE_KATE kate_comment_init(&info->kc); kate_info_init(&info->ki); #endif } vorbis-tools-1.4.2/ogginfo/codec_other.c0000644000175000017500000000162713767246311015173 00000000000000/* Ogginfo * * A tool to describe ogg file contents and metadata. * * This file handles codecs we have no specific handling for. * * Copyright 2002-2005 Michael Smith * Copyright 2020 Philipp Schafft * Licensed under the GNU GPL, distributed with this program. */ #ifdef HAVE_CONFIG_H #include #endif #include #include "private.h" static void process_other(stream_processor *stream, ogg_page *page) { ogg_packet packet; ogg_stream_pagein(&stream->os, page); while (ogg_stream_packetout(&stream->os, &packet) > 0) { /* Should we do anything here? Currently, we don't */ } } void other_start(stream_processor *stream, const char *type) { if (type) { stream->type = type; } else { stream->type = "unknown"; } stream->process_page = process_other; stream->process_end = NULL; } vorbis-tools-1.4.2/ogginfo/codec_speex.c0000644000175000017500000000760213767271760015203 00000000000000/* Ogginfo * * A tool to describe ogg file contents and metadata. * * This file handles codecs we have no specific handling for. * * Copyright 2002-2005 Michael Smith * Copyright 2020 Philipp Schafft * Licensed under the GNU GPL, distributed with this program. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include "i18n.h" #include "private.h" typedef struct { bool seen_speex_header; bool seen_vorbis_comments; bool seen_data; } misc_speex_info; static inline const char *mode_name(const unsigned char *in) { switch (read_u32le(in)) { case 0: return "narrowband"; break; case 1: return "wideband"; break; case 2: return "ultra-wideband"; break; default: return ""; break; } } static void speex_process_header(stream_processor *stream, misc_speex_info *self, ogg_packet *packet) { if (packet->bytes == 80) { if (read_u32le(&(packet->packet[32])) == 80) { char version[21]; memcpy(version, &(packet->packet[8]), 20); version[20] = 0; info(_("Version: %d (%s)\n"), (int)read_u32le(&(packet->packet[28])), version); info(_("Mode: %ld (%s)\n"), (long int)read_u32le(&(packet->packet[40])), mode_name(&(packet->packet[40]))); info(_("Channels: %d\n"), (int)read_u32le(&(packet->packet[48]))); info(_("Rate: %ld\n\n"), (long int)read_u32le(&(packet->packet[36]))); } else { warn(_("WARNING: invalid Speex header on stream %d: header size does not match packet size\n"), stream->num); } } else { warn(_("WARNING: invalid Speex header on stream %d: packet of wrong size\n"), stream->num); } self->seen_speex_header = true; } static void speex_process_vorbis_comments(stream_processor *stream, misc_speex_info *self, ogg_packet *packet) { size_t end; if (handle_vorbis_comments(stream, packet->packet, packet->bytes, &end) == -1) warn(_("WARNING: invalid Vorbis comments on stream %d: packet too short\n"), stream->num); self->seen_vorbis_comments = true; } static void speex_process_data(stream_processor *stream, misc_speex_info *self, ogg_packet *packet) { self->seen_data = true; } static void speex_process(stream_processor *stream, ogg_page *page) { misc_speex_info *self = stream->data; ogg_stream_pagein(&stream->os, page); while (1) { ogg_packet packet; int res = ogg_stream_packetout(&stream->os, &packet); if (res < 0) { warn(_("WARNING: discontinuity in stream (%d)\n"), stream->num); continue; } else if (res == 0) { break; } switch (packet.packetno) { case 0: speex_process_header(stream, self, &packet); break; case 1: speex_process_vorbis_comments(stream, self, &packet); break; default: speex_process_data(stream, self, &packet); break; } } } static void speex_end(stream_processor *stream) { misc_speex_info *self = stream->data; if (!self->seen_speex_header) warn(_("WARNING: stream (%d) did not contain Speex header\n"), stream->num); if (!self->seen_vorbis_comments) warn(_("WARNING: stream (%d) did not contain Vorbis comments header\n"), stream->num); if (!self->seen_data) warn(_("WARNING: stream (%d) did not contain data packets\n"), stream->num); free(stream->data); } void speex_start(stream_processor *stream) { stream->type = "speex"; stream->process_page = speex_process; stream->process_end = speex_end; stream->data = calloc(1, sizeof(misc_speex_info)); } vorbis-tools-1.4.2/ogginfo/private.h0000644000175000017500000000372313776031636014375 00000000000000/* Ogginfo * * A tool to describe ogg file contents and metadata. * * This file is a common header for the code files. * * Copyright 2002-2005 Michael Smith * Copyright 2020 Philipp Schafft * Licensed under the GNU GPL, distributed with this program. */ #ifndef __VORBIS_TOOLS__PRIVATE_H__ #define __VORBIS_TOOLS__PRIVATE_H__ #include "picture.h" typedef struct _stream_processor { void (*process_page)(struct _stream_processor *, ogg_page *); void (*process_end)(struct _stream_processor *); int isillegal; int constraint_violated; int shownillegal; int isnew; long seqno; int lostseq; int start; int end; int num; const char *type; ogg_uint32_t serial; /* must be 32 bit unsigned */ ogg_stream_state os; void *data; } stream_processor; extern int printlots; static inline ogg_uint16_t read_u16le(const unsigned char *in) { return in[0] | (in[1] << 8); } static inline ogg_uint32_t read_u32le(const unsigned char *in) { return in[0] | (in[1] << 8) | (in[2] << 16) | (in[3] << 24); } void info(const char *format, ...); void warn(const char *format, ...); void error(const char *format, ...); void print_summary(stream_processor *stream, size_t bytes, double time); int handle_vorbis_comments(stream_processor *stream, const unsigned char *in, size_t length, size_t *end); void check_xiph_comment(stream_processor *stream, int i, const char *comment, int comment_length); void check_flac_picture(flac_picture_t *picture, const char *prefix); void vorbis_start(stream_processor *stream); void theora_start(stream_processor *stream); void kate_start(stream_processor *stream); void opus_start(stream_processor *stream); void speex_start(stream_processor *stream); void flac_start(stream_processor *stream); void skeleton_start(stream_processor *stream); void other_start(stream_processor *stream, const char *type); void invalid_start(stream_processor *stream); #endif vorbis-tools-1.4.2/ogginfo/codec_invalid.c0000644000175000017500000000122213767207234015470 00000000000000/* Ogginfo * * A tool to describe ogg file contents and metadata. * * This file handles invalid streams. * * Copyright 2002-2005 Michael Smith * Copyright 2020 Philipp Schafft * Licensed under the GNU GPL, distributed with this program. */ #ifdef HAVE_CONFIG_H #include #endif #include #include "private.h" static void process_invalid(stream_processor *stream, ogg_page *page) { /* This is for invalid streams. */ } void invalid_start(stream_processor *stream) { stream->process_end = NULL; stream->type = "invalid"; stream->process_page = process_invalid; } vorbis-tools-1.4.2/ogginfo/codec_flac.c0000644000175000017500000001310013776030232014735 00000000000000/* Ogginfo * * A tool to describe ogg file contents and metadata. * * This file handles codecs we have no specific handling for. * * Copyright 2002-2005 Michael Smith * Copyright 2020-2021 Philipp Schafft * Licensed under the GNU GPL, distributed with this program. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include "i18n.h" #include "private.h" typedef struct { bool seen_streaminfo; bool seen_data; bool headers_done; ogg_int64_t bytes; ogg_int64_t rate; ogg_int64_t lastgranulepos; } misc_flac_info; static inline ogg_int64_t read_intNbe(const unsigned char *in, int bits, int offset) { ogg_int64_t ret = 0; int have = 0; ret = *(in++); have = 8; if (offset) { ret = ((ret << offset) & 0xFF) >> offset; have -= offset; } while (have < bits) { ret <<= 8; ret |= *(in++); have += 8; } ret >>= (have - bits); return ret; } static void flac_process_streaminfo(stream_processor *stream, misc_flac_info *self, ogg_packet *packet) { self->rate = read_intNbe(&(packet->packet[27]), 20, 0); info(_("Channels: %d\n"), (long int)read_intNbe(&(packet->packet[29]), 3, 4) + 1); info(_("Bist per sample: %d\n"), (long int)read_intNbe(&(packet->packet[29]), 5, 7) + 1); info(_("Rate: %ld\n\n"), (long int)self->rate); self->seen_streaminfo = true; } static void flac_process_padding(stream_processor *stream, misc_flac_info *self, ogg_packet *packet) { info(_("Padding: %ld bytes\n"), (long int)(packet->bytes - 4)); } static inline const char * application_type_name(ogg_int64_t type) { return ""; } static void flac_process_application(stream_processor *stream, misc_flac_info *self, ogg_packet *packet) { ogg_int64_t type = read_intNbe(&(packet->packet[4]), 32, 0); info(_("Application data: %d (%s)\n"), (int)type, application_type_name(type)); } static void flac_process_vorbis_comments(stream_processor *stream, misc_flac_info *self, ogg_packet *packet) { size_t end; if (packet->bytes > 4) { if (handle_vorbis_comments(stream, packet->packet + 4, packet->bytes - 4, &end) == -1) { warn(_("WARNING: invalid Vorbis comments on stream %d: packet too short\n"), stream->num); } } else { warn(_("WARNING: invalid Vorbis comments on stream %d: packet too short\n"), stream->num); } } static void flac_process_picture(stream_processor *stream, misc_flac_info *self, ogg_packet *packet) { flac_picture_t *picture = NULL; if (packet->bytes > 4) picture = flac_picture_parse_from_blob(&(packet->packet[4]), packet->bytes - 4); check_flac_picture(picture, NULL); flac_picture_free(picture); } static void flac_process_data(stream_processor *stream, misc_flac_info *self, ogg_packet *packet) { if (packet->granulepos != -1) self->lastgranulepos = packet->granulepos; self->seen_data = true; } static void flac_process(stream_processor *stream, ogg_page *page) { misc_flac_info *self = stream->data; ogg_stream_pagein(&stream->os, page); while (1) { ogg_packet packet; int res = ogg_stream_packetout(&stream->os, &packet); if (res < 0) { warn(_("WARNING: discontinuity in stream (%d)\n"), stream->num); continue; } else if (res == 0) { break; } if (packet.bytes < 1) { warn(_("WARNING: Invalid zero size packet in stream (%d)\n"), stream->num); break; } if (packet.packetno == 0) { flac_process_streaminfo(stream, self, &packet); } else if (!self->headers_done) { switch (packet.packet[0] & 0x7F) { case 1: flac_process_padding(stream, self, &packet); break; case 2: flac_process_application(stream, self, &packet); break; case 3: /* no-op: seek table */ break; case 4: flac_process_vorbis_comments(stream, self, &packet); break; case 5: /* no-op: cue sheet */ break; case 6: flac_process_picture(stream, self, &packet); break; default: warn(_("WARNING: Invalid header of type %d in stream (%d)\n"), (int)(packet.packet[0] & 0x7F), stream->num); break; } if (packet.packet[0] & 0x80) self->headers_done = true; } else { flac_process_data(stream, self, &packet); } } if (self->headers_done) self->bytes += page->header_len + page->body_len; } static void flac_end(stream_processor *stream) { misc_flac_info *self = stream->data; if (!self->seen_streaminfo) warn(_("WARNING: stream (%d) did not contain STREAMINFO\n"), stream->num); if (!self->seen_data) warn(_("WARNING: stream (%d) did not contain data packets\n"), stream->num); /* This should be lastgranulepos - startgranulepos, or something like that*/ print_summary(stream, self->bytes, (double)self->lastgranulepos / self->rate); free(stream->data); } void flac_start(stream_processor *stream) { stream->type = "FLAC"; stream->process_page = flac_process; stream->process_end = flac_end; stream->data = calloc(1, sizeof(misc_flac_info)); } vorbis-tools-1.4.2/ogginfo/metadata.c0000644000175000017500000002152113776031036014464 00000000000000/* Ogginfo * * A tool to describe ogg file contents and metadata. * * Copyright 2002-2005 Michael Smith * Copyright 2020-2021 Philipp Schafft * Licensed under the GNU GPL, distributed with this program. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "utf8.h" #include "i18n.h" #include "private.h" static void print_vendor(const unsigned char *str, size_t len) { char *buf = malloc(len + 1); if (buf) { memcpy(buf, str, len); buf[len] = 0; info(_("Vendor: %s\n"), buf); free(buf); } } int handle_vorbis_comments(stream_processor *stream, const unsigned char *in, size_t length, size_t *end) { ogg_uint32_t vendor_string_length; ogg_uint32_t user_comment_list_length; ogg_uint32_t i; if (length < 8) return -1; vendor_string_length = read_u32le(in); if (length < (8 + vendor_string_length)) return -1; print_vendor(in + 4, vendor_string_length); user_comment_list_length = read_u32le(in + 4 + vendor_string_length); if (user_comment_list_length) info(_("User comments section follows...\n")); *end = 8 + vendor_string_length; for (i = 0; i < user_comment_list_length; i++) { ogg_uint32_t user_comment_string_length = read_u32le(in + *end); char *buf; (*end) += 4; if (length < (*end + user_comment_string_length)) return -1; buf = malloc(user_comment_string_length + 1); if (buf) { memcpy(buf, in + *end, user_comment_string_length); buf[user_comment_string_length] = 0; check_xiph_comment(stream, i, buf, user_comment_string_length); free(buf); } (*end) += user_comment_string_length; } return 0; } void check_xiph_comment(stream_processor *stream, int i, const char *comment, int comment_length) { char *sep = strchr(comment, '='); char *decoded; int j; int broken = 0; unsigned char *val; int bytes; int remaining; if (sep == NULL) { warn(_("WARNING: Comment %d in stream %d has invalid " "format, does not contain '=': \"%s\"\n"), i, stream->num, comment); return; } for (j=0; j < sep-comment; j++) { if (comment[j] < 0x20 || comment[j] > 0x7D) { warn(_("WARNING: Invalid comment fieldname in " "comment %d (stream %d): \"%s\"\n"), i, stream->num, comment); broken = 1; break; } } if (broken) return; val = (unsigned char *)comment; j = sep-comment+1; while (j < comment_length) { remaining = comment_length - j; if ((val[j] & 0x80) == 0) { bytes = 1; } else if ((val[j] & 0x40) == 0x40) { if ((val[j] & 0x20) == 0) bytes = 2; else if ((val[j] & 0x10) == 0) bytes = 3; else if ((val[j] & 0x08) == 0) bytes = 4; else if ((val[j] & 0x04) == 0) bytes = 5; else if ((val[j] & 0x02) == 0) bytes = 6; else { warn(_("WARNING: Illegal UTF-8 sequence in " "comment %d (stream %d): length marker wrong\n"), i, stream->num); broken = 1; break; } } else { warn(_("WARNING: Illegal UTF-8 sequence in comment " "%d (stream %d): length marker wrong\n"), i, stream->num); broken = 1; break; } if (bytes > remaining) { warn(_("WARNING: Illegal UTF-8 sequence in comment " "%d (stream %d): too few bytes\n"), i, stream->num); broken = 1; break; } switch(bytes) { case 1: /* No more checks needed */ break; case 2: if ((val[j+1] & 0xC0) != 0x80) broken = 1; if ((val[j] & 0xFE) == 0xC0) broken = 1; break; case 3: if (!((val[j] == 0xE0 && val[j+1] >= 0xA0 && val[j+1] <= 0xBF && (val[j+2] & 0xC0) == 0x80) || (val[j] >= 0xE1 && val[j] <= 0xEC && (val[j+1] & 0xC0) == 0x80 && (val[j+2] & 0xC0) == 0x80) || (val[j] == 0xED && val[j+1] >= 0x80 && val[j+1] <= 0x9F && (val[j+2] & 0xC0) == 0x80) || (val[j] >= 0xEE && val[j] <= 0xEF && (val[j+1] & 0xC0) == 0x80 && (val[j+2] & 0xC0) == 0x80))) broken = 1; if (val[j] == 0xE0 && (val[j+1] & 0xE0) == 0x80) broken = 1; break; case 4: if (!((val[j] == 0xF0 && val[j+1] >= 0x90 && val[j+1] <= 0xBF && (val[j+2] & 0xC0) == 0x80 && (val[j+3] & 0xC0) == 0x80) || (val[j] >= 0xF1 && val[j] <= 0xF3 && (val[j+1] & 0xC0) == 0x80 && (val[j+2] & 0xC0) == 0x80 && (val[j+3] & 0xC0) == 0x80) || (val[j] == 0xF4 && val[j+1] >= 0x80 && val[j+1] <= 0x8F && (val[j+2] & 0xC0) == 0x80 && (val[j+3] & 0xC0) == 0x80))) broken = 1; if (val[j] == 0xF0 && (val[j+1] & 0xF0) == 0x80) broken = 1; break; /* 5 and 6 aren't actually allowed at this point */ case 5: broken = 1; break; case 6: broken = 1; break; } if (broken) { char *simple = malloc (comment_length + 1); char *seq = malloc (comment_length * 3 + 1); static char hex[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'}; int i, c1 = 0, c2 = 0; for (i = 0; i < comment_length; i++) { seq[c1++] = hex[((unsigned char)comment[i]) >> 4]; seq[c1++] = hex[((unsigned char)comment[i]) & 0xf]; seq[c1++] = ' '; if (comment[i] < 0x20 || comment[i] > 0x7D) { simple[c2++] = '?'; } else { simple[c2++] = comment[i]; } } seq[c1] = 0; simple[c2] = 0; warn(_("WARNING: Illegal UTF-8 sequence in comment " "%d (stream %d): invalid sequence \"%s\": %s\n"), i, stream->num, simple, seq); broken = 1; free (simple); free (seq); break; } j += bytes; } if (!broken) { if (utf8_decode(sep+1, &decoded) < 0) { warn(_("WARNING: Failure in UTF-8 decoder. This should not be possible\n")); return; } *sep = 0; if (!broken) { info("\t%s=%s\n", comment, decoded); if (strcasecmp(comment, "METADATA_BLOCK_PICTURE") == 0) { flac_picture_t *picture = flac_picture_parse_from_base64(decoded); check_flac_picture(picture, "\t"); flac_picture_free(picture); } free(decoded); } } } void check_flac_picture(flac_picture_t *picture, const char *prefix) { if (!prefix) prefix = ""; if (!picture) { warn("%s%s\n", prefix, _("Picture: ")); return; } info("%s", prefix); info(_("Picture: %d (%s)\n"), (int)picture->type, flac_picture_type_string(picture->type)); if (picture->media_type) { info("%s", prefix); info(_("\tMIME-Type: %s\n"), picture->media_type); } if (picture->description) { info("%s", prefix); info(_("\tDescription: %s\n"), picture->description); } info("%s", prefix); info(_("\tWidth: %ld\n"), (long int)picture->width); info("%s", prefix); info(_("\tHeight: %ld\n"), (long int)picture->height); info("%s", prefix); info(_("\tColor depth: %ld\n"), (long int)picture->depth); if (picture->colors) { info("%s", prefix); info(_("\tUsed colors: %ld\n"), (long int)picture->colors); } if (picture->uri) { info("%s", prefix); info(_("\tURL: %s\n"), picture->uri); } if (picture->binary_length) { info("%s", prefix); info(_("\tSize: %ld bytes\n"), (long int)picture->binary_length); } } vorbis-tools-1.4.2/ogginfo/codec_vorbis.c0000644000175000017500000001557113767412161015357 00000000000000/* Ogginfo * * A tool to describe ogg file contents and metadata. * * This file handles vorbis streams. * * Copyright 2002-2005 Michael Smith * Copyright 2020 Philipp Schafft * Licensed under the GNU GPL, distributed with this program. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include "i18n.h" #include "private.h" typedef struct { vorbis_info vi; vorbis_comment vc; ogg_int64_t bytes; ogg_int64_t lastgranulepos; ogg_int64_t firstgranulepos; int doneheaders; } misc_vorbis_info; static const struct vorbis_release { const char *vendor_string; const char *desc; } releases[] = { {"Xiphophorus libVorbis I 20000508", "1.0 beta 1 or beta 2"}, {"Xiphophorus libVorbis I 20001031", "1.0 beta 3"}, {"Xiphophorus libVorbis I 20010225", "1.0 beta 4"}, {"Xiphophorus libVorbis I 20010615", "1.0 rc1"}, {"Xiphophorus libVorbis I 20010813", "1.0 rc2"}, {"Xiphophorus libVorbis I 20011217", "1.0 rc3"}, {"Xiphophorus libVorbis I 20011231", "1.0 rc3"}, {"Xiph.Org libVorbis I 20020717", "1.0"}, {"Xiph.Org libVorbis I 20030909", "1.0.1"}, {"Xiph.Org libVorbis I 20040629", "1.1.0"}, {"Xiph.Org libVorbis I 20050304", "1.1.1"}, {"Xiph.Org libVorbis I 20050304", "1.1.2"}, {"Xiph.Org libVorbis I 20070622", "1.2.0"}, {"Xiph.Org libVorbis I 20080501", "1.2.1"}, {NULL, NULL}, }; static void vorbis_process(stream_processor *stream, ogg_page *page ) { ogg_packet packet; misc_vorbis_info *inf = stream->data; int i, header=0, packets=0; int k; int res; ogg_stream_pagein(&stream->os, page); if (inf->doneheaders < 3) header = 1; while (1) { res = ogg_stream_packetout(&stream->os, &packet); if (res < 0) { warn(_("WARNING: discontinuity in stream (%d)\n"), stream->num); continue; } else if (res == 0) { break; } packets++; if (inf->doneheaders < 3) { if (vorbis_synthesis_headerin(&inf->vi, &inf->vc, &packet) < 0) { warn(_("WARNING: Could not decode Vorbis header " "packet %d - invalid Vorbis stream (%d)\n"), inf->doneheaders, stream->num); continue; } inf->doneheaders++; if (inf->doneheaders == 3) { if (ogg_page_granulepos(page) != 0 || ogg_stream_packetpeek(&stream->os, NULL) == 1) warn(_("WARNING: Vorbis stream %d does not have headers " "correctly framed. Terminal header page contains " "additional packets or has non-zero granulepos\n"), stream->num); info(_("Vorbis headers parsed for stream %d, " "information follows...\n"), stream->num); info(_("Version: %d\n"), inf->vi.version); k = 0; while (releases[k].vendor_string) { if (!strcmp(inf->vc.vendor, releases[k].vendor_string)) { info(_("Vendor: %s (%s)\n"), inf->vc.vendor, releases[k].desc); break; } k++; } if (!releases[k].vendor_string) info(_("Vendor: %s\n"), inf->vc.vendor); info(_("Channels: %d\n"), inf->vi.channels); info(_("Rate: %ld\n\n"), inf->vi.rate); if (inf->vi.bitrate_nominal > 0) { info(_("Nominal bitrate: %f kb/s\n"), (double)inf->vi.bitrate_nominal / 1000.0); } else { info(_("Nominal bitrate not set\n")); } if (inf->vi.bitrate_upper > 0) { info(_("Upper bitrate: %f kb/s\n"), (double)inf->vi.bitrate_upper / 1000.0); } else { info(_("Upper bitrate not set\n")); } if (inf->vi.bitrate_lower > 0) { info(_("Lower bitrate: %f kb/s\n"), (double)inf->vi.bitrate_lower / 1000.0); } else { info(_("Lower bitrate not set\n")); } if (inf->vc.comments > 0) info(_("User comments section follows...\n")); for (i=0; i < inf->vc.comments; i++) { char *comment = inf->vc.user_comments[i]; check_xiph_comment(stream, i, comment, inf->vc.comment_lengths[i]); } } } } if (!header) { ogg_int64_t gp = ogg_page_granulepos(page); if (gp > 0) { if (gp < inf->lastgranulepos) warn(_("WARNING: granulepos in stream %d decreases from %" PRId64 " to %" PRId64 "\n" ), stream->num, inf->lastgranulepos, gp); inf->lastgranulepos = gp; } else if (packets) { /* Only do this if we saw at least one packet ending on this page. * It's legal (though very unusual) to have no packets in a page at * all - this is occasionally used to have an empty EOS page */ warn(_("Negative or zero granulepos (%" PRId64 ") on Vorbis stream outside of headers. This file was created by a buggy encoder\n"), gp); } if (inf->firstgranulepos < 0) { /* Not set yet */ } inf->bytes += page->header_len + page->body_len; } } static void vorbis_end(stream_processor *stream) { misc_vorbis_info *inf = stream->data; long minutes, seconds, milliseconds; double bitrate, time; /* This should be lastgranulepos - startgranulepos, or something like that*/ time = (double)inf->lastgranulepos / inf->vi.rate; minutes = (long)time / 60; seconds = (long)time - minutes*60; milliseconds = (long)((time - minutes*60 - seconds)*1000); bitrate = inf->bytes*8 / time / 1000.0; info(_("Vorbis stream %d:\n" "\tTotal data length: %" PRId64 " bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n"), stream->num,inf->bytes, minutes, seconds, milliseconds, bitrate); vorbis_comment_clear(&inf->vc); vorbis_info_clear(&inf->vi); free(stream->data); } void vorbis_start(stream_processor *stream) { misc_vorbis_info *info; stream->type = "vorbis"; stream->process_page = vorbis_process; stream->process_end = vorbis_end; stream->data = calloc(1, sizeof(misc_vorbis_info)); info = stream->data; vorbis_comment_init(&info->vc); vorbis_info_init(&info->vi); } vorbis-tools-1.4.2/ogginfo/theora.c0000644000175000017500000001303213767140576014176 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2003 * * by the Xiph.Org Foundation http://www.xiph.org/ * * * ******************************************************************** function: last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "theora.h" #define theora_read(x,y,z) ( *z = oggpackB_read(x,y) ) static void _tp_readbuffer(oggpack_buffer *opb, char *buf, const long len) { long i; long ret; for (i = 0; i < len; i++) { theora_read(opb, 8, &ret); *buf++=(char)ret; } } static void _tp_readlsbint(oggpack_buffer *opb, long *value) { int i; long ret[4]; for (i = 0; i < 4; i++) { theora_read(opb,8,&ret[i]); } *value = ret[0]|ret[1]<<8|ret[2]<<16|ret[3]<<24; } void theora_info_clear(theora_info *c) { memset(c,0,sizeof(*c)); } static int _theora_unpack_info(theora_info *ci, oggpack_buffer *opb){ long ret; theora_read(opb,8,&ret); ci->version_major=(unsigned char)ret; theora_read(opb,8,&ret); ci->version_minor=(unsigned char)ret; theora_read(opb,8,&ret); ci->version_subminor=(unsigned char)ret; theora_read(opb,16,&ret); ci->width=ret<<4; theora_read(opb,16,&ret); ci->height=ret<<4; theora_read(opb,24,&ret); ci->frame_width=ret; theora_read(opb,24,&ret); ci->frame_height=ret; theora_read(opb,8,&ret); ci->offset_x=ret; theora_read(opb,8,&ret); ci->offset_y=ret; theora_read(opb,32,&ret); ci->fps_numerator=ret; theora_read(opb,32,&ret); ci->fps_denominator=ret; theora_read(opb,24,&ret); ci->aspect_numerator=ret; theora_read(opb,24,&ret); ci->aspect_denominator=ret; theora_read(opb,8,&ret); ci->colorspace=ret; theora_read(opb,24,&ret); ci->target_bitrate=ret; theora_read(opb,6,&ret); ci->quality=ret; theora_read(opb,5,&ret); ci->granule_shift = ret; theora_read(opb,2,&ret); ci->pixelformat=ret; /* spare configuration bits */ if ( theora_read(opb,3,&ret) == -1 ) return (OC_BADHEADER); return(0); } void theora_comment_clear(theora_comment *tc){ if(tc){ long i; for(i=0;icomments;i++) if(tc->user_comments[i])_ogg_free(tc->user_comments[i]); if(tc->user_comments)_ogg_free(tc->user_comments); if(tc->comment_lengths)_ogg_free(tc->comment_lengths); if(tc->vendor)_ogg_free(tc->vendor); memset(tc,0,sizeof(*tc)); } } static int _theora_unpack_comment(theora_comment *tc, oggpack_buffer *opb){ int i; long len; _tp_readlsbint(opb,&len); if(len<0)return(OC_BADHEADER); tc->vendor=_ogg_calloc(1,len+1); _tp_readbuffer(opb,tc->vendor, len); tc->vendor[len]='\0'; _tp_readlsbint(opb,(long *) &tc->comments); if(tc->comments<0)goto parse_err; tc->user_comments=_ogg_calloc(tc->comments,sizeof(*tc->user_comments)); tc->comment_lengths=_ogg_calloc(tc->comments,sizeof(*tc->comment_lengths)); for(i=0;icomments;i++){ _tp_readlsbint(opb,&len); if(len<0)goto parse_err; tc->user_comments[i]=_ogg_calloc(1,len+1); _tp_readbuffer(opb,tc->user_comments[i],len); tc->user_comments[i][len]='\0'; tc->comment_lengths[i]=len; } return(0); parse_err: theora_comment_clear(tc); return(OC_BADHEADER); } static int _theora_unpack_tables(theora_info *c, oggpack_buffer *opb){ /* NOP: ogginfo doesn't use this information */ return 0; } int theora_decode_header(theora_info *ci, theora_comment *cc, ogg_packet *op){ long ret; oggpack_buffer *opb; if(!op)return OC_BADHEADER; opb = _ogg_malloc(sizeof(oggpack_buffer)); oggpackB_readinit(opb,op->packet,op->bytes); { char id[6]; int typeflag; theora_read(opb,8,&ret); typeflag = ret; if(!(typeflag&0x80)) { free(opb); return(OC_NOTFORMAT); } _tp_readbuffer(opb,id,6); if(memcmp(id,"theora",6)) { free(opb); return(OC_NOTFORMAT); } switch(typeflag){ case 0x80: if(!op->b_o_s){ /* Not the initial packet */ free(opb); return(OC_BADHEADER); } if(ci->version_major!=0){ /* previously initialized info header */ free(opb); return OC_BADHEADER; } ret = _theora_unpack_info(ci,opb); free(opb); return(ret); case 0x81: if(ci->version_major==0){ /* um... we didn't get the initial header */ free(opb); return(OC_BADHEADER); } ret = _theora_unpack_comment(cc,opb); free(opb); return(ret); case 0x82: if(ci->version_major==0 || cc->vendor==NULL){ /* um... we didn't get the initial header or comments yet */ free(opb); return(OC_BADHEADER); } ret = _theora_unpack_tables(ci,opb); free(opb); return(ret); default: free(opb); /* ignore any trailing header packets for forward compatibility */ return(OC_NEWPACKET); } } /* I don't think it's possible to get this far, but better safe.. */ free(opb); return(OC_BADHEADER); } vorbis-tools-1.4.2/ogginfo/codec_skeleton.c0000644000175000017500000001704013776163463015700 00000000000000/* Ogginfo * * A tool to describe ogg file contents and metadata. * * This file handles skeleton streams. * See also: * https://wiki.xiph.org/Ogg_Skeleton * https://wiki.xiph.org/Ogg_Skeleton_3 * https://wiki.xiph.org/SkeletonHeaders * * Copyright 2002-2005 Michael Smith * Copyright 2020-2021 Philipp Schafft * Licensed under the GNU GPL, distributed with this program. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include "i18n.h" #include "private.h" typedef struct { bool supported; uint16_t version_major; uint16_t version_minor; uint64_t presentationtime_numerator; uint64_t presentationtime_denominator; uint64_t basetime_numerator; uint64_t basetime_denominator; } misc_skeleton_info; static const char hexchar[] = "0123456789abcdef"; static inline uint16_t read16le(unsigned char *in) { return (((uint16_t)in[1]) << 8) | ((uint16_t)in[0]); } static inline uint32_t read32le(unsigned char *in) { return (((uint32_t)in[3]) << 24) | (((uint32_t)in[2]) << 16) | (((uint32_t)in[1]) << 8) | ((uint32_t)in[0]); } static inline uint64_t read64le(unsigned char *in) { return (((uint64_t)in[7]) << 56) | (((uint64_t)in[6]) << 48) | (((uint64_t)in[5]) << 40) | (((uint64_t)in[4]) << 32) | (((uint64_t)in[3]) << 24) | (((uint64_t)in[2]) << 16) | (((uint64_t)in[1]) << 8) | ((uint64_t)in[0]); } static void skeleton_process_fishead_utc(ogg_packet *packet) { bool is_null = true; size_t i, j; char buf[2 + 2*20 + 1] = "0x"; for (i = 44, j = 2; i < 64; i++) { if (packet->packet[i]) is_null = false; buf[j++] = hexchar[(packet->packet[i] >> 4) & 0x0F]; buf[j++] = hexchar[packet->packet[i] & 0x0F]; } buf[j] = 0; if (is_null) { info(_("Wall clock time (UTC) unset.\n")); } else { info(_("Wall clock time (UTC): %s\n"), buf); } } static void skeleton_process_fishead(misc_skeleton_info *self, ogg_packet *packet) { if (packet->bytes < 64) { warn(_("WARNING: Invalid short packet in %s stream.\n"), "skeleton"); return; } self->version_major = read16le(&(packet->packet[8])); self->version_minor = read16le(&(packet->packet[10])); info(_("Version: %d.%d\n"), (int)self->version_major, (int)self->version_minor); self->supported = (self->version_major == 3 && self->version_minor == 0) || (self->version_major == 4 && self->version_minor == 0); if (!self->supported) { warn(_("WARNING: %s version not supported.\n"), "skeleton"); return; } self->presentationtime_numerator = read64le(&(packet->packet[12])); self->presentationtime_denominator = read64le(&(packet->packet[20])); self->basetime_numerator = read64le(&(packet->packet[28])); self->basetime_denominator = read64le(&(packet->packet[36])); if (!self->presentationtime_denominator) warn(_("WARNING: Presentation time denominator is zero.\n")); if (!self->basetime_denominator) warn(_("WARNING: Presentation time denominator is zero.\n")); skeleton_process_fishead_utc(packet); } static void skeleton_process_fisbone_message_header(char *header) { char *decoded; char *sep; if (utf8_decode(header, &decoded) < 0) { warn(_("WARNING: Invalid fishbone message header field.\n")); return; } sep = strstr(decoded, ": "); if (sep) { *sep = 0; sep += 2; info("\t%s=%s\n", decoded, sep); } else { warn(_("WARNING: Invalid fishbone message header field.\n")); } free(decoded); } static void skeleton_process_fisbone_message_headers(misc_skeleton_info *self, ogg_packet *packet, size_t offset) { size_t left = packet->bytes - offset; const char *p = (const char *)&(packet->packet[offset]); while (left) { const char *end; size_t len; bool seen_cr = false; for (end = p, len = 0; len < left; len++, end++) { if (seen_cr) { if (*end == '\n') { char *tmp = malloc(len); if (!tmp) { error(_("ERROR: Out of memory.\n")); return; } memcpy(tmp, p, len - 1); tmp[len - 1] = 0; skeleton_process_fisbone_message_header(tmp); free(tmp); // found one. } else { warn(_("WARNING: Invalid fishbone message header field.\n")); return; } } else { if (*end == '\r') { seen_cr = true; } else if (*end == '\n') { warn(_("WARNING: Invalid fishbone message header field.\n")); return; } } } left -= len; p += len; } } static void skeleton_process_fisbone(misc_skeleton_info *self, ogg_packet *packet) { uint32_t offset_message_headers; if (packet->bytes < 52) { warn(_("WARNING: Invalid short packet in %s stream.\n"), "skeleton"); return; } offset_message_headers = read32le(&(packet->packet[8])); if (packet->bytes < (offset_message_headers + 8)) { warn(_("WARNING: Invalid short packet in %s stream.\n"), "skeleton"); return; } info(_("Fishbone: For stream %08x\n"), read32le(&(packet->packet[12]))); skeleton_process_fisbone_message_headers(self, packet, offset_message_headers + 8); } static void skeleton_process_index(misc_skeleton_info *self, ogg_packet *packet) { if (self->version_major == 3) { // Index packets are not yet defined in version 3. warn(_("Invalid packet in %s stream.\n"), "skeleton"); } if (packet->bytes < 42) { warn(_("WARNING: Invalid short packet in %s stream.\n"), "skeleton"); return; } } static void skeleton_process(stream_processor *stream, ogg_page *page) { misc_skeleton_info *self = stream->data; ogg_stream_pagein(&stream->os, page); while (1) { ogg_packet packet; int res = ogg_stream_packetout(&stream->os, &packet); if (res < 0) { warn(_("WARNING: discontinuity in stream (%d)\n"), stream->num); continue; } else if (res == 0) { break; } if (!self->supported) continue; if (packet.bytes == 0 && packet.e_o_s) continue; if (packet.bytes < 8) { warn(_("WARNING: Invalid short packet in %s stream.\n"), "skeleton"); continue; } if (memcmp(packet.packet, "fishead\0", 8) == 0) { skeleton_process_fishead(self, &packet); } else if (memcmp(packet.packet, "fisbone\0", 8) == 0) { skeleton_process_fisbone(self, &packet); } else if (memcmp(packet.packet, "index\0", 6) == 0) { skeleton_process_index(self, &packet); } else { warn(_("Invalid packet in %s stream.\n"), "skeleton"); } } } static void skeleton_end(stream_processor *stream) { misc_skeleton_info *self = stream->data; free(stream->data); } void skeleton_start(stream_processor *stream) { misc_skeleton_info *self; stream->type = "skeleton"; stream->process_page = skeleton_process; stream->process_end = skeleton_end; stream->data = calloc(1, sizeof(misc_skeleton_info)); self = stream->data; self->supported = true; } vorbis-tools-1.4.2/share/0000755000175000017500000000000014002243561012260 500000000000000vorbis-tools-1.4.2/share/Makefile.am0000644000175000017500000000077413774371142014260 00000000000000## Process this file with automake to produce Makefile.in AM_CPPFLAGS = -I$(top_srcdir)/include noinst_LIBRARIES = libutf8.a libgetopt.a libbase64.a libpicture.a libutf8_a_SOURCES = charset.c charset.h iconvert.c utf8.c libgetopt_a_SOURCES = getopt.c getopt1.c libbase64_a_SOURCES = base64.c libpicture_a_SOURCES = picture.c libpicture_a_LIBADD = libbase64.a EXTRA_DIST = charmaps.h makemap.c charset_test.c charsetmap.h debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" vorbis-tools-1.4.2/share/charset_test.c0000644000175000017500000002164513767140576015067 00000000000000/* * Copyright (C) 2001 Edmund Grimley Evans * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "charset.h" void test_any(struct charset *charset) { int wc; char s[2]; assert(charset); /* Decoder */ assert(charset_mbtowc(charset, 0, 0, 0) == 0); assert(charset_mbtowc(charset, 0, 0, 1) == 0); assert(charset_mbtowc(charset, 0, (char *)(-1), 0) == 0); assert(charset_mbtowc(charset, 0, "a", 0) == 0); assert(charset_mbtowc(charset, 0, "", 1) == 0); assert(charset_mbtowc(charset, 0, "b", 1) == 1); assert(charset_mbtowc(charset, 0, "", 2) == 0); assert(charset_mbtowc(charset, 0, "c", 2) == 1); wc = 'x'; assert(charset_mbtowc(charset, &wc, "a", 0) == 0 && wc == 'x'); assert(charset_mbtowc(charset, &wc, "", 1) == 0 && wc == 0); assert(charset_mbtowc(charset, &wc, "b", 1) == 1 && wc == 'b'); assert(charset_mbtowc(charset, &wc, "", 2) == 0 && wc == 0); assert(charset_mbtowc(charset, &wc, "c", 2) == 1 && wc == 'c'); /* Encoder */ assert(charset_wctomb(charset, 0, 0) == 0); s[0] = s[1] = '.'; assert(charset_wctomb(charset, s, 0) == 1 && s[0] == '\0' && s[1] == '.'); assert(charset_wctomb(charset, s, 'x') == 1 && s[0] == 'x' && s[1] == '.'); } void test_utf8() { struct charset *charset; int wc; char s[8]; charset = charset_find("UTF-8"); test_any(charset); /* Decoder */ wc = 0; assert(charset_mbtowc(charset, &wc, "\177", 1) == 1 && wc == 127); assert(charset_mbtowc(charset, &wc, "\200", 2) == -1); assert(charset_mbtowc(charset, &wc, "\301\277", 9) == -1); assert(charset_mbtowc(charset, &wc, "\302\200", 1) == -1); assert(charset_mbtowc(charset, &wc, "\302\200", 2) == 2 && wc == 128); assert(charset_mbtowc(charset, &wc, "\302\200", 3) == 2 && wc == 128); assert(charset_mbtowc(charset, &wc, "\340\237\200", 9) == -1); assert(charset_mbtowc(charset, &wc, "\340\240\200", 9) == 3 && wc == 1 << 11); assert(charset_mbtowc(charset, &wc, "\360\217\277\277", 9) == -1); assert(charset_mbtowc(charset, &wc, "\360\220\200\200", 9) == 4 && wc == 1 << 16); assert(charset_mbtowc(charset, &wc, "\370\207\277\277\277", 9) == -1); assert(charset_mbtowc(charset, &wc, "\370\210\200\200\200", 9) == 5 && wc == 1 << 21); assert(charset_mbtowc(charset, &wc, "\374\203\277\277\277\277", 9) == -1); assert(charset_mbtowc(charset, &wc, "\374\204\200\200\200\200", 9) == 6 && wc == 1 << 26); assert(charset_mbtowc(charset, &wc, "\375\277\277\277\277\277", 9) == 6 && wc == 0x7fffffff); assert(charset_mbtowc(charset, &wc, "\302\000", 2) == -1); assert(charset_mbtowc(charset, &wc, "\302\300", 2) == -1); assert(charset_mbtowc(charset, &wc, "\340\040\200", 9) == -1); assert(charset_mbtowc(charset, &wc, "\340\340\200", 9) == -1); assert(charset_mbtowc(charset, &wc, "\340\240\000", 9) == -1); assert(charset_mbtowc(charset, &wc, "\340\240\300", 9) == -1); assert(charset_mbtowc(charset, &wc, "\360\020\200\200", 9) == -1); assert(charset_mbtowc(charset, &wc, "\360\320\200\200", 9) == -1); assert(charset_mbtowc(charset, &wc, "\360\220\000\200", 9) == -1); assert(charset_mbtowc(charset, &wc, "\360\220\300\200", 9) == -1); assert(charset_mbtowc(charset, &wc, "\360\220\200\000", 9) == -1); assert(charset_mbtowc(charset, &wc, "\360\220\200\300", 9) == -1); assert(charset_mbtowc(charset, &wc, "\375\077\277\277\277\277", 9) == -1); assert(charset_mbtowc(charset, &wc, "\375\377\277\277\277\277", 9) == -1); assert(charset_mbtowc(charset, &wc, "\375\277\077\277\277\277", 9) == -1); assert(charset_mbtowc(charset, &wc, "\375\277\377\277\277\277", 9) == -1); assert(charset_mbtowc(charset, &wc, "\375\277\277\277\077\277", 9) == -1); assert(charset_mbtowc(charset, &wc, "\375\277\277\277\377\277", 9) == -1); assert(charset_mbtowc(charset, &wc, "\375\277\277\277\277\077", 9) == -1); assert(charset_mbtowc(charset, &wc, "\375\277\277\277\277\377", 9) == -1); assert(charset_mbtowc(charset, &wc, "\376\277\277\277\277\277", 9) == -1); assert(charset_mbtowc(charset, &wc, "\377\277\277\277\277\277", 9) == -1); /* Encoder */ strcpy(s, "......."); assert(charset_wctomb(charset, s, 1 << 31) == -1 && !strcmp(s, ".......")); assert(charset_wctomb(charset, s, 127) == 1 && !strcmp(s, "\177......")); assert(charset_wctomb(charset, s, 128) == 2 && !strcmp(s, "\302\200.....")); assert(charset_wctomb(charset, s, 0x7ff) == 2 && !strcmp(s, "\337\277.....")); assert(charset_wctomb(charset, s, 0x800) == 3 && !strcmp(s, "\340\240\200....")); assert(charset_wctomb(charset, s, 0xffff) == 3 && !strcmp(s, "\357\277\277....")); assert(charset_wctomb(charset, s, 0x10000) == 4 && !strcmp(s, "\360\220\200\200...")); assert(charset_wctomb(charset, s, 0x1fffff) == 4 && !strcmp(s, "\367\277\277\277...")); assert(charset_wctomb(charset, s, 0x200000) == 5 && !strcmp(s, "\370\210\200\200\200..")); assert(charset_wctomb(charset, s, 0x3ffffff) == 5 && !strcmp(s, "\373\277\277\277\277..")); assert(charset_wctomb(charset, s, 0x4000000) == 6 && !strcmp(s, "\374\204\200\200\200\200.")); assert(charset_wctomb(charset, s, 0x7fffffff) == 6 && !strcmp(s, "\375\277\277\277\277\277.")); } void test_ascii() { struct charset *charset; int wc; char s[3]; charset = charset_find("us-ascii"); test_any(charset); /* Decoder */ wc = 0; assert(charset_mbtowc(charset, &wc, "\177", 2) == 1 && wc == 127); assert(charset_mbtowc(charset, &wc, "\200", 2) == -1); /* Encoder */ strcpy(s, ".."); assert(charset_wctomb(charset, s, 256) == -1 && !strcmp(s, "..")); assert(charset_wctomb(charset, s, 255) == -1); assert(charset_wctomb(charset, s, 128) == -1); assert(charset_wctomb(charset, s, 127) == 1 && !strcmp(s, "\177.")); } void test_iso1() { struct charset *charset; int wc; char s[3]; charset = charset_find("iso-8859-1"); test_any(charset); /* Decoder */ wc = 0; assert(charset_mbtowc(charset, &wc, "\302\200", 9) == 1 && wc == 0xc2); /* Encoder */ strcpy(s, ".."); assert(charset_wctomb(charset, s, 256) == -1 && !strcmp(s, "..")); assert(charset_wctomb(charset, s, 255) == 1 && !strcmp(s, "\377.")); assert(charset_wctomb(charset, s, 128) == 1 && !strcmp(s, "\200.")); } void test_iso2() { struct charset *charset; int wc; char s[3]; charset = charset_find("iso-8859-2"); test_any(charset); /* Decoder */ wc = 0; assert(charset_mbtowc(charset, &wc, "\302\200", 9) == 1 && wc == 0xc2); assert(charset_mbtowc(charset, &wc, "\377", 2) == 1 && wc == 0x2d9); /* Encoder */ strcpy(s, ".."); assert(charset_wctomb(charset, s, 256) == -1 && !strcmp(s, "..")); assert(charset_wctomb(charset, s, 255) == -1 && !strcmp(s, "..")); assert(charset_wctomb(charset, s, 258) == 1 && !strcmp(s, "\303.")); assert(charset_wctomb(charset, s, 128) == 1 && !strcmp(s, "\200.")); } void test_convert() { const char *p; char *q, *r; char s[256]; size_t n, n2; int i; p = "\000x\302\200\375\277\277\277\277\277"; assert(charset_convert("UTF-8", "UTF-8", p, 10, &q, &n) == 0 && n == 10 && !strcmp(p, q)); assert(charset_convert("UTF-8", "UTF-8", "x\301\277y", 4, &q, &n) == 2 && n == 4 && !strcmp(q, "x##y")); assert(charset_convert("UTF-8", "UTF-8", "x\301\277y", 4, 0, &n) == 2 && n == 4); assert(charset_convert("UTF-8", "UTF-8", "x\301\277y", 4, &q, 0) == 2 && !strcmp(q, "x##y")); assert(charset_convert("UTF-8", "iso-8859-1", "\302\200\304\200x", 5, &q, &n) == 1 && n == 3 && !strcmp(q, "\200?x")); assert(charset_convert("iso-8859-1", "UTF-8", "\000\200\377", 3, &q, &n) == 0 && n == 5 && !memcmp(q, "\000\302\200\303\277", 5)); assert(charset_convert("iso-8859-1", "iso-8859-1", "\000\200\377", 3, &q, &n) == 0 && n == 3 && !memcmp(q, "\000\200\377", 3)); assert(charset_convert("iso-8859-2", "utf-8", "\300", 1, &q, &n) == 0 && n == 2 && !strcmp(q, "\305\224")); assert(charset_convert("utf-8", "iso-8859-2", "\305\224", 2, &q, &n) == 0 && n == 1 && !strcmp(q, "\300")); for (i = 0; i < 256; i++) s[i] = i; assert(charset_convert("iso-8859-2", "utf-8", s, 256, &q, &n) == 0); assert(charset_convert("utf-8", "iso-8859-2", q, n, &r, &n2) == 0); assert(n2 == 256 && !memcmp(r, s, n2)); } int main() { test_utf8(); test_ascii(); test_iso1(); test_iso2(); test_convert(); return 0; } vorbis-tools-1.4.2/share/picture.c0000644000175000017500000001366113775723440014045 00000000000000/* * Copyright (C) 2021 Philipp Schafft * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include #include #include #include "base64.h" #include "picture.h" const char * flac_picture_type_string(flac_picture_type type) { switch (type) { case FLAC_PICTURE_OTHER: return "Other"; break; case FLAC_PICTURE_FILE_ICON: return "32x32 pixels file icon (PNG)"; break; case FLAC_PICTURE_OTHER_FILE_ICON: return "Other file icon"; break; case FLAC_PICTURE_COVER_FRONT: return "Cover (front)"; break; case FLAC_PICTURE_COVER_BACK: return "Cover (back)"; break; case FLAC_PICTURE_LEAFLET_PAGE: return "Leaflet page"; break; case FLAC_PICTURE_MEDIA: return "Media"; break; case FLAC_PICTURE_LEAD: return "Lead artist/lead performer/soloist"; break; case FLAC_PICTURE_ARTIST: return "Artist/performer"; break; case FLAC_PICTURE_CONDUCTOR: return "Conductor"; break; case FLAC_PICTURE_BAND: return "Band/Orchestra"; break; case FLAC_PICTURE_COMPOSER: return "Composer"; break; case FLAC_PICTURE_LYRICIST: return "Lyricist/text writer"; break; case FLAC_PICTURE_RECORDING_LOCATION: return "Recording Location"; break; case FLAC_PICTURE_DURING_RECORDING: return "During recording"; break; case FLAC_PICTURE_DURING_PREFORMANCE: return "During performance"; break; case FLAC_PICTURE_SCREEN_CAPTURE: return "Movie/video screen capture"; break; case FLAC_PICTURE_A_BRIGHT_COLOURED_FISH: return "A bright coloured fish"; break; case FLAC_PICTURE_ILLUSTRATION: return "Illustration"; break; case FLAC_PICTURE_BAND_LOGOTYPE: return "Band/artist logotype"; break; case FLAC_PICTURE_PUBLISHER_LOGOTYPE: return "Publisher/Studio logotype"; break; default: return ""; break; } } static uint32_t read32be(unsigned char *buf) { uint32_t ret = 0; ret = (ret << 8) | *buf++; ret = (ret << 8) | *buf++; ret = (ret << 8) | *buf++; ret = (ret << 8) | *buf++; return ret; } static flac_picture_t * flac_picture_parse_eat(void *data, size_t len) { size_t expected_length = 32; // 8*32 bit size_t offset = 0; flac_picture_t *ret; uint32_t tmp; if (len < expected_length) return NULL; ret = calloc(1, sizeof(*ret)); if (!ret) return NULL; ret->private_data = data; ret->private_data_length = len; ret->type = read32be(data); /* const char *media_type; const char *description; unsigned int width; unsigned int height; unsigned int depth; unsigned int colors; const void *binary; size_t binary_length; const char *uri; */ tmp = read32be(data+4); expected_length += tmp; if (len < expected_length) { free(ret); return NULL; } ret->media_type = data + 8; offset = 8 + tmp; tmp = read32be(data + offset); expected_length += tmp; if (len < expected_length) { free(ret); return NULL; } *(char*)(data + offset) = 0; offset += 4; ret->description = data + offset; offset += tmp; ret->width = read32be(data + offset); *(char*)(data + offset) = 0; offset += 4; ret->height = read32be(data + offset); offset += 4; ret->depth = read32be(data + offset); offset += 4; ret->colors = read32be(data + offset); offset += 4; ret->binary_length = read32be(data + offset); expected_length += ret->binary_length; if (len < expected_length) { free(ret); return NULL; } offset += 4; ret->binary = data + offset; if (strcmp(ret->media_type, "-->") == 0) { // Note: it is ensured ret->binary[ret->binary_length] == 0. ret->media_type = NULL; ret->uri = ret->binary; ret->binary = NULL; ret->binary_length = 0; } return ret; } flac_picture_t * flac_picture_parse_from_base64(const char *str) { flac_picture_t *ret; void *data; size_t len; if (!str || !*str) return NULL; if (base64_decode(str, &data, &len) != 0) return NULL; ret = flac_picture_parse_eat(data, len); if (!ret) { free(data); return NULL; } return ret; } flac_picture_t * flac_picture_parse_from_blob(const void *in, size_t len) { flac_picture_t *ret; void *data; if (!in || !len) return NULL; data = calloc(1, len + 1); if (!data) return NULL; memcpy(data, in, len); ret = flac_picture_parse_eat(data, len); if (!ret) { free(data); return NULL; } return ret; } void flac_picture_free(flac_picture_t *picture) { if (!picture) return; free(picture->private_data); free(picture); } vorbis-tools-1.4.2/share/Makefile.in0000644000175000017500000005425114002242753014256 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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 = share ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \ $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intl.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/size_max.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ $(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.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 = LIBRARIES = $(noinst_LIBRARIES) ARFLAGS = cru AM_V_AR = $(am__v_AR_@AM_V@) am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) am__v_AR_0 = @echo " AR " $@; am__v_AR_1 = libbase64_a_AR = $(AR) $(ARFLAGS) libbase64_a_LIBADD = am_libbase64_a_OBJECTS = base64.$(OBJEXT) libbase64_a_OBJECTS = $(am_libbase64_a_OBJECTS) libgetopt_a_AR = $(AR) $(ARFLAGS) libgetopt_a_LIBADD = am_libgetopt_a_OBJECTS = getopt.$(OBJEXT) getopt1.$(OBJEXT) libgetopt_a_OBJECTS = $(am_libgetopt_a_OBJECTS) libpicture_a_AR = $(AR) $(ARFLAGS) libpicture_a_DEPENDENCIES = libbase64.a am_libpicture_a_OBJECTS = picture.$(OBJEXT) libpicture_a_OBJECTS = $(am_libpicture_a_OBJECTS) libutf8_a_AR = $(AR) $(ARFLAGS) libutf8_a_LIBADD = am_libutf8_a_OBJECTS = charset.$(OBJEXT) iconvert.$(OBJEXT) \ utf8.$(OBJEXT) libutf8_a_OBJECTS = $(am_libutf8_a_OBJECTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libbase64_a_SOURCES) $(libgetopt_a_SOURCES) \ $(libpicture_a_SOURCES) $(libutf8_a_SOURCES) DIST_SOURCES = $(libbase64_a_SOURCES) $(libgetopt_a_SOURCES) \ $(libpicture_a_SOURCES) $(libutf8_a_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AO_CFLAGS = @AO_CFLAGS@ AO_LIBS = @AO_LIBS@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURL_CFLAGS = @CURL_CFLAGS@ CURL_LIBS = @CURL_LIBS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG = @DEBUG@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLAC_LIBS = @FLAC_LIBS@ GENCAT = @GENCAT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIBC2 = @GLIBC2@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WPRINTF = @HAVE_WPRINTF@ I18N_CFLAGS = @I18N_CFLAGS@ I18N_LIBS = @I18N_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KATE_CFLAGS = @KATE_CFLAGS@ KATE_LIBS = @KATE_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBPTH = @LIBPTH@ LIBPTH_PREFIX = @LIBPTH_PREFIX@ LIBS = @LIBS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBC = @LTLIBC@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBPTH = @LTLIBPTH@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ OPT_SUBDIRS = @OPT_SUBDIRS@ OPUSFILE_CFLAGS = @OPUSFILE_CFLAGS@ OPUSFILE_LIBS = @OPUSFILE_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POSUB = @POSUB@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PROFILE = @PROFILE@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHARE_CFLAGS = @SHARE_CFLAGS@ SHARE_LIBS = @SHARE_LIBS@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ SPEEX_LIBS = @SPEEX_LIBS@ STRIP = @STRIP@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISENC_LIBS = @VORBISENC_LIBS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ WINDRES = @WINDRES@ WOE32 = @WOE32@ WOE32DLL = @WOE32DLL@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ 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 = -I$(top_srcdir)/include noinst_LIBRARIES = libutf8.a libgetopt.a libbase64.a libpicture.a libutf8_a_SOURCES = charset.c charset.h iconvert.c utf8.c libgetopt_a_SOURCES = getopt.c getopt1.c libbase64_a_SOURCES = base64.c libpicture_a_SOURCES = picture.c libpicture_a_LIBADD = libbase64.a EXTRA_DIST = charmaps.h makemap.c charset_test.c charsetmap.h all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu share/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu share/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) libbase64.a: $(libbase64_a_OBJECTS) $(libbase64_a_DEPENDENCIES) $(EXTRA_libbase64_a_DEPENDENCIES) $(AM_V_at)-rm -f libbase64.a $(AM_V_AR)$(libbase64_a_AR) libbase64.a $(libbase64_a_OBJECTS) $(libbase64_a_LIBADD) $(AM_V_at)$(RANLIB) libbase64.a libgetopt.a: $(libgetopt_a_OBJECTS) $(libgetopt_a_DEPENDENCIES) $(EXTRA_libgetopt_a_DEPENDENCIES) $(AM_V_at)-rm -f libgetopt.a $(AM_V_AR)$(libgetopt_a_AR) libgetopt.a $(libgetopt_a_OBJECTS) $(libgetopt_a_LIBADD) $(AM_V_at)$(RANLIB) libgetopt.a libpicture.a: $(libpicture_a_OBJECTS) $(libpicture_a_DEPENDENCIES) $(EXTRA_libpicture_a_DEPENDENCIES) $(AM_V_at)-rm -f libpicture.a $(AM_V_AR)$(libpicture_a_AR) libpicture.a $(libpicture_a_OBJECTS) $(libpicture_a_LIBADD) $(AM_V_at)$(RANLIB) libpicture.a libutf8.a: $(libutf8_a_OBJECTS) $(libutf8_a_DEPENDENCIES) $(EXTRA_libutf8_a_DEPENDENCIES) $(AM_V_at)-rm -f libutf8.a $(AM_V_AR)$(libutf8_a_AR) libutf8.a $(libutf8_a_OBJECTS) $(libutf8_a_LIBADD) $(AM_V_at)$(RANLIB) libutf8.a mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base64.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/charset.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt1.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iconvert.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/picture.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utf8.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LIBRARIES) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstLIBRARIES cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am .PRECIOUS: Makefile debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" # 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: vorbis-tools-1.4.2/share/getopt.c0000644000175000017500000007246413767140576013706 00000000000000/* Getopt for GNU. NOTE: getopt is now part of the C library, so if you don't know what "Keep this file name-space clean" means, talk to drepper@gnu.org before changing it! Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* This tells Alpha OSF/1 not to define a getopt prototype in . Ditto for AIX 3.2 and . */ #ifndef _NO_PROTO # define _NO_PROTO #endif #ifdef HAVE_CONFIG_H # include #endif #if !defined __STDC__ || !__STDC__ /* This is a separate conditional since some stdc systems reject `defined (const)'. */ # ifndef const # define const # endif #endif #include /* Comment out all this code if we are using the GNU C Library, and are not actually compiling the library itself. This code is part of the GNU C Library, but also included in many other GNU distributions. Compiling and linking in this code is a waste when using the GNU C library (especially if it is a shared library). Rather than having every GNU program understand `configure --with-gnu-libc' and omit the object files, it is simpler to just do this in the source for each such file. */ #define GETOPT_INTERFACE_VERSION 2 #if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 # include # if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION # define ELIDE_CODE # endif #endif #ifndef ELIDE_CODE /* This needs to come after some library #include to get __GNU_LIBRARY__ defined. */ #ifdef __GNU_LIBRARY__ /* Don't include stdlib.h for non-GNU C libraries because some of them contain conflicting prototypes for getopt. */ # include # include #endif /* GNU C library. */ #ifdef VMS # include # if HAVE_STRING_H - 0 # include # endif #endif #ifndef _ /* This is for other GNU distributions with internationalized messages. When compiling libc, the _ macro is predefined. */ # ifdef HAVE_LIBINTL_H # include # define _(msgid) gettext (msgid) # else # define _(msgid) (msgid) # endif #endif /* This version of `getopt' appears to the caller like standard Unix `getopt' but it behaves differently for the user, since it allows the user to intersperse the options with the other arguments. As `getopt' works, it permutes the elements of ARGV so that, when it is done, all the options precede everything else. Thus all application programs are extended to handle flexible argument order. Setting the environment variable POSIXLY_CORRECT disables permutation. Then the behavior is completely standard. GNU application programs can use a third alternative mode in which they can distinguish the relative order of options and other arguments. */ #include "getopt.h" /* For communication from `getopt' to the caller. When `getopt' finds an option that takes an argument, the argument value is returned here. Also, when `ordering' is RETURN_IN_ORDER, each non-option ARGV-element is returned here. */ char *optarg; /* Index in ARGV of the next element to be scanned. This is used for communication to and from the caller and for communication between successive calls to `getopt'. On entry to `getopt', zero means this is the first call; initialize. When `getopt' returns -1, this is the index of the first of the non-option elements that the caller should itself scan. Otherwise, `optind' communicates from one call to the next how much of ARGV has been scanned so far. */ /* 1003.2 says this must be 1 before any call. */ int optind = 1; /* Formerly, initialization of getopt depended on optind==0, which causes problems with re-calling getopt as programs generally don't know that. */ int __getopt_initialized; /* The next char to be scanned in the option-element in which the last option character we returned was found. This allows us to pick up the scan where we left off. If this is zero, or a null string, it means resume the scan by advancing to the next ARGV-element. */ static char *nextchar; /* Callers store zero here to inhibit the error message for unrecognized options. */ int opterr = 1; /* Set to an option character which was unrecognized. This must be initialized on some systems to avoid linking in the system's own getopt implementation. */ int optopt = '?'; /* Describe how to deal with options that follow non-option ARGV-elements. If the caller did not specify anything, the default is REQUIRE_ORDER if the environment variable POSIXLY_CORRECT is defined, PERMUTE otherwise. REQUIRE_ORDER means don't recognize them as options; stop option processing when the first non-option is seen. This is what Unix does. This mode of operation is selected by either setting the environment variable POSIXLY_CORRECT, or using `+' as the first character of the list of option characters. PERMUTE is the default. We permute the contents of ARGV as we scan, so that eventually all the non-options are at the end. This allows options to be given in any order, even with programs that were not written to expect this. RETURN_IN_ORDER is an option available to programs that were written to expect options and other ARGV-elements in any order and that care about the ordering of the two. We describe each non-option ARGV-element as if it were the argument of an option with character code 1. Using `-' as the first character of the list of option characters selects this mode of operation. The special argument `--' forces an end of option-scanning regardless of the value of `ordering'. In the case of RETURN_IN_ORDER, only `--' can cause `getopt' to return -1 with `optind' != ARGC. */ static enum { REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER } ordering; /* Value of POSIXLY_CORRECT environment variable. */ static char *posixly_correct; #ifdef __GNU_LIBRARY__ /* We want to avoid inclusion of string.h with non-GNU libraries because there are many ways it can cause trouble. On some systems, it contains special magic macros that don't work in GCC. */ # include # define my_index strchr #else #include /* Avoid depending on library functions or files whose names are inconsistent. */ #ifndef getenv extern char *getenv (); #endif static char * my_index (str, chr) const char *str; int chr; { while (*str) { if (*str == chr) return (char *) str; str++; } return 0; } /* If using GCC, we can safely declare strlen this way. If not using GCC, it is ok not to declare it. */ #ifdef __GNUC__ /* Note that Motorola Delta 68k R3V7 comes with GCC but not stddef.h. That was relevant to code that was here before. */ # if (!defined __STDC__ || !__STDC__) && !defined strlen /* gcc with -traditional declares the built-in strlen to return int, and has done so at least since version 2.4.5. -- rms. */ extern int strlen (const char *); # endif /* not __STDC__ */ #endif /* __GNUC__ */ #endif /* not __GNU_LIBRARY__ */ /* Handle permutation of arguments. */ /* Describe the part of ARGV that contains non-options that have been skipped. `first_nonopt' is the index in ARGV of the first of them; `last_nonopt' is the index after the last of them. */ static int first_nonopt; static int last_nonopt; #ifdef _LIBC /* Bash 2.0 gives us an environment variable containing flags indicating ARGV elements that should not be considered arguments. */ /* Defined in getopt_init.c */ extern char *__getopt_nonoption_flags; static int nonoption_flags_max_len; static int nonoption_flags_len; static int original_argc; static char *const *original_argv; /* Make sure the environment variable bash 2.0 puts in the environment is valid for the getopt call we must make sure that the ARGV passed to getopt is that one passed to the process. */ static void __attribute__ ((unused)) store_args_and_env (int argc, char *const *argv) { /* XXX This is no good solution. We should rather copy the args so that we can compare them later. But we must not use malloc(3). */ original_argc = argc; original_argv = argv; } # ifdef text_set_element text_set_element (__libc_subinit, store_args_and_env); # endif /* text_set_element */ # define SWAP_FLAGS(ch1, ch2) \ if (nonoption_flags_len > 0) \ { \ char __tmp = __getopt_nonoption_flags[ch1]; \ __getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \ __getopt_nonoption_flags[ch2] = __tmp; \ } #else /* !_LIBC */ # define SWAP_FLAGS(ch1, ch2) #endif /* _LIBC */ /* Exchange two adjacent subsequences of ARGV. One subsequence is elements [first_nonopt,last_nonopt) which contains all the non-options that have been skipped so far. The other is elements [last_nonopt,optind), which contains all the options processed since those non-options were skipped. `first_nonopt' and `last_nonopt' are relocated so that they describe the new indices of the non-options in ARGV after they are moved. */ #if defined __STDC__ && __STDC__ static void exchange (char **); #endif static void exchange (argv) char **argv; { int bottom = first_nonopt; int middle = last_nonopt; int top = optind; char *tem; /* Exchange the shorter segment with the far end of the longer segment. That puts the shorter segment into the right place. It leaves the longer segment in the right place overall, but it consists of two parts that need to be swapped next. */ #ifdef _LIBC /* First make sure the handling of the `__getopt_nonoption_flags' string can work normally. Our top argument must be in the range of the string. */ if (nonoption_flags_len > 0 && top >= nonoption_flags_max_len) { /* We must extend the array. The user plays games with us and presents new arguments. */ char *new_str = malloc (top + 1); if (new_str == NULL) nonoption_flags_len = nonoption_flags_max_len = 0; else { memset (__mempcpy (new_str, __getopt_nonoption_flags, nonoption_flags_max_len), '\0', top + 1 - nonoption_flags_max_len); nonoption_flags_max_len = top + 1; __getopt_nonoption_flags = new_str; } } #endif while (top > middle && middle > bottom) { if (top - middle > middle - bottom) { /* Bottom segment is the short one. */ int len = middle - bottom; register int i; /* Swap it with the top part of the top segment. */ for (i = 0; i < len; i++) { tem = argv[bottom + i]; argv[bottom + i] = argv[top - (middle - bottom) + i]; argv[top - (middle - bottom) + i] = tem; SWAP_FLAGS (bottom + i, top - (middle - bottom) + i); } /* Exclude the moved bottom segment from further swapping. */ top -= len; } else { /* Top segment is the short one. */ int len = top - middle; register int i; /* Swap it with the bottom part of the bottom segment. */ for (i = 0; i < len; i++) { tem = argv[bottom + i]; argv[bottom + i] = argv[middle + i]; argv[middle + i] = tem; SWAP_FLAGS (bottom + i, middle + i); } /* Exclude the moved top segment from further swapping. */ bottom += len; } } /* Update records for the slots the non-options now occupy. */ first_nonopt += (optind - last_nonopt); last_nonopt = optind; } /* Initialize the internal data when the first call is made. */ #if defined __STDC__ && __STDC__ static const char *_getopt_initialize (int, char *const *, const char *); #endif static const char * _getopt_initialize (argc, argv, optstring) int argc; char *const *argv; const char *optstring; { /* Start processing options with ARGV-element 1 (since ARGV-element 0 is the program name); the sequence of previously skipped non-option ARGV-elements is empty. */ first_nonopt = last_nonopt = optind; nextchar = NULL; posixly_correct = getenv ("POSIXLY_CORRECT"); /* Determine how to handle the ordering of options and nonoptions. */ if (optstring[0] == '-') { ordering = RETURN_IN_ORDER; ++optstring; } else if (optstring[0] == '+') { ordering = REQUIRE_ORDER; ++optstring; } else if (posixly_correct != NULL) ordering = REQUIRE_ORDER; else ordering = PERMUTE; #ifdef _LIBC if (posixly_correct == NULL && argc == original_argc && argv == original_argv) { if (nonoption_flags_max_len == 0) { if (__getopt_nonoption_flags == NULL || __getopt_nonoption_flags[0] == '\0') nonoption_flags_max_len = -1; else { const char *orig_str = __getopt_nonoption_flags; int len = nonoption_flags_max_len = strlen (orig_str); if (nonoption_flags_max_len < argc) nonoption_flags_max_len = argc; __getopt_nonoption_flags = (char *) malloc (nonoption_flags_max_len); if (__getopt_nonoption_flags == NULL) nonoption_flags_max_len = -1; else memset (__mempcpy (__getopt_nonoption_flags, orig_str, len), '\0', nonoption_flags_max_len - len); } } nonoption_flags_len = nonoption_flags_max_len; } else nonoption_flags_len = 0; #endif return optstring; } /* Scan elements of ARGV (whose length is ARGC) for option characters given in OPTSTRING. If an element of ARGV starts with '-', and is not exactly "-" or "--", then it is an option element. The characters of this element (aside from the initial '-') are option characters. If `getopt' is called repeatedly, it returns successively each of the option characters from each of the option elements. If `getopt' finds another option character, it returns that character, updating `optind' and `nextchar' so that the next call to `getopt' can resume the scan with the following option character or ARGV-element. If there are no more option characters, `getopt' returns -1. Then `optind' is the index in ARGV of the first ARGV-element that is not an option. (The ARGV-elements have been permuted so that those that are not options now come last.) OPTSTRING is a string containing the legitimate option characters. If an option character is seen that is not listed in OPTSTRING, return '?' after printing an error message. If you set `opterr' to zero, the error message is suppressed but we still return '?'. If a char in OPTSTRING is followed by a colon, that means it wants an arg, so the following text in the same ARGV-element, or the text of the following ARGV-element, is returned in `optarg'. Two colons mean an option that wants an optional arg; if there is text in the current ARGV-element, it is returned in `optarg', otherwise `optarg' is set to zero. If OPTSTRING starts with `-' or `+', it requests different methods of handling the non-option ARGV-elements. See the comments about RETURN_IN_ORDER and REQUIRE_ORDER, above. Long-named options begin with `--' instead of `-'. Their names may be abbreviated as long as the abbreviation is unique or is an exact match for some defined option. If they have an argument, it follows the option name in the same ARGV-element, separated from the option name by a `=', or else the in next ARGV-element. When `getopt' finds a long-named option, it returns 0 if that option's `flag' field is nonzero, the value of the option's `val' field if the `flag' field is zero. The elements of ARGV aren't really const, because we permute them. But we pretend they're const in the prototype to be compatible with other systems. LONGOPTS is a vector of `struct option' terminated by an element containing a name which is zero. LONGIND returns the index in LONGOPT of the long-named option found. It is only valid when a long-named option has been found by the most recent call. If LONG_ONLY is nonzero, '-' as well as '--' can introduce long-named options. */ int _getopt_internal (argc, argv, optstring, longopts, longind, long_only) int argc; char *const *argv; const char *optstring; const struct option *longopts; int *longind; int long_only; { optarg = NULL; if (optind == 0 || !__getopt_initialized) { if (optind == 0) optind = 1; /* Don't scan ARGV[0], the program name. */ optstring = _getopt_initialize (argc, argv, optstring); __getopt_initialized = 1; } /* Test whether ARGV[optind] points to a non-option argument. Either it does not have option syntax, or there is an environment flag from the shell indicating it is not an option. The later information is only used when the used in the GNU libc. */ #ifdef _LIBC # define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0' \ || (optind < nonoption_flags_len \ && __getopt_nonoption_flags[optind] == '1')) #else # define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0') #endif if (nextchar == NULL || *nextchar == '\0') { /* Advance to the next ARGV-element. */ /* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been moved back by the user (who may also have changed the arguments). */ if (last_nonopt > optind) last_nonopt = optind; if (first_nonopt > optind) first_nonopt = optind; if (ordering == PERMUTE) { /* If we have just processed some options following some non-options, exchange them so that the options come first. */ if (first_nonopt != last_nonopt && last_nonopt != optind) exchange ((char **) argv); else if (last_nonopt != optind) first_nonopt = optind; /* Skip any additional non-options and extend the range of non-options previously skipped. */ while (optind < argc && NONOPTION_P) optind++; last_nonopt = optind; } /* The special ARGV-element `--' means premature end of options. Skip it like a null option, then exchange with previous non-options as if it were an option, then skip everything else like a non-option. */ if (optind != argc && !strcmp (argv[optind], "--")) { optind++; if (first_nonopt != last_nonopt && last_nonopt != optind) exchange ((char **) argv); else if (first_nonopt == last_nonopt) first_nonopt = optind; last_nonopt = argc; optind = argc; } /* If we have done all the ARGV-elements, stop the scan and back over any non-options that we skipped and permuted. */ if (optind == argc) { /* Set the next-arg-index to point at the non-options that we previously skipped, so the caller will digest them. */ if (first_nonopt != last_nonopt) optind = first_nonopt; return -1; } /* If we have come to a non-option and did not permute it, either stop the scan or describe it to the caller and pass it by. */ if (NONOPTION_P) { if (ordering == REQUIRE_ORDER) return -1; optarg = argv[optind++]; return 1; } /* We have found another option-ARGV-element. Skip the initial punctuation. */ nextchar = (argv[optind] + 1 + (longopts != NULL && argv[optind][1] == '-')); } /* Decode the current option-ARGV-element. */ /* Check whether the ARGV-element is a long option. If long_only and the ARGV-element has the form "-f", where f is a valid short option, don't consider it an abbreviated form of a long option that starts with f. Otherwise there would be no way to give the -f short option. On the other hand, if there's a long option "fubar" and the ARGV-element is "-fu", do consider that an abbreviation of the long option, just like "--fu", and not "-f" with arg "u". This distinction seems to be the most useful approach. */ if (longopts != NULL && (argv[optind][1] == '-' || (long_only && (argv[optind][2] || !my_index (optstring, argv[optind][1]))))) { char *nameend; const struct option *p; const struct option *pfound = NULL; int exact = 0; int ambig = 0; int indfound = -1; int option_index; for (nameend = nextchar; *nameend && *nameend != '='; nameend++) /* Do nothing. */ ; /* Test all long options for either exact match or abbreviated matches. */ for (p = longopts, option_index = 0; p->name; p++, option_index++) if (!strncmp (p->name, nextchar, nameend - nextchar)) { if ((unsigned int) (nameend - nextchar) == (unsigned int) strlen (p->name)) { /* Exact match found. */ pfound = p; indfound = option_index; exact = 1; break; } else if (pfound == NULL) { /* First nonexact match found. */ pfound = p; indfound = option_index; } else /* Second or later nonexact match found. */ ambig = 1; } if (ambig && !exact) { if (opterr) fprintf (stderr, _("%s: option `%s' is ambiguous\n"), argv[0], argv[optind]); nextchar += strlen (nextchar); optind++; optopt = 0; return '?'; } if (pfound != NULL) { option_index = indfound; optind++; if (*nameend) { /* Don't test has_arg with >, because some C compilers don't allow it to be used on enums. */ if (pfound->has_arg) optarg = nameend + 1; else { if (opterr) { if (argv[optind - 1][1] == '-') /* --option */ fprintf (stderr, _("%s: option `--%s' doesn't allow an argument\n"), argv[0], pfound->name); else /* +option or -option */ fprintf (stderr, _("%s: option `%c%s' doesn't allow an argument\n"), argv[0], argv[optind - 1][0], pfound->name); } nextchar += strlen (nextchar); optopt = pfound->val; return '?'; } } else if (pfound->has_arg == 1) { if (optind < argc) optarg = argv[optind++]; else { if (opterr) fprintf (stderr, _("%s: option `%s' requires an argument\n"), argv[0], argv[optind - 1]); nextchar += strlen (nextchar); optopt = pfound->val; return optstring[0] == ':' ? ':' : '?'; } } nextchar += strlen (nextchar); if (longind != NULL) *longind = option_index; if (pfound->flag) { *(pfound->flag) = pfound->val; return 0; } return pfound->val; } /* Can't find it as a long option. If this is not getopt_long_only, or the option starts with '--' or is not a valid short option, then it's an error. Otherwise interpret it as a short option. */ if (!long_only || argv[optind][1] == '-' || my_index (optstring, *nextchar) == NULL) { if (opterr) { if (argv[optind][1] == '-') /* --option */ fprintf (stderr, _("%s: unrecognized option `--%s'\n"), argv[0], nextchar); else /* +option or -option */ fprintf (stderr, _("%s: unrecognized option `%c%s'\n"), argv[0], argv[optind][0], nextchar); } nextchar = (char *) ""; optind++; optopt = 0; return '?'; } } /* Look at and handle the next short option-character. */ { char c = *nextchar++; char *temp = my_index (optstring, c); /* Increment `optind' when we start to process its last character. */ if (*nextchar == '\0') ++optind; if (temp == NULL || c == ':') { if (opterr) { if (posixly_correct) /* 1003.2 specifies the format of this message. */ fprintf (stderr, _("%s: illegal option -- %c\n"), argv[0], c); else fprintf (stderr, _("%s: invalid option -- %c\n"), argv[0], c); } optopt = c; return '?'; } /* Convenience. Treat POSIX -W foo same as long option --foo */ if (temp[0] == 'W' && temp[1] == ';') { char *nameend; const struct option *p; const struct option *pfound = NULL; int exact = 0; int ambig = 0; int indfound = 0; int option_index; /* This is an option that requires an argument. */ if (*nextchar != '\0') { optarg = nextchar; /* If we end this ARGV-element by taking the rest as an arg, we must advance to the next element now. */ optind++; } else if (optind == argc) { if (opterr) { /* 1003.2 specifies the format of this message. */ fprintf (stderr, _("%s: option requires an argument -- %c\n"), argv[0], c); } optopt = c; if (optstring[0] == ':') c = ':'; else c = '?'; return c; } else /* We already incremented `optind' once; increment it again when taking next ARGV-elt as argument. */ optarg = argv[optind++]; /* optarg is now the argument, see if it's in the table of longopts. */ for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++) /* Do nothing. */ ; /* Test all long options for either exact match or abbreviated matches. */ for (p = longopts, option_index = 0; p->name; p++, option_index++) if (!strncmp (p->name, nextchar, nameend - nextchar)) { if ((unsigned int) (nameend - nextchar) == strlen (p->name)) { /* Exact match found. */ pfound = p; indfound = option_index; exact = 1; break; } else if (pfound == NULL) { /* First nonexact match found. */ pfound = p; indfound = option_index; } else /* Second or later nonexact match found. */ ambig = 1; } if (ambig && !exact) { if (opterr) fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"), argv[0], argv[optind]); nextchar += strlen (nextchar); optind++; return '?'; } if (pfound != NULL) { option_index = indfound; if (*nameend) { /* Don't test has_arg with >, because some C compilers don't allow it to be used on enums. */ if (pfound->has_arg) optarg = nameend + 1; else { if (opterr) fprintf (stderr, _("\ %s: option `-W %s' doesn't allow an argument\n"), argv[0], pfound->name); nextchar += strlen (nextchar); return '?'; } } else if (pfound->has_arg == 1) { if (optind < argc) optarg = argv[optind++]; else { if (opterr) fprintf (stderr, _("%s: option `%s' requires an argument\n"), argv[0], argv[optind - 1]); nextchar += strlen (nextchar); return optstring[0] == ':' ? ':' : '?'; } } nextchar += strlen (nextchar); if (longind != NULL) *longind = option_index; if (pfound->flag) { *(pfound->flag) = pfound->val; return 0; } return pfound->val; } nextchar = NULL; return 'W'; /* Let the application handle it. */ } if (temp[1] == ':') { if (temp[2] == ':') { /* This is an option that accepts an argument optionally. */ if (*nextchar != '\0') { optarg = nextchar; optind++; } else optarg = NULL; nextchar = NULL; } else { /* This is an option that requires an argument. */ if (*nextchar != '\0') { optarg = nextchar; /* If we end this ARGV-element by taking the rest as an arg, we must advance to the next element now. */ optind++; } else if (optind == argc) { if (opterr) { /* 1003.2 specifies the format of this message. */ fprintf (stderr, _("%s: option requires an argument -- %c\n"), argv[0], c); } optopt = c; if (optstring[0] == ':') c = ':'; else c = '?'; } else /* We already incremented `optind' once; increment it again when taking next ARGV-elt as argument. */ optarg = argv[optind++]; nextchar = NULL; } } return c; } } int getopt (argc, argv, optstring) int argc; char *const *argv; const char *optstring; { return _getopt_internal (argc, argv, optstring, (const struct option *) 0, (int *) 0, 0); } #endif /* Not ELIDE_CODE. */ #ifdef TEST /* Compile with -DTEST to make an executable for use in testing the above definition of `getopt'. */ int main (argc, argv) int argc; char **argv; { int c; int digit_optind = 0; while (1) { int this_option_optind = optind ? optind : 1; c = getopt (argc, argv, "abc:d:0123456789"); if (c == -1) break; switch (c) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': if (digit_optind != 0 && digit_optind != this_option_optind) printf ("digits occur in two different argv-elements.\n"); digit_optind = this_option_optind; printf ("option %c\n", c); break; case 'a': printf ("option a\n"); break; case 'b': printf ("option b\n"); break; case 'c': printf ("option c with value `%s'\n", optarg); break; case '?': break; default: printf ("?? getopt returned character code 0%o ??\n", c); } } if (optind < argc) { printf ("non-option ARGV-elements: "); while (optind < argc) printf ("%s ", argv[optind++]); printf ("\n"); } exit (0); } #endif /* TEST */ vorbis-tools-1.4.2/share/charset.h0000755000175000017500000000531513767140576014034 00000000000000/* * Copyright (C) 2001 Edmund Grimley Evans * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include /* * These functions are like the C library's mbtowc() and wctomb(), * but instead of depending on the locale they always work in UTF-8, * and they use int instead of wchar_t. */ int utf8_mbtowc(int *pwc, const char *s, size_t n); int utf8_wctomb(char *s, int wc); /* * This is an object-oriented version of mbtowc() and wctomb(). * The caller first uses charset_find() to get a pointer to struct * charset, then uses the mbtowc() and wctomb() methods on it. * The function charset_max() gives the maximum length of a * multibyte character in that encoding. * This API is only appropriate for stateless encodings like UTF-8 * or ISO-8859-3, but I have no intention of implementing anything * other than UTF-8 and 8-bit encodings. * * MINOR BUG: If there is no memory charset_find() may return 0 and * there is no way to distinguish this case from an unknown encoding. */ struct charset; struct charset *charset_find(const char *code); int charset_mbtowc(struct charset *charset, int *pwc, const char *s, size_t n); int charset_wctomb(struct charset *charset, char *s, int wc); int charset_max(struct charset *charset); /* * Function to convert a buffer from one encoding to another. * Invalid bytes are replaced by '#', and characters that are * not available in the target encoding are replaced by '?'. * Each of TO and TOLEN may be zero if the result is not wanted. * The input or output may contain null bytes, but the output * buffer is also null-terminated, so it is all right to * use charset_convert(fromcode, tocode, s, strlen(s), &t, 0). * * Return value: * * -2 : memory allocation failed * -1 : unknown encoding * 0 : data was converted exactly * 1 : valid data was converted approximately (using '?') * 2 : input was invalid (but still converted, using '#') */ int charset_convert(const char *fromcode, const char *tocode, const char *from, size_t fromlen, char **to, size_t *tolen); vorbis-tools-1.4.2/share/iconvert.c0000644000175000017500000001443713767140576014231 00000000000000/* * Copyright (C) 2001 Edmund Grimley Evans * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H # include #endif #ifdef HAVE_ICONV #include #include #include #include #include /* * Convert data from one encoding to another. Return: * * -2 : memory allocation failed * -1 : unknown encoding * 0 : data was converted exactly * 1 : data was converted inexactly * 2 : data was invalid (but still converted) * * We convert in two steps, via UTF-8, as this is the only * reliable way of distinguishing between invalid input * and valid input which iconv refuses to transliterate. * We convert from UTF-8 twice, because we have no way of * knowing whether the conversion was exact if iconv returns * E2BIG (due to a bug in the specification of iconv). * An alternative approach is to assume that the output of * iconv is never more than 4 times as long as the input, * but I prefer to avoid that assumption if possible. */ int iconvert(const char *fromcode, const char *tocode, const char *from, size_t fromlen, char **to, size_t *tolen) { int ret = 0; iconv_t cd1, cd2; char *ib; char *ob; char *utfbuf = 0, *outbuf, *newbuf; size_t utflen, outlen, ibl, obl, k; char tbuf[2048]; cd1 = iconv_open("UTF-8", fromcode); if (cd1 == (iconv_t)(-1)) return -1; cd2 = (iconv_t)(-1); /* Don't use strcasecmp() as it's locale-dependent. */ if (!strchr("Uu", tocode[0]) || !strchr("Tt", tocode[1]) || !strchr("Ff", tocode[2]) || tocode[3] != '-' || tocode[4] != '8' || tocode[5] != '\0') { char *tocode1; /* * Try using this non-standard feature of glibc and libiconv. * This is deliberately not a config option as people often * change their iconv library without rebuilding applications. */ tocode1 = (char *)malloc(strlen(tocode) + 11); if (!tocode1) goto fail; strcpy(tocode1, tocode); strcat(tocode1, "//TRANSLIT"); cd2 = iconv_open(tocode1, "UTF-8"); free(tocode1); if (cd2 == (iconv_t)(-1)) cd2 = iconv_open(tocode, fromcode); if (cd2 == (iconv_t)(-1)) { iconv_close(cd1); return -1; } } utflen = 1; /*fromlen * 2 + 1; XXX */ utfbuf = (char *)malloc(utflen); if (!utfbuf) goto fail; /* Convert to UTF-8 */ ib = (char *)from; ibl = fromlen; ob = utfbuf; obl = utflen; for (;;) { k = iconv(cd1, &ib, &ibl, &ob, &obl); assert((k != (size_t)(-1) && !ibl) || (k == (size_t)(-1) && errno == E2BIG && ibl && obl < 6) || (k == (size_t)(-1) && (errno == EILSEQ || errno == EINVAL) && ibl)); if (!ibl) break; if (obl < 6) { /* Enlarge the buffer */ utflen *= 2; newbuf = (char *)realloc(utfbuf, utflen); if (!newbuf) goto fail; ob = (ob - utfbuf) + newbuf; obl = utflen - (ob - newbuf); utfbuf = newbuf; } else { /* Invalid input */ ib++, ibl--; *ob++ = '#', obl--; ret = 2; //iconv(cd1, 0, 0, 0, 0); # in theory commenting this line prevents a segfault } } if (cd2 == (iconv_t)(-1)) { /* The target encoding was UTF-8 */ if (tolen) *tolen = ob - utfbuf; if (!to) { free(utfbuf); iconv_close(cd1); return ret; } newbuf = (char *)realloc(utfbuf, (ob - utfbuf) + 1); if (!newbuf) goto fail; ob = (ob - utfbuf) + newbuf; *ob = '\0'; *to = newbuf; iconv_close(cd1); return ret; } /* Truncate the buffer to be tidy */ utflen = ob - utfbuf; newbuf = (char *)realloc(utfbuf, utflen); if (!newbuf) goto fail; utfbuf = newbuf; /* Convert from UTF-8 to discover how long the output is */ outlen = 0; ib = utfbuf; ibl = utflen; while (ibl) { ob = tbuf; obl = sizeof(tbuf); k = iconv(cd2, &ib, &ibl, &ob, &obl); assert((k != (size_t)(-1) && !ibl) || (k == (size_t)(-1) && errno == E2BIG && ibl) || (k == (size_t)(-1) && errno == EILSEQ && ibl)); if (ibl && !(k == (size_t)(-1) && errno == E2BIG)) { /* Replace one character */ char *tb = "?"; size_t tbl = 1; outlen += ob - tbuf; ob = tbuf; obl = sizeof(tbuf); k = iconv(cd2, &tb, &tbl, &ob, &obl); assert((k != (size_t)(-1) && !tbl) || (k == (size_t)(-1) && errno == EILSEQ && tbl)); for (++ib, --ibl; ibl && (*ib & 0x80); ib++, ibl--) ; } outlen += ob - tbuf; } ob = tbuf; obl = sizeof(tbuf); k = iconv(cd2, 0, 0, &ob, &obl); assert(k != (size_t)(-1)); outlen += ob - tbuf; /* Convert from UTF-8 for real */ outbuf = (char *)malloc(outlen + 1); if (!outbuf) goto fail; ib = utfbuf; ibl = utflen; ob = outbuf; obl = outlen; while (ibl) { k = iconv(cd2, &ib, &ibl, &ob, &obl); assert((k != (size_t)(-1) && !ibl) || (k == (size_t)(-1) && errno == EILSEQ && ibl)); if (k && !ret) ret = 1; if (ibl && !(k == (size_t)(-1) && errno == E2BIG)) { /* Replace one character */ char *tb = "?"; size_t tbl = 1; k = iconv(cd2, &tb, &tbl, &ob, &obl); assert((k != (size_t)(-1) && !tbl) || (k == (size_t)(-1) && errno == EILSEQ && tbl)); for (++ib, --ibl; ibl && (*ib & 0x80); ib++, ibl--) ; } } k = iconv(cd2, 0, 0, &ob, &obl); assert(k != (size_t)(-1)); assert(!obl); *ob = '\0'; free(utfbuf); iconv_close(cd1); iconv_close(cd2); if (tolen) *tolen = outlen; if (!to) { free(outbuf); return ret; } *to = outbuf; return ret; fail: free(utfbuf); iconv_close(cd1); if (cd2 != (iconv_t)(-1)) iconv_close(cd2); return -2; } #endif /* HAVE_ICONV */ vorbis-tools-1.4.2/share/getopt1.c0000644000175000017500000001070613767140576013756 00000000000000/* getopt_long and getopt_long_only entry points for GNU getopt. Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include "getopt.h" #if !defined __STDC__ || !__STDC__ /* This is a separate conditional since some stdc systems reject `defined (const)'. */ #ifndef const #define const #endif #endif #include /* Comment out all this code if we are using the GNU C Library, and are not actually compiling the library itself. This code is part of the GNU C Library, but also included in many other GNU distributions. Compiling and linking in this code is a waste when using the GNU C library (especially if it is a shared library). Rather than having every GNU program understand `configure --with-gnu-libc' and omit the object files, it is simpler to just do this in the source for each such file. */ #define GETOPT_INTERFACE_VERSION 2 #if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 #include #if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION #define ELIDE_CODE #endif #endif #ifndef ELIDE_CODE /* This needs to come after some library #include to get __GNU_LIBRARY__ defined. */ #ifdef __GNU_LIBRARY__ #include #endif #ifndef NULL #define NULL 0 #endif int getopt_long (argc, argv, options, long_options, opt_index) int argc; char *const *argv; const char *options; const struct option *long_options; int *opt_index; { return _getopt_internal (argc, argv, options, long_options, opt_index, 0); } /* Like getopt_long, but '-' as well as '--' can indicate a long option. If an option that starts with '-' (not '--') doesn't match a long option, but does match a short option, it is parsed as a short option instead. */ int getopt_long_only (argc, argv, options, long_options, opt_index) int argc; char *const *argv; const char *options; const struct option *long_options; int *opt_index; { return _getopt_internal (argc, argv, options, long_options, opt_index, 1); } #endif /* Not ELIDE_CODE. */ #ifdef TEST #include int main (argc, argv) int argc; char **argv; { int c; int digit_optind = 0; while (1) { int this_option_optind = optind ? optind : 1; int option_index = 0; static struct option long_options[] = { {"add", 1, 0, 0}, {"append", 0, 0, 0}, {"delete", 1, 0, 0}, {"verbose", 0, 0, 0}, {"create", 0, 0, 0}, {"file", 1, 0, 0}, {0, 0, 0, 0} }; c = getopt_long (argc, argv, "abc:d:0123456789", long_options, &option_index); if (c == -1) break; switch (c) { case 0: printf ("option %s", long_options[option_index].name); if (optarg) printf (" with arg %s", optarg); printf ("\n"); break; case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': if (digit_optind != 0 && digit_optind != this_option_optind) printf ("digits occur in two different argv-elements.\n"); digit_optind = this_option_optind; printf ("option %c\n", c); break; case 'a': printf ("option a\n"); break; case 'b': printf ("option b\n"); break; case 'c': printf ("option c with value `%s'\n", optarg); break; case 'd': printf ("option d with value `%s'\n", optarg); break; case '?': break; default: printf ("?? getopt returned character code 0%o ??\n", c); } } if (optind < argc) { printf ("non-option ARGV-elements: "); while (optind < argc) printf ("%s ", argv[optind++]); printf ("\n"); } exit (0); } #endif /* TEST */ vorbis-tools-1.4.2/share/charsetmap.h0000644000175000017500000000773313767140576014535 00000000000000/* This file was automatically generated by make_code_map.pl please don't edit directly Daniel Resare */ charset_map maps[] = { {"ISO-8859-1", { 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, 0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087, 0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F, 0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097, 0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F, 0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7, 0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF, 0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7, 0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF, 0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7, 0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF, 0x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7, 0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF, 0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7, 0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF, 0x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7, 0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF } }, {"ISO-8859-2", { 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, 0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087, 0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F, 0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097, 0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F, 0x00A0,0x0104,0x02D8,0x0141,0x00A4,0x013D,0x015A,0x00A7, 0x00A8,0x0160,0x015E,0x0164,0x0179,0x00AD,0x017D,0x017B, 0x00B0,0x0105,0x02DB,0x0142,0x00B4,0x013E,0x015B,0x02C7, 0x00B8,0x0161,0x015F,0x0165,0x017A,0x02DD,0x017E,0x017C, 0x0154,0x00C1,0x00C2,0x0102,0x00C4,0x0139,0x0106,0x00C7, 0x010C,0x00C9,0x0118,0x00CB,0x011A,0x00CD,0x00CE,0x010E, 0x0110,0x0143,0x0147,0x00D3,0x00D4,0x0150,0x00D6,0x00D7, 0x0158,0x016E,0x00DA,0x0170,0x00DC,0x00DD,0x0162,0x00DF, 0x0155,0x00E1,0x00E2,0x0103,0x00E4,0x013A,0x0107,0x00E7, 0x010D,0x00E9,0x0119,0x00EB,0x011B,0x00ED,0x00EE,0x010F, 0x0111,0x0144,0x0148,0x00F3,0x00F4,0x0151,0x00F6,0x00F7, 0x0159,0x016F,0x00FA,0x0171,0x00FC,0x00FD,0x0163,0x02D9 } }, {NULL} }; vorbis-tools-1.4.2/share/charset.c0000644000175000017500000002605113767140576014024 00000000000000/* * Copyright (C) 2001 Edmund Grimley Evans * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* * See the corresponding header file for a description of the functions * that this file provides. * * This was first written for Ogg Vorbis but could be of general use. * * The only deliberate assumption about data sizes is that a short has * at least 16 bits, but this code has only been tested on systems with * 8-bit char, 16-bit short and 32-bit int. */ #ifdef HAVE_CONFIG_H # include #endif #ifndef HAVE_ICONV /* should be ifdef USE_CHARSET_CONVERT */ #include #include "charset.h" #include "charmaps.h" /* * This is like the standard strcasecmp, but it does not depend * on the locale. Locale-dependent functions can be dangerous: * we once had a bug involving strcasecmp("iso", "ISO") in a * Turkish locale! * * (I'm not really sure what the official standard says * about the sign of strcasecmp("Z", "["), but usually * we're only interested in whether it's zero.) */ static int ascii_strcasecmp(const char *s1, const char *s2) { char c1, c2; for (;; s1++, s2++) { if (!*s1 || !*s2) break; if (*s1 == *s2) continue; c1 = *s1; if ('a' <= c1 && c1 <= 'z') c1 += 'A' - 'a'; c2 = *s2; if ('a' <= c2 && c2 <= 'z') c2 += 'A' - 'a'; if (c1 != c2) break; } return (unsigned char)*s1 - (unsigned char)*s2; } /* * UTF-8 equivalents of the C library's wctomb() and mbtowc(). */ int utf8_mbtowc(int *pwc, const char *s, size_t n) { unsigned char c; int wc, i, k; if (!n || !s) return 0; c = *s; if (c < 0x80) { if (pwc) *pwc = c; return c ? 1 : 0; } else if (c < 0xc2) return -1; else if (c < 0xe0) { if (n >= 2 && (s[1] & 0xc0) == 0x80) { if (pwc) *pwc = ((c & 0x1f) << 6) | (s[1] & 0x3f); return 2; } else return -1; } else if (c < 0xf0) k = 3; else if (c < 0xf8) k = 4; else if (c < 0xfc) k = 5; else if (c < 0xfe) k = 6; else return -1; if (n < k) return -1; wc = *s++ & ((1 << (7 - k)) - 1); for (i = 1; i < k; i++) { if ((*s & 0xc0) != 0x80) return -1; wc = (wc << 6) | (*s++ & 0x3f); } if (wc < (1 << (5 * k - 4))) return -1; if (pwc) *pwc = wc; return k; } int utf8_wctomb(char *s, int wc1) { unsigned int wc = wc1; if (!s) return 0; if (wc < (1 << 7)) { *s++ = wc; return 1; } else if (wc < (1 << 11)) { *s++ = 0xc0 | (wc >> 6); *s++ = 0x80 | (wc & 0x3f); return 2; } else if (wc < (1 << 16)) { *s++ = 0xe0 | (wc >> 12); *s++ = 0x80 | ((wc >> 6) & 0x3f); *s++ = 0x80 | (wc & 0x3f); return 3; } else if (wc < (1 << 21)) { *s++ = 0xf0 | (wc >> 18); *s++ = 0x80 | ((wc >> 12) & 0x3f); *s++ = 0x80 | ((wc >> 6) & 0x3f); *s++ = 0x80 | (wc & 0x3f); return 4; } else if (wc < (1 << 26)) { *s++ = 0xf8 | (wc >> 24); *s++ = 0x80 | ((wc >> 18) & 0x3f); *s++ = 0x80 | ((wc >> 12) & 0x3f); *s++ = 0x80 | ((wc >> 6) & 0x3f); *s++ = 0x80 | (wc & 0x3f); return 5; } else if (wc < (1 << 31)) { *s++ = 0xfc | (wc >> 30); *s++ = 0x80 | ((wc >> 24) & 0x3f); *s++ = 0x80 | ((wc >> 18) & 0x3f); *s++ = 0x80 | ((wc >> 12) & 0x3f); *s++ = 0x80 | ((wc >> 6) & 0x3f); *s++ = 0x80 | (wc & 0x3f); return 6; } else return -1; } /* * The charset "object" and methods. */ struct charset { int max; int (*mbtowc)(void *table, int *pwc, const char *s, size_t n); int (*wctomb)(void *table, char *s, int wc); void *map; }; int charset_mbtowc(struct charset *charset, int *pwc, const char *s, size_t n) { return (*charset->mbtowc)(charset->map, pwc, s, n); } int charset_wctomb(struct charset *charset, char *s, int wc) { return (*charset->wctomb)(charset->map, s, wc); } int charset_max(struct charset *charset) { return charset->max; } /* * Implementation of UTF-8. */ static int mbtowc_utf8(void *map, int *pwc, const char *s, size_t n) { return utf8_mbtowc(pwc, s, n); } static int wctomb_utf8(void *map, char *s, int wc) { return utf8_wctomb(s, wc); } /* * Implementation of US-ASCII. * Probably on most architectures this compiles to less than 256 bytes * of code, so we can save space by not having a table for this one. */ static int mbtowc_ascii(void *map, int *pwc, const char *s, size_t n) { int wc; if (!n || !s) return 0; wc = (unsigned char)*s; if (wc & ~0x7f) return -1; if (pwc) *pwc = wc; return wc ? 1 : 0; } static int wctomb_ascii(void *map, char *s, int wc) { if (!s) return 0; if (wc & ~0x7f) return -1; *s = wc; return 1; } /* * Implementation of ISO-8859-1. * Probably on most architectures this compiles to less than 256 bytes * of code, so we can save space by not having a table for this one. */ static int mbtowc_iso1(void *map, int *pwc, const char *s, size_t n) { int wc; if (!n || !s) return 0; wc = (unsigned char)*s; if (wc & ~0xff) return -1; if (pwc) *pwc = wc; return wc ? 1 : 0; } static int wctomb_iso1(void *map, char *s, int wc) { if (!s) return 0; if (wc & ~0xff) return -1; *s = wc; return 1; } /* * Implementation of any 8-bit charset. */ struct map { const unsigned short *from; struct inverse_map *to; }; static int mbtowc_8bit(void *map1, int *pwc, const char *s, size_t n) { struct map *map = map1; unsigned short wc; if (!n || !s) return 0; wc = map->from[(unsigned char)*s]; if (wc == 0xffff) return -1; if (pwc) *pwc = (int)wc; return wc ? 1 : 0; } /* * For the inverse map we use a hash table, which has the advantages * of small constant memory requirement and simple memory allocation, * but the disadvantage of slow conversion in the worst case. * If you need real-time performance while letting a potentially * malicious user define their own map, then the method used in * linux/drivers/char/consolemap.c would be more appropriate. */ struct inverse_map { unsigned char first[256]; unsigned char next[256]; }; /* * The simple hash is good enough for this application. * Use the alternative trivial hashes for testing. */ #define HASH(i) ((i) & 0xff) /* #define HASH(i) 0 */ /* #define HASH(i) 99 */ static struct inverse_map *make_inverse_map(const unsigned short *from) { struct inverse_map *to; char used[256]; int i, j, k; to = (struct inverse_map *)malloc(sizeof(struct inverse_map)); if (!to) return 0; for (i = 0; i < 256; i++) to->first[i] = to->next[i] = used[i] = 0; for (i = 255; i >= 0; i--) if (from[i] != 0xffff) { k = HASH(from[i]); to->next[i] = to->first[k]; to->first[k] = i; used[k] = 1; } /* Point the empty buckets at an empty list. */ for (i = 0; i < 256; i++) if (!to->next[i]) break; if (i < 256) for (j = 0; j < 256; j++) if (!used[j]) to->first[j] = i; return to; } int wctomb_8bit(void *map1, char *s, int wc1) { struct map *map = map1; unsigned short wc = wc1; int i; if (!s) return 0; if (wc1 & ~0xffff) return -1; if (1) /* Change 1 to 0 to test the case where malloc fails. */ if (!map->to) map->to = make_inverse_map(map->from); if (map->to) { /* Use the inverse map. */ i = map->to->first[HASH(wc)]; for (;;) { if (map->from[i] == wc) { *s = i; return 1; } if (!(i = map->to->next[i])) break; } } else { /* We don't have an inverse map, so do a linear search. */ for (i = 0; i < 256; i++) if (map->from[i] == wc) { *s = i; return 1; } } return -1; } /* * The "constructor" charset_find(). */ struct charset charset_utf8 = { 6, &mbtowc_utf8, &wctomb_utf8, 0 }; struct charset charset_iso1 = { 1, &mbtowc_iso1, &wctomb_iso1, 0 }; struct charset charset_ascii = { 1, &mbtowc_ascii, &wctomb_ascii, 0 }; struct charset *charset_find(const char *code) { int i; /* Find good (MIME) name. */ for (i = 0; names[i].bad; i++) if (!ascii_strcasecmp(code, names[i].bad)) { code = names[i].good; break; } /* Recognise some charsets for which we avoid using a table. */ if (!ascii_strcasecmp(code, "UTF-8")) return &charset_utf8; if (!ascii_strcasecmp(code, "US-ASCII")) return &charset_ascii; if (!ascii_strcasecmp(code, "ISO-8859-1")) return &charset_iso1; /* Look for a mapping for a simple 8-bit encoding. */ for (i = 0; maps[i].name; i++) if (!ascii_strcasecmp(code, maps[i].name)) { if (!maps[i].charset) { maps[i].charset = (struct charset *)malloc(sizeof(struct charset)); if (maps[i].charset) { struct map *map = (struct map *)malloc(sizeof(struct map)); if (!map) { free(maps[i].charset); maps[i].charset = 0; } else { maps[i].charset->max = 1; maps[i].charset->mbtowc = &mbtowc_8bit; maps[i].charset->wctomb = &wctomb_8bit; maps[i].charset->map = map; map->from = maps[i].map; map->to = 0; /* inverse mapping is created when required */ } } } return maps[i].charset; } return 0; } /* * Function to convert a buffer from one encoding to another. * Invalid bytes are replaced by '#', and characters that are * not available in the target encoding are replaced by '?'. * Each of TO and TOLEN may be zero, if the result is not needed. * The output buffer is null-terminated, so it is all right to * use charset_convert(fromcode, tocode, s, strlen(s), &t, 0). */ int charset_convert(const char *fromcode, const char *tocode, const char *from, size_t fromlen, char **to, size_t *tolen) { int ret = 0; struct charset *charset1, *charset2; char *tobuf, *p, *newbuf; int i, j, wc; charset1 = charset_find(fromcode); charset2 = charset_find(tocode); if (!charset1 || !charset2 ) return -1; tobuf = (char *)malloc(fromlen * charset2->max + 1); if (!tobuf) return -2; for (p = tobuf; fromlen; from += i, fromlen -= i, p += j) { i = charset_mbtowc(charset1, &wc, from, fromlen); if (!i) i = 1; else if (i == -1) { i = 1; wc = '#'; ret = 2; } j = charset_wctomb(charset2, p, wc); if (j == -1) { if (!ret) ret = 1; j = charset_wctomb(charset2, p, '?'); if (j == -1) j = 0; } } if (tolen) *tolen = p - tobuf; *p++ = '\0'; if (to) { newbuf = realloc(tobuf, p - tobuf); *to = newbuf ? newbuf : tobuf; } else free(tobuf); return ret; } #endif /* USE_CHARSET_ICONV */ vorbis-tools-1.4.2/share/utf8.c0000644000175000017500000002135313767140576013261 00000000000000/* * Copyright (C) 2001 Peter Harris * Copyright (C) 2001 Edmund Grimley Evans * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* * Convert a string between UTF-8 and the locale's charset. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include "utf8.h" #ifdef _WIN32 /* Thanks to Peter Harris for this win32 * code. */ #include #include static unsigned char *make_utf8_string(const wchar_t *unicode) { int size = 0, index = 0, out_index = 0; unsigned char *out; unsigned short c; /* first calculate the size of the target string */ c = unicode[index++]; while(c) { if(c < 0x0080) { size += 1; } else if(c < 0x0800) { size += 2; } else { size += 3; } c = unicode[index++]; } out = malloc(size + 1); if (out == NULL) return NULL; index = 0; c = unicode[index++]; while(c) { if(c < 0x080) { out[out_index++] = (unsigned char)c; } else if(c < 0x800) { out[out_index++] = 0xc0 | (c >> 6); out[out_index++] = 0x80 | (c & 0x3f); } else { out[out_index++] = 0xe0 | (c >> 12); out[out_index++] = 0x80 | ((c >> 6) & 0x3f); out[out_index++] = 0x80 | (c & 0x3f); } c = unicode[index++]; } out[out_index] = 0x00; return out; } static wchar_t *make_unicode_string(const unsigned char *utf8) { int size = 0, index = 0, out_index = 0; wchar_t *out; unsigned char c; /* first calculate the size of the target string */ c = utf8[index++]; while(c) { if((c & 0x80) == 0) { index += 0; } else if((c & 0xe0) == 0xe0) { index += 2; } else { index += 1; } size += 1; c = utf8[index++]; } out = malloc((size + 1) * sizeof(wchar_t)); if (out == NULL) return NULL; index = 0; c = utf8[index++]; while(c) { if((c & 0x80) == 0) { out[out_index++] = c; } else if((c & 0xe0) == 0xe0) { out[out_index] = (c & 0x1F) << 12; c = utf8[index++]; out[out_index] |= (c & 0x3F) << 6; c = utf8[index++]; out[out_index++] |= (c & 0x3F); } else { out[out_index] = (c & 0x3F) << 6; c = utf8[index++]; out[out_index++] |= (c & 0x3F); } c = utf8[index++]; } out[out_index] = 0; return out; } int utf8_encode(const char *from, char **to) { wchar_t *unicode; int wchars, err; wchars = MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, from, strlen(from), NULL, 0); if(wchars == 0) { fprintf(stderr, "Unicode translation error %d\n", GetLastError()); return -1; } unicode = calloc(wchars + 1, sizeof(unsigned short)); if(unicode == NULL) { fprintf(stderr, "Out of memory processing string to UTF8\n"); return -1; } err = MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, from, strlen(from), unicode, wchars); if(err != wchars) { free(unicode); fprintf(stderr, "Unicode translation error %d\n", GetLastError()); return -1; } /* On NT-based windows systems, we could use WideCharToMultiByte(), but * MS doesn't actually have a consistent API across win32. */ *to = make_utf8_string(unicode); free(unicode); return 0; } int utf8_decode(const char *from, char **to) { wchar_t *unicode; int chars, err; /* On NT-based windows systems, we could use MultiByteToWideChar(CP_UTF8), but * MS doesn't actually have a consistent API across win32. */ unicode = make_unicode_string(from); if(unicode == NULL) { fprintf(stderr, "Out of memory processing string from UTF8 to UNICODE16\n"); return -1; } chars = WideCharToMultiByte(CP_ACP, WC_COMPOSITECHECK, unicode, -1, NULL, 0, NULL, NULL); if(chars == 0) { fprintf(stderr, "Unicode translation error %d\n", GetLastError()); free(unicode); return -1; } *to = calloc(chars + 1, sizeof(unsigned char)); if(*to == NULL) { fprintf(stderr, "Out of memory processing string to local charset\n"); free(unicode); return -1; } err = WideCharToMultiByte(CP_ACP, WC_COMPOSITECHECK, unicode, -1, *to, chars, NULL, NULL); if(err != chars) { fprintf(stderr, "Unicode translation error %d\n", GetLastError()); free(unicode); free(*to); *to = NULL; return -1; } free(unicode); return 0; } #else /* End win32. Rest is for real operating systems */ #ifdef HAVE_LANGINFO_CODESET #include #endif int iconvert(const char *fromcode, const char *tocode, const char *from, size_t fromlen, char **to, size_t *tolen); static char *current_charset = 0; /* means "US-ASCII" */ void convert_set_charset(const char *charset) { if (!charset) charset = getenv("CHARSET"); #ifdef HAVE_LANGINFO_CODESET if (!charset) charset = nl_langinfo(CODESET); #endif free(current_charset); current_charset = 0; if (charset && *charset) current_charset = strdup(charset); } static int convert_buffer(const char *fromcode, const char *tocode, const char *from, size_t fromlen, char **to, size_t *tolen) { int ret = -1; #ifdef HAVE_ICONV ret = iconvert(fromcode, tocode, from, fromlen, to, tolen); if (ret != -1) return ret; #endif #ifndef HAVE_ICONV /* should be ifdef USE_CHARSET_CONVERT */ ret = charset_convert(fromcode, tocode, from, fromlen, to, tolen); if (ret != -1) return ret; #endif return ret; } static int convert_string(const char *fromcode, const char *tocode, const char *from, char **to, char replace) { int ret; size_t fromlen; char *s; fromlen = strlen(from); ret = convert_buffer(fromcode, tocode, from, fromlen, to, 0); if (ret == -2) return -1; if (ret != -1) return ret; s = malloc(fromlen + 1); if (!s) return -1; strcpy(s, from); *to = s; for (; *s; s++) if (*s & ~0x7f) *s = replace; return 3; } int utf8_encode(const char *from, char **to) { char *charset; if (!current_charset) convert_set_charset(0); charset = current_charset ? current_charset : "US-ASCII"; return convert_string(charset, "UTF-8", from, to, '#'); } int utf8_decode(const char *from, char **to) { char *charset; if(*from == 0) { *to = malloc(1); **to = 0; return 1; } if (!current_charset) convert_set_charset(0); charset = current_charset ? current_charset : "US-ASCII"; return convert_string("UTF-8", charset, from, to, '?'); } #endif /* Quick and dirty UTF-8 validation: */ /* check the first "count" bytes of "s" to make sure they are all valid UTF-8 "continuation" bytes */ static int checknext(const char *s, int count) { int i; for (i = 0; i < count; i++) { if ((s[i] & 0xc0) != 0x80) return 0; } return 1; } static struct { char mask; char value; unsigned after; } test[] = { { 0x80, 0, 0 }, /* 7-bit ASCII - One byte sequence */ { 0xe0, 0xc0, 1 }, /* Two byte sequence */ { 0xf0, 0xe0, 2 }, /* Three byte sequence */ { 0xf8, 0xf0, 3 }, /* Four byte sequence */ { 0xfc, 0xf8, 4 }, /* Five byte sequence */ { 0xfe, 0xfc, 5 }, /* Six byte sequence */ /* All other values are not valid UTF-8 */ }; #define NUM_TESTS (sizeof(test)/sizeof(test[0])) /* Returns true if the C-string is a valid UTF-8 sequence Returns false otherwise */ int utf8_validate(const char *s) { size_t len = strlen(s); while (len) { int i; for (i = 0; i < NUM_TESTS; i++) { if ((s[0] & test[i].mask) == test[i].value) { unsigned after = test[i].after; if (len < after + 1) return 0; if (!checknext(s+1, after)) return 0; s += after + 1; len -= after + 1; goto next; } } /* If none of the tests match, invalid UTF-8 */ return 0; next: ; } /* Zero bytes left, and all test pass. Valid UTF-8. */ return 1; } vorbis-tools-1.4.2/share/makemap.c0000644000175000017500000000363313767140576014007 00000000000000/* * Copyright (C) 2001 Edmund Grimley Evans * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include int main(int argc, char *argv[]) { iconv_t cd; const char *ib; char *ob; size_t ibl, obl, k; unsigned char c, buf[4]; int i, wc; if (argc != 2) { printf("Usage: %s ENCODING\n", argv[0]); printf("Output a charset map for the 8-bit ENCODING.\n"); return 1; } cd = iconv_open("UCS-4", argv[1]); if (cd == (iconv_t)(-1)) { perror("iconv_open"); return 1; } for (i = 0; i < 256; i++) { c = i; ib = &c; ibl = 1; ob = buf; obl = 4; k = iconv(cd, &ib, &ibl, &ob, &obl); if (!k && !ibl && !obl) { wc = (buf[0] << 24) + (buf[1] << 16) + (buf[2] << 8) + buf[3]; if (wc >= 0xffff) { printf("Dodgy value.\n"); return 1; } } else if (k == (size_t)(-1) && errno == EILSEQ) wc = 0xffff; else { printf("Non-standard iconv.\n"); return 1; } if (i % 8 == 0) printf(" "); printf("0x%04x", wc); if (i == 255) printf("\n"); else if (i % 8 == 7) printf(",\n"); else printf(", "); } return 0; } vorbis-tools-1.4.2/share/charmaps.h0000644000175000017500000000477713767140576014211 00000000000000 /* * If you need to generate more maps, use makemap.c on a system * with a decent iconv. */ static const unsigned short mapping_iso_8859_2[256] = { 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, 0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001e, 0x001f, 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f, 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f, 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f, 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f, 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f, 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x007f, 0x0080, 0x0081, 0x0082, 0x0083, 0x0084, 0x0085, 0x0086, 0x0087, 0x0088, 0x0089, 0x008a, 0x008b, 0x008c, 0x008d, 0x008e, 0x008f, 0x0090, 0x0091, 0x0092, 0x0093, 0x0094, 0x0095, 0x0096, 0x0097, 0x0098, 0x0099, 0x009a, 0x009b, 0x009c, 0x009d, 0x009e, 0x009f, 0x00a0, 0x0104, 0x02d8, 0x0141, 0x00a4, 0x013d, 0x015a, 0x00a7, 0x00a8, 0x0160, 0x015e, 0x0164, 0x0179, 0x00ad, 0x017d, 0x017b, 0x00b0, 0x0105, 0x02db, 0x0142, 0x00b4, 0x013e, 0x015b, 0x02c7, 0x00b8, 0x0161, 0x015f, 0x0165, 0x017a, 0x02dd, 0x017e, 0x017c, 0x0154, 0x00c1, 0x00c2, 0x0102, 0x00c4, 0x0139, 0x0106, 0x00c7, 0x010c, 0x00c9, 0x0118, 0x00cb, 0x011a, 0x00cd, 0x00ce, 0x010e, 0x0110, 0x0143, 0x0147, 0x00d3, 0x00d4, 0x0150, 0x00d6, 0x00d7, 0x0158, 0x016e, 0x00da, 0x0170, 0x00dc, 0x00dd, 0x0162, 0x00df, 0x0155, 0x00e1, 0x00e2, 0x0103, 0x00e4, 0x013a, 0x0107, 0x00e7, 0x010d, 0x00e9, 0x0119, 0x00eb, 0x011b, 0x00ed, 0x00ee, 0x010f, 0x0111, 0x0144, 0x0148, 0x00f3, 0x00f4, 0x0151, 0x00f6, 0x00f7, 0x0159, 0x016f, 0x00fa, 0x0171, 0x00fc, 0x00fd, 0x0163, 0x02d9 }; static struct { const char *name; const unsigned short *map; struct charset *charset; } maps[] = { { "ISO-8859-2", mapping_iso_8859_2, 0 }, { 0, 0, 0 } }; static const struct { const char *bad; const char *good; } names[] = { { "ANSI_X3.4-1968", "us-ascii" }, { 0, 0 } }; vorbis-tools-1.4.2/share/base64.c0000644000175000017500000000645613774367723013471 00000000000000/* * Copyright (C) 2002 Michael Smith * Copyright (C) 2015-2021 Philipp Schafft * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include #include #include "base64.h" static const signed char base64decode[256] = { -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, 62, -2, -2, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, -2, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2 }; int base64_decode(const char *in, void **out, size_t *len) { const unsigned char *input = (const unsigned char *)in; size_t todo = strlen(in); char *output; size_t opp = 0; // output pointer if (todo < 4 || (todo % 4) != 0) return -1; output = calloc(1, todo*3/4 + 5); if (!output) return -1; while (todo) { signed char vals[4]; size_t i; for (i = 0; i < (sizeof(vals)/sizeof(*vals)); i++) vals[i] = base64decode[*input++]; if(vals[0] < 0 || vals[1] < 0 || vals[2] < -1 || vals[3] < -1) { todo -= 4; continue; } output[opp++] = vals[0]<<2 | vals[1]>>4; /* vals[3] and (if that is) vals[2] can be '=' as padding, which is * looked up in the base64decode table as '-1'. Check for this case, * and output zero-terminators instead of characters if we've got * padding. */ if (vals[2] >= 0) { output[opp++] = ((vals[1]&0x0F)<<4) | (vals[2]>>2); } else { break; } if (vals[3] >= 0) { output[opp++] = ((vals[2]&0x03)<<6) | (vals[3]); } else { break; } todo -= 4; } output[opp++] = 0; *out = output; *len = opp - 1; return 0; } vorbis-tools-1.4.2/po/0000755000175000017500000000000014002243561011574 500000000000000vorbis-tools-1.4.2/po/sv.gmo0000644000175000017500000002156614002243561012662 00000000000000Þ•c4‰Lpq«ÀÝø  7 Q ,k ˜ %¶ ,Ü - 7 &X  Ÿ ¿ !È Zê 7E *} -¨ SÖ +* QV !¨ Ê *â , : P ] q „ — ° 9º ô &,#F#jެÊè ðü'(*IS11ÏMOB^ ¡!Âä $%LJ&—>¾4ý,2%_'…­4¶ë '4 \(j“˜*ŸÊ æ'ò "(/Xa f?t´ÇÝãôm(ªÆáû$6Hd%~¤$Á%æ'  4&U|•®#·lÛ6H(?¨dè$M]r&Ð÷) 86oƒ”!«ÍçG\*p›1µ"ç! #, P q ‹#‘#µ:Ù*#?Gc «B¸)û*%#P#t$˜A½ ÿ; 1\ 1Ž -À -î !5$!Z!z!Œ!,§!Ô!%é!" ")!"K" d"&o"–" Ÿ"©"È"Ð" Ô"=Þ"#6#F#L# ^# j#M0^<SW6R5>UN4B9C+ \3 ": '(X[2cD AEJ7P,bV-#;T&] HZ.$F_KQI/*@Y=L G)`?8O1a%! Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Rate: %.4f File length: %dm %04.1fs Done encoding file "%s" Done encoding. Input Buffer %5.1f%% Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sPaused--- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldCannot open %s. Corrupt or missing data, continuing...Corrupt secondary header.Could not skip %f seconds of audio.Couldn't create directory "%s": %s Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" DefaultDescriptionDone.ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n Encoded by: %sError opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file '%s'. Error opening output file '%s'. Error reading initial header packet.Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File: %sInput buffer size smaller than minimum size of %dkB.Input is not an Ogg bitstream.Input not ogg. Input truncated or empty.Internal error parsing command options Key not foundMemory allocation error in stats_init() NameNo keyNo module could be found to read from %s. Opening with %s module: %s Playing: %sSkipping chunk of type "%s", length %d SuccessSystem errorThe file format of %s is not supported. Time: %sTypeUnknown errorWARNING: Ignoring illegal escape character '%c' in name format bad comment: "%s" default output deviceof %sshuffle playliststandard inputstandard outputProject-Id-Version: vorbis-tools 0.99.1.3.1 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2002-02-20 14:59+0100 Last-Translator: Mikael Hedin Language-Team: Swedish Language: sv MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Genomsnittlig bithastighet: %.1f kb/s Förlupen tid: %dm %04.1fs Förhålland: %.4f Fillängd: %dm %04.1fs Kodning av "%s" klar Kodning klar. Inbuffer %5.1f%% Utbuffer %5.1f%%%s: otillåten flagga -- %c %s: ogiltig flagga -- %c %s: flagga "%c%s" tar inget argument %s: flagga "%s" är tvetydig %s: flagga "%s" kräver ett argument %s: flagga "--%s" tar inget argument %s: flaggan `-W %s' tar inget argument %s: flaggan `-W %s' är tvetydig %s: flaggan kräver ett argument -- %c %s: okänd flagga "%c%s" %s: okänd flagga "--%s" %sPausad--- Kan inte spela var 0:te block! --- Kan inte spela varje block 0 gånger. --- För att göra en testavkodning, använd null-drivern för utdata. --- Drivrutin %s angiven i konfigurationsfil ogiltig. --- Hål i strömmen; antagligen ofarligt --- Ogiltigt värde till prebuffer. Möjligt intervall är 0-100. === Kunde inte ladda standard-drivrutin, och ingen är specificerad i konfigurationsfilen. Avslutar. === Drivrutin %s är inte för filer. === Fel "%s" under tolkning av konfigurationsflaggor från kommandoraden. === Flaggan var: %s === Felaktigt format på argument: %s. === Ingen enhet %s. === Tolkningsfel: %s på rad %d i %s (%s) === Vorbis-biblioteket rapporterade ett fel i strömmen. AIFF/AIFC-filläsareFörfattare: %sTillgängliga flaggor: Genomsnittlig bithastighet: %5.1fFelaktig kommentar: "%s" Felaktig typ i argumentlistaFelaktigt värdeFörslag för bithastigheter: övre=%ld nominell=%ld undre=%ld fönster=%ldKan inte öppna %s. Data felaktigt eller saknas, fortsätter...Felaktigt sekundär-huvud.Misslyckades med att hoppa över %f sekunder ljud.Kunde inte skapa katalog "%s": %s Kunde inte öppna %s för att läsa Kunde inte öppna %s för att skriva Kunde inte tolka skärpunkt "%s" StandardvärdeBeskrivningKlar.FEL: Kan inte öppna infil "%s": %s FEL: Kan inte öppna utfil "%s": %s FEL: Kunde inte skapa kataloger nödvändiga för utfil "%s" FEL: Infil "%s" är inte i ett känt format FEL: Flera filer angivna med stdin FEL: Flera infiler med angivet utfilnamn: rekommenderar att använda -n Kodad av: %sFel under öppnandet av %s med %s-modulen. Filen kan vara skadad. Misslyckades att öppna kommentarfil "%s" Misslyckades att öppna kommentarfil "%s". Misslyckades att öppna infil "%s". Misslyckades att öppna utfil "%s". Error reading initial header packet.Fel under skrivande av utström. Kan vara felaktig eller stympad.Fel: Kan inte skapa ljudbuffer. Fel: Slut på minne i decoder_buffered_metadata_callback(). Fel: Slut på minne i new_print_statistics_arg(). Misslyckades att skriva kommentar till utfil: %s Misslyckades att skriva data till utströmmen Mislyckades att skriva huvud till utströmmen Fil: %sIn-buffertens storlek mindre än minimistorkeken %dkB.Indata är inte en Ogg-bitström.Indata inte ogg. Indata stympat eller tomt.Internt fel vid tolkning av kommandoflaggor Nyckel hittades inteMinnestilldelningsfel i stats_init() NamnIngen nyckelHittar ingen modul för att läsa från %s. Öppnar med %s-modul: %s Spelar: %sHoppar över bit av typ "%s", längd %d LyckadesSystemfelFilformatet på %s stöds inte. Tid: %sTypOkänt felVARNING: Ignorerar otillåtet specialtecken '%c' i namnformat felaktig kommentar: "%s" förvald utenhetav %sblanda spellistanstandard instandard utvorbis-tools-1.4.2/po/cs.gmo0000644000175000017500000012030114002243560012621 00000000000000Þ•Äul@(Ajˆ ¤Å$Úÿ7IF]F¤Bë;.7j1¢>Ô@?T»”FP‚—,JG&’N¹ûF<K7ˆiÀH* Fs 1º >ì ?+!lk!<Ø"z#-#b¾#–!%1¸%+ê%d&c{',ß'Ë (Ø(—õ*•,É#.Jí/81jN1¹2Ð2ê2,313%O3,u3-¢3 Ð3&ñ3484X4^4g4z4Q4Ó5,Ú5!6Z)67„6*¼6-ç6S7Si7+½7Qé7!;8]84u8*ª8,Õ89 9%989L9_9r9 ‹9A•99×9:.:0?:p: y:&†:­:/Ç:#÷:%;.A;#p;/”;@Ä;<$<B<`<~<Ž< –<¢<¨<Ã<'á<( =I2=1|=:®=1é=M>2i>œ>#­>Ñ>[à>@@1F@Bx@ »@!Ü@"þ@!A AA*bA$A+²AÞAúABL"B&oB>–B4ÕB, Cv7C®C¿C2ÆC.ùC,(D%UD'{D£D©DȲD4{E6°EçEFF%F,?F-lF'šF8ÂF ûF+ G5GFGLG(eGŽG;¥G;áGH0"H0SH„H*‹H+¶H]âHŸ@IàI%õI J5)JN_J®JÊJ$ÚJ ÿJ KK0K$JK-oKK­KÁK;ÕK%L7L'LL+tL' LÈLÐLØL ìL(ùLL"MoM xM†M ‹M"™ML¼M= N)GNÁqN3O2MO0€O1±O?ãOC#P5gP6P8ÔPI Q=WQ6•Q;ÌQLRNURK¤RLðR.=S?lS7¬S&äS. T:TMTRTWTmTtTzT~T“T˜TžT°TÃTÖTêTðTUU(U8UM?UQU~ßV(^X‡X§XÆXæX"üXY"?YbYyY€YCZMUZ?£ZHãZ0,[>][Hœ[wå[¿]\[]“y]3 ^PA^’^|°_-`DIa=Ža?Ìav bHƒbCÌb;cHLcJ•cwàcAXeƒše5fjTf®¿g>nh3­h@áhy"j,œj½Éj‡k¢—mÙ:oêqCÿrCt\têu v &v7Gv)v(©v7Òv8 w,Cw)pw!šw!¼wÞw äwòwxƒ x y>›y-Úy‚z@‹z/Ìz2üzQ/{o{4ñ{o&|*–|'Á|Bé|9,},f}“} ­}º}Í}æ}û}$~:~WK~F£~#ê~/$ T _1m#Ÿ.Ã$ò(€7@€$x€=€NÛ€'* Rs “´ ÐÜâê‚1!‚3S‚T‡‚;Ü‚Qƒ3jƒ_žƒ@þƒ?„!U„w„^ˆ„Eç„5-…Xc…?¼…0ü…K-†/y†0©†4Ú†1‡3A‡6u‡-¬‡<Ú‡/ˆ'Gˆoˆc€ˆ&äˆB ‰8N‰*‡‰|²‰/ŠDŠ6KŠ2‚Š4µŠ-êŠ/‹H‹ P‹¿[‹DŒQ`Œ²ŒÑŒãŒøŒIL`<­>ê)Ž6:ŽqŽŠŽ’Ž%®ŽÔŽ>ëŽ>*i5p8¦ß/ï@z`®ÛŠ‘%£‘ É‘2בU ’!`’‚’%–’¼’Í’ì’“(!“4J““““§“G»“)”-”,L”5y”'¯”הߔ蔕&•N=•Œ•••¤•¨•+¸•bä•LG–7”–èÌ–µ—2Η7˜>9˜<x˜Vµ˜F ™AS™L•™Oâ™I2šB|šI¿šm ›fw›eÞ›pDœ5µœTëœ>@(:¨ãýž"ž*ž1ž7ž;žTž]žbžqžž‘ž¢ž¨žÈžâžôžŸBŸnRŸ¸À¹ífIÁ”à8ºK³ßGSò‘´;øˆÌЫÓM4 ùs–µâ9.•ﯼ!'$ôb7jlnUÍ ,6Ò÷Þ>¾Xw@ƒ}ÿ·= ÛŽ¬ØÇõŒi5_˜NH\Q%­—„ `dÔËÏmä~¿xC‚yüF2áÈ¥zÜ-]p r<…¨ ÆÙ©ã¡aìûåYʱ ×Zóo3’ ¦ÝçÕšöJ?“kª+¶V¢EŸ^ÚžgB/vÉýîe²‰q{†°&hÄR*›Ñ®#Oc:uÖ þÎD £æ™œ)‹êP"LŠè»ñé[T€ú§ÃtAÅ|‡ ëÂ10ð½(¤W -V Output version information and exit Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Encoding [%2dm%.2ds so far] %c Rate: %.4f [%5.1f%%] [%2dm%.2ds remaining] %c File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s --audio-buffer n Use an output audio buffer of 'n' kilobytes -@ file, --list file Read playlist of files and URLs from "file" -K n, --end n End at 'n' seconds (or hh:mm:ss format) -R, --raw Read and write comments in UTF-8 -R, --remote Use remote control interface -V, --version Display ogg123 version -V, --version Output version information and exit -Z, --random Play files randomly until interrupted -b n, --buffer n Use an input buffer of 'n' kilobytes -c file, --commentfile file When listing, write comments to the specified file. When editing, read comments from the specified file. -d dev, --device dev Use output device "dev". Available devices: -f file, --file file Set the output filename for a file device previously specified with --device. -h, --help Display this help -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format) -l s, --delay s Set termination timeout in milliseconds. ogg123 will skip to the next song on SIGINT (Ctrl-C), and will terminate if two SIGINTs are received within the specified timeout 's'. (default 500) -l, --list List the comments (default if no options are given) -o k:v, --device-option k:v Pass special option 'k' with value 'v' to the device previously specified with --device. See the ogg123 man page for available device options. -p n, --prebuffer n Load n%% of the input buffer before playing -q, --quiet Don't display anything (no title) -r, --repeat Repeat playlist indefinitely -t "name=value", --tag "name=value" Specify a comment tag on the commandline -v, --verbose Display progress and other status information -w, --write Write comments, replacing the existing ones -x n, --nth n Play every 'n'th block -y n, --ntimes n Repeat every played block 'n' times -z, --shuffle Shuffle list of files before playing --advanced-encode-option option=value Sets an advanced encoder option to the given value. The valid options (and their values) are documented in the man page supplied with this program. They are for advanced users only, and should be used with caution. --bits, -b Bit depth for output (8 and 16 supported) --endianness, -e Output endianness for 16-bit output; 0 for little endian (default), 1 for big endian. --help, -h Produce this help message. --managed Enable the bitrate management engine. This will allow much greater control over the precise bitrate(s) used, but encoding will be much slower. Don't use it unless you have a strong need for detailed control over bitrate, such as for streaming. --output, -o Output to given filename. May only be used if there is only one input file, except in raw mode. --quiet, -Q Quiet mode. No console output. --raw, -R Raw (headerless) output. --resample n Resample input data to sampling rate n (Hz) --downmix Downmix stereo to mono. Only allowed on stereo input. -s, --serial Specify a serial number for the stream. If encoding multiple files, this will be incremented for each stream after the first. --sign, -s Sign for output PCM; 0 for unsigned, 1 for signed (default 1). --version, -V Print out version number. -N, --tracknum Track number for this track -t, --title Title for this track -l, --album Name of album -a, --artist Name of artist -G, --genre Genre of track -X, --name-remove=s Remove the specified characters from parameters to the -n format string. Useful to ensure legal filenames. -P, --name-replace=s Replace characters removed by --name-remove with the characters specified. If this string is shorter than the --name-remove list or is not specified, the extra characters are just removed. Default settings for the above two arguments are platform specific. -b, --bitrate Choose a nominal bitrate to encode at. Attempt to encode at a bitrate averaging this. Takes an argument in kbps. By default, this produces a VBR encoding, equivalent to using -q or --quality. See the --managed option to use a managed bitrate targetting the selected bitrate. -k, --skeleton Adds an Ogg Skeleton bitstream -r, --raw Raw mode. Input files are read directly as PCM data -B, --raw-bits=n Set bits/sample for raw input; default is 16 -C, --raw-chan=n Set number of channels for raw input; default is 2 -R, --raw-rate=n Set samples/sec for raw input; default is 44100 --raw-endianness 1 for bigendian, 0 for little (defaults to 0) -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for encoding for a fixed-size channel. Using this will automatically enable managed bitrate mode (see --managed). -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for streaming applications. Using this will automatically enable managed bitrate mode (see --managed). -q, --quality Specify quality, between -1 (very low) and 10 (very high), instead of specifying a particular bitrate. This is the normal mode of operation. Fractional qualities (e.g. 2.75) are permitted The default quality level is 3. Input Buffer %5.1f%% Naming: -o, --output=fn Write file to fn (only valid in single-file mode) -n, --names=string Produce filenames as this string, with %%a, %%t, %%l, %%n, %%d replaced by artist, title, album, track number, and date, respectively (see below for specifying these). %%%% gives a literal %%. Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%(NULL)(c) 2003-2005 Michael Smith Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv] Flags supported: -h Show this help message -q Make less verbose. Once will remove detailed informative messages, two will remove warnings -v Make more verbose. This may enable more detailed checks for some stream types. (none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. 255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support more) === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Option conflict: End time is before start time. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable codecs: Available options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBig endian 24 bit PCM data is not currently supported, aborting. Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Changed lowpass frequency from %f kHz to %f kHz Comment:Comments: %sCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Could not skip to %f in audio stream.Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't get enough memory for input buffering.Couldn't get enough memory to register new stream serial number.Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" Decode options DefaultDescriptionDone.Downmixing stereo to mono EOF before recognised stream.ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Input filename is the same as output filename "%s" ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n ERROR: No input files specified. Use -h for help. Editing options Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing erroneous temporary file %s Error removing old file %s Error renaming %s to %s Error unknown.Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory Examples: vorbiscomment -a in.ogg -c comments.txt vorbiscomment -a in.ogg -t "ARTIST=Some Guy" -t "TITLE=A Title" FLAC file readerFLAC, Failed to set advanced rate management parameters Failed to set bitrate min/max in quality mode Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File:File: %sIf no output file is specified, vorbiscomment will modify the input file. This is handled via temporary file, such that the input file is not modified if any errors are encountered during processing. Input buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input options Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Internal error: attempt to read unsupported bitdepth %d Key not foundList or edit comments in Ogg Vorbis files. Listing options Live:Logical stream %d ended Memory allocation error in stats_init() Miscellaneous options Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Note: Stream %d has serial number %d, which is legal but may cause problems with some tools. OPTIONS: General: -Q, --quiet Produce no output to stderr -h, --help Print this help text -V, --version Print the version number Ogg FLAC file readerOgg Vorbis stream: %d channel, %ld HzOgg Vorbis. Ogg bitstream does not contain a supported data-type.Ogg muxing constraints violated, new stream before EOS of all previous streamsOpening with %s module: %s Output options Page found for stream after EOS flagPlaying: %sPlaylist options Processing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring RAW file readerReplayGain (Album):ReplayGain (Track):Requesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Scaling input to %f Set optional hard quality restrictions Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d Speex, SuccessSupported options: System errorThe file format of %s is not supported. This version of libvorbisenc cannot set advanced rate management parameters Time: %sTrack number:TypeUnknown errorUnrecognised advanced option "%s" Usage: ogg123 [options] file ... Play Ogg audio files and network streams. Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg] Usage: oggenc [options] inputfile [...] Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv] ogginfo is a tool for printing information about Ogg files and for diagnosing problems with them. Full help shown with "ogginfo -h". Vorbis format: Version %dWARNING: Can't downmix except from stereo to mono WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: Ignoring illegal escape character '%c' in name format WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid sample rate specified, assuming 44100. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Unknown option specified, ignoring-> WARNING: quality setting too high, setting to maximum quality. Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. Warning: Unexpected EOF in reading WAV header bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sogg123 from %s %soggdec from %s %s oggenc from %s %s ogginfo from %s %s otherrepeat playlist forevershuffle playliststandard inputstandard outputstringvorbiscomment from %s %s by the Xiph.Org Foundation (http://www.xiph.org/) vorbiscomment handles comments in the format "name=value", one per line. By default, comments are written to stdout when listing, and read from stdin when editing. Alternatively, a file can be specified with the -c option, or tags can be given on the commandline with -t "name=value". Use of either -c or -t disables reading from stdin. Project-Id-Version: vorbis-tools 1.2.1 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2008-10-12 14:31+0200 Last-Translator: Miloslav TrmaÄ Language-Team: Czech Language: cs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -V Vypsat informace o verzi a skonÄit PrůmÄ›r bitrate: %.1f kb/s Strávený Äas: %dm %04.1fs Kóduji [zatím %2dm%.2ds] %c PomÄ›r: %.4f [%5.1f%%] [%2dm%.2ds zbývá] %c Délka souboru: %dm %04.1fs Kódování souboru "%s" hotovo Kódování hotovo. Zařízení zvuku: %s --audio-buffer n Používat výstupní výrovnávací paměť zvuku velikosti 'n' kilobajtů -@ soub, --list soub NaÄíst seznam souborů a URL ze "soub" -K n, --end n SkonÄit na 'n' sekundách (nebo formát hh:mm:ss) -R, --raw Číst a zapisovat poznámky v UTF-8 -R, --remote Použít rozhraní pro vzdálené ovládání -V, --version Zobrazit verzi ogg123 -V, --version Vypsat informace o verzi a skonÄit -Z, --random PÅ™ehrávat soubory náhodnÄ› do pÅ™eruÅ¡ení -b n, --buffer n Používat vstupní vyrovnávací paměť velikosti 'n' kilobajtů -c soubor, --commentfile soubor PÅ™i výpisu zapsat poznámky do zadaného souboru. PÅ™i úpravÄ› Äíst poznámky ze zadaného souboru. -d zaÅ™, --device zaÅ™ Použít výstupní zařízení "zaÅ™". Dostupná zařízení: -f soub, --file soub Nastavit název souboru výstupu pro souborové zařízení dříve vybrané pomocí --device. -h, --help Zobrazit tuto nápovÄ›du -k n, --skip n PÅ™ekoÄit prních 'n' sekund (nebo formát hh:mm:ss) -l s, --delay s Nastavit Äas ukonÄení v milisekundách. ogg123 pÅ™eskoÄí na další skladbu pÅ™i SIGINT (Ctrl-C), a skonÄí, když dostane dva SIGINTy v zadaném Äase 's'. (implicitnÄ› 500) -l, --list Vypsat poznámky (implicitní, když není zadán žádný pÅ™epínaÄ) -o k:h, --device-option k:h PÅ™edat zvláštní pÅ™epínaÄ 'k' s hodnotou 'h' zařízení dříve urÄenému pomocí --device. Pro dostupné pÅ™epínaÄe zařízení si pÅ™eÄtÄ›te man stránku ogg123. -p n, --prebuffer n NaÄíst n%% vstupu pÅ™ed pÅ™ehráváním -q, --quiet Nic nezobrazovat (žádný nadpis) -r, --repeat Opakovat seznam skladeb donekoneÄna -t "název=hodnota", --tag "název=hodnota" UrÄí tag poznámky na příkazovém řádku -v, --verbose Zobrazovat průbÄ›h a jiné informace o stavu -w, --write Zapsat poznámky a pÅ™epsat existující -x n, --nth n PÅ™ehrávat každý 'n'-tý blok -y n, --ntimes n Opakovat každý pÅ™ehrávaný blok 'n'-krát -z, --shuffle Zamíchat seznam souborů pÅ™ed pÅ™ehráváním --advanced-encode-option pÅ™epínaÄ=hodnota Nastaví pokroÄilý pÅ™epínaÄ kodéru na danou hodnotu. Platné pÅ™epínaÄe (a jejich hodnoty) jsou zdokumentovány v man stránce dodávané s tímto programe. Jsou jen pro pokroÄilé uživatele, a mÄ›ly by být používány opatrnÄ›. --bits, -b Bitová hloubka výstupu (podporováno 8 a 16) --endianness, -e PoÅ™adí bajtů pro 16-bitový výstup; 0 pro malý endian (implicitní), 1 pro velký endian. --help, -h Vypsat tuto zprávu s nápovÄ›dou. --managed Povolit systém správy bitrate. To umožní mnohem vÄ›tší kontrolu nad konkrétní použitou bitrate, ale kódování bude mnohem pomalejší. Nepoužívejte to, pokud nutnÄ› nepotÅ™ebujete podrobnou kontrolu nad bitrate, například pro streaming. --output, -o Výstup do souboru daného názvu. Může být použito, jen když je jen jeden vstupní soubor, až na surový režim. --quiet, -Q Tichý režim. Žádný výstup na konzolu. --raw, -R Surový výstup (bez hlaviÄky). --resample n PÅ™evzorkovat vstupní data na vzorkovací frekvenci n (Hz) --downmix Mixovat stereo na mono. Povoleno jen pro stereo vstup. -s, --serial UrÄí sériové Äíslo proudu. To bude pÅ™i kódování více souborů inkrementováno pro každý další soubor. --sign, -s Znaménko pro výstup PCM; 0 pro bez znaménka, 1 pro se znaménkem (implicitnÄ› 1). --version, -V Vytisknout Äíslo verze. -N, --tracknum Číslo této stopy -t, --title Název této stopy -l, --album Název alba -a, --artist Jméno umÄ›lce -G, --genre Žánr stopy -X, --name-remove=s Odstranit zadané znaky z parametrů pro Å™etÄ›zec formátu -n. UžiteÄné pro zajiÅ¡tÄ›ní platnosti názvů souborů. -P, --name-replace=s Nahradit znaky odstranÄ›né --name-remove zadanými znaky. Je-li tento Å™etÄ›zec kratší než seznam --name-remove nebo není-li zadán, ty další znaky jsou prostÄ› odstranÄ›ny. Implicitní nastavení tÄ›chto dvou parametrů závisí na platformÄ›. -b, --bitrate Zvolí nominální bitrate pro kódování. Pokusí se kódovat s touto průmÄ›rnou bitrate. Parametr je v kb/s. Toto implicitnÄ› vytvoří kódování VBR, stejnÄ› jako použití -q nebo --quality. Pro použití spravované bitrate s cílem zvolené bitrate viz pÅ™epínaÄ --managed. -k, --skeleton PÅ™idá bitový proud Ogg Skeleton -r, --raw Surový režim. Vstupní soubory jsou Äteny přímo jako data PCM -B, --raw-bits=n Nastavit bity/vzorek pro surový vstup; implicitnÄ› 16 -C, --raw-chan=n Nastavit poÄet kanálů pro surový vstup; implicitnÄ› 2 -R, --raw-rate=n Nastavit vzorky/s pro surový vstup; implicitnÄ› 44100 --raw-endianness 1 pro velký endian, 0 pro malý (implicitnÄ› 0) -m, --min-bitrate Zadá minimální bitrate (v kb/s). UžiteÄné pro kódování pro kanál s fixní bitrate. Použití tohoto pÅ™epínaÄe automaticky povolí režim správy bitrate (viz --managed). -M, --max-bitrate Zadá maximální bitrate (v kb/s). UžiteÄné pro streaming. Použití tohoto pÅ™epínaÄe automaticky povolí režim správy bitrate (viz --managed). -q, --quality UrÄí kvalitu, mezi -1 (velmi nízká) a 10 (velmi vysoká) místo urÄení konkrétní bitrate. Toto je normální režim práce. Zlomkové kvality (napÅ™. 2.75) jsou povoleny Implicitní úroveň kvality je 3. Vstupní buffer %5.1f%% Pojmenovávání: -o, --output=ns Zapsat soubor do ns (platné jen v režimu jednoho souboru) -n, --names=Å™etÄ›zec Vytvářet názvy souborů jako tento Å™etÄ›zec, a %%a, %%t, %%l, %%n, %%d nahradit po Å™adÄ› umÄ›lcem, názvem, albem, Äíslem stopy a datem (pro jejich urÄení viz níže). %%%% vytvoří doslovné %%. Výstupní buffer %5.1f%%%s: neznámý pÅ™epínaÄ -- %c %s: neznámý pÅ™epínaÄ -- %c %s: pÅ™epínaÄ `%c%s' musí být zadán bez argumentu %s: pÅ™epínaÄ `%s' není jednoznaÄný %s: pÅ™epínaÄ `%s' vyžaduje argument %s: pÅ™epínaÄ `--%s' musí být zadán bez argumentu %s: pÅ™epínaÄ `-W %s' musí být zadán bez argumentu %s: pÅ™epínaÄ `-W %s' není jednoznaÄný %s: pÅ™epínaÄ vyžaduje argument -- %c %s: neznámý pÅ™epínaÄ `%c%s' %s: neznámý pÅ™epínaÄ `--%s' %sEOS%sPozastaveno%sPrebuf na %.1f%%(NULL)© 2003-2005 Michael Smith Použití: ogginfo [pÅ™epínaÄe] soubor1.ogg [soubor2.ogx ... souborN.ogv] Podporované pÅ™epínaÄe: -h Zobrazit tuto zprávu nápovÄ›dy -q Být ménÄ› podrobný. Jeden odstraní podrobné informativní zprávy, dva odstraní varování -v Být podrobnÄ›jší. U nÄ›kterých typů proudů může povolit pÅ™esnÄ›jší kontroly. (žádný)--- Nemohu otevřít soubor seznamu skladeb %s. PÅ™eskoÄeno. --- Nemohu pÅ™ehrávat každý nultý úsek! --- Nemohu každý úsek pÅ™ehrávat nulakrát. --- Pro provedení testovacího dekódování použijte výstupní ovladaÄ null. --- OvladaÄ %s zadaný v konfiguraÄním souboru je neplatný. --- Díra v proudu; pravdÄ›podobnÄ› neÅ¡kodná --- Hodnota prebuffer neplatná. Rozsah je 0-100. 255 kanálů by mÄ›lo být dost pro vÅ¡echny. (Lituji, Vorbis nepodporuje více) === Nemohu naÄíst implicitní ovladaÄ a v konfiguraÄním souboru není urÄen žádný ovladaÄ. KonÄím. === OvladaÄ %s není ovladaÄ výstupu do souboru. === Chyba "%s" pÅ™i zpracovávání pÅ™epínaÄe konfigurace z příkazového řádku. === PÅ™epínaÄ byl: %s === Nesprávný formát pÅ™epínaÄe: %s. === Takové zařízení %s neexistuje. === Konflikt pÅ™epínaÄů: ÄŒas konce je pÅ™ed Äasem zaÄátku. === Chyba zpracování: %s na řádku %d souboru %s (%s) === Knihovna vorbis ohlásila chybu proudu. ÄŒteÄ souborů AIFF/AIFCAutor: %sDostupné kodeky: Dostupné pÅ™epínaÄe: Prům bitrate: %5.1fÅ patná poznámka: "%s" Å patný typ v seznamu pÅ™epínaÄůŠpatná hodnotaDvacetiÄtyÅ™bitová data PCM v big endian nejsou momentálnÄ› podporována, konÄím. NápovÄ›dy bitrate: vyšší=%ld nominální=%ld nižší=%ld okno=%ldChyba bitového proudu, pokraÄuji Nemohu otevřít %s. ZmÄ›nÄ›na frekvence lowpass z %f kHz na %f kHz Poznámka:Poznámky: %sPoÅ¡kozená nebo chybÄ›jící data, pokraÄuji...PoÅ¡kozená sekundární hlaviÄka.Nemohu najít obsluhu pro proud, vzdávám to Nemohu pÅ™eskoÄit %f vteÅ™in zvuku.Nemohu v proudu zvuku pÅ™eskoÄit na %f.Nemohu pÅ™evést poznámku do UTF-8, nemohu ji pÅ™idat Nemohu vytvoÅ™it adresář "%s": %s Nemohu získat dost pamÄ›ti pro vyrovnávací paměť vstupu.Nemohu získat dost pamÄ›ti pro registraci nového sériového Äísla proudu.Nemohu inicializovat pÅ™evzorkovávaÄ Nemohu otevřít %s pro Ätení Nemohu otevřít %s pro zápis Nemohu zpracovat bod Å™ezu "%s" PÅ™epínaÄe dekódování ImplicitníPopisHotovo.Mixuji stereo na mono EOF pÅ™ed rozpoznaným proudem.CHYBA: Nemohu otevřít vstupní soubor "%s": %s CHYBA: Nemohu otevřít výstupní soubor "%s": %s CHYBA: Nemohu vytvoÅ™it požadované podadresáře pro jméno souboru výstupu "%s" CHYBA: Vstupní soubor "%s" není v podporovaném formátu CHYBA: Název vstupního souboru je stený jako název výstupního souboru "%s" CHYBA: PÅ™i použití stdin urÄeno více souborů CHYBA: Více vstupních souborů s urÄeným názvem souboru výstupu: doporuÄuji použít -n CHYBA: Nezadány vstupní soubory. Použijte -h pro nápovÄ›du. PÅ™epínaÄe úpravy Povoluji systém správy bitrate Kódováno s: %sKóduji %s%s%s do %s%s%s pÅ™i průmÄ›rné bitrate %d kb/s (VBR kódování povoleno) Kóduji %s%s%s do %s%s%s pÅ™i průmÄ›rné bitrate %d kb/s Kóduji %s%s%s do %s%s%s pÅ™i kvalitÄ› %2.2f Kóduji %s%s%s do %s%s%s pÅ™i úrovni kvality %2.2f s použitím omezeného VBR Kóduji %s%s%s do %s%s%s s použitím správy bitrate Chyba pÅ™i kontrole existence adresáře %s: %s Chyba pÅ™i otevírání %s pomocí modulu %s. Soubor je možná poÅ¡kozen. Chyba pÅ™i otevírání souboru poznámek '%s' Chyba pÅ™i otevírání souboru poznámek '%s'. Chyba pÅ™i otevírání vstupního souboru "%s": %s Chyba pÅ™i otevírání vstupního souboru '%s'. Chyba pÅ™i otevírání výstupního souboru '%s'. Chyba pÅ™i Ätení první strany bitového proudu Ogg.Chyba pÅ™i Ätení prvního paketu hlaviÄky.Chyba pÅ™i odstraňování chybného doÄasného souboru %s Chyba pÅ™i odstraňování starého souboru %s Chyba pÅ™i pÅ™ejmenovávání %s na %s Neznámá chyba.Chyba pÅ™i zapisování proudu na výstup. Výstupní proud může být poÅ¡kozený nebo useknutý.Chyba: Nemohu vytvoÅ™it buffer zvuku. Chyba: Nedostatek pamÄ›ti v decoder_buffered_metadata_callback(). Chyba: Nedostatek pamÄ›ti v new_print_statistics_arg(). Chyba: segment cesty "%s" není adresář Příklady: vorbiscomment -a vstup.ogg -c poznámky.txt vorbiscomment -a vstup.ogg -t "ARTIST=NÄ›kdo" -t "TITLE=Název" ÄŒteÄ souborů FLACFLAC, Nemohu nastavit pokroÄilé parametry správy bitrate Nemohu nastavit min/max bitrate v režimu kvality Nemohu zapsat poznámky do výstupního souboru: %s Nemohu zapisovat data do výstupního proudu Nemohu zapsat hlaviÄku do výstupního proudu Soubor:Soubor: %sNení-li zadán soubor výstupu, vorbiscomment upraví soubor vstupu. PÅ™i tom se používá doÄasný soubor, takže soubor vstupu není zmÄ›nÄ›n, když pÅ™i práci dojde k nÄ›jaké chybÄ›. Velikost vstupního bufferu menší než minimální velikost %d kB.Název vstupního souboru nemůže být stejný jako název výstupního souboru Vstup není bitový proud Ogg.Vstup není ogg. PÅ™epínaÄe vstupu Vstup useknut nebo prázdný.Interní chyba pÅ™i zpracovávání pÅ™epínaÄů příkazového řádku Interní chyba pÅ™i zpracovávání pÅ™epínaÄů na příkazovém řádku. Interní chyba pÅ™i zpracovávání pÅ™epínaÄů příkazu Interní chyba: pokus Äít nepodporovanou bitovou hloubku %d KlÃ­Ä nenalezenVypsat nebo upravit poznámky v souborech Ogg Vorbis. PÅ™epínaÄe pro výpis ŽivÄ›:Logický proud %d skonÄil Chyba alokace pamÄ›ti v stats_init() Ostatní pÅ™epínaÄe Inicializace režimu selhala: neplatné parametry pro bitrate Inicializace režimu selhala: neplatné parametry pro kvalitu NázevNový logický proud (#%d, sériové: %08x): type %s Nezadány vstupní soubory. "ogginfo -h" pro nápovÄ›du Žádný klíÄNebyl nalezen žádný modul pro Ätení z %s. Nenalezena žádná hodnota pro pokroÄilý pÅ™epínaÄ kodéru Poznámka: Proud %d má sériové Äíslo %d, což je platné, ale může to způsobit problémy s nÄ›kterými nástroji. PŘEPÃNAÄŒE: Obecné: -Q, --quiet Nevypisovat nic na stderr -h, --help Vytisknout tento text nápovÄ›dy -V, --version Vytisknout Äíslo verze ÄŒteÄ souborů Ogg FLACProud Ogg Vorbis: %d kanálů, %ld HzOgg Vorbis. Bitový proud ogg neobsahuje podporovaný typ dat.Omezení na muxing Oggu poruÅ¡eno, nový proud pÅ™ed EOS vÅ¡ech pÅ™edchozích proudůOtevírám pomocí modulu %s: %s Možnosti výstupu Strana proudu nalezena po znaÄce EOSPÅ™ehrávám: %sPÅ™epínaÄe seznamu skladeb: Zpracování selhalo Zpracovávám soubor "%s"... Zpracovávám: Řežu na %lld vzorcích PÅ™epínaÄ kvality "%s" nerozpoznán, ignoruji jej ÄŒteÄ souborů RAWReplayGain (Album):ReplayGain (Stopa):Požadování minimální nebo maximální bitrate vyžaduje --managed PÅ™evzorkovávám vstup z %d Hz do %d Hz MÄ›ním velikost vstupu na %f Nastavit nepovinná pevná omezení kvality Nastavuji pokroÄilý pÅ™epínaÄ "%s" kodéru na %s PÅ™eskakuji úsek typu "%s", délka %d Speex, ÚspÄ›chPodporované pÅ™epínaÄe: Systémová chybaFormát souboru %s není podporován. Tato verze libvorbisenc neumí nastavit pokroÄilé parametry správy bitrate ÄŒas: %sČíslo stopy:TypNeznámá chybaNerozpoznaný pokroÄilý pÅ™epínaÄ "%s" Použití: ogg123 [pÅ™epínaÄe] soubor ... PÅ™ehrávat zvukové soubory a síťové proudy Ogg. Použití: oggdec [pÅ™epínaÄe] soubor1.ogg [soubor2.ogg ... souborN.ogg] Použití: oggenc [pÅ™epínaÄe] vstupnísoubor [...] Použití: ogginfo [pÅ™epínaÄe] soubor1.ogg [soubor2.ogx ... souborN.ogv] ogginfo je nástroj pro vytiÅ¡tÄ›ní informací o souborech Ogg a pro diagnostiku problémů s nimi. Úplná nápovÄ›da je zobrazena pomocí "ogginfo -h". Formát Vorbis: Verze %dVAROVÃNÃ: Neumím mixovat kromÄ› stereo do mono VAROVÃNÃ: Nemohu pÅ™eÄíst argument endianness "%s" VAROVÃNÃ: Nemohu pÅ™eÄíst frekvenci pÅ™evzorkování "%s" VAROVÃNÃ: Ignoruji neplatný znak '%c' ve formátu názvu VAROVÃNÃ: Zadáno nedostateÄnÄ› názvů, implicitnÄ› používám poslední název. VAROVÃNÃ: Zadán neplatný poÄet bitů/vzorek, pÅ™edpokládám 16. VAROVÃNÃ: Zadán neplatný poÄet kanálů, pÅ™edpokládám 2. VAROVÃNÃ: UrÄena neplatná vzorkovací frekvence, pÅ™edpokládám 44100. VAROVÃNÃ: Zadáno více náhrad filtr formátu názvu, používám poslední VAROVÃNÃ: Zadáno více filtrů formátu názvu, používám poslední VAROVÃNÃ: Zadáno více formátů názvu, používám poslední VAROVÃNÃ: Zadáno více výstupních souborů, doporuÄuji použít -n VAROVÃNÃ: Přímý poÄet bitů/vzorek zadán pro nepřímá data. PÅ™edpokládám, že vstup je přímý. VAROVÃNÃ: Přímý poÄet kanálů zadán po nepřímá data. PÅ™edpokládám, že vstup je přím. VAROVÃNÃ: Přímá endianness zadána pro nepřímá data. PÅ™edpokládám, že vstup je přímý. VAROVÃNÃ: Přímá vzorkovací frekvence zadána pro nepřímá data. PÅ™edpokládám, že vstup je přímý. VAROVÃNÃ: Zadán neplatný pÅ™epínaÄ, ignoruji-> VAROVÃNÃ: nastavení kvality příliÅ¡ vysoké, nastavuji na maximální kvalitu. Varování ze seznamu skladeb %s: Nemohu Äíst adresář %s. Varování: Nemohu Äíst adresář %s. Varování: NeoÄekávaný EOF pÅ™i Ätení hlaviÄky WAV Å¡patná poznámka: "%s" boolcharimplicitní výstupní zařízenídoublefloatintneurÄena žádná akce žádnýz %sogg123 z %s %soggdec z %s %s oggenc z %s %s ogginfo z %s %s jinýopakovat seznam skladeb navždypromíchat seznam skladebstandardní vstupstandardní výstupstringvorbiscomment z %s %s od nadace Xiph.Org (http://www.xiph.org/) vorbiscomment pracuje s poznámkami formátu "name=value", na každém řádku jedna. ImplicitnÄ› jsou pÅ™i výpisu poznámky zapsány na stdout a pÅ™i úpravách Äteny ze stdin. Místo toho může být zadán soubor pÅ™epínaÄem -c nebo mohou být tagy zadány na příkazovém řádku pomocí -t "název=hodnota". Použití -c nebo -t zakáže Ätení ze stdin. vorbis-tools-1.4.2/po/cs.po0000644000175000017500000034214014002243560012464 00000000000000# Czech translation of vorbis-tools # Copyright (C) 2003, 2007, 2008 Miloslav TrmaÄ # This file is distributed under the same license as the vorbis-tools package. # Miloslav TrmaÄ , 2003, 2007, 2008. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.2.1\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2008-10-12 14:31+0200\n" "Last-Translator: Miloslav TrmaÄ \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Chyba: Nedostatek pamÄ›ti v malloc_action().\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "Chyba: Nemohu alokovat paměť v malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Chyba: Zařízení není dostupné.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "Chyba: %s vyžaduje urÄení názvu souboru výstupu pomocí -f.\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Chyba: Nepodporovaná hodnota pÅ™epínaÄe zařízení %s.\n" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Chyba: Nemohu otevřít zařízení %s.\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Chyba: Selhání zařízení %s.\n" #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "Chyba: Výstupní soubor nemůže být pro zařízení %s zadán.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Chyba: Nemohu otevřít soubor %s pro zápis.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Chyba: Soubor %s již existuje.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "Chyba: Tato chyba by se nemÄ›la nikdy stát (%d). Panikařím!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "Chyba: Nedostatek pamÄ›ti v new_audio_reopen_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "Chyba: Nedostatek pamÄ›ti v new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "Chyba: Nedostatek pamÄ›ti v new_status_message_arg().\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Chyba: Nedostatek pamÄ›ti v decoder_buffered_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Chyba: Nedostatek pamÄ›ti v decoder_buffered_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "Systémová chyba" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Chyba zpracování: %s na řádku %d souboru %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Název" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Popis" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Typ" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Implicitní" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "žádný" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "bool" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "char" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "string" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "int" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "float" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "double" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "jiný" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(NULL)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(žádný)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "ÚspÄ›ch" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "KlÃ­Ä nenalezen" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Žádný klíÄ" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Å patná hodnota" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Å patný typ v seznamu pÅ™epínaÄů" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Neznámá chyba" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "Interní chyba pÅ™i zpracovávání pÅ™epínaÄů na příkazovém řádku.\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Velikost vstupního bufferu menší než minimální velikost %d kB." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Chyba \"%s\" pÅ™i zpracovávání pÅ™epínaÄe konfigurace z příkazového " "řádku.\n" "=== PÅ™epínaÄ byl: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "Dostupné pÅ™epínaÄe:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== Takové zařízení %s neexistuje.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== OvladaÄ %s není ovladaÄ výstupu do souboru.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "=== Nelze urÄit výstupní soubor bez urÄení ovladaÄe.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Nesprávný formát pÅ™epínaÄe: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Hodnota prebuffer neplatná. Rozsah je 0-100.\n" #: ogg123/cmdline_options.c:202 #, c-format msgid "ogg123 from %s %s" msgstr "ogg123 z %s %s" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Nemohu pÅ™ehrávat každý nultý úsek!\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Nemohu každý úsek pÅ™ehrávat nulakrát.\n" "--- Pro provedení testovacího dekódování použijte výstupní ovladaÄ null.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- Nemohu otevřít soubor seznamu skladeb %s. PÅ™eskoÄeno.\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "=== Konflikt pÅ™epínaÄů: ÄŒas konce je pÅ™ed Äasem zaÄátku.\n" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- OvladaÄ %s zadaný v konfiguraÄním souboru je neplatný.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Nemohu naÄíst implicitní ovladaÄ a v konfiguraÄním souboru není urÄen " "žádný ovladaÄ. KonÄím.\n" #: ogg123/cmdline_options.c:307 #, fuzzy, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" "ogg123 z %s %s\n" " od nadace Xiph.Org (http://www.xiph.org/)\n" "\n" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" "Použití: ogg123 [pÅ™epínaÄe] soubor ...\n" "PÅ™ehrávat zvukové soubory a síťové proudy Ogg.\n" "\n" #: ogg123/cmdline_options.c:314 #, c-format msgid "Available codecs: " msgstr "Dostupné kodeky: " #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "FLAC, " #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "Speex, " #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" "Ogg Vorbis.\n" "\n" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "Možnosti výstupu\n" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" " -d zaÅ™, --device zaÅ™ Použít výstupní zařízení \"zaÅ™\". Dostupná " "zařízení:\n" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "ŽivÄ›:" #: ogg123/cmdline_options.c:342 #, c-format msgid "File:" msgstr "Soubor:" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" " -f soub, --file soub Nastavit název souboru výstupu pro souborové " "zařízení\n" " dříve vybrané pomocí --device.\n" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" " --audio-buffer n Používat výstupní výrovnávací paměť zvuku " "velikosti\n" " 'n' kilobajtů\n" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" " -o k:h, --device-option k:h\n" " PÅ™edat zvláštní pÅ™epínaÄ 'k' s hodnotou 'h' " "zařízení\n" " dříve urÄenému pomocí --device. Pro dostupné\n" " pÅ™epínaÄe zařízení si pÅ™eÄtÄ›te man stránku " "ogg123.\n" #: ogg123/cmdline_options.c:361 #, c-format msgid "Playlist options\n" msgstr "PÅ™epínaÄe seznamu skladeb:\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr " -@ soub, --list soub NaÄíst seznam souborů a URL ze \"soub\"\n" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr " -r, --repeat Opakovat seznam skladeb donekoneÄna\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr " -R, --remote Použít rozhraní pro vzdálené ovládání\n" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr " -z, --shuffle Zamíchat seznam souborů pÅ™ed pÅ™ehráváním\n" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr " -Z, --random PÅ™ehrávat soubory náhodnÄ› do pÅ™eruÅ¡ení\n" #: ogg123/cmdline_options.c:369 #, c-format msgid "Input options\n" msgstr "PÅ™epínaÄe vstupu\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" " -b n, --buffer n Používat vstupní vyrovnávací paměť velikosti 'n'\n" " kilobajtů\n" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr " -p n, --prebuffer n NaÄíst n%% vstupu pÅ™ed pÅ™ehráváním\n" #: ogg123/cmdline_options.c:374 #, c-format msgid "Decode options\n" msgstr "PÅ™epínaÄe dekódování\n" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" " -k n, --skip n PÅ™ekoÄit prních 'n' sekund (nebo formát hh:mm:ss)\n" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" " -K n, --end n SkonÄit na 'n' sekundách (nebo formát hh:mm:ss)\n" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr " -x n, --nth n PÅ™ehrávat každý 'n'-tý blok\n" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr " -y n, --ntimes n Opakovat každý pÅ™ehrávaný blok 'n'-krát\n" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, c-format msgid "Miscellaneous options\n" msgstr "Ostatní pÅ™epínaÄe\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" " -l s, --delay s Nastavit Äas ukonÄení v milisekundách. ogg123\n" " pÅ™eskoÄí na další skladbu pÅ™i SIGINT (Ctrl-C),\n" " a skonÄí, když dostane dva SIGINTy v zadaném Äase\n" " 's'. (implicitnÄ› 500)\n" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr " -h, --help Zobrazit tuto nápovÄ›du\n" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr " -q, --quiet Nic nezobrazovat (žádný nadpis)\n" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr " -v, --verbose Zobrazovat průbÄ›h a jiné informace o stavu\n" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr " -V, --version Zobrazit verzi ogg123\n" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Chyba: Nedostatek pamÄ›ti.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "Chyba: Nemohu alokovat paměť v malloc_decoder_stats()\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Chyba: Nemohu nastavit masku signálů." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Chyba: Nemohu vytvoÅ™it vstupní buffer.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "implicitní výstupní zařízení" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "promíchat seznam skladeb" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "opakovat seznam skladeb navždy" #: ogg123/ogg123.c:230 #, c-format msgid "Could not skip to %f in audio stream." msgstr "Nemohu v proudu zvuku pÅ™eskoÄit na %f." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Zařízení zvuku: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Autor: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "Poznámky: %s" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Varování: Nemohu Äíst adresář %s.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Chyba: Nemohu vytvoÅ™it buffer zvuku.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Nebyl nalezen žádný modul pro Ätení z %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Nemohu otevřít %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Formát souboru %s není podporován.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "Chyba pÅ™i otevírání %s pomocí modulu %s. Soubor je možná poÅ¡kozen.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "PÅ™ehrávám: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Nemohu pÅ™eskoÄit %f vteÅ™in zvuku." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Chyba: Selhání dekódování.\n" #: ogg123/ogg123.c:709 #, fuzzy msgid "ERROR: buffer write failed.\n" msgstr "Chyba: zápis do vyrovnávací pamÄ›ti selhal.\n" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Hotovo." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Díra v proudu; pravdÄ›podobnÄ› neÅ¡kodná\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== Knihovna vorbis ohlásila chybu proudu.\n" #: ogg123/oggvorbis_format.c:361 #, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "Proud Ogg Vorbis: %d kanálů, %ld Hz" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "Formát Vorbis: Verze %d" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "NápovÄ›dy bitrate: vyšší=%ld nominální=%ld nižší=%ld okno=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Kódováno s: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "Chyba: Nedostatek pamÄ›ti v create_playlist_member().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Varování: Nemohu Äíst adresář %s.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "Varování ze seznamu skladeb %s: Nemohu Äíst adresář %s.\n" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "Chyba: Nedostatek pamÄ›ti v playlist_to_array().\n" #: ogg123/speex_format.c:366 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "Proud Ogg Vorbis: %d kanálů, %ld Hz" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Proud Ogg Vorbis: %d kanálů, %ld Hz" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Verze: %d\n" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Chyba pÅ™i Ätení hlaviÄek\n" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sPrebuf na %.1f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sPozastaveno" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Chyba alokace pamÄ›ti v stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Soubor: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "ÄŒas: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "z %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Prům bitrate: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Vstupní buffer %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " Výstupní buffer %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "Chyba: Nemohu alokovat paměť v malloc_data_source_stats()\n" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "Číslo stopy:" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain (Reference loudness):" msgstr "ReplayGain (Stopa):" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "ReplayGain (Stopa):" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:45 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr "ReplayGain (Stopa):" #: ogg123/vorbis_comments.c:46 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 msgid "Comment:" msgstr "Poznámka:" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, c-format msgid "oggdec from %s %s\n" msgstr "oggdec z %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, fuzzy, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" " od nadace Xiph.Org (http://www.xiph.org/)\n" "\n" #: oggdec/oggdec.c:59 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" "Použití: oggdec [pÅ™epínaÄe] soubor1.ogg [soubor2.ogg ... souborN.ogg]\n" "\n" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "Podporované pÅ™epínaÄe:\n" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr " --quiet, -Q Tichý režim. Žádný výstup na konzolu.\n" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr " --help, -h Vypsat tuto zprávu s nápovÄ›dou.\n" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr " --version, -V Vytisknout Äíslo verze.\n" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr " --bits, -b Bitová hloubka výstupu (podporováno 8 a 16)\n" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" " --endianness, -e PoÅ™adí bajtů pro 16-bitový výstup; 0 pro\n" " malý endian (implicitní), 1 pro velký endian.\n" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" " --sign, -s Znaménko pro výstup PCM; 0 pro bez znaménka, 1 pro\n" " se znaménkem (implicitnÄ› 1).\n" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr " --raw, -R Surový výstup (bez hlaviÄky).\n" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" " --output, -o Výstup do souboru daného názvu. Může být použito,\n" " jen když je jen jeden vstupní soubor, až na surový\n" " režim.\n" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "CHYBA: Nemohu otevřít vstupní soubor \"%s\": %s\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "CHYBA: Nemohu otevřít výstupní soubor \"%s\": %s\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Nemohu otevřít soubor jako vorbis: %s\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Kódování souboru \"%s\" hotovo\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "standardní vstup" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "standardní výstup" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Chyba pÅ™i odstraňování starého souboru %s\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "CHYBA: Nezadány vstupní soubory. Použijte -h pro nápovÄ›du.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "CHYBA: Více vstupních souborů s urÄeným názvem souboru výstupu: doporuÄuji " "použít -n\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "ÄŒteÄ souborů AU" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "ÄŒteÄ souborů AIFF/AIFC" #: oggenc/audio.c:50 msgid "FLAC file reader" msgstr "ÄŒteÄ souborů FLAC" #: oggenc/audio.c:51 msgid "Ogg FLAC file reader" msgstr "ÄŒteÄ souborů Ogg FLAC" #: oggenc/audio.c:129 oggenc/audio.c:459 #, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "Varování: NeoÄekávaný EOF pÅ™i Ätení hlaviÄky WAV\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "PÅ™eskakuji úsek typu \"%s\", délka %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Varování: NeoÄekávaný EOF v úseku AIFF\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Varování: V souboru AIFF nenalezen žádný spoleÄný úsek\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Varování: Useknutý spoleÄný úsek v hlaviÄce AIFF\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "Varování: NeoÄekávaný EOF pÅ™i Ätení hlaviÄky WAV\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "Varování: NeoÄekávaný EOF pÅ™i Ätení hlaviÄky WAV\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Varování: HlaviÄka AIFF-C useknuta.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "Varování: Neumím obsloužit komprimované AIFF-C (%c%c%c%c)\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "Varování: V souboru AIFF nenalezen úsek SSND\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Varování: V hlaviÄce AIFF nalezen poÅ¡kozený úsek SSND\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Varování: NeoÄekávaný EOF pÅ™i Ätení hlaviÄky WAV\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "Varování: OggEnc nepodporuje tento typ souboru AIFF/AIFC\n" " Musí to být osmi nebo Å¡estnáctibitový PCM.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Varování: Úsek nerozpoznaného formátu v hlaviÄce Wave\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "Varování: Úsek NEPLATNÉHO formátu v hlaviÄce Wave.\n" " Zkouším pÅ™esto Äíst (možná nebude fungovat)...\n" #: oggenc/audio.c:472 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "Varování: NeoÄekávaný EOF pÅ™i Ätení hlaviÄky WAV\n" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "CHYBA: Soubor Wave je nepodporovaného typu (musí být standardní PCM\n" " nebo PCM s plovoucí desetinnou Äárku typu 3)\n" #: oggenc/audio.c:546 #, fuzzy, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" "Varování: 'Zarovnání bloku' WAV není správné, ignoruji je.\n" "Software, který vytvoÅ™il tento soubor, je chybný.\n" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "CHYBA: Soubor Wave má nepodporovaný subformát (musí být 8-, 16-, 24- nebo\n" "32-bitový PCM nebo PCM s plovoucí desetinnou Äárkou)\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" "DvacetiÄtyÅ™bitová data PCM v big endian nejsou momentálnÄ› podporována, " "konÄím.\n" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "Interní chyba: pokus Äít nepodporovanou bitovou hloubku %d\n" #: oggenc/audio.c:799 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "CHYBA: Dostal jsem nula vzorků z pÅ™evzorkovávaÄe: váš soubor bude useknut. " "Nahlaste toto prosím.\n" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "Nemohu inicializovat pÅ™evzorkovávaÄ\n" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "Nastavuji pokroÄilý pÅ™epínaÄ \"%s\" kodéru na %s\n" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "Nastavuji pokroÄilý pÅ™epínaÄ \"%s\" kodéru na %s\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "ZmÄ›nÄ›na frekvence lowpass z %f kHz na %f kHz\n" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "Nerozpoznaný pokroÄilý pÅ™epínaÄ \"%s\"\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "Nemohu nastavit pokroÄilé parametry správy bitrate\n" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" "Tato verze libvorbisenc neumí nastavit pokroÄilé parametry správy bitrate\n" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" "255 kanálů by mÄ›lo být dost pro vÅ¡echny. (Lituji, Vorbis nepodporuje více)\n" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "Požadování minimální nebo maximální bitrate vyžaduje --managed\n" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "Inicializace režimu selhala: neplatné parametry pro kvalitu\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "Nastavit nepovinná pevná omezení kvality\n" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "Nemohu nastavit min/max bitrate v režimu kvality\n" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "Inicializace režimu selhala: neplatné parametry pro bitrate\n" #: oggenc/encode.c:374 #, fuzzy, c-format msgid "WARNING: no language specified for %s\n" msgstr "VAROVÃNÃ: Zadán neplatný pÅ™epínaÄ, ignoruji->\n" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "Nemohu zapsat hlaviÄku do výstupního proudu\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Nemohu zapsat hlaviÄku do výstupního proudu\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "Nemohu zapsat hlaviÄku do výstupního proudu\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Nemohu zapsat hlaviÄku do výstupního proudu\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Nemohu zapisovat data do výstupního proudu\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [%2dm%.2ds zbývá] %c " #: oggenc/encode.c:726 #, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tKóduji [zatím %2dm%.2ds] %c " #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Kódování souboru \"%s\" hotovo\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Kódování hotovo.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tDélka souboru: %dm %04.1fs\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tStrávený Äas: %dm %04.1fs\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tPomÄ›r: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tPrůmÄ›r bitrate: %.1f kb/s\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Kóduji %s%s%s do \n" " %s%s%s \n" "pÅ™i průmÄ›rné bitrate %d kb/s " #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Kóduji %s%s%s do \n" " %s%s%s \n" "pÅ™i průmÄ›rné bitrate %d kb/s (VBR kódování povoleno)\n" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Kóduji %s%s%s do\n" " %s%s%s \n" "pÅ™i úrovni kvality %2.2f s použitím omezeného VBR " #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Kóduji %s%s%s do\n" " %s%s%s \n" "pÅ™i kvalitÄ› %2.2f\n" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Kóduji %s%s%s do \n" " %s%s%s \n" "s použitím správy bitrate " #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Nemohu otevřít soubor jako vorbis: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Chyba: Nedostatek pamÄ›ti.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "CHYBA: Nemohu otevřít vstupní soubor \"%s\": %s\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 msgid "RAW file reader" msgstr "ÄŒteÄ souborů RAW" #: oggenc/oggenc.c:131 #, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "CHYBA: Nezadány vstupní soubory. Použijte -h pro nápovÄ›du.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "CHYBA: PÅ™i použití stdin urÄeno více souborů\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "CHYBA: Více vstupních souborů s urÄeným názvem souboru výstupu: doporuÄuji " "použít -n\n" #: oggenc/oggenc.c:217 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" "VAROVÃNÃ: Zadáno nedostateÄnÄ› názvů, implicitnÄ› používám poslední název.\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "CHYBA: Nemohu otevřít vstupní soubor \"%s\": %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Otevírám pomocí modulu %s: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "CHYBA: Vstupní soubor \"%s\" není v podporovaném formátu\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "CHYBA: Vstupní soubor \"%s\" není v podporovaném formátu\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "VAROVÃNÃ: Žádný název souboru, implicitnÄ› \"default.ogg\"\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "CHYBA: Nemohu vytvoÅ™it požadované podadresáře pro jméno souboru výstupu \"%s" "\"\n" #: oggenc/oggenc.c:363 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "" "CHYBA: Název vstupního souboru je stený jako název výstupního souboru \"%s" "\"\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "CHYBA: Nemohu otevřít výstupní soubor \"%s\": %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "PÅ™evzorkovávám vstup z %d Hz do %d Hz\n" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Mixuji stereo na mono\n" #: oggenc/oggenc.c:441 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "VAROVÃNÃ: Neumím mixovat kromÄ› stereo do mono\n" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "MÄ›ním velikost vstupu na %f\n" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, c-format msgid "oggenc from %s %s\n" msgstr "oggenc z %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" "Použití: oggenc [pÅ™epínaÄe] vstupnísoubor [...]\n" "\n" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" "PŘEPÃNAÄŒE:\n" " Obecné:\n" " -Q, --quiet Nevypisovat nic na stderr\n" " -h, --help Vytisknout tento text nápovÄ›dy\n" " -V, --version Vytisknout Äíslo verze\n" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" " -k, --skeleton PÅ™idá bitový proud Ogg Skeleton\n" " -r, --raw Surový režim. Vstupní soubory jsou Äteny přímo jako " "data\n" " PCM\n" " -B, --raw-bits=n Nastavit bity/vzorek pro surový vstup; implicitnÄ› 16\n" " -C, --raw-chan=n Nastavit poÄet kanálů pro surový vstup; implicitnÄ› 2\n" " -R, --raw-rate=n Nastavit vzorky/s pro surový vstup; implicitnÄ› 44100\n" " --raw-endianness 1 pro velký endian, 0 pro malý (implicitnÄ› 0)\n" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" " -b, --bitrate Zvolí nominální bitrate pro kódování. Pokusí se\n" " kódovat s touto průmÄ›rnou bitrate. Parametr je\n" " v kb/s. Toto implicitnÄ› vytvoří kódování VBR,\n" " stejnÄ› jako použití -q nebo --quality. Pro použití\n" " spravované bitrate s cílem zvolené bitrate viz\n" " pÅ™epínaÄ --managed.\n" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" " --managed Povolit systém správy bitrate. To umožní mnohem vÄ›tší\n" " kontrolu nad konkrétní použitou bitrate, ale kódování\n" " bude mnohem pomalejší. Nepoužívejte to, pokud\n" " nutnÄ› nepotÅ™ebujete podrobnou kontrolu nad bitrate,\n" " například pro streaming.\n" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" " -m, --min-bitrate Zadá minimální bitrate (v kb/s). UžiteÄné pro\n" " kódování pro kanál s fixní bitrate. Použití tohoto\n" " pÅ™epínaÄe automaticky povolí režim správy bitrate\n" " (viz --managed).\n" " -M, --max-bitrate Zadá maximální bitrate (v kb/s). UžiteÄné pro\n" " streaming. Použití tohoto pÅ™epínaÄe automaticky " "povolí\n" " režim správy bitrate (viz --managed).\n" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" " --advanced-encode-option pÅ™epínaÄ=hodnota\n" " Nastaví pokroÄilý pÅ™epínaÄ kodéru na danou hodnotu.\n" " Platné pÅ™epínaÄe (a jejich hodnoty) jsou " "zdokumentovány\n" " v man stránce dodávané s tímto programe. Jsou jen pro\n" " pokroÄilé uživatele, a mÄ›ly by být používány opatrnÄ›.\n" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" " -q, --quality UrÄí kvalitu, mezi -1 (velmi nízká) a 10 (velmi\n" " vysoká) místo urÄení konkrétní bitrate. Toto je\n" " normální režim práce.\n" " Zlomkové kvality (napÅ™. 2.75) jsou povoleny\n" " Implicitní úroveň kvality je 3.\n" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" " --resample n PÅ™evzorkovat vstupní data na vzorkovací frekvenci n " "(Hz)\n" " --downmix Mixovat stereo na mono. Povoleno jen pro stereo " "vstup.\n" " -s, --serial UrÄí sériové Äíslo proudu. To bude pÅ™i kódování více\n" " souborů inkrementováno pro každý další soubor.\n" #: oggenc/oggenc.c:561 #, fuzzy, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" " --discard-comments Zabrání kopírování poznámek v souborech FLAC a Ogg " "FLAC\n" " do výstupního souboru Ogg Vorbis.\n" " --ignorelength Ignorovat délku dat v hlaviÄkách. To umožní podporu\n" " souborů > 4GB a proudů dat STDIN.\n" "\n" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" " Pojmenovávání:\n" " -o, --output=ns Zapsat soubor do ns (platné jen v režimu jednoho " "souboru)\n" " -n, --names=Å™etÄ›zec Vytvářet názvy souborů jako tento Å™etÄ›zec, a %%a, %%t, " "%%l,\n" " %%n, %%d nahradit po Å™adÄ› umÄ›lcem, názvem, albem, " "Äíslem\n" " stopy a datem (pro jejich urÄení viz níže).\n" " %%%% vytvoří doslovné %%.\n" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" " -X, --name-remove=s Odstranit zadané znaky z parametrů pro Å™etÄ›zec " "formátu\n" " -n. UžiteÄné pro zajiÅ¡tÄ›ní platnosti názvů souborů.\n" " -P, --name-replace=s Nahradit znaky odstranÄ›né --name-remove zadanými " "znaky.\n" " Je-li tento Å™etÄ›zec kratší než seznam --name-remove " "nebo\n" " není-li zadán, ty další znaky jsou prostÄ› odstranÄ›ny.\n" " Implicitní nastavení tÄ›chto dvou parametrů závisí na\n" " platformÄ›.\n" #: oggenc/oggenc.c:583 #, fuzzy, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" " -c, --comment=p PÅ™idat zadaný Å™etÄ›zec jako další poznámku. Toto lze\n" " použít opakovanÄ›. Parametr by mÄ›l být ve formátu\n" " \"tag=hodnota\".\n" " -d, --date Datum stopy (obvykle datum koncertu)\n" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" " -N, --tracknum Číslo této stopy\n" " -t, --title Název této stopy\n" " -l, --album Název alba\n" " -a, --artist Jméno umÄ›lce\n" " -G, --genre Žánr stopy\n" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, fuzzy, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" " Je-li zadáno více vstupních souborů, bude použito\n" " více instancí pÅ™edchozích pÄ›ti parametrů, v tom\n" " poÅ™adí, v jakém jsou zadány. Je-li zadáno ménÄ› názvů\n" " než souborů, OggEnc vytiskne varování a použije " "poslední\n" " pro zbývající soubory. Je-li zadáno ménÄ› Äísel stop,\n" " následující soubory nebudou oÄíslovány. Pro ostatní\n" " pÅ™epínaÄe bude poslední hodnota použita pro ostatní\n" " soubory bez varování (takže můžete například zadat " "datum\n" " jen jednou a bude použito pro vÅ¡echny soubory)\n" "\n" #: oggenc/oggenc.c:613 #, fuzzy, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" "VSTUPNà SOUBORY:\n" " Soubory vstupu OggEnc momentálnÄ› musí být soubory 24-, 16-, nebo 8-bitové " "PCM\n" " Wave, 16-bitové u-Law (.au), AIFF nebo AIFF/C, Wave s 32-bitovou IEEE " "plovoucí\n" " desetinnou Äárkkou, a možná FLAC nebo Ogg FLAC. Soubory mohou být mono " "nebo\n" " stereo (nebo s více kanály) a s libovolnou vzorkovací frekvencí.\n" " Místo toho může být použit pÅ™epínaÄ --raw pro použití souboru se surovými " "daty\n" " PCM, který musí být 16-bitový stereo PCM s malým endianem ('wav bez\n" " hlaviÄky'), ledaže jsou zadadány další parametry pro surový režim.\n" " Můžete zadat Ätení souboru ze stdin použitím - jako názvu souboru vstupu.\n" " V tomto režimu je výstup na stdout, ledaže je název souboru výstupu zadán\n" " pomocí -o\n" "\n" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "VAROVÃNÃ: Ignoruji neplatný znak '%c' ve formátu názvu\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Povoluji systém správy bitrate\n" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "VAROVÃNÃ: Přímá endianness zadána pro nepřímá data. PÅ™edpokládám, že vstup " "je přímý.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "VAROVÃNÃ: Nemohu pÅ™eÄíst argument endianness \"%s\"\n" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "VAROVÃNÃ: Nemohu pÅ™eÄíst frekvenci pÅ™evzorkování \"%s\"\n" #: oggenc/oggenc.c:773 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "Varování: Frekvence pÅ™evzorkování zadána jako %d Hz. Mysleli jste %d Hz?\n" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "Varování: Nemohu zpracovat faktor Å¡kálování \"%s\"\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Nenalezena žádná hodnota pro pokroÄilý pÅ™epínaÄ kodéru\n" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "Interní chyba pÅ™i zpracovávání pÅ™epínaÄů příkazového řádku\n" #: oggenc/oggenc.c:831 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "Varování: Použita neplatná poznámka (\"%s\"), ignoruji.\n" #: oggenc/oggenc.c:870 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Varování: nominální bitrate \"%s\" nerozpoznána\n" #: oggenc/oggenc.c:878 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Varování: minimální bitrate \"%s\" nerozpoznána\n" #: oggenc/oggenc.c:892 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Varování: maximální bitrate \"%s\" nerozpoznána\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "PÅ™epínaÄ kvality \"%s\" nerozpoznán, ignoruji jej\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" "VAROVÃNÃ: nastavení kvality příliÅ¡ vysoké, nastavuji na maximální kvalitu.\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "VAROVÃNÃ: Zadáno více formátů názvu, používám poslední\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "VAROVÃNÃ: Zadáno více filtrů formátu názvu, používám poslední\n" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "VAROVÃNÃ: Zadáno více náhrad filtr formátu názvu, používám poslední\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "VAROVÃNÃ: Zadáno více výstupních souborů, doporuÄuji použít -n\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "VAROVÃNÃ: Přímý poÄet bitů/vzorek zadán pro nepřímá data. PÅ™edpokládám, že " "vstup je přímý.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "VAROVÃNÃ: Zadán neplatný poÄet bitů/vzorek, pÅ™edpokládám 16.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "VAROVÃNÃ: Přímý poÄet kanálů zadán po nepřímá data. PÅ™edpokládám, že vstup " "je přím.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "VAROVÃNÃ: Zadán neplatný poÄet kanálů, pÅ™edpokládám 2.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "VAROVÃNÃ: Přímá vzorkovací frekvence zadána pro nepřímá data. PÅ™edpokládám, " "že vstup je přímý.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "VAROVÃNÃ: UrÄena neplatná vzorkovací frekvence, pÅ™edpokládám 44100.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "VAROVÃNÃ: Zadán neplatný pÅ™epínaÄ, ignoruji->\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "Nemohu pÅ™evést poznámku do UTF-8, nemohu ji pÅ™idat\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "Nemohu pÅ™evést poznámku do UTF-8, nemohu ji pÅ™idat\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" "VAROVÃNÃ: Zadáno nedostateÄnÄ› názvů, implicitnÄ› používám poslední název.\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Nemohu vytvoÅ™it adresář \"%s\": %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Chyba pÅ™i kontrole existence adresáře %s: %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "Chyba: segment cesty \"%s\" není adresář\n" #: ogginfo/ogginfo2.c:115 #, fuzzy, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" "Proud vorbis %d:\n" "\tCelková délka dat: %I64d bajtů\n" "\tDélka pÅ™ehrávání: %ldm:%02ld.%03lds\n" "\tPrůmÄ›rná bitrate: %f kb/s\n" #: ogginfo/ogginfo2.c:127 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Varování: EOS nenastaveno v proudu %d\n" #: ogginfo/ogginfo2.c:216 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Varování: Neplatná strana hlaviÄky, nenalezen paket\n" #: ogginfo/ogginfo2.c:246 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "Varování: Neplatná strana hlaviÄky v proudu %d, obsahuje více paketů\n" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" "Poznámka: Proud %d má sériové Äíslo %d, což je platné, ale může to způsobit " "problémy s nÄ›kterými nástroji.\n" #: ogginfo/ogginfo2.c:278 #, fuzzy, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "" "Varování: V datech nalezena díra na pÅ™ibližném posunutí %I64d bajtů. Ogg " "poÅ¡kozen.\n" #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Chyba pÅ™i otevírání vstupního souboru \"%s\": %s\n" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Zpracovávám soubor \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "Nemohu najít obsluhu pro proud, vzdávám to\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "Strana proudu nalezena po znaÄce EOS" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" "Omezení na muxing Oggu poruÅ¡eno, nový proud pÅ™ed EOS vÅ¡ech pÅ™edchozích proudů" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "Neznámá chyba." #: ogginfo/ogginfo2.c:337 #, fuzzy, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" "Varování: neplatnÄ› umístÄ›ná stránka (stránky) pro logický proud %d\n" "To indikuje poÅ¡kozený soubor ogg: %s.\n" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "Nový logický proud (#%d, sériové: %08x): type %s\n" #: ogginfo/ogginfo2.c:352 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "Varování: příznak zaÄátku proudu nenastaven na proudu %d\n" #: ogginfo/ogginfo2.c:355 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "Varování: příznak zaÄátku proudu nalezen uvnitÅ™ proudu %d\n" #: ogginfo/ogginfo2.c:361 #, fuzzy, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" "Varování: mezera Äísel sekvence v proudu %d. Dostal jsem stranu %ld, když " "jsem oÄekával stranu %ld. To indikuje chybÄ›jící data.\n" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "Logický proud %d skonÄil\n" #: ogginfo/ogginfo2.c:384 #, fuzzy, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" "Chyba: V souboru \"%s\" nenalezena data ogg\n" "Vstup pravdÄ›podobnÄ› není Ogg.\n" #: ogginfo/ogginfo2.c:395 #, c-format msgid "ogginfo from %s %s\n" msgstr "ogginfo z %s %s\n" #: ogginfo/ogginfo2.c:400 #, fuzzy, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" " od nadace Xiph.Org (http://www.xiph.org/)\n" "\n" #: ogginfo/ogginfo2.c:401 #, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" "© 2003-2005 Michael Smith \n" "\n" "Použití: ogginfo [pÅ™epínaÄe] soubor1.ogg [soubor2.ogx ... souborN.ogv]\n" "Podporované pÅ™epínaÄe:\n" "\t-h Zobrazit tuto zprávu nápovÄ›dy\n" "\t-q Být ménÄ› podrobný. Jeden odstraní podrobné informativní\n" "\t zprávy, dva odstraní varování\n" "\t-v Být podrobnÄ›jší. U nÄ›kterých typů proudů může\n" "\t povolit pÅ™esnÄ›jší kontroly.\n" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "\t-V Vypsat informace o verzi a skonÄit\n" #: ogginfo/ogginfo2.c:422 #, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" "Použití: ogginfo [pÅ™epínaÄe] soubor1.ogg [soubor2.ogx ... souborN.ogv]\n" "\n" "ogginfo je nástroj pro vytiÅ¡tÄ›ní informací o souborech Ogg\n" "a pro diagnostiku problémů s nimi.\n" "Úplná nápovÄ›da je zobrazena pomocí \"ogginfo -h\".\n" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "Nezadány vstupní soubory. \"ogginfo -h\" pro nápovÄ›du\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: pÅ™epínaÄ `%s' není jednoznaÄný\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: pÅ™epínaÄ `--%s' musí být zadán bez argumentu\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: pÅ™epínaÄ `%c%s' musí být zadán bez argumentu\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: pÅ™epínaÄ `%s' vyžaduje argument\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: neznámý pÅ™epínaÄ `--%s'\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: neznámý pÅ™epínaÄ `%c%s'\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: neznámý pÅ™epínaÄ -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: neznámý pÅ™epínaÄ -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: pÅ™epínaÄ vyžaduje argument -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: pÅ™epínaÄ `-W %s' není jednoznaÄný\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: pÅ™epínaÄ `-W %s' musí být zadán bez argumentu\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Nemohu zpracovat bod Å™ezu \"%s\"\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Nemohu zpracovat bod Å™ezu \"%s\"\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Nemohu otevřít %s pro zápis\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" "Použití: vcut vstup.ogg výstupní1.ogg výstupní2.ogg [bodÅ™ezu | +bodÅ™ezu]\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Nemohu otevřít %s pro Ätení\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Nemohu zpracovat bod Å™ezu \"%s\"\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Zpracovávám: Řežu na %lld sekundách\n" #: vcut/vcut.c:289 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Zpracovávám: Řežu na %lld vzorcích\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "Zpracování selhalo\n" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "KlÃ­Ä nenalezen" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Nemohu zapsat poznámky do výstupního souboru: %s\n" #: vcut/vcut.c:505 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Chyba pÅ™i Ätení první strany bitového proudu Ogg." #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Zotavitelná chyba bitového proudu\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Sekundární hlaviÄka poÅ¡kozena\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Chyba bitového proudu, pokraÄuji\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Chyba v primární hlaviÄce: není to vorbis?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "Vstup není ogg.\n" #: vcut/vcut.c:616 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Chyba bitového proudu, pokraÄuji\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "NaÅ¡el jsem EOS pÅ™ed místem Å™ezu.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "Nemohu získat dost pamÄ›ti pro vyrovnávací paměť vstupu." #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Chyba pÅ™i Ätení první strany bitového proudu Ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Chyba pÅ™i Ätení prvního paketu hlaviÄky." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" "Nemohu získat dost pamÄ›ti pro registraci nového sériového Äísla proudu." #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "Vstup useknut nebo prázdný." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "Vstup není bitový proud Ogg." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Bitový proud ogg neobsahuje data vorbis." #: vorbiscomment/vcedit.c:555 msgid "EOF before recognised stream." msgstr "EOF pÅ™ed rozpoznaným proudem." #: vorbiscomment/vcedit.c:568 msgid "Ogg bitstream does not contain a supported data-type." msgstr "Bitový proud ogg neobsahuje podporovaný typ dat." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "PoÅ¡kozená sekundární hlaviÄka." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "EOF pÅ™ed koncem hlaviÄek vorbis." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "PoÅ¡kozená nebo chybÄ›jící data, pokraÄuji..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Chyba pÅ™i zapisování proudu na výstup. Výstupní proud může být poÅ¡kozený " "nebo useknutý." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Nemohu otevřít soubor jako vorbis: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Å patná poznámka: \"%s\"\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "Å¡patná poznámka: \"%s\"\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Nemohu zapsat poznámky do výstupního souboru: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "neurÄena žádná akce\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "Nemohu pÅ™evést poznámku do UTF8, nemohu ji pÅ™idat\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" "vorbiscomment z %s %s\n" " od nadace Xiph.Org (http://www.xiph.org/)\n" "\n" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "Vypsat nebo upravit poznámky v souborech Ogg Vorbis.\n" #: vorbiscomment/vcomment.c:622 #, fuzzy, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" "Použití: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lR] soubor\n" " vorbiscomment [-R] [-c soubor] [-t tag] <-a|-w> souborvstupu " "[souborvýstupu]\n" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "PÅ™epínaÄe pro výpis\n" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" " -l, --list Vypsat poznámky (implicitní, když není zadán " "žádný\n" " pÅ™epínaÄ)\n" #: vorbiscomment/vcomment.c:632 #, c-format msgid "Editing options\n" msgstr "PÅ™epínaÄe úpravy\n" #: vorbiscomment/vcomment.c:633 #, fuzzy, c-format msgid " -a, --append Update comments\n" msgstr " -a, --append PÅ™idat poznámky\n" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" " -t \"název=hodnota\", --tag \"název=hodnota\"\n" " UrÄí tag poznámky na příkazovém řádku\n" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr " -w, --write Zapsat poznámky a pÅ™epsat existující\n" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" " -c soubor, --commentfile soubor\n" " PÅ™i výpisu zapsat poznámky do zadaného souboru.\n" " PÅ™i úpravÄ› Äíst poznámky ze zadaného souboru.\n" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr " -R, --raw Číst a zapisovat poznámky v UTF-8\n" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr " -V, --version Vypsat informace o verzi a skonÄit\n" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" "Není-li zadán soubor výstupu, vorbiscomment upraví soubor vstupu. PÅ™i tom\n" "se používá doÄasný soubor, takže soubor vstupu není zmÄ›nÄ›n, když pÅ™i\n" "práci dojde k nÄ›jaké chybÄ›.\n" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" "vorbiscomment pracuje s poznámkami formátu \"name=value\", na každém řádku " "jedna.\n" "ImplicitnÄ› jsou pÅ™i výpisu poznámky zapsány na stdout a pÅ™i úpravách Äteny " "ze\n" "stdin. Místo toho může být zadán soubor pÅ™epínaÄem -c nebo mohou být tagy\n" "zadány na příkazovém řádku pomocí -t \"název=hodnota\". Použití -c nebo -t " "zakáže\n" "Ätení ze stdin.\n" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" "Příklady:\n" " vorbiscomment -a vstup.ogg -c poznámky.txt\n" " vorbiscomment -a vstup.ogg -t \"ARTIST=NÄ›kdo\" -t \"TITLE=Název\"\n" #: vorbiscomment/vcomment.c:672 #, fuzzy, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" "POZNÃMKA: Surový režim (--raw, -R) Äte a zapisuje poznámky v UTF-8 místo\n" "pÅ™evodu do znakové sady uživatele, což je užiteÄné ve skriptech, ale obecnÄ›\n" "není vždy dostateÄné pro zachování dat.\n" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Interní chyba pÅ™i zpracovávání pÅ™epínaÄů příkazu\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Chyba pÅ™i otevírání vstupního souboru '%s'.\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" "Název vstupního souboru nemůže být stejný jako název výstupního souboru\n" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Chyba pÅ™i otevírání výstupního souboru '%s'.\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Chyba pÅ™i otevírání souboru poznámek '%s'.\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Chyba pÅ™i otevírání souboru poznámek '%s'\n" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "Chyba pÅ™i odstraňování starého souboru %s\n" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "Chyba pÅ™i pÅ™ejmenovávání %s na %s\n" #: vorbiscomment/vcomment.c:938 #, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Chyba pÅ™i odstraňování chybného doÄasného souboru %s\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "ÄŒteÄ souborů WAV" #, fuzzy #~ msgid "WARNING: Unexpected EOF in reading Wave header\n" #~ msgstr "Varování: NeoÄekávaný EOF pÅ™i Ätení hlaviÄky Wave\n" #, fuzzy #~ msgid "WARNING: Unexpected EOF in reading AIFF header\n" #~ msgstr "Varování: NeoÄekávaný EOF pÅ™i Ätení hlaviÄky AIFF\n" #, fuzzy #~ msgid "WARNING: Unexpected EOF reading AIFF header\n" #~ msgstr "Varování: NeoÄekávaný EOF pÅ™i Ätení hlaviÄky AIFF\n" #~ msgid "Big endian 32 bit PCM data is not currently supported, aborting.\n" #~ msgstr "" #~ "TÅ™icetivdoubitová data PCM v big endian nejsou momentálnÄ› podporována, " #~ "konÄím.\n" #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Interní chyba! Ohlaste prosím tuto chybu.\n" #~ msgid "oggenc from %s %s" #~ msgstr "oggenc z %s %s" #, fuzzy #~ msgid "" #~ "WARNING: Comment %d in stream %d has invalid format, does not contain " #~ "'=': \"%s\"\n" #~ msgstr "" #~ "Varování: Poznámka %d v proudu %d má neplatný formát, neobsahuje '=': \"%s" #~ "\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #~ msgstr "" #~ "Varování: Neplatný název pole poznámky v poznámce %d (proud %d): \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #~ msgstr "" #~ "Varování: Neplatná sekvence UTF-8 v poznámce %d (proud %d): Å¡patná znaÄka " #~ "délky\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #~ msgstr "" #~ "Varování: Neplatná sekvence UTF-8 v poznámce %d (proud %d): příliÅ¡ málo " #~ "bajtů\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence \"%s\": %s\n" #~ msgstr "" #~ "Varování: Neplatná sekvence UTF-8 v poznámce %d (proud %d): neplatná " #~ "sekvence \"%s\": %s\n" #, fuzzy #~ msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" #~ msgstr "Varování: Selhání v dekodéru utf8. To by nemÄ›lo být možné\n" #, fuzzy #~ msgid "WARNING: discontinuity in stream (%d)\n" #~ msgstr "Varování: nesouvislost v proudu (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Theora header packet - invalid Theora stream " #~ "(%d)\n" #~ msgstr "" #~ "Varování: Nemohu dekódovat paket hlaviÄky theora - neplatný proud theora " #~ "(%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Theora stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Varování: Proud theora %d nemá hlaviÄky správnÄ› umístÄ›né v rámech. " #~ "Poslední strana hlaviÄky obsahuje další pakety nebo má nenulovou " #~ "granulepos\n" #~ msgid "Theora headers parsed for stream %d, information follows...\n" #~ msgstr "HlaviÄky theora zpracovány pro proud %d, následují informace...\n" #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Verze: %d.%d.%d\n" #~ msgid "Vendor: %s\n" #~ msgstr "Dodavatel: %s\n" #~ msgid "Width: %d\n" #~ msgstr "Šířka: %d\n" #~ msgid "Height: %d\n" #~ msgstr "Výška: %d\n" #~ msgid "Total image: %d by %d, crop offset (%d, %d)\n" #~ msgstr "Celkový obrázek: %d krát %d, posun oÅ™ezu (%d, %d)\n" #~ msgid "Frame offset/size invalid: width incorrect\n" #~ msgstr "Posun/velikost políÄka neplatná: nesprávná šířka\n" #~ msgid "Frame offset/size invalid: height incorrect\n" #~ msgstr "Posun políÄka/velikost neplatná: nesprávná výška\n" #~ msgid "Invalid zero framerate\n" #~ msgstr "Neplatná nulová rychlost políÄek\n" #~ msgid "Framerate %d/%d (%.02f fps)\n" #~ msgstr "Rychlost políÄek %d/%d (%.02f/s)\n" #~ msgid "Aspect ratio undefined\n" #~ msgstr "PomÄ›r stran nedefinován\n" #~ msgid "Pixel aspect ratio %d:%d (%f:1)\n" #~ msgstr "PomÄ›r stran pixelu %d:%d (%f:1)\n" #~ msgid "Frame aspect 4:3\n" #~ msgstr "PomÄ›r stran políÄka 4:3\n" #~ msgid "Frame aspect 16:9\n" #~ msgstr "PomÄ›r stran políÄka 16:9\n" #~ msgid "Frame aspect %f:1\n" #~ msgstr "PomÄ›r stran políÄka %f:1\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" #~ msgstr "Prostor barev: Dop. ITU-R BT.470-6 Systém M (NTSC)\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" #~ msgstr "Prostor barev: Dop. ITU-R BT.470-6 Systémy B a G (PAL)\n" #~ msgid "Colourspace unspecified\n" #~ msgstr "Prostor barev nedefinován\n" #~ msgid "Pixel format 4:2:0\n" #~ msgstr "Formát pixelů 4:2:0\n" #~ msgid "Pixel format 4:2:2\n" #~ msgstr "Formát pixelů 4:2:2\n" #~ msgid "Pixel format 4:4:4\n" #~ msgstr "Formát pixelů 4:4:4\n" #~ msgid "Pixel format invalid\n" #~ msgstr "Neplatný formát pixelů\n" #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "Cílová bitrate: %d kb/s\n" #~ msgid "Nominal quality setting (0-63): %d\n" #~ msgstr "Nominální nastavení kvality (0-63): %d\n" #~ msgid "User comments section follows...\n" #~ msgstr "Následuje oblast poznámek uživatele...\n" #, fuzzy #~ msgid "WARNING: Expected frame %" #~ msgstr "Varování: OÄekáván rám %" #, fuzzy #~ msgid "WARNING: granulepos in stream %d decreases from %" #~ msgstr "Varování: granulepos v proudu %d se snižuje z %" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "Proud Theora %d:\n" #~ "\tCelková délka dat: %" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream " #~ "(%d)\n" #~ msgstr "" #~ "Varování: Nemohu dekódovat paket hlaviÄky vorbis %d - neplatný proud " #~ "vorbis (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Varování: Proud vorbis %d nemá hlaviÄky správnÄ› umístÄ›né v rámech. " #~ "Poslední strana hlaviÄky obsahuje další pakety nebo má nenulovou " #~ "granulepos\n" #~ msgid "Vorbis headers parsed for stream %d, information follows...\n" #~ msgstr "HlaviÄky vorbis zpracovány pro proud %d, následují informace...\n" #~ msgid "Version: %d\n" #~ msgstr "Verze: %d\n" #~ msgid "Vendor: %s (%s)\n" #~ msgstr "Dodavatel: %s (%s)\n" #~ msgid "Channels: %d\n" #~ msgstr "Kanálů: %d\n" #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "" #~ "Frekvence: %ld\n" #~ "\n" #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "Nominální bitrate: %f kb/s\n" #~ msgid "Nominal bitrate not set\n" #~ msgstr "Nominální bitrate nenastavena\n" #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "Vyšší bitrate: %f kb/s\n" #~ msgid "Upper bitrate not set\n" #~ msgstr "Vyšší bitrate nenastavena\n" #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "Nižší bitrate: %f kb/s\n" #~ msgid "Lower bitrate not set\n" #~ msgstr "Nižší bitrate nenastavena\n" #, fuzzy #~ msgid "Negative or zero granulepos (%" #~ msgstr "Neplatná nulová rychlost granulepos\n" #~ msgid "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "Proud Vorbis %d:\n" #~ "\tCelková délka dat: %" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Kate header packet %d - invalid Kate stream " #~ "(%d)\n" #~ msgstr "" #~ "Varování: Nemohu dekódovat paket hlaviÄky kate %d - neplatný proud kate " #~ "(%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: packet %d does not seem to be a Kate header - invalid Kate " #~ "stream (%d)\n" #~ msgstr "" #~ "Varování: paket %d zÅ™ejmÄ› není hlaviÄka kate - neplatný proud kate (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Kate stream %d does not have headers correctly framed. Terminal " #~ "header page contains additional packets or has non-zero granulepos\n" #~ msgstr "" #~ "Varování: Proud kate %d nemá hlaviÄky správnÄ› umístÄ›né v rámech. Poslední " #~ "strana hlaviÄky obsahuje další pakety nebo má nenulovou granulepos\n" #~ msgid "Kate headers parsed for stream %d, information follows...\n" #~ msgstr "HlaviÄky kate zpracovány pro proud %d, následují informace...\n" #~ msgid "Version: %d.%d\n" #~ msgstr "Verze: %d.%d\n" #~ msgid "Language: %s\n" #~ msgstr "Jazyk: %s\n" #~ msgid "No language set\n" #~ msgstr "Jazyk nenastaven\n" #~ msgid "Category: %s\n" #~ msgstr "Kategorie: %s\n" #~ msgid "No category set\n" #~ msgstr "Kategorie nenastavena\n" #~ msgid "utf-8" #~ msgstr "utf-8" #~ msgid "Character encoding: %s\n" #~ msgstr "Kódování znaků: %s\n" #~ msgid "Unknown character encoding\n" #~ msgstr "Neznámé kódování znaků\n" #~ msgid "left to right, top to bottom" #~ msgstr "zleva doprava, shora dolů" #~ msgid "right to left, top to bottom" #~ msgstr "zprava doleva, shora dolů" #~ msgid "top to bottom, right to left" #~ msgstr "zdola nahoru, zprava doleva" #~ msgid "top to bottom, left to right" #~ msgstr "zdola nahoru, zleva doprava" #~ msgid "Text directionality: %s\n" #~ msgstr "SmÄ›r textu: %s\n" #~ msgid "Unknown text directionality\n" #~ msgstr "Neznámý smÄ›r textu\n" #~ msgid "Invalid zero granulepos rate\n" #~ msgstr "Neplatná nulová rychlost granulepos\n" #~ msgid "Granulepos rate %d/%d (%.02f gps)\n" #~ msgstr "Rychlost granulepos %d/%d (%.02f g/s)\n" #~ msgid "\n" #~ msgstr "\n" #~ msgid "" #~ "Kate stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "Proud Kate %d:\n" #~ "\tCelková délka dat: %" #, fuzzy #~ msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" #~ msgstr "" #~ "Varování: V datech nalezena díra (%d bajtů) na pÅ™ibližném posunutí %" #~ msgid "Page error. Corrupt input.\n" #~ msgstr "Chyba strany. PoÅ¡kozený vstup.\n" #, fuzzy #~ msgid "Setting EOS: update sync returned 0\n" #~ msgstr "Nastavuji eso: aktualizace synchronizace vrátila 0\n" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "Místo Å™ezu není uvnitÅ™ proudu. Druhý soubor bude prázdný\n" #~ msgid "Unhandled special case: first file too short?\n" #~ msgstr "Neobsloužený speciální případ: první soubor příliÅ¡ krátký?\n" #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "" #~ "Místo Å™ezu příliÅ¡ blízko konci souboru. Druhý soubor bude prázdný.\n" #, fuzzy #~ msgid "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " Ogg page. File may not decode correctly.\n" #~ msgstr "" #~ "CHYBA: První dva pakety zvuku se neveÅ¡ly do jedné\n" #~ " strany ogg. Soubor se možná nebude dekódovat správnÄ›.\n" #, fuzzy #~ msgid "Update sync returned 0, setting EOS\n" #~ msgstr "Aktualizace synchronizace vrátila 0, nastavuji eos\n" #~ msgid "Bitstream error\n" #~ msgstr "Chyba bitového proudu\n" #~ msgid "Error in first page\n" #~ msgstr "Chyba v první stranÄ›\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "chyba v prvním paketu\n" #~ msgid "EOF in headers\n" #~ msgstr "EOF v hlaviÄkách\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "VAROVÃNÃ: vcut je stále experimentální kód.\n" #~ "Zkontrolujte, že výstupní soubory jsou správné, pÅ™ed odstranÄ›ním zdrojů.\n" #~ "\n" #~ msgid "Error reading headers\n" #~ msgstr "Chyba pÅ™i Ätení hlaviÄek\n" #~ msgid "Error writing first output file\n" #~ msgstr "Chyba pÅ™i zapisování prvního souboru výstupu\n" #~ msgid "Error writing second output file\n" #~ msgstr "Chyba pÅ™i zapisování druhého souboru výstupu\n" #~ msgid "Out of memory opening AU driver\n" #~ msgstr "Nedostatek pamÄ›ti pÅ™i otevírání ovladaÄe AU\n" #~ msgid "At this moment, only linear 16 bit .au files are supported\n" #~ msgstr "MomentálnÄ› jsou podporovány jen lineární 16-bitové soubory .au\n" #~ msgid "" #~ "Negative or zero granulepos (%lld) on vorbis stream outside of headers. " #~ "This file was created by a buggy encoder\n" #~ msgstr "" #~ "Záporná nebo nulová granulepos (%lld) v proudu vorbis mimo hlaviÄek. " #~ "Tento soubor byl vytvoÅ™en chybným kodérem\n" #~ msgid "" #~ "Negative granulepos (%lld) on kate stream outside of headers. This file " #~ "was created by a buggy encoder\n" #~ msgstr "" #~ "Záporná granulepos (%lld) v proudu kate mimo hlaviÄek. Tento soubor byl " #~ "vytvoÅ™en chybným kodérem\n" #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 z %s %s\n" #~ " od Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Použití: ogg123 [] ...\n" #~ "\n" #~ " -h, --help tato nápovÄ›da\n" #~ " -V, --version zobrazit verzi Ogg123\n" #~ " -d, --device=d používá 'd' jako výstupní zařízení\n" #~ " Možná zařízení jsou ('*'=živÄ›, '@'=soubor):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" #~ " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -@, --list=filename Read playlist of files and URLs from \"filename" #~ "\"\n" #~ " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n Load n%% of the input buffer before playing\n" #~ " -v, --verbose Display progress and other status information\n" #~ " -q, --quiet Don't display anything (no title)\n" #~ " -x n, --nth Play every 'n'th block\n" #~ " -y n, --ntimes Repeat every played block 'n' times\n" #~ " -z, --shuffle Shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s Set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=názevsouboru Nastavit název souboru výstupu pro dříve " #~ "urÄené\n" #~ " zařízení souboru (pomocí -d).\n" #~ " -k n, --skip n PÅ™eskoÄit prvních 'n' vteÅ™in (nebo formát hh:mm:ss)\n" #~ " -K n, --end n SkonÄit na 'n' sekundách (nebo formát hh:mm:ss)\n" #~ " -o, --device-option=k:v pÅ™edává speciální pÅ™epínaÄ k s hodnotou\n" #~ " v dříve urÄenému zařízení (pomocí -d). Pro více informací\n" #~ " viz manuálovou stránku.\n" #~ " -b n, --buffer n Používat vstupní buffer 'n' kilobajtů\n" #~ " -p n, --prebuffer n NaÄíst n%% vstupního bufferu pÅ™ed pÅ™ehráváním\n" #~ " -v, --verbose Zobrazovat průbÄ›h a jiné stavové informace\n" #~ " -q, --quiet Nezobrazovat nic (žádný název)\n" #~ " -x n, --nth PÅ™ehrávat každý 'n'tý blok\n" #~ " -y n, --ntimes Zopakovat každý pÅ™ehrávaný blok 'n'-krát\n" #~ " -z, --shuffle Promíchat pÅ™ehrávání\n" #~ "\n" #~ "ogg123 pÅ™eskoÄí na další píseň pÅ™i SIGINT (Ctrl-C); dva SIGINTy v rámci\n" #~ "s milisekund způsobí ukonÄení ogg123.\n" #~ " -l, --delay=s nastavit s [milisekund] (implicitnÄ› 500).\n" #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -v, --version Print the version number\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps. By default, this produces a VBR\n" #~ " encoding, equivalent to using -q or --quality.\n" #~ " See the --managed option to use a managed bitrate\n" #~ " targetting the selected bitrate.\n" #~ " --managed Enable the bitrate management engine. This will " #~ "allow\n" #~ " much greater control over the precise bitrate(s) " #~ "used,\n" #~ " but encoding will be much slower. Don't use it " #~ "unless\n" #~ " you have a strong need for detailed control over\n" #~ " bitrate, such as for streaming.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel. Using this will\n" #~ " automatically enable managed bitrate mode (see\n" #~ " --managed).\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications. Using this will " #~ "automatically\n" #~ " enable managed bitrate mode (see --managed).\n" #~ " --advanced-encode-option option=value\n" #~ " Sets an advanced encoder option to the given " #~ "value.\n" #~ " The valid options (and their values) are " #~ "documented\n" #~ " in the man page supplied with this program. They " #~ "are\n" #~ " for advanced users only, and should be used with\n" #~ " caution.\n" #~ " -q, --quality Specify quality, between -1 (very low) and 10 " #~ "(very\n" #~ " high), instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " The default quality level is 3.\n" #~ " --resample n Resample input data to sampling rate n (Hz)\n" #~ " --downmix Downmix stereo to mono. Only allowed on stereo\n" #~ " input.\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" #~ " being copied to the output Ogg Vorbis file.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times. The argument should be in the\n" #~ " format \"tag=value\".\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 24, 16, or 8 bit PCM WAV, AIFF, or " #~ "AIFF/C\n" #~ " files, 32 bit IEEE floating point WAV, and optionally FLAC or Ogg FLAC. " #~ "Files\n" #~ " may be mono or stereo (or more channels) and any sample rate.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16 bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an output filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "Použití: oggenc [pÅ™epínaÄe] vstup.wav [...]\n" #~ "\n" #~ "PŘEPÃNAÄŒE:\n" #~ " Obecné:\n" #~ " -Q, --quiet Neposílat na stderr žádný výstup\n" #~ " -h, --help Vypsat tento text nápovÄ›dy\n" #~ " -v, --version Vypsat Äíslo verze\n" #~ " -r, --raw Přímý režim. Soubory vstupu jsou Äteny přímo jako " #~ "data PCM\n" #~ " -B, --raw-bits=n Natavit bity/vzorek pro přímý vstup. Implicitní je " #~ "16\n" #~ " -C, --raw-chan=n Nastavit poÄet kanálů pro přímý vstup. Implicitní " #~ "je 2\n" #~ " -R, --raw-rate=n Nastavit vzorky/s pro přímý vstup. Implicitní je " #~ "44100\n" #~ " --raw-endianness 1 pro big endian, 0 pro little (implicitní je 0)\n" #~ " -b, --bitrate UrÄení nominální bitrate, do které kódovat. " #~ "Pokusit\n" #~ " se kódovat s bitrate s tímto průmÄ›rem. Bere " #~ "argument\n" #~ " v kb/s. ImplicitnÄ› tvoří kódování VBR, podobnÄ› " #~ "jako\n" #~ " použití -q nebo --quality. Pro použití spravované\n" #~ " bitrate cílící zvolenou bitrate viz pÅ™epínaÄ --" #~ "managed.\n" #~ " -m, --min-bitrate UrÄení minimální bitrate (v kb/s). UžiteÄné pro\n" #~ " kódování pro kanál fixní propustnosti. Použití " #~ "tohoto\n" #~ " automaticky povolí režim spravované bitrate (viz\n" #~ " --managed).\n" #~ " -M, --max-bitrate UrÄení maximální bitrate (v kb/s). UžiteÄné pro\n" #~ " aplikace streaming. Použití tohoto automaticky " #~ "povolí\n" #~ " režim spravované bitrate (viz --managed).\n" #~ " --advanced-encode-option pÅ™epínaÄ=hodnota\n" #~ " Nastaví pokroÄilý pÅ™epínaÄ enkodéru na danou " #~ "hodnotu.\n" #~ " Platné pÅ™epínaÄe (a jejich hodnoty) jsou " #~ "zdokumentovány\n" #~ " ve stránce man dodávané s tímto programem. Jsou jen " #~ "pro\n" #~ " pokroÄilé uživatele a mÄ›ly by se používat opatrnÄ›.\n" #~ " -q, --quality UrÄení kvality mezi -1 (velmi nízká) a 10 (velmi " #~ "vysoká),\n" #~ " místo urÄení konkrétní bitrate.\n" #~ " Toto je normální režim práce.\n" #~ " Desetinné kvality (napÅ™. 2.75) jsou povoleny\n" #~ " Implicitní úroveň kvality je 3.\n" #~ " --resample n PÅ™evzorkovat vstup na vzorkovací frekvenci n (Hz)\n" #~ " --downmix Mixovat stereo na mono. Povoleno jen na stereo\n" #~ " vstupu.\n" #~ " -s, --serial UrÄení sériového Äísla proudu. Pokud se kóduje " #~ "více\n" #~ " souborů, bude inkrementováno pro každý proud po\n" #~ " tom prvním.\n" #~ " --discard-coimments Brání kopírování poznámek v souborech FLAC a Ogg " #~ "FLAC do\n" #~ " výstupního souboru Ogg Vorbis.\n" #~ "\n" #~ " Pojmenování:\n" #~ " -o, --output=js Zapsat soubor do js (platné jen v režimu jednoho " #~ "souboru)\n" #~ " -n, --names=Å™etÄ›zec TvoÅ™it názvy souborů jako tento Å™etÄ›zec, s %%a, %" #~ "%t, %%l,\n" #~ " %%n, %%d nahrazené umÄ›lcem, resp. názvem, albem, " #~ "Äíslem\n" #~ " stopy a datem (viz níže pro jejich urÄení).\n" #~ " %%%% dává doslovné %%.\n" #~ " -X, --name-remove=s Odstranit urÄené znaky z parametrů Å™etÄ›zce formátu\n" #~ " -n. UžiteÄné pro zajiÅ¡tÄ›ní platných názvů souborů.\n" #~ " -P, --name-replace=s Nahradit znaky odstranÄ›né --name-remove s urÄenými " #~ "znaky.\n" #~ " Pokud je tento Å™etÄ›zec kratší než seznam\n" #~ " --name-remove nebo není urÄen, pÅ™ebyteÄné znaky " #~ "jsou\n" #~ " prostÄ› odstranÄ›ny.\n" #~ " Implicitní nastavení dvou argumentů výše závisí na\n" #~ " platformÄ›.\n" #~ " -c, --comment=c PÅ™idat daný Å™etÄ›zec jako přídavnou poznámku. Toto " #~ "může\n" #~ " být použito vícekrát.\n" #~ " -d, --date Datum pro tuto stopu (obvykle datum provedení)\n" #~ " -N, --tracknum Číslo stopy pro tuto stopu\n" #~ " -t, --title Název pro tuto stopu\n" #~ " -l, --album Název alba\n" #~ " -a, --artist Jméno umÄ›lce\n" #~ " -G, --genre Žánr stopy\n" #~ " Je-li zadáno více vstupních soubor, bude použito " #~ "více\n" #~ " instancí pÅ™edchozích pÄ›ti argumentů, v poÅ™adí, v " #~ "jakém\n" #~ " jsou zadány. Je-li zadáno ménÄ› názvů než souborů, " #~ "OggEnc\n" #~ " vypíše varování a použije poslední název pro " #~ "zbývající\n" #~ " soubory. Je-li zadáno ménÄ› Äísel stop, zbývající " #~ "soubory\n" #~ " budou bez Äísla. Pro ostatní atributy bude " #~ "poslední\n" #~ " hodnota použita bez varování (takže můžete napÅ™. " #~ "zadat\n" #~ " datum jednou a nechat je používat pro vÅ¡echny " #~ "soubory)\n" #~ "\n" #~ "VSTUPNà SOUBORY:\n" #~ " Vstupní soubory OggEnc musí momentálnÄ› být soubory dvacetiÄtyÅ™, " #~ "Å¡estnácti nebo\n" #~ " osmibitového PCM WAV, AIFF, AIFF/C nebo tÅ™icetidvoubitové WAV s " #~ "pohyblivou\n" #~ " řádovou Äárkou IEEE. Soubory mohou mono nebo stereo (nebo vícekanálové)\n" #~ " s libovolnou vzorkovací frekvencí.\n" #~ " Nebo může být použit pÅ™epínaÄ --raw pro použití jednoho přímého " #~ "datového\n" #~ " souboru PCM, který musí být Å¡estnáctibitový stereo little edian PCM\n" #~ " ('wav bez hlaviÄky'), pokud nejsou zadány další parametry pro přímý " #~ "režim.\n" #~ " Můžete zadat Ätení souboru ze stdin použitím - jako názvu souboru " #~ "vstupu.\n" #~ " V tomto režimu je výstup na stdout, pokud není urÄen název souboru " #~ "výstupu\n" #~ " pomocí -o\n" #~ "\n" #~ msgid "Frame aspect 1:%d\n" #~ msgstr "PomÄ›r stran políÄka 1:%d\n" #~ msgid "Warning: granulepos in stream %d decreases from %I64d to %I64d" #~ msgstr "Varování: granulepos v proudu %d se snižuje z %I64d na %I64d" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %I64d bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "Proud theora %d:\n" #~ "\tCelková délka dat: %I64d bajtů\n" #~ "\tDélka pÅ™ehrávání: %ldm:%02ld.%03lds\n" #~ "\tPrůmÄ›rná bitrate: %f kb/s\n" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %lld bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "Proud theora %d:\n" #~ "\tCelková délka dat: %lld bajtů\n" #~ "\tDélka pÅ™ehrávání: %ldm:%02ld.%03lds\n" #~ "\tPrůmÄ›rná bitrate: %f kb/s\n" #~ msgid "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %lld bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "Proud vorbis %d:\n" #~ "\tCelková délka dat: %lld bajtů\n" #~ "\tDélka pÅ™ehrávání: %ldm:%02ld.%03lds\n" #~ "\tPrůmÄ›rná bitrate: %f kb/s\n" #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ " Raw mode (--raw, -R) will read and write comments in UTF-8,\n" #~ " rather than converting to the user's character set. This is\n" #~ " useful for using vorbiscomment in scripts. However, this is\n" #~ " not sufficient for general round-tripping of comments in all\n" #~ " cases.\n" #~ msgstr "" #~ "Použití: \n" #~ " vorbiscomment [-l] soubor.ogg (pro vypsání poznámek)\n" #~ " vorbiscomment -a vstup.ogg výstup.ogg (pro pÅ™ipojení poznámek)\n" #~ " vorbiscomment -w vstup.ogg výstup.ogg (pro zmÄ›nu poznámek)\n" #~ "\tv případÄ› zápisu je na stdin oÄekávána sada poznámek\n" #~ "\tve tvaru 'ZNAÄŒKA=hodnota'. Tato sada úplnÄ› nahradí\n" #~ "\texistující sadu.\n" #~ " Jak -a, tak -w mohou dostat jen jeden název souboru,\n" #~ " v tom případÄ› bude použit doÄasný soubor.\n" #~ " -c může být použito pro vytvoÅ™ení poznámek z urÄeného souboru\n" #~ " místo stdin.\n" #~ " Příklad: vorbiscomment -a vstup.ogg -c poznámky.txt\n" #~ " pÅ™ipojí poznámky v poznámky.txt do vstup.ogg\n" #~ " KoneÄnÄ›, můžete zadat jakýkoli poÄet znaÄek, které pÅ™idat,\n" #~ " na příkazové řádce pomocí pÅ™epínaÄe -t. NapÅ™.\n" #~ " vorbiscomment -a vstup.ogg -t \"ARTIST=NÄ›jaký Chlapík\" -t " #~ "\"TITLE=Název\"\n" #~ " (vÅ¡imnÄ›te si, že pÅ™i použití tohoto je Ätení poznámek ze souboru\n" #~ " poznámek nebo stdin zakázáno)\n" #~ " Přímý režim (--raw, -R) bude Äíst a zapisovat poznámky v UTF-8\n" #~ " místo jejich konverze do znakové sady uživatele. To je\n" #~ " užiteÄné pro používání vorbiscomment ve skriptech. Není to ale\n" #~ " dostateÄné pro obecný pohyb poznámek ve vÅ¡ech případech.\n" #~ msgid "ReplayGain (Track) Peak:" #~ msgstr "Vrchol ReplayGain (Stopa):" #~ msgid "ReplayGain (Album) Peak:" #~ msgstr "Vrchol ReplayGain (Album):" #~ msgid "Version is %d" #~ msgstr "Verze je %d" vorbis-tools-1.4.2/po/sk.po0000644000175000017500000030616414002243560012502 00000000000000# Slovak translation of vorbis-tools # Copyright (C) 2003 Miloslav Trmac # This file may be distributed under the same license as the vorbis-tools package. # Based on Czech translation. # Miloslav Trmac , 2003. # Peter Tuharsky , 2008. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.1.1\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2008-03-20 20:15+0100\n" "Last-Translator: Peter Tuhársky \n" "Language-Team: Slovak \n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Poedit-Language: Slovak\n" "X-Poedit-Country: SLOVAKIA\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Chyba: Nedostatok pamäte v malloc_action().\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "Chyba: Nepodarilo sa alokovaÅ¥ pamäť v malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Chyba: Zariadenie nie je dostupné.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "Chyba: %s vyžaduje zadanie názvu výstupného súboru pomocou -f.\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Chyba: Nepodporovaná hodnota prepínaÄa zariadenia %s.\n" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Chyba: Nedá sa otvoriÅ¥ zariadenie %s.\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Chyba: Zariadenie %s zlyhalo.\n" #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "Chyba: Výstupný súbor pre zariadenie %s sa nedá zadaÅ¥.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Chyba: Nedá sa otvoriÅ¥ súbor %s na zápis.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Chyba: Súbor %s už existuje.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "Chyba: Táto chyba by sa vôbec nemala staÅ¥ (%d). Panika!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "Chyba: Nedostatok pamäti v new_audio_reopen_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "Chyba: Nedostatok pamäti v new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "Chyba: Nedostatok pamäti v new_status_message_arg().\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Chyba: Nedostatok pamäti v decoder_buffered_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Chyba: Nedostatok pamäti v decoder_buffered_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "Systémová chyba" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Chyba v spracovaní: %s na riadku %d súboru %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Názov" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Popis" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Typ" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Predvolené" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "žiadny" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "bool" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "char" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "string" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "int" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "float" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "double" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "iný" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(NULL)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(žiadny)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Úspech" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "KÄ¾ÃºÄ sa nenaÅ¡iel" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Žiadny kľúÄ" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Chybná hodnota" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Chybný typ v zozname prepínaÄov" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Neznáma chyba" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "Interná chyba pri spracúvaní prepínaÄov na príkazovom riadku.\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "" "VeľkosÅ¥ vstupnej vyrovnávacej pamäte je menÅ¡ia než minimálna veľkosÅ¥ %d kB." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Chyba \"%s\" pri spracúvaní prepínaÄa konfigurácie z príkazového " "riadku.\n" "=== PrepínaÄ bol: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "Dostupné prepínaÄe:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== Také zariadenie %s neexistuje.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== OvládaÄ %s nie je ovládaÄ výstupu do súboru.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "=== Nedá sa urÄiÅ¥ výstupný súbor bez urÄenia ovládaÄa.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Nesprávny formát prepínaÄa: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Hodnota prebuffer neplatná. Rozsah je 0-100.\n" #: ogg123/cmdline_options.c:202 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 z %s %s\n" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Nedá sa prehrávaÅ¥ každý nultý úsek!\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Nedá sa každý úsek prehrávaÅ¥ nulakrát.\n" "--- Na vykonanie testovacieho dekódovania prosím použite výstupný ovládaÄ " "null.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- Nedá sa otvoriÅ¥ súbor zoznamu skladieb %s. Preskakujem.\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "=== Konflikt predvolieb: Koncový Äas je pred zaÄiatoÄným.\n" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- OvládaÄ %s zadaný v konfiguraÄnom súbore je neplatný.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Nedá sa naÄítaÅ¥ implicitný ovládaÄ a v konfiguraÄnom súbore nie je " "zadaný žiadny ovládaÄ. KonÄím.\n" #: ogg123/cmdline_options.c:307 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:314 #, fuzzy, c-format msgid "Available codecs: " msgstr "Dostupné prepínaÄe:\n" #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:342 #, fuzzy, c-format msgid "File:" msgstr "Soubor: %s" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" #: ogg123/cmdline_options.c:361 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Dostupné prepínaÄe:\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:369 #, fuzzy, c-format msgid "Input options\n" msgstr "Vstup není ogg.\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:374 #, fuzzy, c-format msgid "Decode options\n" msgstr "Popis" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Dostupné prepínaÄe:\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr "" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Chyba: Nedostatok pamäte.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "Chyba: Nepodarilo sa alokovaÅ¥ pamäť v malloc_decoder_stats()\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Chyba: Nepodarilo sa nastaviÅ¥ masku signálov." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Chyba: Nepodarilo sa vytvoriÅ¥ vstupnú vyrovnávaciu pamäť.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "implicitné výstupné zariadenie" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "pomieÅ¡aÅ¥ zoznam skladieb" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:230 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Nemohu pÅ™eskoÄit %f vteÅ™in zvuku." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Zvukové zariadenie: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Autor: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "Poznámky: %s" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Varovanie: Nepodarilo sa preÄítaÅ¥ adresár %s.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Chyba: Nemohu vytvoÅ™it vyrovnávací paměť zvuku.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Nebyl nalezen žádný modul pro Ätení z %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Nemohu otevřít %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Formát souboru %s není podporován.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "Chyba pÅ™i otevírání %s pomocí modulu %s. Soubor je možná poÅ¡kozen.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "PÅ™ehrávám: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Nemohu pÅ™eskoÄit %f vteÅ™in zvuku." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Chyba: Selhání dekódování.\n" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Hotovo." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Díra v proudu; pravdÄ›podobnÄ› neÅ¡kodná\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== Knihovna vorbis ohlásila chybu proudu.\n" #: ogg123/oggvorbis_format.c:361 #, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "Prúd údajov Ogg Vorbis: %d kanál, %ld Hz" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "Vorbis formát: Verzia %d" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "NápovÄ›dy bitrate: vyšší=%ld nominální=%ld nižší=%ld okno=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Kódováno s: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "Chyba: Nedostatek pamÄ›ti v create_playlist_member().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Varovanie: Nepodarilo sa preÄítaÅ¥ adresár %s.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "Varování ze seznamu skladeb %s: Nemohu Äíst adresář %s.\n" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "Chyba: Nedostatek pamÄ›ti v playlist_to_array().\n" #: ogg123/speex_format.c:366 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "Prúd údajov Ogg Vorbis: %d kanál, %ld Hz" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Prúd údajov Ogg Vorbis: %d kanál, %ld Hz" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Verze: %d\n" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Chyba pÅ™i Ätení hlaviÄek\n" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sPrebuf na %.1f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sPozastaveno" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Chyba alokace pamÄ›ti v stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Soubor: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "ÄŒas: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "z %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Prům bitrate: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Vstupní vyrovnávací paměť %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " Výstupní vyrovnávací paměť %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "Chyba: Nemohu alokovat paměť v malloc_data_source_stats()\n" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain (Reference loudness):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:45 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:46 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 #, fuzzy msgid "Comment:" msgstr "Poznámky: %s" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 z %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "CHYBA: Nemohu otevřít vstupní soubor \"%s\": %s\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "CHYBA: Nemohu otevřít výstupní soubor \"%s\": %s\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Nemohu otevřít soubor jako vorbis: %s\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Kódování souboru \"%s\" hotovo\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "standardní vstup" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "standardní výstup" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Chyba pÅ™i odstraňování starého souboru %s\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "CHYBA: NeurÄeny vstupní soubory. Použijte -h pro nápovÄ›du.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "CHYBA: Více vstupních souborů s urÄeným názvem souboru výstupu: doporuÄuji " "použít -n\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "ÄŒteÄ souborů WAV" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "ÄŒteÄ souborů AIFF/AIFC" #: oggenc/audio.c:50 msgid "FLAC file reader" msgstr "ČítaÄ súborov FLAC" #: oggenc/audio.c:51 msgid "Ogg FLAC file reader" msgstr "Ogg ÄítaÄ súborov FLAC" #: oggenc/audio.c:129 oggenc/audio.c:459 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "Varování: NeoÄekávaný EOF pÅ™i Ätení hlaviÄky WAV\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "PÅ™eskakuji úsek typu \"%s\", délka %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Varování: NeoÄekávaný EOF v úseku AIFF\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Varování: V souboru AIFF nenalezen žádný spoleÄný úsek\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Varování: Useknutý spoleÄný úsek v hlaviÄce AIFF\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "Varování: NeoÄekávaný EOF pÅ™i Ätení hlaviÄky AIFF\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "Varování: Useknutý spoleÄný úsek v hlaviÄce AIFF\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Varování: HlaviÄka AIFF-C useknuta.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "Varovanie: Nedokážem spracovaÅ¥ komprimované AIFF-C (%c%c%c%c)\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "Varování: V souboru AIFF nenalezen úsek SSND\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Varování: V hlaviÄce AIFF nalezen poÅ¡kozený úsek SSND\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Varování: NeoÄekávaný EOF pÅ™i Ätení hlaviÄky AIFF\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "Varovanie: OggEnc nepodporuje tento typ súboru AIFF/AIFC\n" " Musí to byÅ¥ 8- alebo 16-bit PCM.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Varování: Úsek nerozpoznaného formátu v hlaviÄce WAV\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "Varování: Úsek NEPLATNÉHO formátu v hlaviÄce wav.\n" " Zkouším pÅ™esto Äíst (možná nebude fungovat)...\n" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "CHYBA: Soubor wav je nepodporovaného typu (musí být standardní PCM\n" " nebo PCM s plovoucí desetinnou Äárku typu 3\n" #: oggenc/audio.c:546 #, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "CHYBA: Súbor wav je nepodporovaným podformátom (musí to byÅ¥ 8-, 16-, alebo " "24-bit PCM\n" "alebo PCM s pohyblivou desatinnou Äiarkou\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "Údaje big endian 24-bit PCM v súÄasnosti nie sú podporované, konÄím.\n" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "Vnútorná chyba: pokus o Äítanie nepodporovanej bitovej hĺbky %d\n" #: oggenc/audio.c:799 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "CHYBA: Dostal jsem nula vzorků z pÅ™evzorkovávaÄe: váš soubor bude useknut. " "Nahlaste toto prosím.\n" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "Nemohu inicializovat pÅ™evzorkovávaÄ\n" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "Nastavuji pokroÄilý pÅ™epínaÄ \"%s\" enkodéru na %s\n" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "Nastavuji pokroÄilý pÅ™epínaÄ \"%s\" enkodéru na %s\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "ZmÄ›nÄ›na frekvence lowpass z %f kHz na %f kHz\n" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "Nerozpoznaný pokroÄilý pÅ™epínaÄ \"%s\"\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, fuzzy, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" "255 kanálů by mÄ›lo být dost pro vÅ¡echny. (Lituji, vorbis nepodporuje více)\n" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "Požadování minimální nebo maximální bitrate vyžaduje --managed\n" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "Inicializace režimu selhala: neplatné parametry pro kvalitu\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "NastaviÅ¥ voliteľné tvrdé obmedzenia kvality\n" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "Nepodarilo sa nastaviÅ¥ min/max bitovú rýchlosÅ¥ v režime kvality\n" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "Inicializace režimu selhala: neplatné parametry pro bitrate\n" #: oggenc/encode.c:374 #, fuzzy, c-format msgid "WARNING: no language specified for %s\n" msgstr "VAROVÃNÃ: Zadán neplatný pÅ™epínaÄ, ignoruji->\n" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "Nemohu zapsat hlaviÄku do výstupního proudu\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Nemohu zapsat hlaviÄku do výstupního proudu\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "Nemohu zapsat hlaviÄku do výstupního proudu\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Nemohu zapsat hlaviÄku do výstupního proudu\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Nemohu zapisovat data do výstupního proudu\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [zostáva %2dm%.2ds] %c" #: oggenc/encode.c:726 #, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tKódujem [zatiaľ %2dm%.2ds] %c" #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Kódování souboru \"%s\" hotovo\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Kódování hotovo.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tDélka souboru: %dm %04.1fs\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tStrávený Äas: %dm %04.1fs\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tPomÄ›r: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tPrůmÄ›r bitrate: %.1f kb/s\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Kóduji %s%s%s do \n" " %s%s%s \n" "pÅ™i průmÄ›rné bitrate %d kb/s " #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Kóduji %s%s%s do \n" " %s%s%s \n" "pÅ™i průmÄ›rné bitrate %d kb/s (VBR kódování povoleno)\n" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Kóduji %s%s%s do\n" " %s%s%s \n" "pÅ™i úrovni kvality %2.2f s použitím omezeného VBR " #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Kóduji %s%s%s do\n" " %s%s%s \n" "pÅ™i kvalitÄ› %2.2f\n" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Kóduji %s%s%s do \n" " %s%s%s \n" "s použitím správy bitrate " #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Nemohu otevřít soubor jako vorbis: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Chyba: Nedostatok pamäte.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "CHYBA: Nemohu otevřít vstupní soubor \"%s\": %s\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 #, fuzzy msgid "RAW file reader" msgstr "ÄŒteÄ souborů WAV" #: oggenc/oggenc.c:131 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "CHYBA: NeurÄeny vstupní soubory. Použijte -h pro nápovÄ›du.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "CHYBA: PÅ™i použití stdin urÄeno více souborů\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "CHYBA: Více vstupních souborů s urÄeným názvem souboru výstupu: doporuÄuji " "použít -n\n" #: oggenc/oggenc.c:217 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" "VAROVÃNÃ: Zadáno nedostateÄnÄ› názvů, implicitnÄ› používám poslední název.\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "CHYBA: Nemohu otevřít vstupní soubor \"%s\": %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Otevírám pomocí modulu %s: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "CHYBA: Vstupní soubor \"%s\" není v podporovaném formátu\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "CHYBA: Vstupní soubor \"%s\" není v podporovaném formátu\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "VAROVÃNÃ: Žádný název souboru, implicitnÄ› \"default.ogg\"\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "CHYBA: Nemohu vytvoÅ™it požadované podadresáře pro jméno souboru výstupu \"%s" "\"\n" #: oggenc/oggenc.c:363 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "CHYBA: Názov vstupného súboru je rovnaký ako výstupného \"%s\"\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "CHYBA: Nemohu otevřít výstupní soubor \"%s\": %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "PÅ™evzorkovávám vstup z %d Hz do %d Hz\n" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Mixuji stereo na mono\n" #: oggenc/oggenc.c:441 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "VAROVANIE: Neviem mixovaÅ¥, iba stereo do mono\n" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "Prispôsobujem vstup na %f\n" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 z %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "VAROVÃNÃ: Ignoruji neplatný znak '%c' ve formátu názvu\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Povoluji systém správy bitrate\n" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "VAROVÃNÃ: Přímá endianness zadána pro nepřímá data. PÅ™edpokládám, že vstup " "je přímý.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "VAROVÃNÃ: Nemohu pÅ™eÄíst argument endianness \"%s\"\n" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "VAROVÃNÃ: Nemohu pÅ™eÄíst frekvenci pÅ™evzorkování \"%s\"\n" #: oggenc/oggenc.c:773 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "Varování: Frekvence pÅ™evzorkování zadána jako %d Hz. Mysleli jste %d Hz?\n" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "Varovanie: Neviem spracovaÅ¥ Å¡kálovací faktor \"%s\"\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Nenalezena žádná hodnota pro pokroÄilý pÅ™epínaÄ enkodéru\n" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "Interní chyba pÅ™i zpracovávání pÅ™epínaÄů příkazového řádku\n" #: oggenc/oggenc.c:831 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "Varování: Použita neplatná poznámka (\"%s\"), ignoruji.\n" #: oggenc/oggenc.c:870 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Varování: nominální bitrate \"%s\" nerozpoznána\n" #: oggenc/oggenc.c:878 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Varování: minimální bitrate \"%s\" nerozpoznána\n" #: oggenc/oggenc.c:892 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Varování: maximální bitrate \"%s\" nerozpoznána\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "PÅ™epínaÄ kvality \"%s\" nerozpoznán, ignoruji jej\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" "VAROVÃNÃ: nastavení kvality příliÅ¡ vysoké, nastavuji na maximální kvalitu.\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "VAROVÃNÃ: Zadáno více formátů názvu, používám poslední\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "VAROVÃNÃ: Zadáno více filtrů formátu názvu, používám poslední\n" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "VAROVÃNÃ: Zadáno více náhrad filtr formátu názvu, používám poslední\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "VAROVÃNÃ: Zadáno více výstupních souborů, doporuÄuji použít -n\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "VAROVÃNÃ: Přímý poÄet bitů/vzorek zadán pro nepřímá data. PÅ™edpokládám, že " "vstup je přímý.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "VAROVÃNÃ: Zadán neplatný poÄet bitů/vzorek, pÅ™edpokládám 16.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "VAROVÃNÃ: Přímý poÄet kanálů zadán po nepřímá data. PÅ™edpokládám, že vstup " "je přím.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "VAROVÃNÃ: Zadán neplatný poÄet kanálů, pÅ™edpokládám 2.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "VAROVÃNÃ: Přímá vzorkovací frekvence zadána pro nepřímá data. PÅ™edpokládám, " "že vstup je přímý.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "VAROVÃNÃ: UrÄena neplatná vzorkovací frekvence, pÅ™edpokládám 44100.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "VAROVÃNÃ: Zadán neplatný pÅ™epínaÄ, ignoruji->\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "Nemohu pÅ™evést poznámku do UTF-8, nemohu ji pÅ™idat\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "Nemohu pÅ™evést poznámku do UTF-8, nemohu ji pÅ™idat\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" "VAROVÃNÃ: Zadáno nedostateÄnÄ› názvů, implicitnÄ› používám poslední název.\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Nemohu vytvoÅ™it adresář \"%s\": %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Chyba pÅ™i kontrole existence adresáře %s: %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "Chyba: segment cesty \"%s\" není adresář\n" #: ogginfo/ogginfo2.c:115 #, fuzzy, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" "Prúd údajov vorbis %d:\n" "\tCelková dĺžka údajov: %I64d bajtov\n" "\tPrehrávací Äas: %ldm:%02ld.%03lds\n" "\tPriemerná bitová rýchlosÅ¥: %f kb/s\n" #: ogginfo/ogginfo2.c:127 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Varování: EOS nenastaveno v proudu %d\n" #: ogginfo/ogginfo2.c:216 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Varování: Neplatná strana hlaviÄky, nenalezen paket\n" #: ogginfo/ogginfo2.c:246 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "Varování: Neplatná strana hlaviÄky v proudu %d, obsahuje více paketů\n" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" "Upozornenie: Prúd údajov %d má sériové Äíslo %d, Äo je síce prípustné, ale " "môže spôsobiÅ¥ problémy niektorým nástrojom,\n" #: ogginfo/ogginfo2.c:278 #, fuzzy, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "" "Varovanie: V údajoch sa naÅ¡la diera, približne na pozícii %l64d bajtov. " "PoÅ¡kodený ogg.\n" #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Chyba pri otváraní vstupného súboru \"%s\": %s\n" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Spracúvam súbor \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "Nepodarilo sa nájsÅ¥ obsluhu pre prúd údajov, vzdávam sa\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "NaÅ¡la sa stránka pre prúd údajov po znaÄke EOS" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" "Obmedzenia pre Ogg muxing boli poruÅ¡ené, nový prúd údajov pred EOS vÅ¡etkých " "predchádzajúcich prúdoch" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "Neznáma chyba." #: ogginfo/ogginfo2.c:337 #, fuzzy, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" "Varovanie: neplatné umiestnenie stránky v logickom prúde %d\n" "Vyzerá to na poÅ¡kodený súbor ogg: %s.\n" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "Nový logický prúd údajov (#%d, sériové: %08x): typ %s\n" #: ogginfo/ogginfo2.c:352 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "" "Varovanie: príznak zaÄiatku prúdu údajov nebol nastavený na prúde údajov %d\n" #: ogginfo/ogginfo2.c:355 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "" "Varovanie: príznak zaÄiatku prúdu údajov sa naÅ¡iel vnútri prúdu údajov %d\n" #: ogginfo/ogginfo2.c:361 #, fuzzy, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" "Varování: mezera Äísel sekvence v proudu %d. Dostal jsem stranu %ld, když " "jsem oÄekával stranu %ld. To indikuje chybÄ›jící data.\n" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "Logický proud %d skonÄil\n" #: ogginfo/ogginfo2.c:384 #, fuzzy, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" "Chyba: V souboru \"%s\" nenalezena data ogg\n" "Vstup pravdÄ›podobnÄ› není ogg.\n" #: ogginfo/ogginfo2.c:395 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 z %s %s\n" #: ogginfo/ogginfo2.c:400 #, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" # FIXME: s/files1/file1/ #: ogginfo/ogginfo2.c:401 #, fuzzy, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" "ogginfo 1.1.0\n" "(c) 2002-2005 Michael Smith \n" "\n" "Použitie: ogginfo [prepínaÄe] súbor1.ogg [súbor2.ogg ... súborN.ogg]\n" "Podporované prepínaÄe:\n" "\t-h ZobraziÅ¥ túto pomocnú sránku\n" "\t-q Menej podrobností vo výpisoch. Použité raz - odstráni informatívne\n" "\t podrobné správy. Dvakrát - odstráni varovania.\n" "\t-v Viac podrobností. Môže to povoliÅ¥ presnejÅ¡ie kontroly\n" "\t pre niektoré typy prúdov údajov.\n" "\n" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:422 #, fuzzy, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" "Použití: ogginfo [pÅ™epínaÄe] soubor1.ogg [soubor2.ogg ... souborN.ogg]\n" "\n" "Ogginfo je nástroj pro vytiÅ¡tÄ›ní informací o souborech ogg\n" "a pro diagnostiku problémů s nimi.\n" "Úplná nápovÄ›da je zobrazena pomocí \"ogginfo -h\".\n" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "Nezadány vstupní soubory. \"ogginfo -h\" pro nápovÄ›du\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: pÅ™epínaÄ `%s' není jednoznaÄný\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: pÅ™epínaÄ `--%s' musí být zadán bez argumentu\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: pÅ™epínaÄ `%c%s' musí být zadán bez argumentu\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: pÅ™epínaÄ `%s' vyžaduje argument\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: neznámý pÅ™epínaÄ `--%s'\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: neznámý pÅ™epínaÄ `%c%s'\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: neznámý pÅ™epínaÄ -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: neznámý pÅ™epínaÄ -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: pÅ™epínaÄ vyžaduje argument -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: pÅ™epínaÄ `-W %s' není jednoznaÄný\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: pÅ™epínaÄ `-W %s' musí být zadán bez argumentu\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Nemohu zpracovat bod Å™ezu \"%s\"\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Nemohu zpracovat bod Å™ezu \"%s\"\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Nemohu otevřít %s pro zápis\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "Použitie: vcut vstup.ogg výstup1.ogg výstup2.ogg [ +bodrezu]\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Nemohu otevřít %s pro Ätení\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Nemohu zpracovat bod Å™ezu \"%s\"\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Spracúvam: Strihám %lld sekunde\n" #: vcut/vcut.c:289 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Spracúvam: Strihám na %lld vzorkách\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "Zpracování selhalo\n" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "KÄ¾ÃºÄ sa nenaÅ¡iel" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Nemohu zapsat poznámky do výstupního souboru: %s\n" #: vcut/vcut.c:505 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Chyba pÅ™i Ätení první strany bitového proudu Ogg." #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Zotavitelná chyba bitového proudu\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Sekundární hlaviÄka poÅ¡kozena\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Chyba bitového proudu, pokraÄuji\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Chyba v primární hlaviÄce: není to vorbis?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "Vstup není ogg.\n" #: vcut/vcut.c:616 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Chyba bitového proudu, pokraÄuji\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "NaÅ¡el jsem EOS pÅ™ed místem Å™ezu.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Chyba pÅ™i Ätení první strany bitového proudu Ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Chyba pÅ™i Ätení prvního paketu hlaviÄky." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "Vstup useknut nebo prázdný." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "Vstup není bitový proud Ogg." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Bitový proud ogg neobsahuje data vorbis." #: vorbiscomment/vcedit.c:555 #, fuzzy msgid "EOF before recognised stream." msgstr "EOF pÅ™ed koncem hlaviÄek vorbis." #: vorbiscomment/vcedit.c:568 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Bitový proud ogg neobsahuje data vorbis." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "PoÅ¡kozená sekundární hlaviÄka." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "EOF pÅ™ed koncem hlaviÄek vorbis." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "PoÅ¡kozená nebo chybÄ›jící data, pokraÄuji..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Chyba pÅ™i zapisování proudu na výstup. Výstupní proud může být poÅ¡kozený " "nebo useknutý." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Nemohu otevřít soubor jako vorbis: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Å patná poznámka: \"%s\"\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "Å¡patná poznámka: \"%s\"\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Nemohu zapsat poznámky do výstupního souboru: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "neurÄena žádná akce\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "Nemohu pÅ™evést poznámku do UTF8, nemohu ji pÅ™idat\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:622 #, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:632 #, fuzzy, c-format msgid "Editing options\n" msgstr "Chybný typ v zozname prepínaÄov" #: vorbiscomment/vcomment.c:633 #, c-format msgid " -a, --append Update comments\n" msgstr "" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" #: vorbiscomment/vcomment.c:672 #, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Interní chyba pÅ™i zpracovávání pÅ™epínaÄů příkazu\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Chyba pÅ™i otevírání vstupního souboru '%s'.\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" "Název vstupního souboru nemůže být stejný jako název výstupního souboru\n" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Chyba pÅ™i otevírání výstupního souboru '%s'.\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Chyba pÅ™i otevírání souboru poznámek '%s'.\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Chyba pÅ™i otevírání souboru poznámek '%s'\n" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "Chyba pÅ™i odstraňování starého souboru %s\n" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "Chyba pÅ™i pÅ™ejmenovávání %s na %s\n" #: vorbiscomment/vcomment.c:938 #, fuzzy, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Chyba pÅ™i odstraňování starého souboru %s\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "ÄŒteÄ souborů WAV" #, fuzzy #~ msgid "Big endian 32 bit PCM data is not currently supported, aborting.\n" #~ msgstr "" #~ "Údaje big endian 24-bit PCM v súÄasnosti nie sú podporované, konÄím.\n" #, fuzzy #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Interní chyba pÅ™i zpracovávání pÅ™epínaÄů příkazu\n" #, fuzzy #~ msgid "oggenc from %s %s" #~ msgstr "ogg123 z %s %s\n" #, fuzzy #~ msgid "" #~ "WARNING: Comment %d in stream %d has invalid format, does not contain " #~ "'=': \"%s\"\n" #~ msgstr "" #~ "Varovanie: Poznámka %d v prúde údajov %d má neplatný formát, neobsahuje " #~ "'=': \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #~ msgstr "" #~ "Varování: Neplatný název pole poznámky v poznámce %d (proud %d): \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #~ msgstr "" #~ "Varování: Neplatná sekvence UTF-8 v poznámce %d (proud %d): Å¡patná znaÄka " #~ "délky\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #~ msgstr "" #~ "Varování: Neplatná sekvence UTF-8 v poznámce %d (proud %d): příliÅ¡ málo " #~ "bajtů\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence \"%s\": %s\n" #~ msgstr "" #~ "Varování: Neplatná sekvence UTF-8 v poznámce %d (proud %d): neplatná " #~ "sekvence\n" #, fuzzy #~ msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" #~ msgstr "Varování: Selhání v dekodéru utf8. To by nemÄ›lo být možné\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Theora header packet - invalid Theora stream " #~ "(%d)\n" #~ msgstr "" #~ "Varovanie: Nepodarilo sa dekódovaÅ¥ hlaviÄkový paket theora - neplatný " #~ "prúd údajov theora (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Theora stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Varovanie: Prúd údajov theora %d nemá hlaviÄky správne rámcované. " #~ "Posledná strana hlaviÄky obsahuje nadbytoÄné pakety alebo má nenulovú " #~ "granulepos\n" #~ msgid "Theora headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "HlaviÄky theora spracované pre prúd údajov %d, nasledujú informácie...\n" #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Verzia: %d.%d.%d\n" #~ msgid "Vendor: %s\n" #~ msgstr "Dodavatel: %s\n" #~ msgid "Width: %d\n" #~ msgstr "Šírka: %d\n" #~ msgid "Height: %d\n" #~ msgstr "Výška: %d\n" #~ msgid "Total image: %d by %d, crop offset (%d, %d)\n" #~ msgstr "Celkový obraz: %d o %d, orezaÅ¥ posun (%d, %d)\n" #~ msgid "Frame offset/size invalid: width incorrect\n" #~ msgstr "Neplatný posun/veľkosÅ¥ rámca: nesprávna šírka\n" #~ msgid "Frame offset/size invalid: height incorrect\n" #~ msgstr "Neplatný posun/veľkosÅ¥ rámca: nesprávna výška\n" #~ msgid "Invalid zero framerate\n" #~ msgstr "Neplatná nulová rýchlosÅ¥ rámcov\n" #~ msgid "Framerate %d/%d (%.02f fps)\n" #~ msgstr "RýchlosÅ¥ rámcov %d/%d (%.02f fps)\n" #~ msgid "Aspect ratio undefined\n" #~ msgstr "Pomer strán nebol definovaný\n" #~ msgid "Frame aspect 4:3\n" #~ msgstr "Pomer strán 4:3\n" #~ msgid "Frame aspect 16:9\n" #~ msgstr "Pomer strán 16:9\n" #, fuzzy #~ msgid "Frame aspect %f:1\n" #~ msgstr "Pomer strán 4:3\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" #~ msgstr "Farebný priestor: Rec. ITU-R BT.470-6 Systém M (NTSC)\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" #~ msgstr "Farebný priestor: Rec. ITU-R BT.470-6 Systémy B a G (PAL)\n" #~ msgid "Colourspace unspecified\n" #~ msgstr "Nebol zadaný farebný priestor\n" #~ msgid "Pixel format 4:2:0\n" #~ msgstr "Formát pixelov 4:2:0\n" #~ msgid "Pixel format 4:2:2\n" #~ msgstr "Formát pixelov 4:2:2\n" #~ msgid "Pixel format 4:4:4\n" #~ msgstr "Formát pixelov 4:4:4\n" #~ msgid "Pixel format invalid\n" #~ msgstr "Neplatný formát pixelov\n" #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "Cieľová bitová rýchlosÅ¥: %d kb/s\n" #~ msgid "Nominal quality setting (0-63): %d\n" #~ msgstr "Číselné nastavenie kvality (0-63): %d\n" #~ msgid "User comments section follows...\n" #~ msgstr "Následuje oblast poznámek uživatele...\n" #, fuzzy #~ msgid "WARNING: granulepos in stream %d decreases from %" #~ msgstr "Varovanie: granulepos v prúde údajov %d sa znižuje z %lld na %lld" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream " #~ "(%d)\n" #~ msgstr "" #~ "Varování: Nemohu dekódovat paket hlaviÄky vorbis - neplatný proud vorbis " #~ "(%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Varování: Proud vorbis %d nemá hlaviÄky správnÄ› umístÄ›né v rámech. " #~ "Poslední strana hlaviÄky obsahuje další pakety nebo má nenulovou " #~ "granulepos\n" #~ msgid "Vorbis headers parsed for stream %d, information follows...\n" #~ msgstr "HlaviÄky vorbis zpracovány pro proud %d, následují informace...\n" #~ msgid "Version: %d\n" #~ msgstr "Verze: %d\n" #~ msgid "Vendor: %s (%s)\n" #~ msgstr "Dodavatel: %s (%s)\n" #~ msgid "Channels: %d\n" #~ msgstr "Kanálů: %d\n" #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "" #~ "Frekvence: %ld\n" #~ "\n" #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "Nominální bitrate: %f kb/s\n" #~ msgid "Nominal bitrate not set\n" #~ msgstr "Nominální bitrate nenastavena\n" #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "Vyšší bitrate: %f kb/s\n" #~ msgid "Upper bitrate not set\n" #~ msgstr "Vyšší bitrate nenastavena\n" #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "Nižší bitrate: %f kb/s\n" #~ msgid "Lower bitrate not set\n" #~ msgstr "Nižší bitrate nenastavena\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Kate header packet %d - invalid Kate stream " #~ "(%d)\n" #~ msgstr "" #~ "Varovanie: Nepodarilo sa dekódovaÅ¥ hlaviÄkový paket theora - neplatný " #~ "prúd údajov theora (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: packet %d does not seem to be a Kate header - invalid Kate " #~ "stream (%d)\n" #~ msgstr "" #~ "Varovanie: Nepodarilo sa dekódovaÅ¥ hlaviÄkový paket theora - neplatný " #~ "prúd údajov theora (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Kate stream %d does not have headers correctly framed. Terminal " #~ "header page contains additional packets or has non-zero granulepos\n" #~ msgstr "" #~ "Varovanie: Prúd údajov theora %d nemá hlaviÄky správne rámcované. " #~ "Posledná strana hlaviÄky obsahuje nadbytoÄné pakety alebo má nenulovú " #~ "granulepos\n" #, fuzzy #~ msgid "Kate headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "HlaviÄky theora spracované pre prúd údajov %d, nasledujú informácie...\n" #, fuzzy #~ msgid "Version: %d.%d\n" #~ msgstr "Verzia: %d.%d.%d\n" #, fuzzy #~ msgid "Category: %s\n" #~ msgstr "Dodavatel: %s\n" #, fuzzy #~ msgid "No category set\n" #~ msgstr "Nominální bitrate nenastavena\n" #, fuzzy #~ msgid "Invalid zero granulepos rate\n" #~ msgstr "Neplatná nulová rýchlosÅ¥ rámcov\n" #, fuzzy #~ msgid "Granulepos rate %d/%d (%.02f gps)\n" #~ msgstr "RýchlosÅ¥ rámcov %d/%d (%.02f fps)\n" #, fuzzy #~ msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" #~ msgstr "" #~ "Varovanie: V údajoch sa naÅ¡la diera približne na pozícii %lld bajtov. " #~ "PoÅ¡kodený ogg.\n" #~ msgid "Page error. Corrupt input.\n" #~ msgstr "Chyba strany. PoÅ¡kozený vstup.\n" #, fuzzy #~ msgid "Setting EOS: update sync returned 0\n" #~ msgstr "Nastavuji eso: aktualizace synchronizace vrátila 0\n" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "Místo Å™ezu není uvnitÅ™ proudu. Druhý soubor bude prázdný\n" #~ msgid "Unhandled special case: first file too short?\n" #~ msgstr "Neobsloužený speciální případ: první soubor příliÅ¡ krátký?\n" #, fuzzy #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "Místo Å™ezu není uvnitÅ™ proudu. Druhý soubor bude prázdný\n" #, fuzzy #~ msgid "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " Ogg page. File may not decode correctly.\n" #~ msgstr "" #~ "CHYBA: První dva pakety zvuku se neveÅ¡ly do jedné\n" #~ " strany ogg. Soubor se možná nebude dekódovat správnÄ›.\n" #, fuzzy #~ msgid "Update sync returned 0, setting EOS\n" #~ msgstr "Aktualizace synchronizace vrátila 0, nastavuji eos\n" #~ msgid "Bitstream error\n" #~ msgstr "Chyba bitového proudu\n" #~ msgid "Error in first page\n" #~ msgstr "Chyba v první stranÄ›\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "chyba v prvním paketu\n" #~ msgid "EOF in headers\n" #~ msgstr "EOF v hlaviÄkách\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "VAROVÃNÃ: vcut je stále experimentální kód.\n" #~ "Zkontrolujte, že výstupní soubory jsou správné, pÅ™ed odstranÄ›ním zdrojů.\n" #~ "\n" #~ msgid "Error reading headers\n" #~ msgstr "Chyba pÅ™i Ätení hlaviÄek\n" #~ msgid "Error writing first output file\n" #~ msgstr "Chyba pÅ™i zapisování prvního souboru výstupu\n" #~ msgid "Error writing second output file\n" #~ msgstr "Chyba pÅ™i zapisování druhého souboru výstupu\n" #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 z %s %s\n" #~ " od Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Použitie: ogg123 [] ...\n" #~ "\n" #~ " -h, --help tento pomocný text\n" #~ " -V, --version zobraziÅ¥ verziu Ogg123\n" #~ " -d, --device=d používa 'd' ako výstupné zariadenie\n" #~ " Možné zariadenia sú ('*'=živo, '@'=súbor):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" #~ " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -@, --list=filename Read playlist of files and URLs from \"filename" #~ "\"\n" #~ " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n Load n%% of the input buffer before playing\n" #~ " -v, --verbose Display progress and other status information\n" #~ " -q, --quiet Don't display anything (no title)\n" #~ " -x n, --nth Play every 'n'th block\n" #~ " -y n, --ntimes Repeat every played block 'n' times\n" #~ " -z, --shuffle Shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s Set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=názov súboru NastaviÅ¥ názov súboru výstupu pre zariadenie\n" #~ " súboru urÄené predtým (pomocou -d).\n" #~ " -k n, --skip n PreskoÄiÅ¥ prvých 'n' sekúnd\n" #~ " -o, --device-option=k:v odovzdáva Å¡peciálny prepínaÄ k s hodnotou\n" #~ " v zariadeniu urÄenému predtým (pomocou -d). Ak chcete viac " #~ "informácií\n" #~ " viz manuálovú stránku.\n" #~ " -b n, --buffer n používaÅ¥ vstupnú vyrovnávaciu pamäť 'n' kilobajtov\n" #~ " -p n, --prebuffer n naÄítaÅ¥ n%% vstupné vyrovnávacie pamäte pred " #~ "prehrávaním\n" #~ " -v, --verbose zobrazovaÅ¥ priebeh a iné stavové informácie\n" #~ " -q, --quiet nezobrazovaÅ¥ niÄ (žiadny názov)\n" #~ " -x n, --nth prehrávaÅ¥ každý 'n'tý blok\n" #~ " -y n, --ntimes zopakovaÅ¥ každý prehrávaný blok 'n'-krát\n" #~ " -z, --shuffle pomieÅ¡aÅ¥ poradie prehrávania\n" #~ "\n" #~ "ogg123 preskoÄí na ÄalÅ¡iu pieseň pri SIGINT (Ctrl-C); dva SIGINTy v " #~ "rámci\n" #~ "s milisekúnd spôsobí ukonÄenie ogg123.\n" #~ " -l, --delay=s nastaviÅ¥ s [milisekúnd] (implicitne 500).\n" #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -v, --version Print the version number\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps. By default, this produces a VBR\n" #~ " encoding, equivalent to using -q or --quality.\n" #~ " See the --managed option to use a managed bitrate\n" #~ " targetting the selected bitrate.\n" #~ " --managed Enable the bitrate management engine. This will " #~ "allow\n" #~ " much greater control over the precise bitrate(s) " #~ "used,\n" #~ " but encoding will be much slower. Don't use it " #~ "unless\n" #~ " you have a strong need for detailed control over\n" #~ " bitrate, such as for streaming.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel. Using this will\n" #~ " automatically enable managed bitrate mode (see\n" #~ " --managed).\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications. Using this will " #~ "automatically\n" #~ " enable managed bitrate mode (see --managed).\n" #~ " --advanced-encode-option option=value\n" #~ " Sets an advanced encoder option to the given " #~ "value.\n" #~ " The valid options (and their values) are " #~ "documented\n" #~ " in the man page supplied with this program. They " #~ "are\n" #~ " for advanced users only, and should be used with\n" #~ " caution.\n" #~ " -q, --quality Specify quality, between -1 (very low) and 10 " #~ "(very\n" #~ " high), instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " The default quality level is 3.\n" #~ " --resample n Resample input data to sampling rate n (Hz)\n" #~ " --downmix Downmix stereo to mono. Only allowed on stereo\n" #~ " input.\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" #~ " being copied to the output Ogg Vorbis file.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times. The argument should be in the\n" #~ " format \"tag=value\".\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 24, 16, or 8 bit PCM WAV, AIFF, or " #~ "AIFF/C\n" #~ " files, 32 bit IEEE floating point WAV, and optionally FLAC or Ogg FLAC. " #~ "Files\n" #~ " may be mono or stereo (or more channels) and any sample rate.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16 bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an output filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "Použitie: oggenc [možnosti] vstup.wav [...]\n" #~ "\n" #~ "MOŽNOSTI:\n" #~ " VÅ¡eobecné:\n" #~ " -Q, --quiet NeposielaÅ¥ žiadny výstup na stderr\n" #~ " -h, --help VypísaÅ¥ tento pomocný text\n" #~ " -r, --raw Surový režim. Vstupné súbory sa Äítajú priamo ako " #~ "PCM údaje\n" #~ " -B, --raw-bits=n NastaviÅ¥ bity/vzorka pre surový vstup. Predvolene " #~ "je 16\n" #~ " -C, --raw-chan=n NastaviÅ¥ poÄet kanálov pre surový vstup. Predvolene " #~ "je 2\n" #~ " -R, --raw-rate=n NastaviÅ¥ vzorky/s pre surový vstup. Predvolene je " #~ "44100\n" #~ " --raw-endianness 1 pre big endian, 0 pre little (predvolene je 0)\n" #~ " -b, --bitrate Výber cieľovej nominálnej bitovej rýchlosti.\n" #~ " Pokúsi sa kódovaÅ¥ priemerne do tejto bitovej " #~ "rýchlosti.\n" #~ " Berie parameter v kb/s. ZvyÄajne je výsledkom VBR.\n" #~ " Inou možnosÅ¥ou je použiÅ¥ -q, --quality.\n" #~ " Pozrite tiež možnosÅ¥ --managed.\n" #~ "--managed Zapne systém správy bitovej rýchlosti. Umožňuje\n" #~ " väÄÅ¡iu presnosÅ¥ dodržania želanej bitovej " #~ "rýchlosti.\n" #~ " Kódovanie vÅ¡ak bude omnoho pomalÅ¡ie.\n" #~ " Ak nepotrebujete úplnú kontrolu nad bitovou " #~ "rýchlosÅ¥ou,\n" #~ " napríklad pri streamingu, tak to nepoužívajte.\n" #~ " -m, --min-bitrate Zadanie minimálnej bitovej rýchlosti (v kb/s).\n" #~ " UžitoÄné pre kódovanie pre kanál fixnej " #~ "priepustnosti.\n" #~ " Automaticky zapína voľbu --managed.\n" #~ " -M, --max-bitrate Zadanie maximálnej bitovej rýchlosti (v kb/s).\n" #~ " UžitoÄné pre streaming.\n" #~ " Automaticky zapína voľbu --managed.\n" #~ " --advanced-encode-option option=hodnota\n" #~ " Nastavuje pokroÄilú možnosÅ¥ enkodéra na zadanú " #~ "hodnotu.\n" #~ " Platné možnosti (a ich hodnoty) sú zdokumentované\n" #~ " v man stránkach tohto programu. Sú urÄené len pre\n" #~ " skúsených používateľov a používajú sa opatrne.\n" #~ " -q, --quality Zadanie kvality medzi -1 (najnižšia) a 10 " #~ "(najvyššia),\n" #~ " namiesto zadávania konkrétnej bitovej rýchlosti.\n" #~ " Toto je normálny režim práce.\n" #~ " Možné sú aj hodnoty s desatinnou presnosÅ¥ou\n" #~ " (napr. 2.75). Predvolená hodnota je 3.\n" #~ " --resample n PrevzorkovaÅ¥ vstupné údaje na frekvenciu n (Hz)\n" #~ " --downmix ZmieÅ¡aÅ¥ stereo na mono. Povolené len pre\n" #~ " stereo vstup.\n" #~ " -s, --serial Zadanie sériového Äísla prúdu údajov.\n" #~ " KeÄ se kóduje viacero súborov, zvýši sa pre každý\n" #~ " prúd po tom prvom.\n" #~ " --discard-comments Zabráni preneseniu poznámok z FLAC\n" #~ " a Ogg FLAC do výstupného súboru Ogg Vorbis.\n" #~ " Pomenovanie:\n" #~ " -o, --output=nz ZapísaÅ¥ súbor do nz (platné len v režime jedného " #~ "súboru)\n" #~ " -n, --names=reÅ¥azec TvoriÅ¥ názvy súborov ako tento reÅ¥azec,\n" #~ " s %%a, %%t, %%l, kde %%n, %%d sa nahradí\n" #~ " umelcom, resp. názvom, albumom, Äíslom stopy\n" #~ " a dátumom (viz nižšie pre ich zadanie).\n" #~ " %%%% dáva doslovné %%.\n" #~ " -X, --name-remove=s OdstrániÅ¥ urÄené znaky z parametrov\n" #~ " reÅ¥azca formátu -n. Vhodné pre zabezpeÄenie\n" #~ " platných názvov súborov.\n" #~ " -P, --name-replace=s NahradiÅ¥ znaky, ktoré odstránilo --name-remove\n" #~ " pomocou zadaných znakov. Ak je tento reÅ¥azec kratší\n" #~ " než zoznam --name-remove alebo nie je zadaný,\n" #~ " prebytoÄné znaky sa jednoducho odstránia.\n" #~ " Predvolené nastavenie pre obidva parametre závisia\n" #~ " na jednotlivej platforme.\n" #~ " -c, --comment=c PridaÅ¥ daný reÅ¥azec ako ÄalÅ¡iu poznámku.\n" #~ " Dá sa použiÅ¥ viackrát. Parameter musí byÅ¥ v tvare\n" #~ " \"znaÄka=hodnota\".\n" #~ " -d, --date Dátum pré túto stopu (zvyÄajne dátum výkonu)\n" #~ " -N, --tracknum Číslo pre túto stopu\n" #~ " -t, --title Názov pre túto stopu\n" #~ " -l, --album Názov albumu\n" #~ " -a, --artist Meno umelca\n" #~ " -G, --genre Žáner stopy\n" #~ " Ak sú zadané viaceré vstupné súbory, použije sa\n" #~ " viacero inÅ¡tancií predchádzajúcich 5 parametrov,\n" #~ " v poradí ako boli zadané. Ak je zadaných menej\n" #~ " názvov než súborov, OggEnc zobrazí varovanie\n" #~ " a znovu použije posledný pre vÅ¡etky zostávajúce\n" #~ " súbory. Ak je zadaných menej Äísel stopy, zvyÅ¡né\n" #~ " súbory sa neoÄíslujú. Pre ostatné sa použije\n" #~ " posledná zadaná znaÄka, bez varovania (takže\n" #~ " môžete napríklad zadaÅ¥ dátum, ktorý sa použije\n" #~ " pre vÅ¡etky súbory).\n" #~ "\n" #~ "VSTUPNÉ SÚBORY:\n" #~ " Vstupné súbory OggEnc musia byÅ¥ v súÄasnosti 24-, 16- alebo\n" #~ " 8-bitové PCM WAV, AIFF alebo AIFF/C, 32-bitové IEEE WAV\n" #~ " s pohyblivou desatinnou Äiarkou, alebo FLAC alebo Ogg FLAC.\n" #~ " Súbory môžu byÅ¥ mono alebo stereo (alebo viackanálové)\n" #~ " s ľubovoľnou vzorkovacou frekvenciou. Dá sa tiež použiÅ¥ prepínaÄ\n" #~ " --raw pre použitie surového súboru PCM údajov, ktorý musí byÅ¥\n" #~ " 16-bitový stereo little edian PCM ('bezhlaviÄkový wav'),\n" #~ " ak nie sú zadané ÄalÅ¡ie parametre pre surový režim.\n" #~ " Ak zadáte - ako názov vstupného súboru, bude sa ÄítaÅ¥ zo stdin.\n" #~ " V tomto režime ide výstup na stdout, ale môže ísÅ¥ aj do súboru,\n" #~ " ak zadáte normálny názov výstupného súboru pomocou -o\n" #~ "\n" #~ msgid "Frame aspect 1:%d\n" #~ msgstr "Pomer strán 1:%d\n" #~ msgid "Warning: granulepos in stream %d decreases from %I64d to %I64d" #~ msgstr "Varovanie: granulepos v prúde údajov %d sa znižuje z %I64d na %I64d" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %I64d bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "Prúd údajov theora %d:\n" #~ "\tCelková dĺžka údajov: %I64d bajtov\n" #~ "\tPrehrávací Äas: %ldm:%02ld.%03lds\n" #~ "\tPriemerná bitová rýchlosÅ¥: %f kb/s\n" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %lld bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "Prúd údajov theora %d:\n" #~ "\tCelková dĺžka údajov: %lld bajtov\n" #~ "\tPrehrávací Äas: %ldm:%02ld.%03lds\n" #~ "\tPriemerná bitová rýchlosÅ¥: %f kb/s\n" #~ msgid "" #~ "Negative granulepos on vorbis stream outside of headers. This file was " #~ "created by a buggy encoder\n" #~ msgstr "" #~ "Záporné granulepos na prúde údajov vorbis mimo hlaviÄiek. Tento súbor bol " #~ "vytvorený chybným enkodérom\n" #~ msgid "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %lld bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "Prúd údajov vorbis %d:\n" #~ "\tCelková dĺžka údajov: %lld bajtov\n" #~ "\tPrehrávací Äas: %ldm:%02ld.%03lds\n" #~ "\tPriemerná bitová rýchlosÅ¥: %f kb/s\n" #, fuzzy #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ " Raw mode (--raw, -R) will read and write comments in UTF-8,\n" #~ " rather than converting to the user's character set. This is\n" #~ " useful for using vorbiscomment in scripts. However, this is\n" #~ " not sufficient for general round-tripping of comments in all\n" #~ " cases.\n" #~ msgstr "" #~ "Použití: \n" #~ " vorbiscomment [-l] soubor.ogg (pro vypsání poznámek)\n" #~ " vorbiscomment -a vstup.ogg výstup.ogg (pro pÅ™ipojení poznámek)\n" #~ " vorbiscomment -w vstup.ogg výstup.ogg (pro zmÄ›nu poznámek)\n" #~ "\tv případÄ› zápisu je na stdin oÄekávána sada poznámek\n" #~ "\tve tvaru 'ZNAÄŒKA=hodnota'. Tato sada úplnÄ› nahradí\n" #~ "\texistující sadu.\n" #~ " Jak -a, tak -w mohou dostat jen jeden název souboru,\n" #~ " v tom případÄ› bude použit doÄasný soubor.\n" #~ " -c může být použito pro vytvoÅ™ení poznámek z urÄeného souboru\n" #~ " místo stdin.\n" #~ " Příklad: vorbiscomment -a vstup.ogg -c poznámky.txt\n" #~ " pÅ™ipojí poznámky v poznámky.txt do vstup.ogg\n" #~ " KoneÄnÄ›, můžete zadat jakýkoli poÄet znaÄek, které pÅ™idat,\n" #~ " na příkazové řádce pomocí pÅ™epínaÄe -t. NapÅ™.\n" #~ " vorbiscomment -a vstup.ogg -t \"ARTIST=NÄ›jaký Chlapík\" -t " #~ "\"TITLE=Název\"\n" #~ " (vÅ¡imnÄ›te si, že pÅ™i použití tohoto je Ätení poznámek ze souboru\n" #~ " poznámek nebo stdin zakázáno)\n" #~ " Přímý režim (--raw, -R) bude Äíst a zapisovat poznámky v utf8,\n" #~ " místo jejich konverze do znakové sady uživatele. To je\n" #~ " užiteÄné pro používání vorbiscomment ve skriptech. Není to ale\n" #~ " dostateÄné pro obecný pohyb poznámek ve vÅ¡ech případech.\n" vorbis-tools-1.4.2/po/nl.po0000644000175000017500000033752714002243560012505 00000000000000# Dutch translation for vorbis-tools. # Copyright (C) 2008 Free Software Foundation, Inc. # This file is distributed under the same license as the vorbis-tools package. # Taco Witte , 2002. # Elros Cyriatan , 2003, 2004. # # msgid "" msgstr "" "Project-Id-Version: vorbis-tools-1.3.0pre2\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2008-11-13 15:44+0100\n" "Last-Translator: Erwin Poeze \n" "Language-Team: Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:118 #, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "FOUT: geheugentekort in malloc_action().\n" #: ogg123/buffer.c:384 #, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "FOUT: kan geen geheugen reserveren in malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 msgid "ERROR: Device not available.\n" msgstr "FOUT: apparaat niet beschikbaar.\n" #: ogg123/callbacks.c:79 #, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "FOUT: %s heeft een uitvoerbestandsnaam nodig, op te geven met -f.\n" #: ogg123/callbacks.c:82 #, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "FOUT: niet-ondersteunde optiewaarde naar %s-apparaat.\n" #: ogg123/callbacks.c:86 #, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "FOUT: kan apparaat %s niet openen.\n" #: ogg123/callbacks.c:90 #, c-format msgid "ERROR: Device %s failure.\n" msgstr "FOUT: apparaat %s werkt niet.\n" #: ogg123/callbacks.c:93 #, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "FOUT: voor apparaat %s kan geen uitvoerbestanden worden gegeven.\n" #: ogg123/callbacks.c:96 #, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "FOUT: kan bestand %s niet openen om naar te schrijven.\n" #: ogg123/callbacks.c:100 #, c-format msgid "ERROR: File %s already exists.\n" msgstr "FOUT: bestand %s bestaat al.\n" #: ogg123/callbacks.c:103 #, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "FOUT: deze fout mag niet voorkomen (%d). Paniek!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "FOUT: geheugentekort in new_audio_reopen_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "FOUT: geheugentekort in new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "FOUT: geheugentekort in new_status_message_arg().\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "FOUT: geheugentekort in decoder_buffered_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "FOUT: geheugentekort in decoder_buffered_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "Systeemfout" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Ontleedfout: %s op regel %d van %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Naam" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Beschrijving" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Soort" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Standaard" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "geen" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "bool" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "char" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "string" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "int" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "float" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "double" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "andere" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(NULL)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(geen)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Succes" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Sleutel niet gevonden" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Geen sleutel" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Onjuiste waarde" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Onjuiste soort in optielijst" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Onbekende fout" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "Interne fout bij ontleden opdrachtregelopties\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Grootte invoerbuffer kleiner dan ondergrens van %d kB." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Fout \"%s\" bij ontleden configuratieoptie van opdrachtregel.\n" "=== Optie was: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "Beschikbare opties:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== Zo'n apparaat bestaat niet: %s.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== Stuurprogramma %s is niet voor bestandsuitvoer.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "" "=== Kan geen uitvoerbestand opgeven zonder een uitvoerstuurprogramma.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Optie verkeerd opgegeven: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Waarde voorloopbuffer is onjuist. Bereik is 0-100.\n" #: ogg123/cmdline_options.c:202 #, c-format msgid "ogg123 from %s %s" msgstr "ogg123 uit %s %s" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Kan niet elk 0de-blok afspelen!\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Kan niet elk blok 0 keer afspelen.\n" "--- Om het decoderen te testen, kunt u het null-uitvoerstuurprogramma " "gebruiken.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- Kan bestand met afspeellijst %s niet openen. Overgeslagen.\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "=== Conflicterende optie: eindtijd ligt voor starttijd.\n" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- Aangegeven stuurprogramma %s in configuratiebestand is onjuist.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Kan het standaardstuurprogramma niet laden en configuratiebestand bevat " "ook geen stuurprogramma. Stoppen.\n" #: ogg123/cmdline_options.c:307 #, fuzzy, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" "ogg123 van %s %s\n" " door de Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" "Gebruik: ogg123 [opties] bestand...\n" "Ogg-geluidsbestanden en -netwerkstromen afspelen.\n" "\n" #: ogg123/cmdline_options.c:314 #, c-format msgid "Available codecs: " msgstr "Beschikbare codecs: " #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "FLAC, " #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "Speex, " #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" "Ogg Vorbis.\n" "\n" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "Uitvoeropties\n" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" " -d app, --device app gebruik uitvoerapparaat \"app\". Beschikbare " "apparaten:\n" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "Rechtstreeks:" #: ogg123/cmdline_options.c:342 #, c-format msgid "File:" msgstr "Bestand:" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" " -f bestand, --file bestand\n" " geef de naam van het uitvoerbestand voor\n" " een bestandsapparaat dat eerder opgegeven is\n" " met --device.\n" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" " --audio-buffer n gebruik een buffergrootte van 'n' kilobytes\n" " voor de geluidsuitvoer\n" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" " -o k:v, --device-option k:v\n" " geef de speciale optie 'k' met de waarde 'v' door\n" " aan het apparaat dat met --device gespecificeerd " "is.\n" " Kijk in ogg123-manpagina voor mogelijke 'device-" "options'.\n" #: ogg123/cmdline_options.c:361 #, c-format msgid "Playlist options\n" msgstr "Opties van afspeellijst\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" " -@ bestand, --list bestand\n" " lees afspeellijst van bestanden en URL's uit\n" " \"bestand\"\n" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr " -r, --repeat herhaal afspeellijst oneindig\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr " -R, --remote gebruikt afstandsbedieninginterface\n" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" " -z, --shuffle geef afspeellijst een willekeurige\n" " volgorde vóór het afspelen\n" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" " -Z, --random speel bestanden in willekeurige volgorde\n" " tot onderbreking\n" #: ogg123/cmdline_options.c:369 #, c-format msgid "Input options\n" msgstr "Invoeropties\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr " -b n, --buffer n gebruik een invoerbuffer van 'n' kilobytes\n" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" " -p n, --prebuffer n laad n%% van de invoerbuffer vóór het afspelen\n" #: ogg123/cmdline_options.c:374 #, c-format msgid "Decode options\n" msgstr "Decodeeropties\n" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" " -k n, --skip n sla de eerste 'n' seconden over (of gebruik\n" " hh:mm:ss)\n" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" " -K n, --end n stop bij 'n' seconden (of gebruik hh:mm:ss)\n" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr " -x n, --nth n speel ieder 'n'-de blok af\n" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr " -y n, --ntimes n herhaal ieder afgespeeld blok 'n' maal\n" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, c-format msgid "Miscellaneous options\n" msgstr "Diverse opties\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" " -l s, --delay s eindwachttijd instellen in milliseconden. ogg123\n" " slaat de rest van het nummer over bij SIGINT\n" " (CTRL-C) en stopt volledig bij een dubbele SIGINT\n" " binnen een tijdbestek van 's'. (standaard 500ms)\n" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr " -h, --help deze hulptekst tonen\n" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr " -q, --quiet niets (geen titel) tonen\n" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr " -v, --verbose voortgang en andere statusinformatie tonen\n" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr " -V, --version ogg123-versie tonen\n" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, c-format msgid "ERROR: Out of memory.\n" msgstr "FOUT: geheugentekort.\n" #: ogg123/format.c:90 #, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "FOUT: kon geen geheugen reserveren in malloc_decoder_stats()\n" #: ogg123/http_transport.c:145 msgid "ERROR: Could not set signal mask." msgstr "FOUT: kon signaalmasker niet instellen." #: ogg123/http_transport.c:202 msgid "ERROR: Unable to create input buffer.\n" msgstr "Error: kan geen invoerbuffer maken.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "standaarduitvoerapparaat" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "zet afspeellijst in willekeurige volgorde" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "afspeellijst oneindig herhalen" #: ogg123/ogg123.c:230 #, c-format msgid "Could not skip to %f in audio stream." msgstr "Kon niet naar %f opschuiven in geluidsstroom." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Geluidsapparaat: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Auteur: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "Opmerkingen: %s" #: ogg123/ogg123.c:421 #, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "WAARSCHUWING: kon map %s niet lezen.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "FOUT: kon geen geluidsbuffer maken.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "kon geen module vinden om van %s te lezen.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Kan %s niet openen.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Het bestandsformaat van %s wordt niet ondersteund.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" "Fout bij openen %s met module %s. Mogelijk is het bestand beschadigd.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "Afspelen: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Kon niet %f seconden overslaan." #: ogg123/ogg123.c:666 msgid "ERROR: Decoding failure.\n" msgstr "FOUT: decoderen is mislukt.\n" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "FOUT: schrijven naar buffer is mislukt.\n" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Klaar." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Gat in stroom; waarschijnlijk geen probleem\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== Vorbisbibliotheek heeft stroomfout gerapporteerd.\n" #: ogg123/oggvorbis_format.c:361 #, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "Ogg-Vorbisstroom: %d kanaal, %ld Hz" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "Vorbisindeling: versie %d" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "Bitsnelheid aanwijzingen: boven=%ld nominaal=%ld onder=%ld venster=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Gecodeerd door: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "FOUT: geheugentekort in create_playlist_member().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "WAARSCHUWING: kon map %s niet lezen.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "Waarschuwing van afspeellijst %s: kan map %s niet lezen.\n" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "FOUT: geheugentekort in playlist_to_array().\n" #: ogg123/speex_format.c:366 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "Ogg-Speexstroom: %d-kanaal, %d Hz, %s-modus (VBR)" #: ogg123/speex_format.c:372 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Ogg-Speexstroom: %d-kanaal, %d Hz, %s-modus" #: ogg123/speex_format.c:378 #, c-format msgid "Speex version: %s" msgstr "Speexversie: %s" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "Onjuiste/beschadigde opmerkingen" #: ogg123/speex_format.c:478 msgid "Cannot read header" msgstr "Fout tijdens lezen kop" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "Modusnummer %d bestaat niet (meer) in deze versie" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" "Het bestand is met een nieuwere versie van Speex gecodeerd.\n" " U zult een nieuwe versie moeten gebruiken om het bestand af te spelen.\n" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" "Het bestand is met een oudere versie van Speex gecodeerd.\n" "U zult een oudere versie moeten gebruiken om het bestand af te spelen." #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sVoorloopbuffer voor %.1f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sgepauzeerd" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Geheugenreserveringsfout in stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Bestand: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "Tijd: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "van %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Gemiddelde bitsnelheid: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Invoerbuffer %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " Uitvoerbuffer %5.1f%%" #: ogg123/transport.c:71 #, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "FOUT: kan geen geheugen reserveren in malloc_data_source_stats()\n" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "Spoornummer:" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain (Reference loudness):" msgstr "Herspeelfactor (Nummer):" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "Herspeelfactor (Nummer):" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "Herspeelfactor (Album):" #: ogg123/vorbis_comments.c:45 msgid "ReplayGain Peak (Track):" msgstr "Herspeelfactor piek (Nummer):" #: ogg123/vorbis_comments.c:46 msgid "ReplayGain Peak (Album):" msgstr "Herspeelfactor piek (album):" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "Auteursrecht" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 msgid "Comment:" msgstr "Opmerking:" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, c-format msgid "oggdec from %s %s\n" msgstr "oggdec van %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, fuzzy, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" " door de Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" #: oggdec/oggdec.c:59 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" "Gebruik: oggdec [opties] bestand1.ogg [bestand2.ogg ... bestandN.ogg]\n" "\n" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "Ondersteunde opties:\n" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr " --quiet, -Q geen uitvoer naar console.\n" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr " --help, -h deze hulptekst tonen.\n" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr " --version, -V het versienummer tonen.\n" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr " --bits, -b bitdiepte (8 en 16 worden ondersteund)\n" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" " --endianness, -e uitvoer-endianness voor 16-bituitvoer; 0 voor\n" " little-endian (standaard), 1 voor big-endian.\n" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" " --sign, -s teken voor PCM-uitvoer; 0 voor tekenloos,\n" " 1 voor teken (standaard 1).\n" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr " --raw, -R ruwe uitvoer (zonder kop).\n" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" " --output, -o uitvoer naar opgegeven bestandsnaam. Kan alleen\n" " bij een enkel uitvoerbestand worden gebruikt,\n" " uitgezonderd ruwe uitvoer.\n" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "Interne fout: niet-herkend argument\n" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "FOUT: schrijven van Wave-kop is mislukt: %s\n" #: oggdec/oggdec.c:197 #, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "FOUT: kan invoerbestand niet openen: %s\n" #: oggdec/oggdec.c:219 #, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "FOUT: kan uitvoerbestand niet openen: %s\n" #: oggdec/oggdec.c:268 #, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "FOUT: openen bestand als Vorbis is mislukt\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Coderen bestand \"%s\" voltooid\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "standaardinvoer" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "standaarduitvoer" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" "Logische bitstromen met veranderende parameters zijn niet ondersteund\n" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "WAARSCHUWING: gat in gegevens (%d)\n" #: oggdec/oggdec.c:339 #, c-format msgid "Error writing to file: %s\n" msgstr "Fout bij schrijven naar bestand: %s\n" #: oggdec/oggdec.c:384 #, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "FOUT: geen invoerbestand opgegeven. Gebruik -h voor hulp\n" #: oggdec/oggdec.c:389 #, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "FOUT: kan slechts één invoerbestand opgegeven als het uitvoerbestand is " "opgegeven\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "RAW-bestandslezer" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "AIFF/AIFC-bestandslezer" #: oggenc/audio.c:50 msgid "FLAC file reader" msgstr "FLAC-bestandslezer" #: oggenc/audio.c:51 msgid "Ogg FLAC file reader" msgstr "Ogg-FLAC-bestandslezer" #: oggenc/audio.c:129 oggenc/audio.c:459 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "WAARSCHUWING: onverwachte EOF bij lezen WAV-kop\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Overslaan blok van soort \"%s\", lengte %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "WAARSCHUWING: onverwachte EOF in AIFF-blok\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "WAARSCHUWING: geen gemeenschappelijk blok gevonden in AIFF-bestand\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "WAARSCHUWING: afgekapt algemeen blok in AIFF-kop\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "WAARSCHUWING: onverwachte EOF bij lezen AIFF-kop\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "WAARSCHUWING: afgekapt algemeen blok in AIFF-kop\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "WAARSCHUWING: AIFF-C-kop afgekapt.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "WAARSCHUWING: kan gecomprimeerd AIFF-C niet verwerken (%c%c%c%c)\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "WAARSCHUWING: geen SSND-blok gevonden in AIFF-bestand\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "WAARSCHUWING: beschadigd SSND-blok in AIFF-kop\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "WAARSCHUWING: onverwachte EOF bij lezen AIFF-kop\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "WAARSCHUWING: oggenc ondersteunt dit type AIFF/AIFC-bestanden niet\n" " Het moet 8-of 16-bit PCM zijn.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "WAARSCHUWING: blok in WAV-kop met niet-herkende indeling\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "WAARSCHUWING: blok in WAV-kop met onjuiste indeling.\n" " Toch proberen te lezen (werkt mogelijk niet)...\n" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "FOUT: dit soort WAV-bestanden wordt niet ondersteund (moet standaard\n" " of type-3-drijvendekomma PCM zijn)\n" #: oggenc/audio.c:546 #, fuzzy, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" "WAARSCHUWING: waarde van 'blokgolfuitlijning' is onjuist.\n" "Negeren. Het programma dat dit bestand aanmaakte is onjuist.\n" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "FOUT: WAV-bestand heeft niet-ondersteunde indeling (moet 8-, 16-, 24- of\n" "32-bit PCM, of drijvendekomma PCM zijn)\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" "Big-endian,24-bit PCM-gegevens worden momenteel niet ondersteund.\n" "Afbreken.\n" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" "Interne fout: poging om niet-ondersteunde bitdiepte %d\n" "te lezen\n" #: oggenc/audio.c:799 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "Programmeerfout: Nul monsters ontvangen van herbemonsteraar: uw bestand zal " "worden\n" " afgekapt. Rapporteer dit alstublieft.\n" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "Kan herbemonsteraar niet initialiseren\n" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "Instellen uitgebreide codeeroptie \"%s\" op %s\n" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "Instellen uitgebreide codeeroptie \"%s\" op %s\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "Laagdoorlaatfrequentie gewijzigd van %f kHz naar %f kHz\n" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "Niet-herkende uitgebreide optie \"%s\"\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "Instellen parameters uitgebreid snelheidsbeheer is mislukt\n" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" "Deze versie van libvorbisenc kan de parameters van uitgebreide " "snelheidsbeheer niet instellen\n" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "WAARSCHUWING: toevoegen van Kate-karaokestijl is mislukt\n" #: oggenc/encode.c:238 #, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" "255 kanalen zouden voor iedereen genoeg moeten zijn. (Sorry, Vorbis " "ondersteunt niet meer)\n" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "" "Een verzoek om een onder- of bovengrens van de bitsnelheid vereist --" "managed\n" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "Initialiseren modus is mislukt: onjuiste parameters voor kwaliteit\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "Optionele, robuuste kwaliteitsbeperkingen instellen\n" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" "Instellen van onder- of bovengrens bitsnelheid in kwaliteitsmodus is " "mislukt\n" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "Initialiseren modus mislukt: onjuiste parameters voor bitsnelheid\n" #: oggenc/encode.c:374 #, c-format msgid "WARNING: no language specified for %s\n" msgstr "WAARSCHUWING: geen taal opgegeven voor %s\n" #: oggenc/encode.c:396 msgid "Failed writing fishead packet to output stream\n" msgstr "Schrijven van fishead-pakket naar uitvoerstroom mislukt\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Schrijven kop naar uitvoerstroom mislukt\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "Coderen van Kate-kop is mislukt\n" #: oggenc/encode.c:455 oggenc/encode.c:462 msgid "Failed writing fisbone header packet to output stream\n" msgstr "Schrijven van fisbone-kop naar uitvoerstroom mislukt\n" #: oggenc/encode.c:510 msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Schrijven van raamwerk eos-pakket naar uitvoerstroom is mislukt\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "Coderen van karaokestijl is mislukt - toch voorzetten\n" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "Coderen van karaokebeweging is mislukt - toch voorzetten\n" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "Coderen van liedteksten is mislukt - toch voorzetten\n" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Schrijven gegevens naar uitvoerstroom mislukt\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "Coderen van Kate-EOS-pakket is mislukt\n" #: oggenc/encode.c:716 #, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [%2dm%.2ds over] %c" #: oggenc/encode.c:726 #, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tCoderen [%2dm%.2ds tot nu toe] %c" #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Coderen bestand \"%s\" voltooid\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Coderen voltooid.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tBestandslengte: %dm %04.1fs\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tVerstreken tijd: %dm %04.1fs\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tSnelheid: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tGemidd. bitsnelheid: %.1f kb/s\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "(min. %d kbps, max. %d kbps)" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "(min. %d kbps, geen max.)" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "(geen min., max. %d kbps)" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "(geen onder- of bovengrens)" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Coderen %s%s%s naar \n" " %s%s%s \n" "met gemiddelde bitsnelheid %d kbps " #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Coderen %s%s%s naar \n" " %s%s%s \n" "bij geschatte bitsnelheid %d kbps (met VBR-codering)\n" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Coderen %s%s%s naar \n" " %s%s%s \n" "met kwaliteitsniveau %2.2f met beperkte VBR " #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Coderen %s%s%s naar \n" " %s%s%s \n" "met kwaliteit %2.2f\n" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Coderen %s%s%s naar \n" " %s%s%s \n" "met bitsnelheidsbeheer " #: oggenc/lyrics.c:66 #, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Conversie naar UTF-8 is mislukt: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, c-format msgid "Out of memory\n" msgstr "Geheugentekort\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "WAARSCHUWING: subtitel %s is geen geldig UTF-8\n" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "FOUT - regel %u: syntaxfout: %s\n" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" "WAARSCHUWING: - regel %u: niet-aaneengesloten ID's: %s - doen net of het " "niet opgemerkt is\n" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "FOUT - regel %u: eindtijd mag niet kleinere zijn dan begintijd: %s\n" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "WAARSCHUWING - regel %u: tekst is te lang - afgekapt\n" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "WAARSCHUWING - regel %u: ontbrekende gegevens - afgekapt bestand?\n" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "WAARSCHUWING - regel %d: tijden van teksten mogen niet afnemen\n" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" "WAARSCHUWING - regel %d: ophalen van samengestelde UTF-8-karakters uit " "tekenreeks is mislukt\n" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" "WAARSCHUWING - regel %d: verwerken uitgebreid LRC-label (%*.*s) is mislukt - " "overgeslagen\n" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" "WAARSCHUWING: geheugenreservering is mislukt - uitgebreid LRC-label wordt " "genegeerd\n" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "FOUT: Geen tekstbestandsnaam om te laden\n" #: oggenc/lyrics.c:425 #, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "FOUT: kan tekstbestand %s niet openen (%s)\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "FOUT: laden van %s is mislukt - kan het soort bestand niet bepalen\n" #: oggenc/oggenc.c:113 msgid "RAW file reader" msgstr "RAW-bestandslezer" #: oggenc/oggenc.c:131 #, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "FOUT: geen invoerbestanden opgegeven. Gebruik -h voor hulp.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "FOUT: meerdere bestanden opgegeven bij gebruik stdin\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "FOUT: meerdere invoerbestanden met opgegeven uitvoerbestandsnaam: probeer -n " "te gebruiken\n" #: oggenc/oggenc.c:217 #, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" "WAARSCHUWING: te weinig teksttalen opgegeven, taal van laatste tekst wordt " "de standaard.\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "FOUT: kan invoerbestand \"%s\" niet openen: %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Openen met %s-module: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "FOUT: invoerbestand \"%s\" heeft een niet-ondersteunde indeling.\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "FOUT: invoerbestand \"%s\" heeft een niet-ondersteunde indeling.\n" #: oggenc/oggenc.c:349 #, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "WAARSCHUWING: geen bestandsnaam, gebruik nu als standaard \"%s\"\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "FOUT: kan benodigde submappen voor uitvoerbestandsnaam \"%s\" niet maken\n" #: oggenc/oggenc.c:363 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "FOUT: invoerbestandsnaam is gelijk aan uitvoerbestandsnaam \"%s\"\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "FOUT: kan uitvoerbestand \"%s\" niet openen: %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "Herbemonsteren invoer van %d Hz naar %d Hz\n" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Terugbrengen stereo naar mono\n" #: oggenc/oggenc.c:441 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "WAARSCHUWING: kan alleen terugbrengen van stereo naar mono\n" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "Invoer schalen naar %f\n" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, c-format msgid "oggenc from %s %s\n" msgstr "oggenc van %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" "Gebruik: oggenc [opties] invoerbestand [...]\n" "\n" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" "OPTIES:\n" " Algemeen:\n" " -Q, --quiet geen uitvoer naar stderr\n" " -h, --help toon deze hulptekst\n" " -V, --version toon het versienummer\n" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" " -k, --skeleton voegt een Ogg-raamwerk-bitstroom toe\n" " -r, --raw ruwe modus. Invoerbestanden worden ingelezen als PCM-" "gegevens\n" " -B, --raw-bits=n instellen aantal bits per monster voor ruwe invoer; " "standaard is 16\n" " -C, --raw-chan=n instellen aantal kanalen voor ruwe invoer; standaard " "is 2\n" " -R, --raw-rate=n instellen monsterfrequentie voor ruwe invoer; " "standaard is 44100\n" " --raw-endianness 1 voor big-endian, 0 voor little-endian; standaard is " "0\n" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" " -b, --bitrate kies een nominale bitsnelheid voor het coderen\n" " (in kbps). Deze bitsnelheid wordt als gemiddelde\n" " nagestreeft. Standaard geeft dit een VBR-codering,\n" " gelijk aan optie -q of --quality.\n" " Zie optie --managed voor een bitsnelheid waarbij de\n" " ingestelde snelheid zelf wordt nagestreeft.\n" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" " --managed inschakelen van de bitsnelheidbesturing. Dit geeft " "een\n" " veel grotere beheersing van de gebruikte bitsnelheid " "(of\n" " -snelheden). Nadeel is de traagheid van coderen.\n" " Gebruik deze optie alleen als de bitsnelheid echt " "onder\n" " controle moet zijn, zoals bij het stromen.\n" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" " -m, --min-bitrate geeft de ondergrens van de bitsnelheid (in kbps).\n" " Nuttig bij het coderen van een kanaal met vaste " "omvang.\n" " Gebruik van deze optie schakelt automatisch de " "bitsnel-\n" " heidbesturing in (zie --managed).\n" " -M, --max-bitrate geeft de bovengrens van de bitsnelheid (in kbps).\n" " Nuttig voor stroomapplicaties. Gebruik van deze optie\n" " schakelt automatisch de bitsnelheidbesturing in\n" " (zie --managed).\n" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" " --advanced-encode-option optie=waarde\n" " stelt een uitgebreide coderingoptie op de gegeven\n" " waarde in. Geldige opties (met hun waarden) zijn\n" " beschreven in de manpagina van dit programma. Het\n" " gebruik van deze optie is bedoeld voor gevorderde\n" " gebruikers en moet met nodige voorzichtigheid\n" " geschieden.\n" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" " -q, --quality specificeer de kwaliteit, tussen -1 (zeer laag) en 10\n" " heel hoog), in plaats van het opgeven van een " "bepaalde\n" " bitsnelheid. Dit is de normale uitvoeringswijze.\n" " Deelwaarden (b.v. 2.75) zijn toegestaan. Het " "standaard\n" " kwaliteitsniveau is 3.\n" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" " --resample n herindeling van de invoergegevens met " "monsterfrequentie\n" " n (Hz). Omzetten van stereo naar mono. Alleen " "toegestaan\n" " op stereoinvoer.\n" " --downmix stereo omzetten naar mono. Alleen toegestaan op " "stereo-\n" " invoer.\n" " -s, --serial specificeer een serienummer voor de stroom. Bij het\n" " coderen van meerdere bestanden wordt dit nummer " "verhoogd\n" " voor iedere volgende stroom.\n" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" " --discard-comments voorkomt dat commentaar in FLAC en Ogg-FLAC-bestanden\n" " naar het Ogg-Vorbisuitvoerbestand wordt gekopieerd.\n" " --ignorelength negeer de lengte van gegevens in de Wave-koppen.\n" " Dit maakt ondersteuning van bestanden > 4GB en STDIN-\n" " gegevensstromen mogelijk.\n" "\n" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" " Benaming:\n" " -o, --output=fn schrijf bestand naar fn (alleen geldig in " "enkelbestand-\n" " modus)\n" " -n, --names=tekenreeks\n" " genereer bestandsnamen volgens deze tekenreeks, " "waarbij\n" " %%a, %%t, %%l, %%n, %%d vervangen wordt door " "respectievelijk\n" " artiest, titel, album, nummer en datum (zie hieronder " "voor\n" " de specificatie).\n" " %%%% geeft een letterlijke %%.\n" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" " -X, --name-remove=s verwijder de opgegeven karakters van parameters naar " "de\n" " -n indelingstekenreeks. Nuttig bij het verzekeren van\n" " geldige bestandsnamen.\n" " -P, --name-replace=s de door --name-remove verwijderde karakters vervangen " "door de\n" " opgegeven karakters. Als deze tekenreeks korter is dan " "die\n" " bij --name-remove of ontbreekt, dan worden de extra\n" " karakters verwijderd.\n" " Standaardinstellingen voor de beide bovenstaande " "argumenten\n" " zijn afhankelijk van het besturingssysteem.\n" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" " --utf8 meldt oggenc dat de parameters datum, titel, album, " "artiest,\n" " genre en commentaar in de opdrachtregel al in UTF-8 " "staan.\n" " Bij Windows geldt deze optie ook voor bestandsnamen.\n" " -c, --comment=c voeg de opgegeven tekenreeks(en) toe als extra " "commentaar.\n" " Dit mag herhaald worden. Het argument wordt opgegeven " "als\n" " \"label=waarde\".\n" " -d, --date datum van het nummer (meestal de uitvoeringsdatum)\n" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" " -N, --tracknum volgnummer voor dit nummer\n" " -t, --title titel van dit nummer\n" " -l, --album naam van dit album\n" " -a, --artist naam van de artiest\n" " -G, --genre genre\n" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" " -L, --lyrics voeg teksten uit het opgegeven bestand toe\n" " (.srt of .lrc-extentie)\n" " -Y, --lyrics-language\n" " specificeert de taal van de teksten.\n" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" " Als meerdere invoerbestanden zijn opgegeven, dan\n" " zijn de voorgaande acht argumenten meermalen " "toepasbaar,\n" " en wel in de opgegeven volgorde.\n" " Als er minder titels dan bestanden worden opgegeven, " "zal\n" " OggEnc waarschuwen en de laatste titel ook voor de\n" " overgebleven bestanden gebruiken. Als er minder " "volgnummers\n" " opgegevens zijn, dan blijven de overgebleven " "bestanden\n" " ongenummerd. Als er minder teksten opgegeven zijn, " "dan\n" " zullen de overgebleven bestanden geen teksten " "bevatten.\n" " Voor de rest wordt het laatste label opnieuw gebruikt\n" " zonder waarschuwing. Op deze manier kunt u " "bijvoorbeeld\n" " een datum eenmalig opgeven die vervolgens voor alle\n" " bestanden wordt gebruikt.\n" "\n" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" "INVOERBESTANDEN:\n" " OggEnc-invoerbestanden moeten een van de volgende typen zijn:\n" " 24-, 16-, of 8-bit-PCM-Wave, AIFF- of AIFF/C-bestanden, \n" " 32-bit-IEEE-floating-point-Wave en, optioneel, FLAC of Ogg-FLAC.\n" " Bestanden kunnen mono of stereo zijn (of meerkanaals) en kunnen iedere\n" " monsterfrequentie hebben.\n" " Als alternatief kan de --raw-optie gebruikt worden voor een ruw PCM-" "gegevens-\n" " bestand die 16-bit, stereo, little-endian PCM ('koploos Wave') moet zijn,\n" " behalve als er extra parameters voor de ruwe modus opgegeven zijn.\n" " U kunt stdin gebruiken door '-' als invoerbestand op te geven. In dit " "geval\n" " zal de uitvoer naar stdout gaan, behalve als een uitvoerbestand opgegeven " "is\n" " met -o.\n" " Tekstbestanden kunnen de indeling SubRip (.srt) of LRC (.lrc) hebben.\n" "\n" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" "WAARSCHUWING: onjuist ontsnappingsteken '%c' wordt genegeerd in " "naamindeling\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Het beheer van de bitratesnelheid wordt ingeschakeld\n" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "WAARSCHUWING: ruwe endianness opgegeven voor niet-ruwe gegevens. Er wordt " "aangenomen dat invoer ruw is.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "WAARSCHUWING: kan endianness argument \"%s\" niet lezen\n" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "WAARSCHUWING: kan herbemonsterfrequentie \"%s\" niet lezen\n" #: oggenc/oggenc.c:773 #, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "WAARSCHUWING: herbemonsterfrequentie opgegeven als %d Hz. Bedoelde u %d Hz?\n" #: oggenc/oggenc.c:784 #, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "WAARSCHUWING: kan schaalfactor niet ontleden \"%s\"\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Geen waarde gevonden voor uitgebreide codeeroptie\n" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "Interne fout bij inlezen opdrachtregelopties\n" #: oggenc/oggenc.c:831 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "WAARSCHUWING: ongeldige opmerking gebruikt (\"%s\"), genegeerd.\n" #: oggenc/oggenc.c:870 #, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "WAARSCHUWING: nominale bitsnelheid \"%s\" wordt niet herkend\n" #: oggenc/oggenc.c:878 #, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "WAARSCHUWING: ondergrens bitsnelheid \"%s\" wordt niet herkend\n" #: oggenc/oggenc.c:892 #, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "WAARSCHUWING: bovengrens bitsnelheid \"%s\" wordt niet herkend\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Kwaliteitsoptie \"%s\" wordt niet herkend en genegeerd\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" "WAARSCHUWING: kwaliteitsinstelling te hoog, maximale kwaliteit wordt " "gebruikt.\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" "WAARSCHUWING: meerdere naamindelingen opgegeven, de laatste wordt gebruikt\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" "WAARSCHUWING: meerdere filters van naamindelingen opgegeven, de laatste " "wordt gebruikt\n" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" "WAARSCHUWING: meerdere vervangingsfilters van naamindelingen opgegeven, de " "laatste wordt gebruikt\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "WAARSCHUWING: meerdere uitvoerbestanden opgegeven, probeer -n\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "WAARSCHUWING: ruw bits/monster opgegeven voor niet-ruwe gegevens. Er wordt " "aangenomen dat invoer ruw is.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "WAARSCHUWING: onjuiste bits/monster opgegeven, 16 wordt gekozen.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "WAARSCHUWING: aanral ruwe kanalen opgegeven voor niet-ruwe gegevens. Er " "wordt aangenomen dat invoer ruw is.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "WAARSCHUWING: onjuist aantal kanalen opgegeven, 2 wordt gekozen.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "WAARSCHUWING: ruwe bemonsteringsfrequentie opgegeven voor niet-ruwe " "gegevens. Er wordt aangenomen dat invoer ruw is.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" "WAARSCHUWING: onjuiste bemonsteringsfrequentie opgegeven, 44100 wordt " "gekozen.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" "WAARSCHUWING: ondersteuning van Kate is niet meegecompileerd; teksten\n" "worden niet toegevoegd.\n" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "WAARSCHUWING: taal kan niet langer zijn dan 15 karakters; ingekort.\n" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "WAARSCHUWING: onbekende optie opgegeven, negeren->\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "'%s' is geen geldig UTF-8, toevoegen onmogelijk\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "kan opmerking niet naar UTF-8 omzetten, niet toegevoegd\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" "WAARSCHUWING: te weinig titels opgegeven, laatste titel wordt de standaard.\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "kan map \"%s\" niet aanmaken: %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Fout bij controleren op aanwezigheid van map %s: %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "FOUT: padsegment \"%s\" is geen map\n" #: ogginfo/ogginfo2.c:115 #, fuzzy, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" "Vorbis stroom %d:\n" "\tTotale gegevenslengte: %ld bytes\n" "\tAfspeellengte: %ldm:%02lds\n" "\tGemiddelde bitrate: %f kbps\n" #: ogginfo/ogginfo2.c:127 #, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "WAARSCHUWING: EOS niet ingesteld voor stroom %d\n" #: ogginfo/ogginfo2.c:216 msgid "WARNING: Invalid header page, no packet found\n" msgstr "WAARSCHUWING: onjuiste koppagina, geen pakket gevonden\n" #: ogginfo/ogginfo2.c:246 #, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" "WAARSCHUWING: onjuiste koppagina in stroom %d, bevat meerdere pakketten\n" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" "Merk op: stroom %d heeft serienummer %d, wat toegestaan is, maar problemen " "met sommig gereedschap kan geven.\n" #: ogginfo/ogginfo2.c:278 #, fuzzy, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "" "WAARSCHUWING: gat in gegevens (%d bytes) gevonden op plaats (ongeveer) % " #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Fout bij openen invoerbestand \"%s\": %s\n" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Verwerken bestand \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "Kon geen verwerker vinden voor stroom, afsluiten\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "Pagina voor stroom na EOS-vlag gevonden" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" "Randvoorwaarden Ogg-muxing overtreden, nieuwe stroom voor EOS van alle " "voorgaande stromen" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "Onbekende fout." #: ogginfo/ogginfo2.c:337 #, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" "WAARSCHUWING: onjuist geplaatste pagina(s) voor logische stroom %d\n" "Dit geeft een slecht Ogg-bestand aan: %s.\n" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "Nieuwe logische stroom (#%d, serienr: %08x): type %s\n" #: ogginfo/ogginfo2.c:352 #, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "WAARSCHUWING: startaanduiding stroom niet ingesteld voor stroom %d\n" #: ogginfo/ogginfo2.c:355 #, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "WAARSCHUWING: startaanduiding stroom gevonden midden in stroom %d\n" #: ogginfo/ogginfo2.c:361 #, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" "WAARSCHUWING: gat gevonden in volgordenummering in stroom %d. Pagina %ld " "ontvangen, waar %ld verwacht. Geeft ontbrekende gegevens aan.\n" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "Logische stroom %d geëindigd\n" #: ogginfo/ogginfo2.c:384 #, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" "FOUT: Geen Ogg-gegevens gevonden in bestand \"%s\".\n" "Invoer is waarschijnlijk geen Ogg.\n" #: ogginfo/ogginfo2.c:395 #, c-format msgid "ogginfo from %s %s\n" msgstr "ogginfo van %s %s\n" #: ogginfo/ogginfo2.c:400 #, fuzzy, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" " door de Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" #: ogginfo/ogginfo2.c:401 #, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" "(c) 2003-2008 Michael Smith \n" "\n" "Gebruik: ogginfo [opties] bestanden1.ogg [bestand2.ogx ... bestandN.ogv]\n" "Ondersteunde opties:\n" "\t-h deze hulptekst tonen\n" "\t-q minder informatie weergeven. Bij eenmalige gebruik verdwijnen\t de " "gedetailleerde, informatieve meldingen. Bij dubbel gebruik\n" "\t verdwijnen ook de waarschuwingen\n" "\t-v meer informatie weergeven. Dit schakelt mogelijk gedetailleerdere\n" "\t controles in voor sommige soorten stromen.\n" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "\t-V versieinformatie tonen en stoppen\n" #: ogginfo/ogginfo2.c:422 #, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" "Gebruik: ogginfo [opties] bestand1.ogg [bestand2.ogx ... bestandN.ogv]\n" "\n" "Ogginfo is een programma dat informatie weergeeft over Ogg-bestanden\n" "en helpt bij het vinden van problemen met die bestanden.\n" "Volledige hulpteksten wordt weergegeven met \"ogginfo -h\".\n" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "Geen invoerbestanden opgegeven. \"ogginfo -h\" voor hulp.\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: optie `%s' is dubbelzinnig\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: optie `--%s' heeft geen argumenten\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: optie `%c%s' heeft geen argumenten\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: optie `%s' heeft een argument nodig\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: niet-herkende optie `--%s'\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: niet-herkende optie `%c%s'\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: onjuiste optie -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: onjuiste optie -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: optie heeft een argument nodig -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: optie `-W %s' is dubbelzinnig\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: optie `-W %s' heeft geen argumenten\n" #: vcut/vcut.c:129 #, c-format msgid "Couldn't flush output stream\n" msgstr "Kan uitvoerstroom niet verwijderen\n" #: vcut/vcut.c:149 #, c-format msgid "Couldn't close output file\n" msgstr "Kan uitvoerbestand niet sluiten\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Kan %s niet openen om te schrijven\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" "Gebruik: vcut inbestand.ogg uitbestand1.ogg uitbestand2.ogg [knippunt | " "+knippunt]\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" "Voorkom het aanmaken van een uitvoerbestand door \".\" als naam op te " "geven.\n" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Kan %s niet openen om te lezen\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Kan knippunt \"%s\" niet lezen\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Verwerken: knippen bij %lf seconden\n" #: vcut/vcut.c:289 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Verwerken: knippen bij %lld monsters\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "Verwerken mislukt\n" #: vcut/vcut.c:341 #, fuzzy, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "WAARSCHUWING: verwachte granulepos" #: vcut/vcut.c:392 #, c-format msgid "Cutpoint not found\n" msgstr "Knippunt niet gevonden\n" #: vcut/vcut.c:398 #, fuzzy, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" "Een bestand dat begint en eindigt tussen sample-posities kan niet worden " "aangemaakt" #: vcut/vcut.c:442 #, fuzzy, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" "Een bestand dat begint tussen sample-posities kan niet worden aangemaakt" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" "\".\" als tweede uitvoerbestand opgeven om deze fout te onderdrukken.\n" #: vcut/vcut.c:484 #, c-format msgid "Couldn't write packet to output file\n" msgstr "Kan pakket niet naar uitvoerbestand schrijven\n" #: vcut/vcut.c:505 #, c-format msgid "BOS not set on first page of stream\n" msgstr "BOS niet ingesteld op eerste pagina van stroom\n" #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "Gemultiplexde bitstromen zijn niet ondersteund\n" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Herstelbare bitstroomfout\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Koppakket beschadigd\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Bitstroomfout, doorgaan\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Fout in kop: geen Vorbis?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "Invoer geen ogg.\n" #: vcut/vcut.c:616 #, c-format msgid "Page error, continuing\n" msgstr "Paginafout, doorgaan\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "WAARSCHUWING: invoerbestand onverwacht geëindigd\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "WAARSCHUWING: EOS gevonden voor knippunt.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "aan onvoldoende geheugen voor invoerbuffering krijgen." #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Fout tijdens lezen eerste pagina van Ogg-bitstroom." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Fout tijdens lezen eerste koppakket." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" "Kan onvoldoende geheugen voor registratie van nieuwe stroomserienummer " "krijgen." #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "Invoer afgekapt of leeg." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "Invoer is geen Ogg-bitstroom." #: vorbiscomment/vcedit.c:541 msgid "Ogg bitstream does not contain Vorbis data." msgstr "Ogg-bitstroom bevat geen Vorbis-gegevens." #: vorbiscomment/vcedit.c:555 msgid "EOF before recognised stream." msgstr "EOF vóór herkende stroom." #: vorbiscomment/vcedit.c:568 msgid "Ogg bitstream does not contain a supported data-type." msgstr "Ogg-bitstroom bevat geen ondersteunde gegevenssoort." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Beschadigde tweede kop." #: vorbiscomment/vcedit.c:630 msgid "EOF before end of Vorbis headers." msgstr "EOF vóór einde van Vorbiskoppen." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "Beschadigde of missende gegevens, doorgaan..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Fout tijdens schrijven stroom naar uitvoer. Uitvoerstroom is mogelijk " "beschadigd of afgekapt." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Openen bestand als Vorbis mislukt: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Onjuiste opmerking: \"%s\"\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "onjuiste opmerking: \"%s\"\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Fout tijdens schrijven opmerkingen naar uitvoerbestand: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "geen actie opgegeven\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "Kon opmerking niet converteren naar UTF-8, toevoegen onmogelijk\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" "vorbiscommentaar van %s %s\n" " door de Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "Toon of bewerk commentaar in Ogg-Vorbisbestanden.\n" #: vorbiscomment/vcomment.c:622 #, fuzzy, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" "Gebruik: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lR] bestand\n" " vorbiscomment [-R] [-c bestand] [-t label] <-a|-w> invoerbestand " "[uitvoerbestand]\n" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "Uitvoeropties\n" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" " -l, --list toon de commentaren (standaard bij ontbreken van " "opties)\n" #: vorbiscomment/vcomment.c:632 #, c-format msgid "Editing options\n" msgstr "Bewerkopties\n" #: vorbiscomment/vcomment.c:633 #, fuzzy, c-format msgid " -a, --append Update comments\n" msgstr " -a, --append commentaren toevoegen\n" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" " -t \"naam=waarde\", --tag \"naam=waarde\"\n" " specificeer een commentaarlabel op de " "opdrachtregel\n" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr " -w, --write schrijf commentaren, de huidige vervangend\n" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" " -c file, --commentfile bestand\n" " tijdens tonen, schrijf commentaren naar het " "opgegeven bestand\n" " tijdens bewerken, lees commentaren van het " "opgegeven bestand\n" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr " -R, --raw lees en schrijf commentaren in UTF-8\n" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr " -V, --version versieinformatie wegschrijven en stoppen\n" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" "Als er geen uitvoerbestand opgegeven is, zal vorbiscomment het " "invoerbestand\n" "aanpassen. Dit wordt uitgevoerd via een tijdelijk bestand, zodanig dat het\n" "invoerbestand ongewijzigd blijft mochten er fouten tijdens het verwerken " "optreden.\n" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" "vorbiscomment verwerkt commentaren in de vorm \"name=value\", één per " "regel.\n" "Standaard worden commentaren tijdens het tonen naar stdout geschreven, en\n" "gelezen van stdin bij het bewerken. Als alternatief kan er op de " "opdrachtregel\n" "een bestand opgegeven worden met de -c-optie of labels met -t \"name=value" "\".\n" "Gebruik van -c of -t schakelt lezen van stdin uit.\n" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" "Voorbeelden:\n" " vorbiscomment -a in.ogg -c commentaren.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=André Hazes\" -t \"TITLE=Zij gelooft " "in mij\"\n" #: vorbiscomment/vcomment.c:672 #, fuzzy, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" "Merk op: ruwe modus (--raw, -r) zal commentaren in UTF-8 lezen en schrijven\n" "in plaats van deze om te zetten naar de karakterset van de gebruiker, wat\n" "nuttig is voor scripts. Echter, dit volstaat niet altijd bij het\n" "algemeen rondpompen van commenaren.\n" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Interne fout bij ontleden van opdrachtopties\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "vorbiscomment van vorbis-tools " #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Fout bij openen invoerbestand '%s'.\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "Invoerbestandsnaam mag niet hetzelfde zijn als uitvoerbestandsnaam\n" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Fout bij openen uitvoerbestand '%s'.\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Fout bij openen opmerkingenbestand '%s'.\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Fout bij openen opmerkingenbestand '%s'\n" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "Fout bij verwijderen oude bestand %s\n" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "Fout bij hernoemen %s naar %s\n" #: vorbiscomment/vcomment.c:938 #, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Fout bij verwijderen tijdelijk bestand %s\n" #~ msgid "Wave file reader" #~ msgstr "WAV-bestandslezer" #~ msgid "Big endian 32 bit PCM data is not currently supported, aborting.\n" #~ msgstr "" #~ "Big-endian, 32-bit PCM-gegevens worden momenteel niet ondersteund.\n" #~ "Afbreken.\n" #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Interne fout! Meldt deze fout alstublieft.\n" #~ msgid "oggenc from %s %s" #~ msgstr "oggenc van %s %s" #~ msgid "" #~ "WARNING: Comment %d in stream %d has invalid format, does not contain " #~ "'=': \"%s\"\n" #~ msgstr "" #~ "WAARSCHUWING: opmerking %d in stroom %d heeft onjuiste indeling, bevat " #~ "geen '='; \"%s\"\n" #~ msgid "" #~ "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #~ msgstr "" #~ "WAARSCHUWING: onjuiste commentaarveldnaam in opmerking %d (stroom %d): " #~ "\"%s\"\n" #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #~ msgstr "" #~ "WAARSCHUWING: onjuiste UTF-8-code in opmerking %d (stroom %d): " #~ "lengtemarkering onjuist\n" #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #~ msgstr "" #~ "WAARSCHUWING: onjuiste UTF-8-code in opmerking %d (stroom %d): te weinig " #~ "bytes\n" #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence \"%s\": %s\n" #~ msgstr "" #~ "WAARSCHUWING: onjuiste UTF-8-codes in opmerking %d (stroom %d): onjuiste " #~ "opvolging van codes \"%s\": %s\n" #~ msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" #~ msgstr "" #~ "WAARSCHUWING: fout in UTF-8-decoder. Dit zou onmogelijk moeten zijn\n" #~ msgid "WARNING: discontinuity in stream (%d)\n" #~ msgstr "WAARSCHUWING: discontinuïteit in stroom (%d)\n" #~ msgid "" #~ "WARNING: Could not decode Theora header packet - invalid Theora stream " #~ "(%d)\n" #~ msgstr "" #~ "WAARSCHUWING: kon Theora-koppakket niet decoderen - onjuiste Theora-" #~ "stroom (%d)\n" #~ msgid "" #~ "WARNING: Theora stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "WAARSCHUWING: Theora-stroom %d heeft de koppen niet op de goede manier " #~ "omlijst. Afsluitende koppagina bevat meer pakketten of heeft niet-nul " #~ "granulepos\n" #~ msgid "Theora headers parsed for stream %d, information follows...\n" #~ msgstr "Theora-koppen ingelezen voor stroom %d, informatie volgt...\n" #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Versie: %d.%d.%d\n" #~ msgid "Vendor: %s\n" #~ msgstr "Maker: %s\n" #~ msgid "Width: %d\n" #~ msgstr "Breedte: %d\n" #~ msgid "Height: %d\n" #~ msgstr "Hoogte: %d\n" #~ msgid "Total image: %d by %d, crop offset (%d, %d)\n" #~ msgstr "Volledige afbeelding: %d bij %d, afsnijmaat (%d, %d)\n" #~ msgid "Frame offset/size invalid: width incorrect\n" #~ msgstr "Beeldmaat of -grootte ongeldig: breedte onjuist\n" #~ msgid "Frame offset/size invalid: height incorrect\n" #~ msgstr "Beeldmaat of -grootte ongeldig: hoogte onjuist\n" #~ msgid "Invalid zero framerate\n" #~ msgstr "Ongeldige beeldsnelheid nul\n" #~ msgid "Framerate %d/%d (%.02f fps)\n" #~ msgstr "Beeldsnelheid %d/%d (%.02f fps)\n" #~ msgid "Aspect ratio undefined\n" #~ msgstr "Beeldverhouding ongedefinieerd\n" #~ msgid "Pixel aspect ratio %d:%d (%f:1)\n" #~ msgstr "Beeldverhouding in pixels (%d:%d) (%f:1)\n" #~ msgid "Frame aspect 4:3\n" #~ msgstr "Beeldverhouding 4:3\n" #~ msgid "Frame aspect 16:9\n" #~ msgstr "Beeldverhouding 16:9\n" #~ msgid "Frame aspect %f:1\n" #~ msgstr "Beeldverhouding %f:1\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" #~ msgstr "Kleurruimte: Rec. ITU-R BT.470-6 Systeem M (NTSC)\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" #~ msgstr "Kleurruimte: Rec. ITU-R BT.470-6 Systemen B en G (PAL)\n" #~ msgid "Colourspace unspecified\n" #~ msgstr "Kleurruimte niet opgegeven\n" #~ msgid "Pixel format 4:2:0\n" #~ msgstr "Pixelverhouding 4:2:0\n" #~ msgid "Pixel format 4:2:2\n" #~ msgstr "Pixelverhouding 4:2:2\n" #~ msgid "Pixel format 4:4:4\n" #~ msgstr "Pixelverhouding 4:4:4\n" #~ msgid "Pixel format invalid\n" #~ msgstr "Pixelverhouding onjuist\n" #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "Doel bitsnelheid: %d kbps\n" #~ msgid "Nominal quality setting (0-63): %d\n" #~ msgstr "Nominale kwaliteitsinstelling (0-63): %d\n" #~ msgid "User comments section follows...\n" #~ msgstr "Paragraaf gebruikersopmerkingen volgt...\n" #~ msgid "WARNING: Expected frame %" #~ msgstr "WAARSCHUWING: verwacht beeld %" #~ msgid "WARNING: granulepos in stream %d decreases from %" #~ msgstr "WAARSCHUWING: granulepos in stroom %d neemt af van % " #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "Theora-stroom %d:\n" #~ "\tTotale gegevenslengte: %" #~ msgid "" #~ "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream " #~ "(%d)\n" #~ msgstr "" #~ "WAARSCHUWING: kan Vorbiskoppakket %d niet decoderen - onjuiste " #~ "Vorbisstroom (%d)\n" #~ msgid "" #~ "WARNING: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "WAARSCHUWING: Vorbisstroom %d heeft de koppen niet op de goede manier " #~ "omlijst. Afsluitende koppagina bevat meer pakketten of heeft niet-nul " #~ "granulepos\n" #~ msgid "Vorbis headers parsed for stream %d, information follows...\n" #~ msgstr "Vorbiskoppen ingelezen voor stroom %d, informatie volgt...\n" #~ msgid "Version: %d\n" #~ msgstr "Versie: %d\n" #~ msgid "Vendor: %s (%s)\n" #~ msgstr "Maker: %s (%s)\n" #~ msgid "Channels: %d\n" #~ msgstr "Kanalen: %d\n" #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "" #~ "Snelheid: %ld\n" #~ "\n" #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "Nominale bitsnelheid: %f kb/s\n" #~ msgid "Nominal bitrate not set\n" #~ msgstr "Nominale bitsnelheid niet ingesteld\n" #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "Bovengrens bitsnelheid: %f kb/s\n" #~ msgid "Upper bitrate not set\n" #~ msgstr "Bovengrens bitsnelheid niet ingesteld\n" #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "Ondergrens bitsnelheid: %f kb/s\n" #~ msgid "Lower bitrate not set\n" #~ msgstr "Ondergrens bitsnelheid niet ingesteld\n" #~ msgid "Negative or zero granulepos (%" #~ msgstr "Negatieve of nul granulepos (%" #~ msgid "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "Vorbis-stroom %d:\n" #~ "\tTotale gegevenslengte: %" #~ msgid "" #~ "WARNING: Could not decode Kate header packet %d - invalid Kate stream " #~ "(%d)\n" #~ msgstr "" #~ "WAARSCHUWING: kon Kate-koppakket %d niet decoderen - onjuiste Kate-stroom " #~ "(%d)\n" #~ msgid "" #~ "WARNING: packet %d does not seem to be a Kate header - invalid Kate " #~ "stream (%d)\n" #~ msgstr "" #~ "WAARSCHUWING: pakket %d lijkt geen Kate-kop te zijn - onjuiste Kate-" #~ "stroom (%d)\n" #~ msgid "" #~ "WARNING: Kate stream %d does not have headers correctly framed. Terminal " #~ "header page contains additional packets or has non-zero granulepos\n" #~ msgstr "" #~ "WAARSCHUWING: Kate-stroom %d heeft de koppen niet goede omlijst. " #~ "Afsluitende koppagina bevat meer pakketten of heeft niet-nul granulepos\n" #~ msgid "Kate headers parsed for stream %d, information follows...\n" #~ msgstr "Kate-koppen ontleed voor stroom %d, informatie volgt...\n" #~ msgid "Version: %d.%d\n" #~ msgstr "Versie: %d.%d\n" #~ msgid "Language: %s\n" #~ msgstr "Taal: %s\n" #~ msgid "No language set\n" #~ msgstr "Geen taal ingesteld\n" #~ msgid "Category: %s\n" #~ msgstr "Categorie: %s\n" #~ msgid "No category set\n" #~ msgstr "Geen categorie ingesteld\n" #~ msgid "utf-8" #~ msgstr "UTF-8" #~ msgid "Character encoding: %s\n" #~ msgstr "Karaktercodering: %s\n" #~ msgid "Unknown character encoding\n" #~ msgstr "Onbekende karaktercodering\n" #~ msgid "left to right, top to bottom" #~ msgstr "links naar rechts, boven naar onderen" #~ msgid "right to left, top to bottom" #~ msgstr "rechts naar links, boven naar onderen" #~ msgid "top to bottom, right to left" #~ msgstr "boven naar onderen, rechts naar links" #~ msgid "top to bottom, left to right" #~ msgstr "boven naar onderen, links naar rechts" #~ msgid "Text directionality: %s\n" #~ msgstr "Tekstrichting: %s\n" #~ msgid "Unknown text directionality\n" #~ msgstr "Onbekende tekstrichting\n" #~ msgid "Invalid zero granulepos rate\n" #~ msgstr "Ongeldige nul granulepos-snelheid\n" #~ msgid "Granulepos rate %d/%d (%.02f gps)\n" #~ msgstr "Granulepos-snelheid %d/%d (%.02f gps)\n" #~ msgid "\n" #~ msgstr "\n" #~ msgid "Negative granulepos (%" #~ msgstr "Negatieve granulepos (%" #~ msgid "" #~ "Kate stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "Kate-stroom %d:\n" #~ "\tTotale gegevenslengte: %" #~ msgid "Page error. Corrupt input.\n" #~ msgstr "Paginafout. Beschadigde invoer.\n" #~ msgid "Setting EOS: update sync returned 0\n" #~ msgstr "EOS instellen: bijwerksynchronisatie gaf 0 terug\n" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "Knippunt niet binnen stroom. Tweede bestand zal leeg zijn\n" #~ msgid "Unhandled special case: first file too short?\n" #~ msgstr "Niet-behandelde speciale situatie: eerste bestand te kort?\n" #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "" #~ "Knippunt te dicht bij het einde van het bestand. Tweede bestand zal leeg " #~ "zijn.\n" #~ msgid "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " Ogg page. File may not decode correctly.\n" #~ msgstr "" #~ "Fout: Eerste twee geluidspakketten pasten niet in één\n" #~ " Ogg-pagina. Mogelijk decodeert het bestand niet juist.\n" #~ msgid "Update sync returned 0, setting EOS\n" #~ msgstr "Bijwerksynchronisatie gaf 0 terug, EOS instellen\n" #~ msgid "Bitstream error\n" #~ msgstr "Bitstroomfout\n" #~ msgid "Error in first page\n" #~ msgstr "Fout in eerste pagina\n" #~ msgid "Error in first packet\n" #~ msgstr "Fout in eerste pakket\n" #~ msgid "EOF in headers\n" #~ msgstr "EOF in koppen\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "WAARSCHUWING: vcut is nog experimentele code.\n" #~ "Controleer uitvoerbestanden voordat u de bronbestanden verwijdert.\n" #~ "\n" #, fuzzy #~ msgid "Error reading headers\n" #~ msgstr "EOF in koppen\n" #~ msgid "Error writing first output file\n" #~ msgstr "Fout tijdens schrijven eerste uitvoerbestand\n" #~ msgid "Error writing second output file\n" #~ msgstr "Fout tijdens schrijven tweede uitvoerbestand\n" #~ msgid "Warning: discontinuity in stream (%d)\n" #~ msgstr "WAARSCHUWING: discontinuïteit in stroom (%d)\n" #~ msgid "" #~ "Warning: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "WAARSCHUWING: Vorbisstroom %d heeft de koppen niet goed omlijst. " #~ "Afsluitende koppagina bevat meer pakketten of heeft niet-nul granulepos\n" #~ msgid "malloc" #~ msgstr "malloc" #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 van %s %s\n" #~ " van de Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Gebruik: ogg123 [] ...\n" #~ "\n" #~ " -h, --help deze hulp\n" #~ " -V, --version versie weergeven\n" #~ " -d, --device=d gebruikt 'd' als uitvoerapparaat\n" #~ " Mogelijke apparaten zijn ('*'=live, '@'=bestand):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -b n, --buffer n use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n load n%% of the input buffer before playing\n" #~ " -v, --verbose display progress and other status information\n" #~ " -q, --quiet don't display anything (no title)\n" #~ " -x n, --nth play every 'n'th block\n" #~ " -y n, --ntimes repeat every played block 'n' times\n" #~ " -z, --shuffle shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=bestandsnaam de bestandsnaam voor uitvoer instellen voor\n" #~ " een eerder aangegeven bestandsapparaat (met -d).\n" #~ " -k n, --skip n eerste 'n' seconden overslaan\n" #~ " -o, --device-option=k:v speciale optie k met waarde v meegeven aan\n" #~ " eerder aangegeven apparaat (met -d). Zie man pagina voor meer " #~ "info.\n" #~ " -b n, --buffer n een invoerbuffer van 'n' kilobytes " #~ "gebruiken\n" #~ " -p n, --prebuffer n n%% van invoerbuffer laden voor afspelen\n" #~ " -v, --verbose voortgang en andere status informatie " #~ "weergeven\n" #~ " -q, --quiet niets weergeven (geen titel)\n" #~ " -x n, --nth elk 'n'de blok afspelen\n" #~ " -y n, --ntimes elk afgespeeld blok 'n' keer herhalen\n" #~ " -z, --shuffle afspelen in willekeurige volgorde\n" #~ "\n" #~ "ogg123 zal het volgende liedje overslaan bij SIGINT (Ctrl-C); twee keer " #~ "SIGINTs\n" #~ "binnen s milliseconden breekt ogg123 af.\n" #~ " -l, --delay=s s instellen [milliseconden] (standaard " #~ "500).\n" #~ msgid "ReplayGain (Track) Peak:" #~ msgstr "HerspeelFactor (Spoor) piek:" #~ msgid "ReplayGain (Album) Peak:" #~ msgstr "HerspeelFactor (Album) piek:" #~ msgid "Version is %d" #~ msgstr "Versie is %d" #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps. This uses the bitrate management\n" #~ " engine, and is not recommended for most users.\n" #~ " See -q, --quality for a better alternative.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel.\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications.\n" #~ " -q, --quality Specify quality between 0 (low) and 10 (high),\n" #~ " instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " Quality -1 is also possible, but may not be of\n" #~ " acceptable quality.\n" #~ " --resample n Resample input data to sampling rate n (Hz)\n" #~ " --downmix Downmix stereo to mono. Only allowed on stereo\n" #~ " input.\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times.\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 16 or 8 bit PCM WAV, AIFF, or AIFF/" #~ "C\n" #~ " files, or 32 bit IEEE floating point WAV. Files may be mono or stereo\n" #~ " (or more channels) and any sample rate.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an outfile filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "Gebruik: oggenc [opties] input.wav [...]\n" #~ "\n" #~ "OPTIES:\n" #~ " Algemeen:\n" #~ " -Q, --quiet Geen uitvoer naar stderr sturen\n" #~ " -h, --help Deze help tekst weergeven\n" #~ " -r, --raw Ruwe modus. Invoer worden direct als PCM gegevens " #~ "gelezen\n" #~ " -B, --raw-bits=n Voor ruwe invoer bits/monster instellen. Standaard " #~ "is 16\n" #~ " -C, --raw-chan=n Aantal kanalen voor ruwe invoer instellen. " #~ "Standaard is 2\n" #~ " -R, --raw-rate=n Voor ruwe invoer monsters/sec instellen. Standaard " #~ "is 44100\n" #~ " --raw-endianness 1 voor bigendian, 0 voor little (standaard is 0)\n" #~ " -b, --bitrate Een nominale bitrate aangeven om mee te coderen. Er " #~ "wordt\n" #~ " geprobeerd om met een bitrate te coderen waarvan " #~ "het gemiddelde\n" #~ " op de waarde ligt. Het argument is het aantal kbps. " #~ "Dit gebruikt\n" #~ " de bitrate-beheer engine, en wordt niet aangeraden " #~ "voor de\n" #~ " meeste gebruikers.\n" #~ " Zie -q, --quality voor een beter alternatief.\n" #~ " -m, --min-bitrate Een minimale bitrate aangeven (in kbps). Nuttig " #~ "voor coderen\n" #~ " voor een kanaal met een vaste grootte.\n" #~ " -M, --max-bitrate Een maximale bitrate aangeven in kbps. Nuttig voor\n" #~ " stroomtoepassingen.\n" #~ " -q, --quality Kwaliteit aangeven tussen 0 (laag) en 10 (hoog),\n" #~ " in plaats van een bepaalde bitrate aangeven.\n" #~ " Dit is de normale modus waarmee wordt gewerkt.\n" #~ " Fracties zijn toegestaan (zoals 2.75)\n" #~ " Kwaliteit -1 is ook mogelijk, maar geeft mogelijk " #~ "geen\n" #~ " acceptabele kwaliteit.\n" #~ " --resample n Opnieuw bemonsteren invoergegevens naar bemonster " #~ "frequentie n (Hz)\n" #~ " --downmix Stereo terugbrengen tot mono. Alleen toegestaan bij " #~ "stereo invoer.\n" #~ " -s, --serial Een serienummer aangeven voor de stroom. Bij het " #~ "coderen van\n" #~ " meerdere bestanden, zal dit bij elke stroom na de " #~ "eerste verhoogd\n" #~ " worden.\n" #~ "\n" #~ " Naamgeving:\n" #~ " -o, --output=fn Bestand schrijven naar fn (alleen geldig in enkel-" #~ "bestandsmodus)\n" #~ " -n, --names=string Bestandsnamen maken zoals deze tekst, waarbij %%a, %" #~ "%t, %%l,\n" #~ " %%n, %%d wordt vervangen door artiest, titel, " #~ "album, spoornummer,\n" #~ " en datum, respectievelijk (hieronder staat hoe dit " #~ "aangegeven wordt).\n" #~ " %%%% geeft %%.\n" #~ " -X, --name-remove=s De aangegeven tekens verwijderen uit parameters die " #~ "voorkomen in\n" #~ " de tekst die meegegeven is aan de -n optie.\n" #~ " Te gebruiken om toegestane bestandsnamen te " #~ "garanderen.\n" #~ " -P, --name-replace=s Tekens die verwijderd zijn door --name-remove " #~ "vervangen met de\n" #~ " aangegeven tekens. Als deze tekst korter is dan de " #~ "lijst bij\n" #~ " --name-remove, of deze tekst is niet aangegeven, " #~ "worden extra\n" #~ " tekens gewoon verwijderd.\n" #~ " Standaardwaarden voor de twee hierboven genoemde " #~ "argumenten zijn\n" #~ " platform specifiek.\n" #~ " -c, --comment=c De gegeven string toevoegen als extra opmerking. " #~ "Dit mag meerdere\n" #~ " keren worden gebruikt.\n" #~ " -d, --date Datum voor spoor (normaal gesproken datum van " #~ "opname)\n" #~ " -N, --tracknum Spoornummer voor dit spoor\n" #~ " -t, --title Titel voor dit spoor\n" #~ " -l, --album Naam van album\n" #~ " -a, --artist Naam van artiest\n" #~ " -G, --genre Genre van spoor\n" #~ " Als er meerdere invoerbestanden zijn gegeven, " #~ "zullen er meerdere\n" #~ " instanties van de vorige vijf argumenten worden " #~ "gebruikt,\n" #~ " in de volgorde waarin ze zijn gegeven. Als er " #~ "minder titels zijn\n" #~ " aangegeven dan bestanden, geeft OggEnc een " #~ "waarschuwing weer, en\n" #~ " de laatste voor alle overblijvende bestanden " #~ "gebruiken. Als er\n" #~ " minder spoornummers zijn gegeven, zullen de overige " #~ "bestanden niet\n" #~ " worden genummerd. Voor de andere zal de laatste tag " #~ "worden gebruikt\n" #~ " voor alle andere, zonder waarschuwing (u kunt de " #~ "datum dus één keer\n" #~ " aangeven, bijvoorbeeld, en voor alle bestanden " #~ "laten gebruiken)\n" #~ "\n" #~ "INVOERBESTANDEN:\n" #~ " OggEnc invoerbestanden moeten op dit moment 16 of 8 bit PCM WAV, AIFF, " #~ "AIFF/C\n" #~ " of 32 bit IEEE floating point WAV bestanden zijn. Bestanden kunnen mono " #~ "of stereo\n" #~ " (of meer kanalen) zijn en mogen elke bemosteringsfrequentie hebben.\n" #~ " Ook kan de --raw optie worden gebruikt om een ruw PCM gegevensbestand te " #~ "gebruiken.\n" #~ " Dat moet dan 16bit stereo little-endian PCM ('wav zonder kop', " #~ "'headerless wav') zijn,\n" #~ " tenzij er meer parameters zijn aangegeven voor ruwe modus.\n" #~ " U kunt aangeven dat het bestand van stdin moet worden genomen door - te " #~ "gebruiken als\n" #~ " invoer bestandsnaam. In deze modus wordt uitvoer naar stdout gestuurd, " #~ "tenzij er een\n" #~ " uitvoer bestandsnaam is aangegeven met -o\n" #~ "\n" #~ msgid " to " #~ msgstr " tot " #~ msgid " bytes. Corrupted ogg.\n" #~ msgstr " bytes. Slechte ogg.\n" #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ " Raw mode (--raw, -R) will read and write comments in utf8,\n" #~ " rather than converting to the user's character set. This is\n" #~ " useful for using vorbiscomment in scripts. However, this is\n" #~ " not sufficient for general round-tripping of comments in all\n" #~ " cases.\n" #~ msgstr "" #~ "Gebruik: \n" #~ " vorbiscomment [-l] bestand.ogg (om de opmerkingen op te sommen)\n" #~ " vorbiscomment -a in.ogg uit.ogg (om opmerkingen toe te voegen)\n" #~ " vorbiscomment -w in.ogg uit.ogg (om opmerkingen te wijzigen)\n" #~ "\tbij schrijven, wordt een nieuwe verzameling opmerkingen verwacht in de\n" #~ "\tvorm 'TAG=waarde' op stdin. Deze verzameling zal de bestaande " #~ "verzameling\n" #~ "\tvolledig vervangen.\n" #~ " Zowel -a als -w kan slechts één bestandsnaam aannemen,\n" #~ " waarbij een tijdelijk bestand wordt gebruikt.\n" #~ " -c kan worden gebruikt om opmerkingen uit een aangegeven bestand te " #~ "halen\n" #~ " in plaats van stdin.\n" #~ " Voorbeeld: vorbiscomment -a in.ogg -c opmerkingen.txt\n" #~ " zal de opmerkingen uit opmerkingen.txt toevoegen aan in.ogg\n" #~ " Tot slot, kunt u elk aantal tags aangeven om toe te voegen via de\n" #~ " opdrachtregel door de -t optie te gebruiken. Bijvoorbeeld\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Iemand\" -t \"TITLE=Een titel\"\n" #~ " (merk op dat als u dit gebruikt, het lezen van opmerkingen uit een\n" #~ " opmerkingen bestand of van stdin uit wordt gezet)\n" #~ " Ruwe modus (--raw, -R) zal opmerkingen lezen en schrijven in utf8,\n" #~ " in plaats van converteren van/naar tekenset van de gebruiker. Dit is " #~ "nuttig\n" #~ " als vorbiscomment in scripts wordt gebruikt. Het is alleen niet " #~ "genoeg\n" #~ " voor het rondsturen van opmerkingen in alle gevallen.\n" vorbis-tools-1.4.2/po/vi.gmo0000644000175000017500000012702614002243561012646 00000000000000Þ•¤o,è(é0 Lm$‚§ÄßñFFLB“;Ö71J>|@»?ü»<Fø‚?,ÂJï&:Naû°F¬<ó70ihHÒF 1b >” ?Ó l!<€"z½"-8#bf#–É$1`%+’%d¾%c#',‡'Ë´'€(—*•5,ÉË-J•/à0jö0a2x2’2,¬2Ù2%÷2,3-J3 x3&™3À3à3444"4Q)4{5,‚5!¯5ZÑ57,6*d6-6S½6S7+e7Q‘7!ã7848*R8,}8ª8 À8Í8à8ô899 39A=999¹9Ö90ç9 :&%:L:/f:#–:%º:.à:#;/3;@c;¤;Ã;á;ÿ;<-< 5<A<G<b<'€<(¨<IÑ<1=:M=1ˆ=Mº=2>;>#L>p>[>@Û>6?RS?>¦?1å?B@ Z@!{@"@À@ à@*A$,A+QA}A™A²ALÁA&B>5B4tB,©BvÖBMC^C2eC.˜C,ÇC%ôC'DBDHDÈQD4E6OE†E¥EµEÄE,ÞE- F'9F8aF šF+¨FÔFåFëF(G-G;DG;€G¼G0ÁG0òG#H**H+UH]HŸßHI%”I ºI5ÈINþIMJiJ$yJ žJªJ¼JÏJ$éJ-Ki@‹i©Ìibvk6Ùkòltmßxo)Xq‚sOšuêv¦w®x-Ëx.ùx8(y&ay2ˆy8»y9ôy).z5Xz,Žz,»zèzþz{0{Ý9{ }M$}8r}œ«}eH~?®~Gî~d6‘›\-€rŠ€4ý€.2Ua:·9ò,‚L‚]‚o‚ ‡‚¨‚'À‚è‚l÷‚Pdƒ&µƒ܃Bóƒ 6„?D„ „„=¥„+ã„5…JE…+…S¼…S†4d†"™†¼†0܆ ‡ %‡3‡ <‡?G‡H‡‡7Ї7ˆb@ˆV£ˆQúˆPL‰u‰dŠxŠ/“ŠÊqÔŠTF‹I›‹få‹RLŒ1ŸŒLÑŒ32R3…0¹0ê@Ž9\Ž?–Ž+ÖŽ.1\I2¦‹ÙceEÉ~‘Ž‘©‘6°‘Kç‘23’4f’6›’ Ò’ Ý’ë’Vú“IQ”;›”9×”•),•@V•A—•:Ù•M–b–L{–È–à–&é–V—g—^z—`Ù—:˜=?˜`}˜Þ˜4ï˜A$™{f™Ëâ™®š$Íš òšE›{F›"›å›@ù›:œJœhœ'„œ'¬œDÔœx37¬%ä; ž>Fž?…žÅž Íž"Úžýž=ŸfNŸµŸÅŸÌŸ4ÝŸo V‚ :Ù ¡&/¢SV¢Lª¢H÷¢f@£W§£Fÿ£MF¤U”¤yê¤fd¥[Ë¥e'¦‰¦‘§¥©§•O¨;å¨b!©I„©1ΩWªXª pª{ª!„ª¦ª¬ª²ª!¶ª تãªìªþª«$«8«&>«e«w«“«¯«M·«¬Tbx ÂjàRË: 4|Zo—K~!º“¶š5Ç”˜Ûç©¢_Ñðô½Ï] êü¯îöm»P,µJ@L·QÎ\ÆO؉‚Fä }€« Ä 2zý¹uÔ±^žIÒ‘Švcå–?$t þ¤ÐYù×B÷XE)²¿GéáÚÝÀ10.æ°ë7ÊÓAïMˆÜÕ¡£ Ž#* >iÍyÈrd%gnŒèó¸ÿŸí›+96É•ìCW a¾ƒ<´øß„"‡Ö(Á'&®úVfâ `¥ñªœh=qsl†¬¨ò‹¼D-³…{ÞÙÅpã§[/3;­U8õ ¦HÌ™wkûeSÃ’N -V Output version information and exit Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Encoding [%2dm%.2ds so far] %c Rate: %.4f [%5.1f%%] [%2dm%.2ds remaining] %c File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s --audio-buffer n Use an output audio buffer of 'n' kilobytes -@ file, --list file Read playlist of files and URLs from "file" -K n, --end n End at 'n' seconds (or hh:mm:ss format) -R, --raw Read and write comments in UTF-8 -R, --remote Use remote control interface -V, --version Display ogg123 version -V, --version Output version information and exit -Z, --random Play files randomly until interrupted -b n, --buffer n Use an input buffer of 'n' kilobytes -c file, --commentfile file When listing, write comments to the specified file. When editing, read comments from the specified file. -d dev, --device dev Use output device "dev". Available devices: -f file, --file file Set the output filename for a file device previously specified with --device. -h, --help Display this help -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format) -l s, --delay s Set termination timeout in milliseconds. ogg123 will skip to the next song on SIGINT (Ctrl-C), and will terminate if two SIGINTs are received within the specified timeout 's'. (default 500) -l, --list List the comments (default if no options are given) -o k:v, --device-option k:v Pass special option 'k' with value 'v' to the device previously specified with --device. See the ogg123 man page for available device options. -p n, --prebuffer n Load n%% of the input buffer before playing -q, --quiet Don't display anything (no title) -r, --repeat Repeat playlist indefinitely -t "name=value", --tag "name=value" Specify a comment tag on the commandline -v, --verbose Display progress and other status information -w, --write Write comments, replacing the existing ones -x n, --nth n Play every 'n'th block -y n, --ntimes n Repeat every played block 'n' times -z, --shuffle Shuffle list of files before playing --advanced-encode-option option=value Sets an advanced encoder option to the given value. The valid options (and their values) are documented in the man page supplied with this program. They are for advanced users only, and should be used with caution. --bits, -b Bit depth for output (8 and 16 supported) --endianness, -e Output endianness for 16-bit output; 0 for little endian (default), 1 for big endian. --help, -h Produce this help message. --managed Enable the bitrate management engine. This will allow much greater control over the precise bitrate(s) used, but encoding will be much slower. Don't use it unless you have a strong need for detailed control over bitrate, such as for streaming. --output, -o Output to given filename. May only be used if there is only one input file, except in raw mode. --quiet, -Q Quiet mode. No console output. --raw, -R Raw (headerless) output. --resample n Resample input data to sampling rate n (Hz) --downmix Downmix stereo to mono. Only allowed on stereo input. -s, --serial Specify a serial number for the stream. If encoding multiple files, this will be incremented for each stream after the first. --sign, -s Sign for output PCM; 0 for unsigned, 1 for signed (default 1). --version, -V Print out version number. -N, --tracknum Track number for this track -t, --title Title for this track -l, --album Name of album -a, --artist Name of artist -G, --genre Genre of track -X, --name-remove=s Remove the specified characters from parameters to the -n format string. Useful to ensure legal filenames. -P, --name-replace=s Replace characters removed by --name-remove with the characters specified. If this string is shorter than the --name-remove list or is not specified, the extra characters are just removed. Default settings for the above two arguments are platform specific. -b, --bitrate Choose a nominal bitrate to encode at. Attempt to encode at a bitrate averaging this. Takes an argument in kbps. By default, this produces a VBR encoding, equivalent to using -q or --quality. See the --managed option to use a managed bitrate targetting the selected bitrate. -k, --skeleton Adds an Ogg Skeleton bitstream -r, --raw Raw mode. Input files are read directly as PCM data -B, --raw-bits=n Set bits/sample for raw input; default is 16 -C, --raw-chan=n Set number of channels for raw input; default is 2 -R, --raw-rate=n Set samples/sec for raw input; default is 44100 --raw-endianness 1 for bigendian, 0 for little (defaults to 0) -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for encoding for a fixed-size channel. Using this will automatically enable managed bitrate mode (see --managed). -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for streaming applications. Using this will automatically enable managed bitrate mode (see --managed). -q, --quality Specify quality, between -1 (very low) and 10 (very high), instead of specifying a particular bitrate. This is the normal mode of operation. Fractional qualities (e.g. 2.75) are permitted The default quality level is 3. Input Buffer %5.1f%% Naming: -o, --output=fn Write file to fn (only valid in single-file mode) -n, --names=string Produce filenames as this string, with %%a, %%t, %%l, %%n, %%d replaced by artist, title, album, track number, and date, respectively (see below for specifying these). %%%% gives a literal %%. Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%(NULL)(c) 2003-2005 Michael Smith Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv] Flags supported: -h Show this help message -q Make less verbose. Once will remove detailed informative messages, two will remove warnings -v Make more verbose. This may enable more detailed checks for some stream types. (none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. 255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support more) === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Option conflict: End time is before start time. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable codecs: Available options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBig endian 24 bit PCM data is not currently supported, aborting. Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Changed lowpass frequency from %f kHz to %f kHz Comments: %sCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Could not skip to %f in audio stream.Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't get enough memory for input buffering.Couldn't get enough memory to register new stream serial number.Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" Decode options DefaultDescriptionDone.Downmixing stereo to mono EOF before recognised stream.ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Input filename is the same as output filename "%s" ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n ERROR: No input files specified. Use -h for help. Editing options Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing erroneous temporary file %s Error removing old file %s Error renaming %s to %s Error unknown.Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory Examples: vorbiscomment -a in.ogg -c comments.txt vorbiscomment -a in.ogg -t "ARTIST=Some Guy" -t "TITLE=A Title" FLAC file readerFLAC, Failed to set advanced rate management parameters Failed to set bitrate min/max in quality mode Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File:File: %sIf no output file is specified, vorbiscomment will modify the input file. This is handled via temporary file, such that the input file is not modified if any errors are encountered during processing. Input buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input options Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Internal error: attempt to read unsupported bitdepth %d Key not foundList or edit comments in Ogg Vorbis files. Listing options Live:Logical stream %d ended Memory allocation error in stats_init() Miscellaneous options Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Note: Stream %d has serial number %d, which is legal but may cause problems with some tools. OPTIONS: General: -Q, --quiet Produce no output to stderr -h, --help Print this help text -V, --version Print the version number Ogg FLAC file readerOgg Vorbis stream: %d channel, %ld HzOgg Vorbis. Ogg bitstream does not contain a supported data-type.Ogg muxing constraints violated, new stream before EOS of all previous streamsOpening with %s module: %s Output options Page found for stream after EOS flagPlaying: %sPlaylist options Processing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring RAW file readerRequesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Scaling input to %f Set optional hard quality restrictions Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d Speex, SuccessSupported options: System errorThe file format of %s is not supported. This version of libvorbisenc cannot set advanced rate management parameters Time: %sTypeUnknown errorUnrecognised advanced option "%s" Usage: ogg123 [options] file ... Play Ogg audio files and network streams. Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg] Usage: oggenc [options] inputfile [...] Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv] ogginfo is a tool for printing information about Ogg files and for diagnosing problems with them. Full help shown with "ogginfo -h". Vorbis format: Version %dWARNING: Can't downmix except from stereo to mono WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: Ignoring illegal escape character '%c' in name format WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid sample rate specified, assuming 44100. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Unknown option specified, ignoring-> WARNING: quality setting too high, setting to maximum quality. Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. Warning: Unexpected EOF in reading WAV header bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sogg123 from %s %soggdec from %s %s oggenc from %s %s ogginfo from %s %s otherrepeat playlist forevershuffle playliststandard inputstandard outputstringvorbiscomment from %s %s by the Xiph.Org Foundation (http://www.xiph.org/) vorbiscomment handles comments in the format "name=value", one per line. By default, comments are written to stdout when listing, and read from stdin when editing. Alternatively, a file can be specified with the -c option, or tags can be given on the commandline with -t "name=value". Use of either -c or -t disables reading from stdin. Project-Id-Version: vorbis-tools 1.2.1 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2008-09-22 18:57+0930 Last-Translator: Clytie Siddall Language-Team: Vietnamese Language: vi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=1; plural=0; X-Generator: LocFactoryEditor 1.7b3 -V Xuất thông tin phiên bản, sau đó thoát Tá»· lệ trung bình: %.1f kb/g Thá»i gian đã qua: %dp %04.1fg Äang mã hoá [%2dm%.2ds đến lúc này] %c Tá»· lệ: %.4f [%5.1f%%] [%2dm%.2ds còn lại] %c Äá»™ dài tập tin: %dp %04.1fg Má»›i mã hóa xong tập tin « %s » Má»›i mã hóa xong. Thiết bị âm thanh: %s --audio-buffer n Dùng má»™t vùng đệm âm thanh xuất có kích cỡ « n » kilô-byte -@ tập_tin, --list tập_tin Äá»c danh mục phát các tập tin và địa chỉ URL từ tập tin này -K n, --end n Kết thúc ở « n » giây (hoặc dùng định dạng hh:mm:ss) -R, --raw Äá»c và ghi các ghi chú theo UTF-8 -R, --remote Dùng giao diện Ä‘iá»u khiển từ xa -V, --version Hiển thị phiên bản ogg123 -V, --version Xuất thông tin phiên bản, sau đó thoát -Z, --random Phát ngẫu nhiên các tập tin đến khi bị giản Ä‘oạn -b n, --buffer n Dùng má»™t vùng đệm nhập có kích cỡ « n » kilô-byte -c tập_tin, --commentfile tập_tin Khi liệt kê thì cÅ©ng ghi các ghi chú vào tập tin đưa ra. Khi chỉnh sá»­a thì cÅ©ng Ä‘á»c các ghi chú từ tập tin đưa ra. -d thiết_bị, --device thiết_bị Dùng thiết bị xuất này. Các thiết bị sẵn sàng: -f tập_tin, --file tập_tin Äặt tên tập tin xuất cho má»™t thiết bị tập tin được xác định trước dùng « --device ». -h, --help Hiển thị trợ giúp này -k n, --skip n Bá» qua « n » giây đầu tiên (hoặc dùng định dạng hh:mm:ss) hh:mm:ss giá»:phút:giây, má»—i phần theo hai chữ số -l s, --delay s Äặt thá»i hạn chấm dứt theo mili-giây. ogg123 sẽ nhảy đến bài nhạc kế tiếp nếu nhận tín hiệu gián Ä‘oạn SIGINT (Ctrl-C), cÅ©ng chấm dứt nếu nhận hai SIGINT trong thá»i hạn đã ghi rõ « s » (mặc định 500) -l, --list Liệt kê các ghi chú (mặc định nếu không đưa ra tùy chá»n) -o k:v, --device-option k:v Gá»­i tùy chá»n đặc biệt « k » vá»›i giá trị « v » cho thiết bị được xác định trước dùng « --device ». Xem trang hướng dẫn (man) ogg123 để tìm những tùy chá»n thiết bị sẵn sàng. -p n, --prebuffer n Nạp n%% vùng đệm nhập trước khi phát -q, --quiet Không hiển thị gì (không tên) -r, --repeat Lặp lại vô hạn danh mục phát -t "tên=giá_trị", --tag "ên=giá_trị" Ghi rõ má»™t ghi chú trên dòng lệnh -v, --verbose Hiển thị tiến hành và thông tin trạng thái khác -w, --write Ghi chú, mà thay thế ghi chú đã có -x n, --nth n Phát má»—i khối thứ « n » -y n, --ntimes n Lặp lại « n » lần má»—i khối được phát -z, --shuffle Trá»™n bài danh sách các tập tin trước khi phát --advanced-encode-option tùy_chá»n=giá_trị Äặt má»™t tùy chá»n mã hoá cấp cao thành giá trị đưa ra. Những tùy chá»n hợp lệ (và giá trị tương ứng) được diá»…n tả tên trang hướng dẫn (man) có sẵn vá»›i chương trình này. Tùy chá»n kiểu này chỉ cho ngưá»i dùng thành thạo, cÅ©ng nên dùng cẩn thận. --bits, -b Äá»™ sâu bit cá»§a kết xuất (há»— trợ 8 và 16) --endianness, -e Tình trạng cuối cá»§a kết xuất 16-bit; 0 - vá» cuối nhá» (mặc định) 1 - vá» cuối lá»›n --help, -h Xuất thông Ä‘iệp trợ giúp này. --managed Bật cÆ¡ chế quản lý tá»· lệ bit. Äây sẽ cho phép rất Ä‘iá»u khiển hÆ¡n vá»›i tá»· lệ bit chính xác được dùng, còn mã hoá rất chậm hÆ¡n. Không nên dùng nếu không rất cần Ä‘iá»u khiển chi tiết tá»· lệ bit, v.d. để chạy luồng. --output, -o Xuất vào tên tập tin đưa ra. Chỉ có thể dùng vá»›i 1 tập tin nhập vào, trừ ở chế độ thô. --quiet, -Q Chế độ im: không xuất gì trên bàn giao tiếp. --raw, -R Kết xuất thô (không có phần đầu). --resample n Lấy lại mẫu dữ liệu nhập theo tá»· lệ lấy mẫu n (Hz) --downmix Hoà tiếng âm lập thể thành đơn nguồn. Chỉ cho phép trên thiết bị nhập âm lập thể. -s, --serial Xác định má»™t số thứ tá»± cho luồng. Nếu mã hoá nhiá»u tập tin, số thứ tá»± này sẽ tăng dần vá»›i má»—i luồng nằm sau cái đầu tiên. --sign, -s Ký PCM kết xuất hay không: 0 - không ký 1 - ký (mặc định) --version, -V In ra số thứ tá»± phiên bản. -N, --tracknum Số thứ tá»± rãnh cá»§a rãnh này -t, --title Tên cá»§a rãnh này -l, --album Tên cá»§a tập nhạc -a, --artist Tên cá»§a nghệ sÄ© -G, --genre Thể loại cá»§a rãnh -X, --name-remove=s Gỡ bá» những ký tá»± được xác định ở đây khá»i tham số thành chuá»—i định dạng « -n ». Có ích để đảm bảo đặt tên tập tin được phép. -P, --name-replace=s Thay thế những ký tá»± bị « --name-remove » gỡ bá» bằng những ký tá»± được xác định ở đây. Nếu chuá»—i này ngắn hÆ¡n chuá»—i cá»§a tùy chá»n « --name-remove » hay chưa xác định, má»—i ký tá»± thừa chỉ đơn giản được gỡ bá». Thiết lập mặc định cho hai đối số trên cÅ©ng đặc trưng cho ná»n tảng. -b, --bitrate Äặt má»™t tá»· lệ bit không đáng kể theo đó cần mã hoá. Thá»­ mã hoá theo má»™t tá»· lệ bit trung bình là giá trị này. Giá trị này theo kbps (kilô-byte má»—i giây). Mặc định là mã hoá VRB, tương đương vá»›i dùng tùy chá»n « -q » hay « --quality ». Xem tùy chá»n « --managed » để dùng má»™t tá»· lệ bit được quản lý nhắm mục đích là tá»· lệ bit được chá»n. -k, --skeleton Thêm má»™t luồng bit kiểu Ogg Skeleton -r, --raw Chế độ thô. Tập tin nhập vào thì được Ä‘á»c trá»±c tiếp là dữ liệu PCM -B, --raw-bits=n Äặt số bit/mẫu cho dữ liệu nhập thô ; mặc định là 16 -C, --raw-chan=n Äặt số kênh cho dữ liệu nhập thô ; mặc định là 2 -R, --raw-rate=n Äặt số mẫu/giây cho dữ liệu nhập thô ; mặc định là 44100 --raw-endianness 1 vá» cuối lá»›n, 0 vá» cuối nhá» (mặc định là 0) -m, --min-bitrate Äặt má»™t tá»· lệ bit tối thiểu (theo kbps). Có ích để mã hoá cho má»™t kênh có kích cỡ cố định. Dùng tùy chá»n này cÅ©ng tá»± động bật chế độ tá»· lệ bit được quản lý (xem tùy chá»n « --managed »). -M, --max-bitrate Äặt má»™t tá»· lệ bit tối Ä‘a (theo kbps). Có ích cho ứng dụng chạy luồng. Dùng tùy chá»n này cÅ©ng tá»± động bật chế độ tá»· lệ bit được quản lý (xem tùy chá»n « --managed »). -q, --quality Xác định mức chất lượng, má»™t giá trị nằm giữa -1 (rất thấp) và 10 (rất cao), thay vào xác định má»™t tá»· lệ bit riêng. Äây là chế độ thao tác bình thưá»ng. CÅ©ng cho phép giá trị phân số (v.d. 2.75). Mức chất lượng mặc định là 3. Vùng đệm nhập %5.1f%% Äặt tên: -o, --output=fn Ghi tập tin vào fn (chỉ hợp lệ ở chế độ má»™t tập tin) -n, --names=chuá»—i Tạo tên tập tin là chuá»—i này; %%a - nghệ sÄ© %%t - tên bài %%l - tập nhạc %%n - số thứ tá»± rãnh %%d - ngày tháng %%%% - má»™t %% nghÄ©a chữ xem dưới đây để tìm thông tin vá» cách xác định những biến đặc biệt này. Vùng đệm xuất %5.1f%%%s: không cho phép tùy chá»n « -- %c » %s: tùy chá»n không hợp lệ « -- %c » %s: tùy chá»n « %c%s » không cho phép đối số %s: tùy chá»n « %s » là mÆ¡ hồ %s: tùy chá»n « %s » cần đến đối số %s: tùy chá»n « --%s » không cho phép đối số %s: tùy chá»n « -W %s » không cho phép đối số %s: tùy chá»n « -W %s » là mÆ¡ hồ %s: tùy chá»n cần đến đối số « -- %c » %s: không nhận ra tùy chá»n « %c%s » %s: không nhận ra tùy chá»n « --%s » %sKết thúc luồng%sBị tạm dừng%sTiá»n đệm đến %.1f%%(Rá»–NG)© năm 2003-2005 cá»§a Michael Smith Sá»­ dụng: ogginfo [cá»] tập_tin1.ogg [tập_tin2.ogx ... tập_tinN.ogv] CỠđược há»— trợ : -h Hiện trợ giúp này -q Xuất ít chi tiết hÆ¡n. Dùng má»™t lần để gỡ bá» các thông Ä‘iệp thông tin chi tiết, dùng hai lần để gỡ bá» các cảnh báo -v Xuất nhiá»u chi tiết hÆ¡n. Có thể bật các sá»± kiểm tra chi tiết hÆ¡n cho má»™t số kiểu luồng (không có)â”â” Không thể mở tập tin danh sách phát %s nên bị nhảy qua. â”â” Không thể phát má»—i từng Ä‘oạn thứ 0. â”â” Không thể phát má»—i từng Ä‘oạn 0 lần. â”â” Äể chạy việc giải mã thá»­, hãy sá»­ dụng trình Ä‘iá»u khiển xuất rá»—ng. â”â” Trình Ä‘iá»u khiển %s được ghi rõ trong tập tin cấu hình là không hợp lệ. â”â” Gặp lá»— trong luồng; rất có thể là vô hại â”â” Giá trị tiá»n đệm không hợp lệ. Phạm vị: 0-100. 255 kênh nên là đủ cho bất cứ ai. (Tiếc là Vorbis không há»— trợ nhiá»u hÆ¡n đó) â”â” Không thể tải trình Ä‘iá»u khiển mặc định và chưa ghi rõ trình Ä‘iá»u khiển trong tập tin cấu hình nên thoát. â”â” Trình Ä‘iá»u khiển %s không phải là trình Ä‘iá»u khiển xuất tập tin. â”â” Lá»—i « %s » trong khi phân tách tùy chá»n cấu hình từ dòng lệnh. â”â” Tùy chá»n là: %s â”â” Khuôn dạng tùy chá»n không đúng: %s. â”â” Không có thiết bị như vậy %s. —— Tùy chá»n xung đột: giá» kết thúc nằm trước giá» bắt đầu. â”â” Lá»—i phân tách: %s trên dòng %d trên %s (%s) â”â” Thư viên Vorbis đã thông báo lá»—i luồng. Bá»™ Ä‘á»c tập tin AIFF/AIFCTác giả: %sCodec có sẵn: Tùy chá»n có sẵn: Tá»· lệ bit trung bình: %5.1fGhi chú sai: « %s » Kiểu sai trong danh sách tùy chá»nGiá trị saiDữ liệu PCM 24-bit kiểu cuối lá»›n không phải được há»— trợ hiện thá»i nên há»§y bá». Mẹo tá»· lệ bit: trên=%ld không đáng kể=%ld dưới=%ld cá»­a sổ=%ldLá»—i luồng bit, vẫn tiếp tục Không thể mở %s. Má»›i thay đổi tần số qua thấp từ %f kHz thành %f kHz Ghi chú : %sDữ liệu bị há»ng hay còn thiếu, vẫn tiếp tục...Phần đầu phụ bị há»ng.Không tìm thấy bá»™ xá»­ lý cho luồng nên há»§y bá» Không thể nhảy qua %f giây âm thanh.Không thể nhảy tá»›i %f trong luồng âm thanh.Không thể chuyển đôi ghi chú đến UTF-8 nên không thể thêm Không thể tạo thư mục « %s »: %s Không tìm thấy đủ bá»™ nhá»› để chuyển hoán đệm dữ liệu nhập.Không tìm thấy đủ bá»™ nhá»› để đăng ký số thứ tá»± luồng má»›i.Không thể khởi động bá»™ lấy lại mẫu. Không thể mở %s để Ä‘á»c Không thể mở %s để ghi Không thể phân tãch Ä‘iểm cắt « %s » Tùy chá»n giải mã Mặc địnhMô tảÄã xong.Äang hoà trá»™n xuống âm lập thể thành nguồn đơn Gặp kết thúc tập tin đằng trước luồng được nhận ra.Lá»–I: không thể mở tập tin nhập « %s »: %s Lá»–I: không thể mở tập tin xuất « %s »: %s Lá»–I: không thể tạo những thư mục con cần thiết cho tên tập tin xuất « %s » Lá»–I: tập tin nhập « %s » không phải là định dạng được há»— trợ Lá»–I: tên tập tin nhập vào trùng vá»›i tên tập tin xuất ra « %s » Lá»–I: nhiá»u tập tin được ghi rõ khi dùng thiết bị nhập chuẩn Lá»–I: có nhiá»u tập tin nhập vá»›i cùng má»™t tên tập tin xuất: đệ nghị dùng tùy chá»n « -n » Lá»–I: chưa ghi rõ tập tin nhập vào. Hãy sá»­ dụng lệnh « -h » để xem trợ giúp. Tùy chá»n chỉnh sá»­a Äang bật cÆ¡ chế quản lý tá»· lệ bit Mã hóa do : %sÄang mã hóa %s%s%s vào %s%s%s vá»›i tá»· lệ trung bình %d kb/g (cách mã hóa VBR đã bật) Äang mã hóa %s%s%s vào %s%s%s vá»›i tá»· lệ bit trung bình %d kb/gÄang mã hóa %s%s%s vào %s%s%s vá»›i chất lượng %2.2f Äang mã hóa %s%s%s vào %s%s%s vá»›i cấp chất lượng %2.2f bằng VBR ràng buá»™cÄang mã hóa %s%s%s vào %s%s%s bằng cách quản lý tá»· lệ bitGặp lá»—i khi kiểm tra có thư mục %s: %s Gặp lá»—i khi mở %s bằng mô-Ä‘un %s. Có lẽ tập tin bị há»ng. Gặp lá»—i khi mở tập tin ghi chú « %s ». Gặp lá»—i khi mở tập tin ghi chú « %s ». Gặp lá»—i khi mở tập tin nhập « %s »: %s Gặp lá»—i khi mở tập tin nhập « %s ». Gặp lá»—i khi mở tập tin xuất « %s ». Gặp lá»—i khi Ä‘á»c trang thứ nhất cá»§a luồng bit Ogg.Gặp lá»—i khi Ä‘á»c gói tin phần đầu ban đầu.Gặp lá»—i khi gỡ bá» tập tin tạm thá»i bị lá»—i %s Gặp lá»—i khi gỡ bá» tập tin cÅ© %s Gặp lá»—i khi thay đổi tên %s thành %s Gặp lá»—i không rõ.Gặp lá»—i khi ghi luồng vào xuất. Luồng xuất có lẽ bị há»ng hay bị cụt.Lá»—i: không thể tạo vùng đệm âm thanh. Lá»—i: hết bá»™ nhá»› trong « decoder_buffered_metadata_callback() » (gá»i lại siêu dữ liệu có vùng đệm bá»™ giải mã). Lá»—i: hết bá»™ nhá»› trong « new_print_statistics_arg() » (đối số thống kê in má»›i). Lá»—i: Ä‘oạn đưá»ng dẫn « %s » không phải là thư mục Ví dụ : vorbiscomment -a in.ogg -c ghi_chú.txt vorbiscomment -a in.ogg -t "ARTIST=Ngưá»i Nào" -t "TITLE=Tên Bài" Bá»™ Ä‘á»c tập tin FLACFLAC, Lá»—i đặt tham số quản lý tá»· lệ cấp cao Lá»—i đặt tá»· lệ bit tiểu/đại trong chế độ chất lượng Lá»—i ghi các ghi chú vào tập tin xuất: %s Gặp lá»—i khi ghi dữ liệu vào luồng xuất Gặp lá»—i khi ghi phần đầu vào luồng xuất Tập tin:Tập tin: %sNếu không đưa ra tập tin kết xuất thì vorbiscomment sá»­a đổi tập tin nhập vào. Việc này được quản lý dùng má»™t tập tin tạm thá»i, để mà tập tin nhập vào không phải bị sá»­a đổi nếu gặp lá»—i trong khi xá»­ lý. Kích cỡ cá»§a vùng đệm nhập có nhá» hÆ¡n kích cỡ tối thiểu là %dkB.Tên tập tin nhập có lẽ không trùng vá»›i tên tập tin xuất Dữ liệu nhập không phải là má»™t luồng bit Ogg.Dữ liệu nhập không phải là định dạng ogg. Tùy chá»n nhập liệu Dữ liệu nhập bị cụt hay rá»—ng.Gặp lá»—i ná»™i bá»™ khi phân tách tùy chá»n dòng lệnh Gặp lá»—i ná»™i bá»™ khi phân tách tùy chá»n dòng lệnh. Gặp lá»—i ná»™i bá»™ khi phân tách tùy chá»n lệnh Lá»—i ná»™i bá»™ : thá»­ Ä‘á»c độ sâu bit không được há»— trợ %d Không tìm thấy khóaLiệt kê hoặc chỉnh sá»­a ghi chú trong tập tin kiểu Ogg Vorbis. Tùy chá»n liệt kê Äá»™ng:Luồng hợp lý %d đã kết thúc Lá»—i phân định bá»™ nhá»› trong « stats_init() » (khởi động thống kê). Tùy chá»n khác Việc khởi động chế độ bị lá»—i: tham số không hợp lệ vá»›i tá»· lệ bit Việc khởi động chế độ bị lá»—i: tham số không hợp lệ vá»›i chất lượng TênLuồng hợp lý má»›i (#%d, nối tiếp: %08x): kiểu %s Chưa ghi rõ tập tin nhập nào. Sá»­ dụng lệnh « ogginfo -h » để xem trợ giúp. Không có khóaKhông tìm thấy mô-đụn để Ä‘á»c từ %s. Không tìm thấy giá trị cho tùy chá»n mã hóa cấp cao Ghi chú : luồng %d có số sản xuất %d mà hợp pháp nhưng có thể gây ra lá»—i trong má»™t số công cụ. TÙY CHỌN: Chung: -Q, --quiet Không xuất gì ra đầu lá»—i tiêu chuẩn (stderr) -h, --help In ra trợ giúp này -V, --version In ra số thứ tá»± phiên bản Bá»™ Ä‘á»c tập tin FLAC OggLuồng Ogg Vorbis: %d kênh, %ld HzOgg Vorbis. Luồng bit Ogg không chứa kiểu dữ liệu được há»— trợ.Vi phạm các ràng buá»™c mux Ogg, có luồng má»›i nằm trước EOS (kết thúc luồng) cá»§a các luồng trướcÄang mở bằng mô-Ä‘un %s: %s Tùy chá»n xuất Tìm thấy trang cho luồng sau cá» EOS (kết thúc luồng)Äang phát: %sTùy chá»n danh mục phát Việc xá»­ lý bị lá»—i Äang xá»­ lý tập tin « %s ».... Äang xá»­ lý: cắt tại %lld mẫu Không nhận ra tùy chá»n chất lượng « %s » nên bá» qua Bá»™ Ä‘á»c tập tin RAWViệc yêu cầu tá»· lệ bit tối thiểu hay tối Ä‘a cần thiết tùy chá»n « --managed » (đã quản lý) Äang lấy lại mẫu nhập từ %d Hz đến %d Hz Äang co dãn kết nhập thành %f Äặt sá»± hạn chế chất lượng cứng tùy chá»n Äang lập tùy chá»n mã hóa cấp cao « %s » thành %s Äang nhảy qua từng Ä‘oạn kiểu « %s », độ dài %d Speex, Thành côngTùy chá»n được há»— trợ : Lá»—i hệ thốngKhuôn dạng tập tin cá»§a %s không được há»— trợ. Phiên bản libvorbisenc này không có khả năng đặt tham số quản lý tá»· lệ cấp cao Thá»i gian: %sKiểuGặp lá»—i lạKhông chấp nhận tùy chá»n cấp cao « %s » Sá»­ dụng: ogg123 [tùy_chá»n] tập_tin ... Phát các tập tin âm thanh và luồng mạng kiểu Ogg. Sá»­ dụng: oggdec [tùy_chá»n] tập_tin1.ogg [tập_tin2.ogg ... tập_tinN.ogg] Sá»­ dụng: oggenc [tùy_chá»n] tập_tin_nhập [...] Sá»­ dụng: ogginfo [cá»] tập_tin1.ogg [tập_tin2.ogx ... tập_tinN.ogv] ogginfo là má»™t công cụ in ra thông tin vá» tập tin kiểu Ogg và chẩn Ä‘oán vấn đỠvá»›i nó. Có thể xem trợ giúp đầy đủ bằng cách sá»­ dụng lệnh « ogginfo -h ». Äịnh dạng Vorbis: phiên bản %dCẢNH BÃO : không thể hoà tiếng từ âm lập thể xuống nguồn đơn CẢNH BÃO : không thể Ä‘á»c đối số tính trạng cuối « %s » CẢNH BÃO : không thể Ä‘á»c tần số lấy lại mẫu « %s » CẢNH BÃO : Ä‘ang bá» qua ký tá»± thoát không được phép « %c » trong định dạng tên CẢNH BÃO : chưa ghi rõ đủ tá»±a nên dùng mặc định (tá»±a cuối cùng). CẢNH BÃO : ghi rõ bit/mẫu không hợp lệ nên giả sá»­ 16. CẢNH BÃO : ghi rõ số đếm kênh không hợp lệ nên giả sá»­ 2. CẢNH BÃO : ghi rõ tá»· lệ lấy mẫu không hợp lệ nên giả sá»­ 44100. CẢNH BÃO : nhiá»u Ä‘iá»u thay thế bá»™ lá»c định dạng tên được ghi rõ nên dùng Ä‘iá»u cuối cùng CẢNH BÃO : nhiá»u bá»™ lá»c định dạng tên được ghi rõ nên dùng Ä‘iá»u cuối cùng CẢNH BÃO : nhiá»u định dạng tên được ghi rõ nên dùng Ä‘iá»u cuối cùng CẢNH BÃO : nhiá»u tập tin xuất được ghi rõ nên đệ nghị dùng tùy chá»n « -n » CẢNH BÃO : bit/mẫu thô được ghi rõ cho dữ liệu không phải thô nên giả sá»­ dữ liệu nhập có phải là thô. CẢNH BÃO : số đếm kênh thô được ghi rõ cho dữ liệu không phải thô nên giả sá»­ dữ liệu nhập có phải là thô. CẢNH BÃO : tính trạng cuối thô được ghi rõ cho dữ liệu không phải thô. Như thế thì sẽ giả sá»­ dữ liệu nhập có phải là thô. CẢNH BÃO : tá»· lệ lấy mẫu thô được ghi rõ cho dữ liệu không phải thô nên giả sá»­ dữ liệu nhập có phải là thô. CẢNH BÃO : ghi rõ tùy chá»n lạ nên giả sá»­ → CẢNH BÃO : thiết lập chất lượng quá cao nên lập thành chất lượng tối Ä‘a. Cảnh báo từ danh sách phát %s: không thể Ä‘á»c thư mục %s. Cảnh báo : không thể Ä‘á»c thư mục %s. Cảnh báo : gặp kết thúc tập tin bất thưá»ng khi Ä‘á»c phần đầu WAV ghi chú sai: « %s » luận lýký tá»±thiết bị xuất mặc địnhđôinổingyChưa ghi rõ hành động nào không cótrên %sogg123 từ %s %soggdec từ %s %s oggenc từ %s %s ogginfo từ %s %s kháclặp lại vô hạn danh mục pháttrá»™n bài phátthiết bị nhập chuẩnthiết bị xuất chuẩnchuá»—ivorbiscomment từ %s %s cá»§a Tổ chức Xiph.Org (http://www.xiph.org/) vorbiscomment quản lý ghi chú theo định dạng "tên=giá_trị", má»—i dòng má»™t mục. Mặc định là ghi chú được ghi ra đầu ra tiêu chuẩn khi liệt kê, và được Ä‘á»c từ đầu vào tiêu chuẩn khi chỉnh sá»­a. Hoặc có thể xác định má»™t tập tin dùng tùy chá»n « -c », hoặc có thê đưa ra thẻ trên dòng lệnh dùng « -t "tên=giá_trị" ». Dùng tùy chá»n hoặc « -c » hoặc « -t » thì cÅ©ng tắt chức năng Ä‘á»c từ đầu vào tiêu chuẩn. vorbis-tools-1.4.2/po/uk.po0000644000175000017500000035626214002243560012510 00000000000000# Ukrainian translation to vorbis-tools. # Copyright (C) 2004 Free Software Foundation, Inc. # Maxim V. Dziumanenko , 2004-2007. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.1.1\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2007-08-17 16:32+0200\n" "Last-Translator: Maxim V. Dziumanenko \n" "Language-Team: Ukrainian \n" "Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Помилка: недоÑтатньо пам'Ñті при виконанні malloc_action().\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "" "Помилка: не вдаєтьÑÑ Ñ€Ð¾Ð·Ð¿Ð¾Ð´Ñ–Ð»Ð¸Ñ‚Ð¸ пам'Ñть при виконанні " "malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Помилка: приÑтрій відÑутній.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "Помилка: %s потребує Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð½Ð°Ð·Ð²Ð¸ файлу виводу у ключі -f.\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Помилка: непідтримуване Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° Ð´Ð»Ñ Ð¿Ñ€Ð¸Ñтрою %s.\n" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Помилка: не вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ приÑтрій %s.\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Помилка: збій приÑтрою %s.\n" #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "Помилка: вихідний файл не може бути переданий приÑтрою %s.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Помилка: не вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ файл %s Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸ÑуваннÑ.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Помилка: файл %s вже Ñ–Ñнує.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "Помилка: Ñ†Ñ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ° не повинна ніколи траплÑтиÑÑŒ (%d). Паніка!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "Помилка: недоÑтатньо пам'Ñті при виконанні new_audio_reopen_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "" "Помилка: недоÑтатньо пам'Ñті при виконанні new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "Помилка: недоÑтатньо пам'Ñті при виконанні new_status_message_arg().\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "" "Помилка: недоÑтатньо пам'Ñті при виконанні " "decoder_buffered_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "" "Помилка: недоÑтатньо пам'Ñті при виконанні " "decoder_buffered_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "СиÑтемна помилка" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Помилка аналізу: %s у Ñ€Ñдку %d з %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Ðазва" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "ОпиÑ" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Тип" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Типово" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "none" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "bool" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "char" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "string" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "int" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "float" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "double" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "інший" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(NULL)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(немає)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "УÑпішно завершено" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Ключ не знайдено" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Ðемає ключа" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Ðеправильне значеннÑ" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Ðеправильний тип у ÑпиÑку параметрів" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Ðевідома помилка" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "Ð’Ð½ÑƒÑ‚Ñ€Ñ–ÑˆÐ½Ñ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ° при аналізі параметрів командного Ñ€Ñдка.\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Розмір вхідного буфера менше мінімального - %dкБ." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Помилка \"%s\" під Ñ‡Ð°Ñ Ð°Ð½Ð°Ð»Ñ–Ð·Ñƒ параметрів конфігурації командного " "Ñ€Ñдка.\n" "=== Помилку Ñпричинив параметр: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "ДоÑтупні параметри:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== ПриÑтрій %s не Ñ–Ñнує.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== Драйвер %s не Ñ” драйвером файлу виводу.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "=== Ðе можна вказувати файл виводу без Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð´Ñ€Ð°Ð¹Ð²ÐµÑ€Ð°.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Ðекоректний формат параметра: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Ðеправильне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð¿Ñ€Ðµ-буфера. ДопуÑтимий діапазон 0-100.\n" #: ogg123/cmdline_options.c:202 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 з %s %s\n" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Відтворити кожен 0-й фрагмент неможливо!\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Ðе можна відтворити фрагмент 0 разів.\n" "--- Ð”Ð»Ñ Ð²Ð¸ÐºÐ¾Ð½Ð°Ð½Ð½Ñ Ð¿ÐµÑ€ÐµÐ²Ñ–Ñ€Ð¾Ñ‡Ð½Ð¾Ð³Ð¾ декодуваннÑ, викориÑтовуйте драйвер виводу " "null.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ файл ÑпиÑку Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ %s. Пропущений.\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "=== Конфлікт параметрів: кінцевий Ñ‡Ð°Ñ Ñ€Ð°Ð½Ñ–ÑˆÐ¸Ð¹ за початковий чаÑ.\n" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- Вказаний у конфігурації драйвер %s - неправильний.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Ðе вдаєтьÑÑ Ð·Ð°Ð²Ð°Ð½Ñ‚Ð°Ð¶Ð¸Ñ‚Ð¸ типовий драйвер, а у конфігураційному файлі " "драйвер не визначений. Ð—Ð°Ð²ÐµÑ€ÑˆÐµÐ½Ð½Ñ Ñ€Ð¾Ð±Ð¾Ñ‚Ð¸.\n" #: ogg123/cmdline_options.c:307 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:314 #, fuzzy, c-format msgid "Available codecs: " msgstr "ДоÑтупні параметри:\n" #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:342 #, fuzzy, c-format msgid "File:" msgstr "Файл: %s" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" #: ogg123/cmdline_options.c:361 #, fuzzy, c-format msgid "Playlist options\n" msgstr "ДоÑтупні параметри:\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:369 #, fuzzy, c-format msgid "Input options\n" msgstr "Вхідні дані не у форматі ogg.\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:374 #, fuzzy, c-format msgid "Decode options\n" msgstr "ОпиÑ" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "ДоÑтупні параметри:\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr "" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Помилка: недоÑтатньо пам'Ñті.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "" "Помилка: не вдаєтьÑÑ Ñ€Ð¾Ð·Ð¿Ð¾Ð´Ñ–Ð»Ð¸Ñ‚Ð¸ пам'Ñть при виконанні " "malloc_decoder_stats()\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Помилка: не вдаєтьÑÑ Ð²Ñтановити маÑку Ñигналу." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Помилка: не вдаєтьÑÑ Ñтворити вхідний буфер.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "типовий приÑтрій виводу" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "перемішати ÑпиÑок програваннÑ" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:230 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Ðе вдаєтьÑÑ Ð¿Ñ€Ð¾Ð¿ÑƒÑтити %f Ñекунд звуку." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Звуковий приÑтрій: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Ðвтор: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "Коментарі: %s" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "ПопередженнÑ: не вдаєтьÑÑ Ð¿Ñ€Ð¾Ñ‡Ð¸Ñ‚Ð°Ñ‚Ð¸ каталог %s.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Помилка: не вдаєтьÑÑ Ñтворити буфер Ð´Ð»Ñ Ð·Ð²ÑƒÐºÑƒ.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Ðе знайдені модулі Ð´Ð»Ñ Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñƒ з %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Формат файлу %s не підтримуєтьÑÑ.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" "Помилка Ð²Ñ–Ð´ÐºÑ€Ð¸Ð²Ð°Ð½Ð½Ñ %s викориÑтовуючи модуль %s. Можливо, файл пошкоджений.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "ВідтвореннÑ: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Ðе вдаєтьÑÑ Ð¿Ñ€Ð¾Ð¿ÑƒÑтити %f Ñекунд звуку." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Помилка: помилка декодуваннÑ.\n" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Завершено." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- ПропуÑк у потокові; можливо нічого Ñтрашного\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== Бібліотека VorbÑ–s ÑповіÑтила про помилку потоку.\n" #: ogg123/oggvorbis_format.c:361 #, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "Потік Ogg Vorbis: %d канали, %ld Гц" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "Формат Vorbis: ВерÑÑ–Ñ %d" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "" "Ð—Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ð¾Ñті потоку бітів: верхнє=%ld номінальне=%ld нижнє=%ld вікно=" "%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "КодуваннÑ: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "Помилка: недоÑтатньо пам'Ñті при виконанні create_playlist_member().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "ПопередженнÑ: не вдаєтьÑÑ Ð¿Ñ€Ð¾Ñ‡Ð¸Ñ‚Ð°Ñ‚Ð¸ каталог %s.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "" "ÐŸÐ¾Ð¿ÐµÑ€ÐµÐ´Ð¶ÐµÐ½Ð½Ñ Ð·Ñ– ÑпиÑку Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ %s: не вдаєтьÑÑ Ð¿Ñ€Ð¾Ñ‡Ð¸Ñ‚Ð°Ñ‚Ð¸ каталог %s.\n" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "Помилка: недоÑтатньо пам'Ñті при виконанні playlist_to_array().\n" #: ogg123/speex_format.c:366 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "Потік Ogg Vorbis: %d канали, %ld Гц" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Потік Ogg Vorbis: %d канали, %ld Гц" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "ВерÑÑ–Ñ: %d\n" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Помилка Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÑ–Ð²\n" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sПре-Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ Ð´Ð¾ %.1f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sПауза" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sКінець потоку" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Помилка розподілу пам'Ñті при виконанні stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Файл: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "ЧаÑ: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "з %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Середн. потік біт: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Вхідний буфер %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " Вихідний буфер %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "" "Помилка: не вдаєтьÑÑ Ñ€Ð¾Ð·Ð¿Ð¾Ð´Ñ–Ð»Ð¸Ñ‚Ð¸ пам'Ñть при виконанні " "malloc_data_source_stats()\n" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "Ðомер доріжки:" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain (Reference loudness):" msgstr "Рівень Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ (доріжка):" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "Рівень Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ (доріжка):" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "Рівень Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ (альбом):" #: ogg123/vorbis_comments.c:45 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr "Рівень Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ (доріжка):" #: ogg123/vorbis_comments.c:46 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr "Рівень Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ (альбом):" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "ÐвторÑькі права" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 msgid "Comment:" msgstr "Коментар:" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 з %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "ПОМИЛКÐ: Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ вхідний файл \"%s\": %s\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "ПОМИЛКÐ: Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ файл виводу \"%s\": %s\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Помилка при відкриванні файлу Ñк файлу vorbis: %s\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñƒ завершено \"%s\"\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "Ñтандартний ввід" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "Ñтандартний вивід" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Помилка Ð²Ð¸Ð´Ð°Ð»ÐµÐ½Ð½Ñ Ñтарого файлу %s\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "ПОМИЛКÐ: Ðе вказані вхідні файли. Ð”Ð»Ñ Ð¾Ñ‚Ñ€Ð¸Ð¼Ð°Ð½Ð½Ñ Ð´Ð¾Ð²Ñ–Ð´ÐºÐ¸ викориÑтовуйте -h.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "ПОМИЛКÐ: Декілька вхідних файлів при вказаній назві вхідного файлу: " "рекомендуєтьÑÑ Ð²Ð¸ÐºÐ¾Ñ€Ð¸Ñтовувати -n\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "Ð§Ð¸Ñ‚Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñ–Ð² WAV" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "Ð§Ð¸Ñ‚Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñ–Ð² AIFF/AIFC" #: oggenc/audio.c:50 msgid "FLAC file reader" msgstr "Ð§Ð¸Ñ‚Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñ–Ð² FLAC" #: oggenc/audio.c:51 msgid "Ogg FLAC file reader" msgstr "Ð§Ð¸Ñ‚Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñ–Ð² Ogg FLAC" #: oggenc/audio.c:129 oggenc/audio.c:459 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "ПопередженнÑ: неочікуваний кінець файлу при читанні заголовку WAV\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "ПропуÑкаєтьÑÑ Ñ„Ñ€Ð°Ð³Ð¼ÐµÐ½Ñ‚ типу \"%s\", довжина %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "ПопередженнÑ: неочікуваний кінець файла у фрагменті AIFF\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "ПопередженнÑ: у файлі AIFF не знайдено загальний фрагмент\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "ПопередженнÑ: обрізаний загальний фрагмент у заголовку AIFF\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "ПопередженнÑ: неочікуваний кінець файлу при читанні заголовку AIFF\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "ПопередженнÑ: обрізаний загальний фрагмент у заголовку AIFF\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "ПопередженнÑ: заголовок AIFF-C обрізаний.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "ПопередженнÑ: неможливо обробити ÑтиÑнений AIFF-C (%c%c%c%c)\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "ПопередженнÑ: у файлі AIFF не знайдено SSND-фрагмент\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "ПопередженнÑ: у заголовку AIFF пошкоджений SSND-фрагмент\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "ПопередженнÑ: неочікуваний кінець файлу при читанні заголовку AIFF\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "ПопередженнÑ: OggEnc не підтримує цей тип AIFF/AIFC файлу\n" " Повинен бути 8-бітний чи 16-бітний PCM.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "ПопередженнÑ: формат фрагменту у заголовку WAV не розпізнаний\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "ПопередженнÑ: ÐЕПРÐВИЛЬÐИЙ формат фрагменту у заголовку wav.\n" " Ðле робитьÑÑ Ñпроба прочитати (може не Ñпрацювати)...\n" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "ПОМИЛКÐ: непідтримуваний тип wav файлу (повинен бути Ñтандартним\n" "PCM або PCM типу 3 з плаваючою крапкою)\n" #: oggenc/audio.c:546 #, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "ПОМИЛКÐ: непідтримуваний підформат wav файлу (повинен бути 8,16 або 24-" "бітним\n" "PCM або PCM з плаваючою крапкою)\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" "Формат Big endian 24-біт PCM наразі не підтримуєтьÑÑ, Ð·Ð°Ð²ÐµÑ€ÑˆÐµÐ½Ð½Ñ Ñ€Ð¾Ð±Ð¾Ñ‚Ð¸.\n" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "Ð’Ð½ÑƒÑ‚Ñ€Ñ–ÑˆÐ½Ñ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ°: Ñпроба прочитати непідтримувану розрÑдніÑть %d\n" #: oggenc/audio.c:799 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "ПОМИЛКÐ: Від реÑемплера отримане нульове чиÑло Ñемплів. Повідомте про " "помилку автору.\n" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "Ðе вдаєтьÑÑ Ñ–Ð½Ñ–Ñ†Ñ–Ð°Ð»Ñ–Ð·ÑƒÐ²Ð°Ñ‚Ð¸ реÑемплер\n" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "Ð’ÑÑ‚Ð°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ Ð´Ð¾Ð´Ð°Ñ‚ÐºÐ¾Ð²Ð¾Ð³Ð¾ параметра кодувальника \"%s\" у Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ %s\n" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "Ð’ÑÑ‚Ð°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ Ð´Ð¾Ð´Ð°Ñ‚ÐºÐ¾Ð²Ð¾Ð³Ð¾ параметра кодувальника \"%s\" у Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ %s\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "Змінено нижню межу чаÑтоти з %f кГц на %f кГц\n" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "Ðерозпізнаний додатковий параметр \"%s\"\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, fuzzy, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" "255 каналів повинно виÑтачити Ð´Ð»Ñ ÑƒÑÑ–Ñ…. (Вибачте, але vorbis не підтримує " "більшу кількіÑть)\n" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "" "Ð”Ð»Ñ Ð·Ð°Ð¿Ð¸Ñ‚Ñƒ мінімальної чи макÑимальної щільноÑті потоку бітів вимагаєтьÑÑ --" "managed\n" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "Помилка режиму ініціалізації: неправильні параметри Ð´Ð»Ñ ÑкоÑті\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "Ð’Ñтановити необов'Ñзкові Ð¾Ð±Ð¼ÐµÐ¶ÐµÐ½Ð½Ñ Ð¶Ð¾Ñ€Ñткої ÑкоÑті\n" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" "Ðе вдаєтьÑÑ Ð²Ñтановити мін/Ð¼Ð°ÐºÑ Ñ‰Ñ–Ð»ÑŒÐ½Ñ–Ñть потоку бітів у режимі ÑкоÑті\n" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "" "Помилка режиму ініціалізації: неправильні параметри Ð´Ð»Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ð¾Ñті потоку " "бітів\n" #: oggenc/encode.c:374 #, fuzzy, c-format msgid "WARNING: no language specified for %s\n" msgstr "ПОПЕРЕДЖЕÐÐЯ: вказано невідомий параметр, ігноруєтьÑÑ->\n" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "Помилка при запиÑуванні заголовку у потік виводу\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Помилка при запиÑуванні заголовку у потік виводу\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "Помилка при запиÑуванні заголовку у потік виводу\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Помилка при запиÑуванні заголовку у потік виводу\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Помилка при запиÑуванні даних у потік виводу\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [залишилоÑÑŒ %2dхв%.2dÑ] %c" #: oggenc/encode.c:726 #, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ [виконано %2dхв%.2dÑ] %c" #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñƒ завершено \"%s\"\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ Ð·Ð°Ð²ÐµÑ€ÑˆÐµÐ½Ð¾.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tДовжина файлу: %dхв %04.1fÑ\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tЗалишилоÑÑŒ чаÑу: %dхв %04.1fÑ\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tСтиÑненнÑ: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tÐ¡ÐµÑ€ÐµÐ´Ð½Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ñ–Ñть: %.1f кбіт/Ñ\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ %s%s%s у \n" " %s%s%s \n" "з Ñередньою щільніÑтю %d кбіт/Ñ " #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ %s%s%s у \n" " %s%s%s \n" "з приблизною щільніÑтю %d кбіт/Ñ (увімкнено ÐºÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ Ð· VBR)\n" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ %s%s%s у \n" " %s%s%s \n" "з рівнем ÑкоÑті %2.2f з викориÑтаннÑм обмеженого VBR " #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ %s%s%s у \n" " %s%s%s \n" "з ÑкіÑтю %2.2f\n" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ %s%s%s у \n" " %s%s%s \n" "з викориÑтаннÑм ÐºÐµÑ€ÑƒÐ²Ð°Ð½Ð½Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ñ–Ñтю бітів " #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Помилка при відкриванні файлу Ñк файлу vorbis: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Помилка: недоÑтатньо пам'Ñті.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "ПОМИЛКÐ: Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ вхідний файл \"%s\": %s\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 #, fuzzy msgid "RAW file reader" msgstr "Ð§Ð¸Ñ‚Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñ–Ð² WAV" #: oggenc/oggenc.c:131 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "ПОМИЛКÐ: Ðе вказані вхідні файли. Ð”Ð»Ñ Ð¾Ñ‚Ñ€Ð¸Ð¼Ð°Ð½Ð½Ñ Ð´Ð¾Ð²Ñ–Ð´ÐºÐ¸ викориÑтовуйте -h.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "" "ПОМИЛКÐ: Вказано декілька файлів, але викориÑтовуєтьÑÑ Ñтандартний ввід\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "ПОМИЛКÐ: Декілька вхідних файлів при вказаній назві вхідного файлу: " "рекомендуєтьÑÑ Ð²Ð¸ÐºÐ¾Ñ€Ð¸Ñтовувати -n\n" #: oggenc/oggenc.c:217 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: вказана недоÑÑ‚Ð°Ñ‚Ð½Ñ ÐºÑ–Ð»ÑŒÐºÑ–Ñть заголовків, вÑтановлені оÑтанні " "значеннÑ.\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "ПОМИЛКÐ: Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ вхідний файл \"%s\": %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "ВідкриваєтьÑÑ %s модулем: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "ПОМИЛКÐ: Вхідний файл \"%s\" має непідтримуваний формат\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "ПОМИЛКÐ: Вхідний файл \"%s\" має непідтримуваний формат\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: Ðе вказана назва файлу, викориÑтовуєтьÑÑ \"default.ogg\"\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "ПОМИЛКÐ: Ðе вдаєтьÑÑ Ñтворити необхідні каталоги Ð´Ð»Ñ Ñ„Ð°Ð¹Ð»Ñƒ виводу \"%s\"\n" #: oggenc/oggenc.c:363 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "" "ПОМИЛКÐ: Ðазва вхідного файлу не може збігатиÑÑ Ð· назвою файлу виводу \"%s" "\"\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "ПОМИЛКÐ: Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ файл виводу \"%s\": %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "Зміна чаÑтоти вхідних файлів з %d Гц до %d Гц\n" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Ð—Ð¼Ñ–ÑˆÑƒÐ²Ð°Ð½Ð½Ñ Ñтерео у моно\n" #: oggenc/oggenc.c:441 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "ПОМИЛКÐ: Ð—Ð¼Ñ–ÑˆÑƒÐ²Ð°Ð½Ð½Ñ Ñигналів можливе лише зі Ñтерео у моно\n" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "ЗмінюєтьÑÑ Ð¼Ð°Ñштаб вводу на %f\n" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 з %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: проігнорований некоректний керуючий Ñимвол '%c' у форматі " "назви\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Ð£Ð²Ñ–Ð¼ÐºÐ½ÐµÐ½Ð½Ñ Ð¼ÐµÑ…Ð°Ð½Ñ–Ð·Ð¼Ñƒ ÐºÐµÑ€ÑƒÐ²Ð°Ð½Ð½Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ñ–Ñтю бітів\n" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: вказано порÑдок Ñирих байт Ð´Ð»Ñ Ð½Ðµ Ñирих даних. ВважаєтьÑÑ, що " "дані Ñирі.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: не вдаєтьÑÑ Ð¿Ñ€Ð¾Ñ‡Ð¸Ñ‚Ð°Ñ‚Ð¸ аргумент порÑдку ÑÐ»Ñ–Ð´ÑƒÐ²Ð°Ð½Ð½Ñ Ð±Ð°Ð¹Ñ‚ \"%s\"\n" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "ПОПЕРЕДЖЕÐÐЯ: не вдаєтьÑÑ Ð¿Ñ€Ð¾Ñ‡Ð¸Ñ‚Ð°Ñ‚Ð¸ зміну чаÑтоти \"%s\"\n" #: oggenc/oggenc.c:773 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "ПопередженнÑ: вказана зміна чаÑтоти диÑкретизації на %d Гц. Ви мали на увазі " "%d Гц?\n" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "ПопередженнÑ: не вдаєтьÑÑ Ñ€Ð¾Ð·Ñ–Ð±Ñ€Ð°Ñ‚Ð¸ маÑштаб \"%s\"\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Ðе знайдено Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð´Ð¾Ð´Ð°Ñ‚ÐºÐ¾Ð²Ð¾Ð³Ð¾ параметра кодувальника\n" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "Ð’Ð½ÑƒÑ‚Ñ€Ñ–ÑˆÐ½Ñ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ° аналізу командного Ñ€Ñдка\n" #: oggenc/oggenc.c:831 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" "ПопередженнÑ: викориÑтано неправильний коментар (\"%s\"), ігноруєтьÑÑ.\n" #: oggenc/oggenc.c:870 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "ПопередженнÑ: номінальну щільніÑть бітів \"%s\" не розпізнано\n" #: oggenc/oggenc.c:878 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "ПопередженнÑ: мінімальну щільніÑть бітів \"%s\" не розпізнано\n" #: oggenc/oggenc.c:892 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "ПопередженнÑ: макÑимальну щільніÑть бітів \"%s\" не розпізнано\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Параметр ÑкоÑті \"%s\" не розпізнано, ігноруєтьÑÑ\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: вÑтановлено занадто виÑоку ÑкіÑть, обмежено до макÑимальної\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: Вказано декілька форматів назв, викориÑтовуєтьÑÑ Ð¾Ñтанній\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: Вказано декілька фільтрів форматів назв, викориÑтовуєтьÑÑ " "оÑтанній\n" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: Вказано декілька замін фільтрів форматів назв, " "викориÑтовуєтьÑÑ Ð¾Ñтанній\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: Вказано декілька файлів виводу, рекомендуєтьÑÑ Ð²Ð¸ÐºÐ¾Ñ€Ð¸Ñтовувати " "-n\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: вказано Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ñирих біт/Ñемпл Ð´Ð»Ñ Ð½Ðµ Ñирих даних. " "ВважаєтьÑÑ, що дані на вводі Ñирі.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "ПОПЕРЕДЖЕÐÐЯ: вказано некоректне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð±Ñ–Ñ‚/Ñемпл, вважаєтьÑÑ 16.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: вказана кількіÑть Ñирих каналів Ð´Ð»Ñ Ð½Ðµ Ñирих даних. " "ВважаєтьÑÑ, що дані на вводі Ñирі.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "ПОПЕРЕДЖЕÐÐЯ: вказана неправильна кількіÑть каналів, вважаєтьÑÑ 2.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: вказана Ñира чаÑтота вибірки даних Ð´Ð»Ñ Ð½Ðµ Ñирих даних. " "ВважаєтьÑÑ, що дані на вводі Ñирі.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: вказана неправильна чаÑтота диÑкретизації, вважаєтьÑÑ 44100.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "ПОПЕРЕДЖЕÐÐЯ: вказано невідомий параметр, ігноруєтьÑÑ->\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "Ðе вдаєтьÑÑ Ð¿ÐµÑ€ÐµÑ‚Ð²Ð¾Ñ€Ð¸Ñ‚Ð¸ коментар у UTF-8, неможливо додати\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "Ðе вдаєтьÑÑ Ð¿ÐµÑ€ÐµÑ‚Ð²Ð¾Ñ€Ð¸Ñ‚Ð¸ коментар у UTF-8, неможливо додати\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" "ПОПЕРЕДЖЕÐÐЯ: вказана недоÑÑ‚Ð°Ñ‚Ð½Ñ ÐºÑ–Ð»ÑŒÐºÑ–Ñть заголовків, вÑтановлені оÑтанні " "значеннÑ.\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Ðе вдаєтьÑÑ Ñтворити каталог \"%s\": %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Помилка при перевірці Ñ–ÑÐ½ÑƒÐ²Ð°Ð½Ð½Ñ ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ñƒ %s: %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "Помилка: Ñегмент шлÑху \"%s\" не Ñ” каталогом\n" #: ogginfo/ogginfo2.c:115 #, fuzzy, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" "Потік vorbis %d:\n" "\tДовжина даних: %I64d байт\n" "\tÐ§Ð°Ñ Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ: %ldхв:%02ld.%03ldÑ\n" "\tÐ¡ÐµÑ€ÐµÐ´Ð½Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ñ–Ñть бітів: %f кбіт/Ñ\n" #: ogginfo/ogginfo2.c:127 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "ПопередженнÑ: Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÑƒ %d не вÑтановлено маркер його кінцÑ\n" #: ogginfo/ogginfo2.c:216 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "ПопередженнÑ: неправильна Ñторінка заголовку, не знайдено пакет\n" #: ogginfo/ogginfo2.c:246 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" "ПопередженнÑ: неправильна Ñторінка заголовку у потоці %d, міÑтить багато " "пакетів\n" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" "Примітка: потік %d має Ñерійний номер %d, що припуÑкаєтьÑÑ, але може " "Ñпричинити проблеми з деÑкими інÑтрументами.\n" #: ogginfo/ogginfo2.c:278 #, fuzzy, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "" "ПопередженнÑ: дірка у даних зі зÑувом приблизно %I64d байтів. Пошкоджений " "ogg.\n" #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Помилка при відкриванні вхідного файлу \"%s\": %s\n" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Обробка файлу \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "Ðе вдаєтьÑÑ Ð·Ð½Ð°Ð¹Ñ‚Ð¸ обробник потоку. Ð—Ð°Ð²Ð´Ð°Ð½Ð½Ñ Ð¿Ð¾Ð²ÐµÑ€Ð½ÑƒÑ‚Ð¾\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "Сторінка не Ñ–Ñнує піÑÐ»Ñ Ð¾Ð·Ð½Ð°ÐºÐ¸ EOS" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" "Порушено Ð¾Ð±Ð¼ÐµÐ¶ÐµÐ½Ð½Ñ Ð¼Ñ–ÐºÑˆÑƒÐ²Ð°Ð½Ð½Ñ Ogg, новий потік перед EOS уÑÑ–Ñ… попередніх " "котоків" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "Ðевідома помилка." #: ogginfo/ogginfo2.c:337 #, fuzzy, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" "ПопередженнÑ: неправильно розташовані Ñторінки Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÑƒ %d\n" "Це означає, що ogg-файл пошкоджений: %s.\n" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "Ðовий логічний потік (#%d, Ñерійний номер: %08x): тип %s\n" #: ogginfo/ogginfo2.c:352 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "ПопередженнÑ: Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÑƒ %d не вÑтановлена ознака його початку\n" #: ogginfo/ogginfo2.c:355 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "ПопередженнÑ: у Ñередині потоку %d знайдено ознаку початку потоку\n" #: ogginfo/ogginfo2.c:361 #, fuzzy, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" "ПопередженнÑ: пропущений порÑдковий номер у потоку %d. Отримана Ñторінка " "%ld, але очікувалаÑÑŒ %ld. Це Ñвідчить про пропуÑк у даних.\n" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "Логічний потік %d завершивÑÑ\n" #: ogginfo/ogginfo2.c:384 #, fuzzy, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" "Помилка: Дані ogg не знайдені у файлі \"%s\".\n" "Ймовірно, вхідні дані не у форматі ogg.\n" #: ogginfo/ogginfo2.c:395 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 з %s %s\n" #: ogginfo/ogginfo2.c:400 #, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:401 #, fuzzy, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" "ogginfo 1.1.0\n" "(c) 2003-2005 Michael Smith \n" "\n" "ВикориÑтаннÑ: ogginfo [ознаки] files1.ogg [file2.ogg ... fileN.ogg]\n" "Підтримувані ознаки:\n" "\t-h виводить цю довідку\n" "\t-q Менш докладний режим. По-перше, видалити вÑÑ– докладні\n" "\t інформаційні повідомленнÑ, по-друге, видалити попередженнÑ\n" "\t-v Більш докладний режим. Цей параметр може увімкнути докладніші\n" "\t перевірки Ð´Ð»Ñ Ð´ÐµÑких типів потоків.\n" "\n" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:422 #, fuzzy, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" "ВикориÑтаннÑ: ogginfo [ознаки] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" "Ogginfo - утиліта Ð´Ð»Ñ Ð²Ð¸Ð²Ð¾Ð´Ñƒ інформації про ogg файли\n" "та діагноÑтики проблем з цими файлами.\n" "Докладна довідка виводитьÑÑ ÐºÐ¾Ð¼Ð°Ð½Ð´Ð¾ÑŽ \"ogginfo -h\".\n" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "" "Ðе вказані вхідні файли. Ð”Ð»Ñ Ð¾Ñ‚Ñ€Ð¸Ð¼Ð°Ð½Ð½Ñ Ð´Ð¾Ð²Ñ–Ð´ÐºÐ¸ викориÑтовуйте \"ogginfo -h" "\"\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: неоднозначний параметр `%s'\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: параметр `--%s' не допуÑкає Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ñ–Ð²\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: параметр `%c%s' не допуÑкає Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ñ–Ð²\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: параметр `%s' вимагає Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ñƒ\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: нерозпізнаний параметр `--%s'\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: нерозпізнаний параметр `%c%s'\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: неправильний параметр -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: неправильний параметр -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: параметр вимагає Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ñƒ -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: неоднозначний параметр `-W %s'\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: параметр `-W %s' не допуÑкає Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ñ–Ð²\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Ðе вдаєтьÑÑ Ð¾Ð±Ñ€Ð¾Ð±Ð¸Ñ‚Ð¸ точку Ð²Ñ–Ð´Ñ€Ñ–Ð·Ð°Ð½Ð½Ñ \"%s\"\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Ðе вдаєтьÑÑ Ð¾Ð±Ñ€Ð¾Ð±Ð¸Ñ‚Ð¸ точку Ð²Ñ–Ð´Ñ€Ñ–Ð·Ð°Ð½Ð½Ñ \"%s\"\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ %s Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸ÑуваннÑ\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" "ВикориÑтаннÑ: vcut вх_файл.ogg вих_файл1.ogg вих_файл2.ogg [точка_Ð²Ñ–Ð´Ñ€Ñ–Ð·Ð°Ð½Ð½Ñ " "| +точка_відрізаннÑ]\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ %s Ð´Ð»Ñ Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Ðе вдаєтьÑÑ Ð¾Ð±Ñ€Ð¾Ð±Ð¸Ñ‚Ð¸ точку Ð²Ñ–Ð´Ñ€Ñ–Ð·Ð°Ð½Ð½Ñ \"%s\"\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Обробка: Ð’Ð¸Ñ€Ñ–Ð·Ð°Ð½Ð½Ñ Ñƒ позиції %lld Ñекунд\n" #: vcut/vcut.c:289 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Обробка: Ð’Ð¸Ñ€Ñ–Ð·Ð°Ð½Ð½Ñ Ñƒ позиції %lld Ñекунд\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "Обробка не вдалаÑÑŒ\n" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Ключ не знайдено" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Помилка при запиÑуванні коментарів у файл виводу: %s\n" #: vcut/vcut.c:505 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Помилка при читанні першої Ñторінки бітового потоку Ogg." #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Виправна помилка потоку бітів\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Вторинний заголовок пошкоджений\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Помилка потоку бітів, Ð¿Ñ€Ð¾Ð´Ð¾Ð²Ð¶ÐµÐ½Ð½Ñ Ñ€Ð¾Ð±Ð¾Ñ‚Ð¸\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Помилка у оÑновному заголовку: не vorbis?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "Вхідні дані не у форматі ogg.\n" #: vcut/vcut.c:616 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Помилка потоку бітів, Ð¿Ñ€Ð¾Ð´Ð¾Ð²Ð¶ÐµÐ½Ð½Ñ Ñ€Ð¾Ð±Ð¾Ñ‚Ð¸\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "ВиÑвлено кінець потоку перед точкою відрізаннÑ.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Помилка при читанні першої Ñторінки бітового потоку Ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Помилка при Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ° пакету." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "Вхідні дані обрізані чи порожні." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "Вхідні дані не Ñ” бітовим потоком Ogg." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Бітовий потік Ogg не міÑтить дані vorbis." #: vorbiscomment/vcedit.c:555 #, fuzzy msgid "EOF before recognised stream." msgstr "ВиÑвлено кінець файлу перед до Ð·Ð°ÐºÑ–Ð½Ñ‡ÐµÐ½Ð½Ñ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÑ–Ð²." #: vorbiscomment/vcedit.c:568 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Бітовий потік Ogg не міÑтить дані vorbis." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Пошкоджений вторинний заголовок." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "ВиÑвлено кінець файлу перед до Ð·Ð°ÐºÑ–Ð½Ñ‡ÐµÐ½Ð½Ñ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÑ–Ð²." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "Пошкоджені або відÑутні дані, Ð¿Ñ€Ð¾Ð´Ð¾Ð²Ð¶ÐµÐ½Ð½Ñ Ñ€Ð¾Ð±Ð¾Ñ‚Ð¸..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Помилка при запиÑувані потоку виводу. Потік виводу може бути пошкоджений чи " "обрізаний." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Помилка при відкриванні файлу Ñк файлу vorbis: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Ðеправильний коментар: \"%s\"\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "неправильний коментар: \"%s\"\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Помилка при запиÑуванні коментарів у файл виводу: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "не вказана діÑ\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "Ðе вдаєтьÑÑ Ð¿ÐµÑ€ÐµÑ‚Ð²Ð¾Ñ€Ð¸Ñ‚Ð¸ коментар у UTF-8, не можна додати\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:622 #, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:632 #, fuzzy, c-format msgid "Editing options\n" msgstr "Ðеправильний тип у ÑпиÑку параметрів" #: vorbiscomment/vcomment.c:633 #, c-format msgid " -a, --append Update comments\n" msgstr "" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" #: vorbiscomment/vcomment.c:672 #, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Ð’Ð½ÑƒÑ‚Ñ€Ñ–ÑˆÐ½Ñ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ° при аналізі параметрів командного Ñ€Ñдка\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Помилка при відкриванні вхідного файлу '%s'.\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "Ðазва вхідного файлу не може Ñпівпадати з назвою файлу виводу\n" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Помилка при відкриванні файлу виводу '%s'.\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Помилка при відкриванні файлу коментарів '%s'.\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Помилка при відкриванні файлу коментарів '%s'\n" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "Помилка Ð²Ð¸Ð´Ð°Ð»ÐµÐ½Ð½Ñ Ñтарого файлу %s\n" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "Помилка Ð¿ÐµÑ€ÐµÐ¹Ð¼ÐµÐ½ÑƒÐ²Ð°Ð½Ð½Ñ %s у %s\n" #: vorbiscomment/vcomment.c:938 #, fuzzy, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Помилка Ð²Ð¸Ð´Ð°Ð»ÐµÐ½Ð½Ñ Ñтарого файлу %s\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "Ð§Ð¸Ñ‚Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñ–Ð² WAV" #, fuzzy #~ msgid "Big endian 32 bit PCM data is not currently supported, aborting.\n" #~ msgstr "" #~ "Формат Big endian 24-біт PCM наразі не підтримуєтьÑÑ, Ð·Ð°Ð²ÐµÑ€ÑˆÐµÐ½Ð½Ñ Ñ€Ð¾Ð±Ð¾Ñ‚Ð¸.\n" #, fuzzy #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Ð’Ð½ÑƒÑ‚Ñ€Ñ–ÑˆÐ½Ñ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ° при аналізі параметрів командного Ñ€Ñдка\n" #, fuzzy #~ msgid "oggenc from %s %s" #~ msgstr "ogg123 з %s %s\n" #, fuzzy #~ msgid "" #~ "WARNING: Comment %d in stream %d has invalid format, does not contain " #~ "'=': \"%s\"\n" #~ msgstr "" #~ "ПопередженнÑ: коментар %d потоку %d має некоректний формат, він не " #~ "міÑтить '=': \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #~ msgstr "" #~ "ПопередженнÑ: некоректна назва коментарю у коментарі %d (потік %d): \"%s" #~ "\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #~ msgstr "" #~ "ПопередженнÑ: некоректна UTF-8 поÑлідовніÑть у коментарі %d (потік %d): " #~ "неправильний маркер довжини\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #~ msgstr "" #~ "ПопередженнÑ: неправильна UTF-8 поÑлідовніÑть у коментарі %d (потік %d): " #~ "надто мало байтів\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence \"%s\": %s\n" #~ msgstr "" #~ "ПопередженнÑ: неправильна UTF-8 поÑлідовніÑть у коментарі %d (потік %d): " #~ "неправильна поÑлідовніÑть\n" #, fuzzy #~ msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" #~ msgstr "ПопередженнÑ: помилка у utf8 декодері. Взагалі, це неможливо\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Theora header packet - invalid Theora stream " #~ "(%d)\n" #~ msgstr "" #~ "ПопередженнÑ: не вдаєтьÑÑ Ñ€Ð¾Ð·ÐºÐ¾Ð´ÑƒÐ²Ð°Ñ‚Ð¸ пакет заголовків theora - " #~ "неправильний потік theora (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Theora stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "ПопередженнÑ: заголовки theora потоку %d некоректно розділені. ОÑÑ‚Ð°Ð½Ð½Ñ " #~ "Ñторінка заголовку міÑтить додаткові пакети або має не-нульовий " #~ "granulepos\n" #~ msgid "Theora headers parsed for stream %d, information follows...\n" #~ msgstr "Оброблені заголовки theora Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÑƒ %d, далі йде інформаціÑ...\n" #~ msgid "Version: %d.%d.%d\n" #~ msgstr "ВерÑÑ–Ñ: %d.%d.%d\n" #~ msgid "Vendor: %s\n" #~ msgstr "ПоÑтачальник: %s\n" #~ msgid "Width: %d\n" #~ msgstr "Ширина: %d\n" #~ msgid "Height: %d\n" #~ msgstr "ВиÑота: %d\n" #~ msgid "Total image: %d by %d, crop offset (%d, %d)\n" #~ msgstr "Повне зображеннÑ: %d на %d, зÑув ÐºÐ°Ð´Ñ€ÑƒÐ²Ð°Ð½Ð½Ñ (%d, %d)\n" #~ msgid "Frame offset/size invalid: width incorrect\n" #~ msgstr "Ðекоректний зÑув/розмір кадру: некоректна ширина\n" #~ msgid "Frame offset/size invalid: height incorrect\n" #~ msgstr "Ðекоректний зÑув/розмір кадру: некоректна виÑота\n" #~ msgid "Invalid zero framerate\n" #~ msgstr "Ðекоректний нульова чаÑтота кадрів\n" #~ msgid "Framerate %d/%d (%.02f fps)\n" #~ msgstr "ЧаÑтота кадрів %d/%d (%.02f кадр/Ñ)\n" #~ msgid "Aspect ratio undefined\n" #~ msgstr "Ðе визначено ÑÐ¿Ñ–Ð²Ð²Ñ–Ð´Ð½Ð¾ÑˆÐµÐ½Ð½Ñ Ñторін\n" #, fuzzy #~ msgid "Pixel aspect ratio %d:%d (%f:1)\n" #~ msgstr "Ð¡Ð¿Ñ–Ð²Ð²Ñ–Ð´Ð½Ð¾ÑˆÐµÐ½Ð½Ñ Ñторін точки %d:%d (1:%f)\n" #~ msgid "Frame aspect 4:3\n" #~ msgstr "Ð¡Ð¿Ñ–Ð²Ð²Ñ–Ð´Ð½Ð¾ÑˆÐµÐ½Ð½Ñ Ñторін кадру 4:3\n" #~ msgid "Frame aspect 16:9\n" #~ msgstr "Ð¡Ð¿Ñ–Ð²Ð²Ñ–Ð´Ð½Ð¾ÑˆÐµÐ½Ð½Ñ Ñторін кадру 16:9\n" #, fuzzy #~ msgid "Frame aspect %f:1\n" #~ msgstr "Ð¡Ð¿Ñ–Ð²Ð²Ñ–Ð´Ð½Ð¾ÑˆÐµÐ½Ð½Ñ Ñторін кадру 4:3\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" #~ msgstr "ПроÑтір кольорів: Rec. ITU-R BT.470-6 System M (NTSC)\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" #~ msgstr "ПроÑтір кольорів: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" #~ msgid "Colourspace unspecified\n" #~ msgstr "ПроÑтір кольорів не визначений\n" #~ msgid "Pixel format 4:2:0\n" #~ msgstr "Формат точок 4:2:0\n" #~ msgid "Pixel format 4:2:2\n" #~ msgstr "Формат точок 4:2:2\n" #~ msgid "Pixel format 4:4:4\n" #~ msgstr "Формат точок 4:4:4\n" #~ msgid "Pixel format invalid\n" #~ msgstr "Ðекоректний формат точок\n" #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "Цільова щільніÑть бітів: %d кбіт/Ñ\n" #~ msgid "Nominal quality setting (0-63): %d\n" #~ msgstr "Ðомінальна ÑкіÑть (0-63): %d\n" #~ msgid "User comments section follows...\n" #~ msgstr "Далі Ñлідує ÑÐµÐºÑ†Ñ–Ñ ÐºÐ¾Ð¼ÐµÐ½Ñ‚Ð°Ñ€Ñ–Ð² кориÑтувача...\n" #, fuzzy #~ msgid "WARNING: granulepos in stream %d decreases from %" #~ msgstr "" #~ "ПопередженнÑ: Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ granulepos потоку %d зменшилоÑÑŒ з %lld до %lld" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream " #~ "(%d)\n" #~ msgstr "" #~ "ПопередженнÑ: не вдаєтьÑÑ Ñ€Ð¾Ð·ÐºÐ¾Ð´ÑƒÐ²Ð°Ñ‚Ð¸ пакет заголовків vorbis - " #~ "неправильний потік vorbis (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "ПопередженнÑ: заголовки vorbis потоку %d некоректно розділені. ОÑÑ‚Ð°Ð½Ð½Ñ " #~ "Ñторінка заголовка міÑтить додаткові пакети або має не-нульовий " #~ "granulepos\n" #~ msgid "Vorbis headers parsed for stream %d, information follows...\n" #~ msgstr "Оброблені заголовки vorbis Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÑƒ %d, далі йде інформаціÑ...\n" #~ msgid "Version: %d\n" #~ msgstr "ВерÑÑ–Ñ: %d\n" #~ msgid "Vendor: %s (%s)\n" #~ msgstr "ПоÑтачальник: %s (%s)\n" #~ msgid "Channels: %d\n" #~ msgstr "Канали: %d\n" #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "" #~ "ДиÑкретизаціÑ: %ld\n" #~ "\n" #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "Ðомінальна щільніÑть бітів: %f кбіт/Ñ\n" #~ msgid "Nominal bitrate not set\n" #~ msgstr "Ðомінальна щільніÑть бітів не вÑтановлена\n" #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "МакÑимальна щільніÑть бітів: %f кбіт/Ñ\n" #~ msgid "Upper bitrate not set\n" #~ msgstr "МакÑимальна щільніÑть бітів не вÑтановлена\n" #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "Мінімальна щільніÑть бітів: %f кбіт/Ñ\n" #~ msgid "Lower bitrate not set\n" #~ msgstr "Мінімальна щільніÑть бітів не вÑтановлена\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Kate header packet %d - invalid Kate stream " #~ "(%d)\n" #~ msgstr "" #~ "ПопередженнÑ: не вдаєтьÑÑ Ñ€Ð¾Ð·ÐºÐ¾Ð´ÑƒÐ²Ð°Ñ‚Ð¸ пакет заголовків theora - " #~ "неправильний потік theora (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: packet %d does not seem to be a Kate header - invalid Kate " #~ "stream (%d)\n" #~ msgstr "" #~ "ПопередженнÑ: не вдаєтьÑÑ Ñ€Ð¾Ð·ÐºÐ¾Ð´ÑƒÐ²Ð°Ñ‚Ð¸ пакет заголовків theora - " #~ "неправильний потік theora (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Kate stream %d does not have headers correctly framed. Terminal " #~ "header page contains additional packets or has non-zero granulepos\n" #~ msgstr "" #~ "ПопередженнÑ: заголовки theora потоку %d некоректно розділені. ОÑÑ‚Ð°Ð½Ð½Ñ " #~ "Ñторінка заголовку міÑтить додаткові пакети або має не-нульовий " #~ "granulepos\n" #, fuzzy #~ msgid "Kate headers parsed for stream %d, information follows...\n" #~ msgstr "Оброблені заголовки theora Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÑƒ %d, далі йде інформаціÑ...\n" #, fuzzy #~ msgid "Version: %d.%d\n" #~ msgstr "ВерÑÑ–Ñ: %d.%d.%d\n" #, fuzzy #~ msgid "Category: %s\n" #~ msgstr "ПоÑтачальник: %s\n" #, fuzzy #~ msgid "No category set\n" #~ msgstr "Ðомінальна щільніÑть бітів не вÑтановлена\n" #, fuzzy #~ msgid "Invalid zero granulepos rate\n" #~ msgstr "Ðекоректний нульова чаÑтота кадрів\n" #, fuzzy #~ msgid "Granulepos rate %d/%d (%.02f gps)\n" #~ msgstr "ЧаÑтота кадрів %d/%d (%.02f кадр/Ñ)\n" #~ msgid "\n" #~ msgstr "\n" #, fuzzy #~ msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" #~ msgstr "" #~ "ПопередженнÑ: дірка у даних зі зÑувом приблизно %lld байтів. Пошкоджений " #~ "ogg.\n" #~ msgid "Page error. Corrupt input.\n" #~ msgstr "Помилка Ñторінки. Пошкоджені вхідні дані.\n" #, fuzzy #~ msgid "Setting EOS: update sync returned 0\n" #~ msgstr "" #~ "Ð’ÑÑ‚Ð°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ Ð¾Ð·Ð½Ð°ÐºÐ¸ ÐºÑ–Ð½Ñ†Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÑƒ: Ñпроба Ð¾Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ Ð¿Ð¾Ð²ÐµÑ€Ð½ÑƒÐ»Ð° код 0\n" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "Точка Ð²Ñ–Ð´Ñ€Ñ–Ð·Ð°Ð½Ð½Ñ Ð½Ðµ в Ñередині потоку. Другий файл буде порожнім.\n" #~ msgid "Unhandled special case: first file too short?\n" #~ msgstr "Ðеоброблений Ñпеціальний випадок: перший файл занадто короткий?\n" #, fuzzy #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "Точка Ð²Ñ–Ð´Ñ€Ñ–Ð·Ð°Ð½Ð½Ñ Ð½Ðµ в Ñередині потоку. Другий файл буде порожнім.\n" #, fuzzy #~ msgid "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " Ogg page. File may not decode correctly.\n" #~ msgstr "" #~ "ПОМИЛКÐ: перші два звукових пакети не вміщаютьÑÑ Ñƒ одну\n" #~ " Ñторінку ogg. Файл не може бути коректно декодований.\n" #, fuzzy #~ msgid "Update sync returned 0, setting EOS\n" #~ msgstr "Спроба Ð¾Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ Ð¿Ð¾Ð²ÐµÑ€Ð½ÑƒÐ»Ð° 0, вÑÑ‚Ð°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ Ð¾Ð·Ð½Ð°ÐºÐ¸ ÐºÑ–Ð½Ñ†Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÑƒ\n" #~ msgid "Bitstream error\n" #~ msgstr "Помилка потоку бітів\n" #~ msgid "Error in first page\n" #~ msgstr "Помилка на першій Ñторінці\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "помилка у першому пакеті\n" #~ msgid "EOF in headers\n" #~ msgstr "у заголовках виÑвлено кінець файлу\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "ПОПЕРЕДЖЕÐÐЯ: vcut - екÑпериментальна програма.\n" #~ "Перевірте коректніÑть отриманих файлів перед видаленнÑм вхідних.\n" #~ "\n" #~ msgid "Error reading headers\n" #~ msgstr "Помилка Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÑ–Ð²\n" #~ msgid "Error writing first output file\n" #~ msgstr "Помилка запиÑу першого файлу виводу\n" #~ msgid "Error writing second output file\n" #~ msgstr "Помилка запиÑу другого файлу виводу\n" #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 з %s %s\n" #~ " Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "ВикориÑтаннÑ: ogg123 [<параметри>] <вхідний файл> ...\n" #~ "\n" #~ " -h, --help Ñ†Ñ Ð´Ð¾Ð²Ñ–Ð´ÐºÐ°\n" #~ " -V, --version вивеÑти верÑÑ–ÑŽ Ogg123\n" #~ " -d, --device=d викориÑтовувати \"d\" у ÑкоÑті приÑтрою вводу-виводу\n" #~ " Можливі приÑтрої: ('*'=Ñправжній, '@'=файл):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" #~ " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -@, --list=filename Read playlist of files and URLs from \"filename" #~ "\"\n" #~ " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n Load n%% of the input buffer before playing\n" #~ " -v, --verbose Display progress and other status information\n" #~ " -q, --quiet Don't display anything (no title)\n" #~ " -x n, --nth Play every 'n'th block\n" #~ " -y n, --ntimes Repeat every played block 'n' times\n" #~ " -z, --shuffle Shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s Set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=назва_файлу Ð’Ñтановити назву файлу виводу з вказаного " #~ "раніше\n" #~ " файлу приÑтрою (з параметром -d).\n" #~ " -k n, --skip n ПропуÑтити перші \"n\" Ñекунд\n" #~ " -K n, --end n Закінчити через 'n' Ñекунд (або формат гг:Ñ…Ñ…:ÑÑ)\n" #~ " -o, --device-option=k:v передати Ñпеціальний параметр k зі значеннÑм\n" #~ " v раніше вказаному приÑтрою (ключем -d). Додаткову\n" #~ " інформацію дивітьÑÑ Ð½Ð° man-Ñторінці.\n" #~ " -@, --list=файл Прочитати ÑпиÑок Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ Ñ‚Ð° URL з \"файл\"\n" #~ " -b n, --buffer n викориÑтовувати вхідний буфер розміром \"n\" кБ\n" #~ " -p n, --prebuffer n завантажити n%% з вхідного буфера перед " #~ "відтвореннÑм\n" #~ " -v, --verbose показувати Ð¿Ñ€Ð¾Ð³Ñ€ÐµÑ Ñ‚Ð° іншу інформацію про ÑтатуÑ\n" #~ " -q, --quiet нічого не відображати (без заголовка)\n" #~ " -x n, --nth відтворювати кожен \"n\"-й блок\n" #~ " -y n, --ntimes повторювати \"n\" разів кожен блок, що відтворюєтьÑÑ\n" #~ " -z, --shuffle випадкове відтвореннÑ\n" #~ "\n" #~ "При отриманні Ñигналу SIGINT (Ctrl-C) програма ogg123 пропуÑкає наÑтупну " #~ "піÑню;\n" #~ "два Ñигнали SIGINT протÑгом s міліÑекунд завершують роботу ogg123.\n" #~ " -l, --delay=s вÑтановлює Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ s [у міліÑекундах] (типово - 500).\n" #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -v, --version Print the version number\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps. By default, this produces a VBR\n" #~ " encoding, equivalent to using -q or --quality.\n" #~ " See the --managed option to use a managed bitrate\n" #~ " targetting the selected bitrate.\n" #~ " --managed Enable the bitrate management engine. This will " #~ "allow\n" #~ " much greater control over the precise bitrate(s) " #~ "used,\n" #~ " but encoding will be much slower. Don't use it " #~ "unless\n" #~ " you have a strong need for detailed control over\n" #~ " bitrate, such as for streaming.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel. Using this will\n" #~ " automatically enable managed bitrate mode (see\n" #~ " --managed).\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications. Using this will " #~ "automatically\n" #~ " enable managed bitrate mode (see --managed).\n" #~ " --advanced-encode-option option=value\n" #~ " Sets an advanced encoder option to the given " #~ "value.\n" #~ " The valid options (and their values) are " #~ "documented\n" #~ " in the man page supplied with this program. They " #~ "are\n" #~ " for advanced users only, and should be used with\n" #~ " caution.\n" #~ " -q, --quality Specify quality, between -1 (very low) and 10 " #~ "(very\n" #~ " high), instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " The default quality level is 3.\n" #~ " --resample n Resample input data to sampling rate n (Hz)\n" #~ " --downmix Downmix stereo to mono. Only allowed on stereo\n" #~ " input.\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" #~ " being copied to the output Ogg Vorbis file.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times. The argument should be in the\n" #~ " format \"tag=value\".\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 24, 16, or 8 bit PCM WAV, AIFF, or " #~ "AIFF/C\n" #~ " files, 32 bit IEEE floating point WAV, and optionally FLAC or Ogg FLAC. " #~ "Files\n" #~ " may be mono or stereo (or more channels) and any sample rate.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16 bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an output filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "ВикориÑтаннÑ: oggenc [параметри] input.wav [...]\n" #~ "\n" #~ "ПÐРÐМЕТРИ:\n" #~ " Загальні:\n" #~ " -Q, --quiet Ðе виводити у потік помилок\n" #~ " -h, --help Виводить цю довідку\n" #~ " -v, --version Print the version number\n" #~ " -r, --raw Режим без обробки. Вхідні файли читаютьÑÑ Ñк дані " #~ "PCM\n" #~ " -B, --raw-bits=n ЧиÑло біт/Ñемпл Ð´Ð»Ñ Ð½ÐµÐ¾Ð±Ñ€Ð¾Ð±Ð»ÐµÐ½Ð¾Ð³Ð¾ вводу. Типово - " #~ "16\n" #~ " -C, --raw-chan=n ЧиÑло каналів Ð´Ð»Ñ Ð½ÐµÐ¾Ð±Ñ€Ð¾Ð±Ð»ÐµÐ½Ð¾Ð³Ð¾ вводу. Типово - 2\n" #~ " -R, --raw-rate=n ЧиÑло Ñемплів/Ñ Ð´Ð»Ñ Ð½ÐµÐ¾Ð±Ñ€Ð¾Ð±Ð»ÐµÐ½Ð¾Ð³Ð¾ вводу. Типово - " #~ "44100\n" #~ " --raw-endianness 1 Ð´Ð»Ñ bigendian, 0 Ð´Ð»Ñ little (типово - 0)\n" #~ " -b, --bitrate Ðомінальна щільніÑть бітів Ð´Ð»Ñ ÐºÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ. " #~ "ÐамагаєтьÑÑ\n" #~ " кодувати з вказаною щільніÑтю. Очікує аргумент із\n" #~ " зазначеннÑм щільноÑті у кбіт/Ñ. Типово, " #~ "викориÑтовуєтьÑÑ VBR\n" #~ " кодуваннÑ, еквівалентне викориÑтанню -q чи --" #~ "quality.\n" #~ " Ð”Ð»Ñ Ð²Ð¸ÐºÐ¾Ñ€Ð¸ÑÑ‚Ð°Ð½Ð½Ñ ÐºÐµÑ€Ð¾Ð²Ð°Ð½Ð¾Ñ— щільноÑті бітового " #~ "потоку\n" #~ " дивітьÑÑ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€ --managed.\n" #~ " --managed Вмикає механізм керованої щільноÑті бітового " #~ "потоку. Це\n" #~ " дозволÑÑ” краще ÐºÐµÑ€ÑƒÐ²Ð°Ð½Ð½Ñ Ð¿Ñ€Ð¸ викориÑтані точної " #~ "щільноÑті,\n" #~ " але ÐºÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ Ð±ÑƒÐ´Ðµ значно повільнішим. Ðе " #~ "кориÑтуйтеÑÑŒ цим\n" #~ " режимом, Ñкщо вам не потрібен детальний контроль " #~ "над щільніÑтю\n" #~ " потоку бітів, наприклад Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ¾Ð²Ð¾Ñ— транÑлÑції.\n" #~ " -m, --min-bitrate Мінімальна щільніÑть бітів (у кбіт/Ñ). КориÑно при\n" #~ " кодуванні Ð´Ð»Ñ ÐºÐ°Ð½Ð°Ð»Ñƒ поÑтійного розміру. " #~ "ВикориÑтаннÑ\n" #~ " ключа автоматично вмикає призначений режим " #~ "щільноÑті\n" #~ " потоку (дивітьÑÑ --managed).\n" #~ " -M, --max-bitrate МакÑимальна щільніÑть бітів (у кбіт/Ñ). КориÑно " #~ "длÑ\n" #~ " потокових прикладних програм. ВикориÑтаннÑ\n" #~ " ключа автоматично вмикає призначений режим " #~ "щільноÑті\n" #~ " потоку (дивітьÑÑ --managed).\n" #~ " --advanced-encode-option параметр=значеннÑ\n" #~ " Ð’Ñтановлює додаткові параметри механізму " #~ "кодуваннÑ.\n" #~ " Можливі параметри (та Ñ—Ñ… значеннÑ) документовані\n" #~ " на головній Ñторінці, що поÑтачаєтьÑÑ Ð· програмою.\n" #~ " Лише Ð´Ð»Ñ Ð´Ð¾Ñвідчених кориÑтувачі, та має " #~ "викориÑтовуватиÑÑŒ\n" #~ " обережно.\n" #~ " -q, --quality ЯкіÑть від 0 (низька) до 10 (виÑока), заміÑть \n" #~ " Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð¿ÐµÐ²Ð½Ð¾Ñ— цільноÑті бітів. Це звичайний " #~ "режим.\n" #~ " ДопуÑкаєтьÑÑ Ð´Ñ€Ð¾Ð±Ð¾Ð²Ðµ Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ ÑкоÑті (наприклад, " #~ "2.75)\n" #~ " Ð—Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ -1 також допуÑкаєтьÑÑ, але не забезпечує\n" #~ " належної ÑкоÑті.\n" #~ " --resample n Змінює чаÑтоту вхідних даних до Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ n (Гц)\n" #~ " --downmix Змішує Ñтерео у моно. ДопуÑтимо лише Ð´Ð»Ñ Ð²Ñ…Ñ–Ð´Ð½Ð¾Ð³Ð¾\n" #~ " Ñигналу у Ñтерео форматі.\n" #~ " -s, --serial Вказує Ñерійний номер потоку. Якщо кодуєтьÑÑ " #~ "декілька\n" #~ " файлів, це Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð°Ð²Ñ‚Ð¾Ð¼Ð°Ñ‚Ð¸Ñ‡Ð½Ð¾ збільшуєтьÑÑ Ð½Ð° 1 " #~ "длÑ\n" #~ " кожного наÑтупного файлу.\n" #~ "\n" #~ " ПриÑÐ²Ð¾Ñ”Ð½Ð½Ñ Ð½Ð°Ð·Ð²:\n" #~ " -o, --output=fn ЗапиÑує файл у fn (можливе лише з одним вхідним " #~ "файлом)\n" #~ " -n, --names=string Створити назви файлів за шаблоном з Ñ€Ñдка string, " #~ "де\n" #~ " %%a, %%t, %%l, %%n, %%d замінюютьÑÑ Ð½Ð° ім'Ñ " #~ "артиÑта,\n" #~ " назву, альбом, номер доріжки, та дату (ÑпоÑіб Ñ—Ñ…\n" #~ " Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð´Ð¸Ð²Ñ–Ñ‚ÑŒÑÑ Ð½Ð¸Ð¶Ñ‡Ðµ).\n" #~ " %%%% перетворюєтьÑÑ Ð² літерал %%.\n" #~ " -X, --name-remove=s ВидалÑÑ” певні Ñимволи з параметрів Ñ€Ñдка формату -" #~ "n\n" #~ " КориÑно Ð´Ð»Ñ ÑÑ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ ÐºÐ¾Ñ€ÐµÐºÑ‚Ð½Ð¸Ñ… назв файлів.\n" #~ " -P, --name-replace=s Замінює Ñимволи, видалені з викориÑтаннÑм --name-" #~ "remove,\n" #~ " на вказані Ñимволи. Якщо цей Ñ€Ñдок коротший ніж " #~ "Ñ€Ñдок у\n" #~ " --name-remove, або взагалі не вказаний, Ñимволи " #~ "проÑто\n" #~ " видалÑютьÑÑ.\n" #~ " Типові Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð´Ð»Ñ Ð´Ð²Ð¾Ñ… наведених вище параметрів\n" #~ " від платформи.\n" #~ " -c, --comment=c Додає вказаний Ñ€Ñдок у ÑкоÑті додаткового " #~ "коментарю.\n" #~ " Може вказуватиÑÑŒ декілька разів. Ðргумент має бути " #~ "у\n" #~ " форматі \"тег=значеннÑ\".\n" #~ " Може викориÑтовуватиÑÑŒ декілька разів.\n" #~ " -d, --date Дата доріжки (зазвичай дата ÑтвореннÑ)\n" #~ " -N, --tracknum Ðомер цієї доріжки\n" #~ " -t, --title Заголовок цієї доріжки\n" #~ " -l, --album Ðазва альбому\n" #~ " -a, --artist Ім'Ñ Ð²Ð¸ÐºÐ¾Ð½Ð°Ð²Ñ†Ñ\n" #~ " -G, --genre Жанр доріжки\n" #~ " Якщо вказано декілька вхідних файлів, тоді " #~ "декілька\n" #~ " екземплÑрів попередніх 5-ти параметрів, будуть\n" #~ " викориÑтовуватиÑÑŒ у тому Ñамому порÑдку, у Ñкому " #~ "вони,\n" #~ " наведені. Якщо заголовків вказано менше ніж " #~ "файлів,\n" #~ " OggEnc виведе попередженнÑ, та буде " #~ "викориÑтовувати\n" #~ " оÑтаннє Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð´Ð¾ решти файлів. Якщо вказано\n" #~ " недоÑтатньо номерів доріжок, решта фалів не будуть\n" #~ " пронумеровані. Ð”Ð»Ñ Ð²ÑÑ–Ñ… інших, буде " #~ "викориÑтовуватиÑÑŒ\n" #~ " оÑтаннє Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð±ÐµÐ· будь-Ñких попереджень (таким\n" #~ " чином, наприклад, можна один раз вказати дату та\n" #~ " викориÑтовувати Ñ—Ñ— Ð´Ð»Ñ ÑƒÑÑ–Ñ… файлів)\n" #~ "\n" #~ "ВХІДÐІ ФÐЙЛИ:\n" #~ " Ðаразі вхідними файлами OggEnc можуть бути 16-бітні або 8-бітні PCM " #~ "WAV,\n" #~ " AIFF, чи AIFF/C файли, або 32-бітні WAV з плаваючою комою. Файли можуть " #~ "бути\n" #~ " моно, Ñтерео (або з більшою кількіÑтю каналів) з довільною " #~ "диÑкретизацією.\n" #~ " У ÑкоÑті альтернативи можна викориÑтовувати параметр --raw Ð´Ð»Ñ " #~ "зчитуваннÑ\n" #~ " Ñирих PCM даних, Ñкі повинні бути 16-бітним Ñтерео little-endian PCM\n" #~ " ('headerless wav'), Ñкщо не вказані додаткові параметри Ð´Ð»Ñ Ñ€ÐµÐ¶Ð¸Ð¼Ñƒ " #~ "Ñирих\n" #~ " даних.\n" #~ " можна вказати зчитувати діні зі Ñтандартного потоку вводу, " #~ "викориÑтовуючи\n" #~ " знак - у ÑкоÑті назви вхідного файлу.\n" #~ " У цьому випадку, вивід направлÑєтьÑÑ Ñƒ Ñтандартний потік виводу, Ñкщо " #~ "не\n" #~ " вказана назва файлу виводу у параметрі -o\n" #~ "\n" #~ msgid "Frame aspect 1:%d\n" #~ msgstr "Ð¡Ð¿Ñ–Ð²Ð²Ñ–Ð´Ð½Ð¾ÑˆÐµÐ½Ð½Ñ Ñторін кадру 1:%d\n" #~ msgid "Warning: granulepos in stream %d decreases from %I64d to %I64d" #~ msgstr "" #~ "ПопередженнÑ: Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ granulepos потоку %d зменшилоÑÑŒ з %I64d до %I64d" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %I64d bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "Потік Theora %d:\n" #~ "\tДовжина даних: %I64d байт\n" #~ "\tÐ§Ð°Ñ Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ: %ldхв:%02ld.%03ldÑ\n" #~ "\tÐ¡ÐµÑ€ÐµÐ´Ð½Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ñ–Ñть бітів: %f кбіт/Ñ\n" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %lld bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "Потік Theora%d:\n" #~ "\tДовжина даних: %lld байт\n" #~ "\tÐ§Ð°Ñ Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ: %ldхв:%02ld.%03ldÑ\n" #~ "\tÐ¡ÐµÑ€ÐµÐ´Ð½Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ñ–Ñть бітів: %f кбіт/Ñ\n" #~ msgid "" #~ "Negative granulepos on vorbis stream outside of headers. This file was " #~ "created by a buggy encoder\n" #~ msgstr "" #~ "Від'ємне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ granulepos потоку vorbis на межами заголовку. Файл " #~ "Ñтворений некоректним кодеком\n" #~ msgid "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %lld bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "Потік vorbis %d:\n" #~ "\tДовжина даних: %lld байт\n" #~ "\tÐ§Ð°Ñ Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ: %ldхв:%02ld.%03ldÑ\n" #~ "\tÐ¡ÐµÑ€ÐµÐ´Ð½Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ñ–Ñть бітів: %f кбіт/Ñ\n" #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ " Raw mode (--raw, -R) will read and write comments in UTF-8,\n" #~ " rather than converting to the user's character set. This is\n" #~ " useful for using vorbiscomment in scripts. However, this is\n" #~ " not sufficient for general round-tripping of comments in all\n" #~ " cases.\n" #~ msgstr "" #~ "ВикориÑтаннÑ: \n" #~ " vorbiscomment [-l] файл.ogg (переглÑд коментарів)\n" #~ " vorbiscomment -a вх.ogg вих.ogg (додати коментар)\n" #~ " vorbiscomment -w вх.ogg вих.ogg (змінити коментар)\n" #~ "\tпри запиÑуванні, на Ñтандартному потоку вводу очікуєтьÑÑ Ð½Ð¾Ð²Ð¸Ð¹ набір\n" #~ "\tкоментарів у виглÑді 'ТЕГ=значеннÑ'. Цей набір буде повніÑтю " #~ "замінювати\n" #~ "\tÑ–Ñнуючий набір.\n" #~ " Ðргументом параметрів -a та -w може бути лише один файл,\n" #~ " у цьому випаду буде викориÑтовуватиÑÑŒ тимчаÑовий файл.\n" #~ " Параметр -c може викориÑтовуватиÑÑŒ Ð´Ð»Ñ Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ, що коментарі\n" #~ " Ñлід брати з вказаного файлу, а не зі Ñтандартного вводу.\n" #~ " Приклад: vorbiscomment -a in.ogg -c comments.txt\n" #~ " додаÑть коментарі з файлу comments.txt до in.ogg\n" #~ " Зрештою, ви можете вказати будь-Ñку кількіÑть тегів у командному\n" #~ " Ñ€Ñдку викориÑтовуючи параметр -t. Ðаприклад:\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Певний артиÑÑ‚\" -t \"TITLE=Ðазва" #~ "\"\n" #~ " (зауважте, Ñкщо викориÑтовуєтьÑÑ Ñ‚Ð°ÐºÐ¸Ð¹ ÑпоÑіб, Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ ÐºÐ¾Ð¼ÐµÐ½Ñ‚Ð°Ñ€Ñ–Ð² з\n" #~ " файлу чи зі Ñтандартного потоку помилок вимкнено)\n" #~ " У Ñирому режимі (--raw, -R) коментарі читаютьÑÑ Ñ‚Ð° запиÑуютьÑÑ Ñƒ " #~ "utf8,\n" #~ " заміÑть Ð¿ÐµÑ€ÐµÑ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ Ñ—Ñ… у ÐºÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ ÐºÐ¾Ñ€Ð¸Ñтувача. Це кориÑно длÑ\n" #~ " викориÑÑ‚Ð°Ð½Ð½Ñ vorbiscomment у ÑценаріÑÑ…. Проте цього недоÑтатньо\n" #~ " Ð´Ð»Ñ Ð¾Ñновної обробки коментарів в уÑÑ–Ñ… випадках.\n" #~ msgid "malloc" #~ msgstr "malloc" #~ msgid "ReplayGain (Track) Peak:" #~ msgstr "Піковий рівень (доріжка):" #~ msgid "ReplayGain (Album) Peak:" #~ msgstr "Піковий рівень (альбом):" #~ msgid "Version is %d" #~ msgstr "ВерÑÑ–Ñ %d" #~ msgid " to " #~ msgstr " до " #~ msgid " bytes. Corrupted ogg.\n" #~ msgstr " байт. Пошкоджений ogg-файл.\n" vorbis-tools-1.4.2/po/vi.po0000644000175000017500000031032714002243560012477 00000000000000# Vietnamese translation for Vorbis Tools. # Copyright © 2008 Free Software Foundation, Inc. # This file is distributed under the same license as the vorbis-tools package. # Clytie Siddall , 2006-2008. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.2.1\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2008-09-22 18:57+0930\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: LocFactoryEditor 1.7b3\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Error: Out of memory in malloc_action().\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "" "Lá»—i: không thể phân địnha đủ bá»™ trong « malloc_buffer_stats() » (thống kê " "vùng đệm phân định bá»™ nhá»›)\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Lá»—i: thiết bị không sẵn sàng.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "Lá»—i: %s cần thiết tên tập tin xuất được ghi rõ bằng tùy chá»n « -f ».\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Lá»—i: giá trị tùy chá»n không được há»— trợ đối vá»›i thiết bị %s.\n" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Lá»—i: không thể mở thiết bị %s.\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Lá»—i: thiết bị %s bị há»ng hóc.\n" #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "Lá»—i: không thể đưa ra tập tin xuất cho thiết bị %s.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Lá»—i: không thể mở tập tin %s để ghi.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Lá»—i: tập tin %s đã có.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "Lá»—i: lá»—i này không bao giá» nên xảy ra (%d). Nghiệm trá»ng!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "" "Lá»—i: hết bá»™ nhá»› trong « new_audio_reopen_arg() » (đối số mở lại âm thanh " "má»›i).\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "" "Lá»—i: hết bá»™ nhá»› trong « new_print_statistics_arg() » (đối số thống kê in " "má»›i).\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "" "Lá»—i: hết bá»™ nhá»› trong « new_status_message_arg() » (đối số thông Ä‘iệp trạng " "thái má»›i).\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "" "Lá»—i: hết bá»™ nhá»› trong « decoder_buffered_metadata_callback() » (gá»i lại siêu " "dữ liệu có vùng đệm bá»™ giải mã).\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "" "Lá»—i: hết bá»™ nhá»› trong « decoder_buffered_metadata_callback() » (gá»i lại siêu " "dữ liệu có vùng đệm bá»™ giải mã).\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "Lá»—i hệ thống" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "â”â” Lá»—i phân tách: %s trên dòng %d trên %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Tên" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Mô tả" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Kiểu" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Mặc định" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "không có" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "luận lý" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "ký tá»±" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "chuá»—i" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "ngy" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "nổi" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "đôi" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "khác" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(Rá»–NG)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(không có)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Thành công" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Không tìm thấy khóa" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Không có khóa" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Giá trị sai" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Kiểu sai trong danh sách tùy chá»n" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Gặp lá»—i lạ" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "Gặp lá»—i ná»™i bá»™ khi phân tách tùy chá»n dòng lệnh.\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Kích cỡ cá»§a vùng đệm nhập có nhá» hÆ¡n kích cỡ tối thiểu là %dkB." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "â”â” Lá»—i « %s » trong khi phân tách tùy chá»n cấu hình từ dòng lệnh.\n" "â”â” Tùy chá»n là: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "Tùy chá»n có sẵn:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "â”â” Không có thiết bị như vậy %s.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "â”â” Trình Ä‘iá»u khiển %s không phải là trình Ä‘iá»u khiển xuất tập tin.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "â”â” Không thể ghi rõ tập tin xuất khi chưa ghi rõ trình Ä‘iá»u khiển.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "â”â” Khuôn dạng tùy chá»n không đúng: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "â”â” Giá trị tiá»n đệm không hợp lệ. Phạm vị: 0-100.\n" #: ogg123/cmdline_options.c:202 #, c-format msgid "ogg123 from %s %s" msgstr "ogg123 từ %s %s" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "â”â” Không thể phát má»—i từng Ä‘oạn thứ 0.\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "â”â” Không thể phát má»—i từng Ä‘oạn 0 lần.\n" "â”â” Äể chạy việc giải mã thá»­, hãy sá»­ dụng trình Ä‘iá»u khiển xuất rá»—ng.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "â”â” Không thể mở tập tin danh sách phát %s nên bị nhảy qua.\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "—— Tùy chá»n xung đột: giá» kết thúc nằm trước giá» bắt đầu.\n" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "" "â”â” Trình Ä‘iá»u khiển %s được ghi rõ trong tập tin cấu hình là không hợp lệ.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "â”â” Không thể tải trình Ä‘iá»u khiển mặc định và chưa ghi rõ trình Ä‘iá»u khiển " "trong tập tin cấu hình nên thoát.\n" #: ogg123/cmdline_options.c:307 #, fuzzy, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" "ogg123 từ %s %s\n" " cá»§a Tổ chức Xiph.Org (http://www.xiph.org/)\n" "\n" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" "Sá»­ dụng: ogg123 [tùy_chá»n] tập_tin ...\n" "Phát các tập tin âm thanh và luồng mạng kiểu Ogg.\n" "\n" #: ogg123/cmdline_options.c:314 #, c-format msgid "Available codecs: " msgstr "Codec có sẵn: " #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "FLAC, " #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "Speex, " #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" "Ogg Vorbis.\n" "\n" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "Tùy chá»n xuất\n" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" " -d thiết_bị, --device thiết_bị Dùng thiết bị xuất này. Các thiết bị sẵn " "sàng:\n" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "Äá»™ng:" #: ogg123/cmdline_options.c:342 #, c-format msgid "File:" msgstr "Tập tin:" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" " -f tập_tin, --file tập_tin Äặt tên tập tin xuất cho má»™t thiết bị tập " "tin\n" "\t\t\t\tđược xác định trước dùng « --device ».\n" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" " --audio-buffer n Dùng má»™t vùng đệm âm thanh xuất có kích cỡ « n » " "kilô-byte\n" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" " -o k:v, --device-option k:v\n" " Gá»­i tùy chá»n đặc biệt « k » vá»›i giá trị « v »\n" "\t\t\t\tcho thiết bị được xác định trước dùng « --device ».\n" "\t\t\t\tXem trang hướng dẫn (man) ogg123 để tìm\n" "\t\t\t\tnhững tùy chá»n thiết bị sẵn sàng.\n" #: ogg123/cmdline_options.c:361 #, c-format msgid "Playlist options\n" msgstr "Tùy chá»n danh mục phát\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" " -@ tập_tin, --list tập_tin Äá»c danh mục phát các tập tin và địa chỉ URL " "từ tập tin này\n" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr " -r, --repeat Lặp lại vô hạn danh mục phát\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr " -R, --remote Dùng giao diện Ä‘iá»u khiển từ xa\n" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" " -z, --shuffle Trá»™n bài danh sách các tập tin trước khi phát\n" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" " -Z, --random Phát ngẫu nhiên các tập tin đến khi bị giản Ä‘oạn\n" #: ogg123/cmdline_options.c:369 #, c-format msgid "Input options\n" msgstr "Tùy chá»n nhập liệu\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" " -b n, --buffer n Dùng má»™t vùng đệm nhập có kích cỡ « n » kilô-byte\n" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr " -p n, --prebuffer n Nạp n%% vùng đệm nhập trước khi phát\n" #: ogg123/cmdline_options.c:374 #, c-format msgid "Decode options\n" msgstr "Tùy chá»n giải mã\n" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" " -k n, --skip n Bá» qua « n » giây đầu tiên (hoặc dùng định dạng hh:" "mm:ss)\n" "\n" "hh:mm:ss\tgiá»:phút:giây, má»—i phần theo hai chữ số\n" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" " -K n, --end n Kết thúc ở « n » giây (hoặc dùng định dạng hh:mm:" "ss)\n" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr " -x n, --nth n Phát má»—i khối thứ « n »\n" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr " -y n, --ntimes n Lặp lại « n » lần má»—i khối được phát\n" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, c-format msgid "Miscellaneous options\n" msgstr "Tùy chá»n khác\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" " -l s, --delay s Äặt thá»i hạn chấm dứt theo mili-giây.\n" "\t\t\t\togg123 sẽ nhảy đến bài nhạc kế tiếp\n" "\t\t\t\tnếu nhận tín hiệu gián Ä‘oạn SIGINT (Ctrl-C),\n" "\t\t\t\tcÅ©ng chấm dứt nếu nhận hai SIGINT\n" "\t\t\t\ttrong thá»i hạn đã ghi rõ « s » (mặc định 500)\n" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr " -h, --help Hiển thị trợ giúp này\n" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr " -q, --quiet Không hiển thị gì (không tên)\n" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" " -v, --verbose Hiển thị tiến hành và thông tin trạng thái khác\n" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr " -V, --version Hiển thị phiên bản ogg123\n" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Lá»—i: hết bá»™ nhá»›.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "" "Lá»—i: không thể phân định bá»™ nhá»› trong « malloc_decoder_stats() » (thống kê " "giải mã phân định bá»™ nhá»›)\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Lá»—i: không thể lập mặt nạ tín hiệu." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Lá»—i: không thể tạo vùng đệm nhập.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "thiết bị xuất mặc định" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "trá»™n bài phát" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "lặp lại vô hạn danh mục phát" #: ogg123/ogg123.c:230 #, c-format msgid "Could not skip to %f in audio stream." msgstr "Không thể nhảy tá»›i %f trong luồng âm thanh." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Thiết bị âm thanh: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Tác giả: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "Ghi chú : %s" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Cảnh báo : không thể Ä‘á»c thư mục %s.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Lá»—i: không thể tạo vùng đệm âm thanh.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Không tìm thấy mô-đụn để Ä‘á»c từ %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Không thể mở %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Khuôn dạng tập tin cá»§a %s không được há»— trợ.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "Gặp lá»—i khi mở %s bằng mô-Ä‘un %s. Có lẽ tập tin bị há»ng.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "Äang phát: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Không thể nhảy qua %f giây âm thanh." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Lá»—i: việc giải mã không chạy được.\n" #: ogg123/ogg123.c:709 #, fuzzy msgid "ERROR: buffer write failed.\n" msgstr "Lá»—i: không ghi được vào vùng đệm.\n" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Äã xong." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "â”â” Gặp lá»— trong luồng; rất có thể là vô hại\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "â”â” Thư viên Vorbis đã thông báo lá»—i luồng.\n" #: ogg123/oggvorbis_format.c:361 #, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "Luồng Ogg Vorbis: %d kênh, %ld Hz" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "Äịnh dạng Vorbis: phiên bản %d" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "Mẹo tá»· lệ bit: trên=%ld không đáng kể=%ld dưới=%ld cá»­a sổ=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Mã hóa do : %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "" "Lá»—i: hết bá»™ nhá»› trong « create_playlist_member() » (tạo thành viên danh sách " "phát).\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Cảnh báo : không thể Ä‘á»c thư mục %s.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "Cảnh báo từ danh sách phát %s: không thể Ä‘á»c thư mục %s.\n" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "" "Lá»—i: hết bá»™ nhá»› trong « playlist_to_array() » (danh sách phát tá»›i mảng).\n" #: ogg123/speex_format.c:366 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "Luồng Ogg Vorbis: %d kênh, %ld Hz" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Luồng Ogg Vorbis: %d kênh, %ld Hz" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Phiên bản %d\n" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Gặp lá»—i khi Ä‘á»c phần đầu\n" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sTiá»n đệm đến %.1f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sBị tạm dừng" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sKết thúc luồng" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Lá»—i phân định bá»™ nhá»› trong « stats_init() » (khởi động thống kê).\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Tập tin: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "Thá»i gian: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "trên %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Tá»· lệ bit trung bình: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Vùng đệm nhập %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " Vùng đệm xuất %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "" "Lá»—i: không thể phân chia bá»™ nhá»› trong « malloc_data_source_stats() » (thống " "kê nguồn dữ liệu phân định bá»™ nhá»›).\n" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain (Reference loudness):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:45 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:46 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 #, fuzzy msgid "Comment:" msgstr "Ghi chú : %s" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, c-format msgid "oggdec from %s %s\n" msgstr "oggdec từ %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, fuzzy, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" " cá»§a Tổ chức Xiph.Org (http://www.xiph.org/)\n" "\n" #: oggdec/oggdec.c:59 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" "Sá»­ dụng: oggdec [tùy_chá»n] tập_tin1.ogg [tập_tin2.ogg ... tập_tinN.ogg]\n" "\n" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "Tùy chá»n được há»— trợ :\n" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr " --quiet, -Q Chế độ im: không xuất gì trên bàn giao tiếp.\n" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr " --help, -h Xuất thông Ä‘iệp trợ giúp này.\n" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr " --version, -V In ra số thứ tá»± phiên bản.\n" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr " --bits, -b Äá»™ sâu bit cá»§a kết xuất (há»— trợ 8 và 16)\n" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" " --endianness, -e\t\tTình trạng cuối cá»§a kết xuất 16-bit;\n" "\t\t\t\t0 - vá» cuối nhá» (mặc định)\n" "\t\t\t\t1 - vá» cuối lá»›n\n" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" " --sign, -s Ký PCM kết xuất hay không:\n" "\t\t\t\t0 - không ký\n" "\t\t\t\t1 - ký (mặc định)\n" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr " --raw, -R Kết xuất thô (không có phần đầu).\n" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" " --output, -o Xuất vào tên tập tin đưa ra.\n" "\t\t\t\tChỉ có thể dùng vá»›i 1 tập tin nhập vào,\n" "\t\t\t\ttrừ ở chế độ thô.\n" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "Lá»–I: không thể mở tập tin nhập « %s »: %s\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "Lá»–I: không thể mở tập tin xuất « %s »: %s\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Lá»—i mở tập tin là dạng vorbis: %s\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Má»›i mã hóa xong tập tin « %s »\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "thiết bị nhập chuẩn" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "thiết bị xuất chuẩn" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Gặp lá»—i khi gỡ bá» tập tin cÅ© %s\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "Lá»–I: chưa ghi rõ tập tin nhập vào. Hãy sá»­ dụng lệnh « -h » để xem trợ giúp.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "Lá»–I: có nhiá»u tập tin nhập vá»›i cùng má»™t tên tập tin xuất: đệ nghị dùng tùy " "chá»n « -n »\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "Bá»™ Ä‘á»c tập tin AU" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "Bá»™ Ä‘á»c tập tin AIFF/AIFC" #: oggenc/audio.c:50 msgid "FLAC file reader" msgstr "Bá»™ Ä‘á»c tập tin FLAC" #: oggenc/audio.c:51 msgid "Ogg FLAC file reader" msgstr "Bá»™ Ä‘á»c tập tin FLAC Ogg" #: oggenc/audio.c:129 oggenc/audio.c:459 #, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "Cảnh báo : gặp kết thúc tập tin bất thưá»ng khi Ä‘á»c phần đầu WAV\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Äang nhảy qua từng Ä‘oạn kiểu « %s », độ dài %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Cảnh báo : gặp kết thúc tập tin bất thưá»ng trong từng Ä‘oạn AIFF\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Cảnh báo : không tìm thấy từng Ä‘oạn dùng chung trong tập tin AIFF\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Cảnh báo : gặp từng Ä‘oạn dùng chung bị cụt trong phần đầu AIFF\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "Cảnh báo : gặp kết thúc tập tin bất thưá»ng khi Ä‘á»c phần đầu WAV\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "Cảnh báo : gặp kết thúc tập tin bất thưá»ng khi Ä‘á»c phần đầu WAV\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Cảnh báo : phần đầu AIFF bị cụt.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "Cảnh báo : không thể xá»­ lý AIFF-C đã nén (%c%c%c%c)\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "Cảnh báo : không tìm thấy từng Ä‘oạn SSND trong tập tin AIFF\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Cảnh báo : gặp từng Ä‘oạn SSND trong phần đầu AIFF\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Cảnh báo : gặp kết thúc tập tin bất thưá»ng khi Ä‘á»c phần đầu WAV\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "Cảnh báo : OggEnc không há»— trợ kiểu tập tin AIFF/AIFC này\n" "Phải là PCM 8 hay 16 bit.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Cảnh báo : không nhận ra từng Ä‘oạn định dạng trong phần đầu Wave\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "Cảnh báo : gặp từng Ä‘oạn định dạng KHÔNG HỢP LỆ trong phần đầu Wave.\n" "Vẫn Ä‘ang thá»­ Ä‘á»c nó (có lẽ không thể)...\n" #: oggenc/audio.c:472 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "Cảnh báo : gặp kết thúc tập tin bất thưá»ng khi Ä‘á»c phần đầu WAV\n" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "Lá»–I: tập tin Wave có kiểu không được há»— trợ (phải là PCM tiêu chuẩn\n" "hay PCM Ä‘iểm động kiểu 3)\n" #: oggenc/audio.c:546 #, fuzzy, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" "Cảnh báo : giá trị « chỉnh canh khối » WAV không đúng nên bá» qua.\n" "Tập tin này đã được tạo bởi phần má»m sai.\n" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "Lá»–I: tập tin Wav có định dạng con không được há»— trợ\n" "(phải là PCM 8, 16, 24 hay 32-bit) hay PCM chấm động)\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" "Dữ liệu PCM 24-bit kiểu cuối lá»›n không phải được há»— trợ hiện thá»i nên há»§y " "bá».\n" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "Lá»—i ná»™i bá»™ : thá»­ Ä‘á»c độ sâu bit không được há»— trợ %d\n" #: oggenc/audio.c:799 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "Lá»–I: không nhận mẫu nào từ bá»™ lấy lại mẫu: tập tin bạn sẽ bị cụt. Vui lòng " "thông báo lá»—i này.\n" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "Không thể khởi động bá»™ lấy lại mẫu.\n" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "Äang lập tùy chá»n mã hóa cấp cao « %s » thành %s\n" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "Äang lập tùy chá»n mã hóa cấp cao « %s » thành %s\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "Má»›i thay đổi tần số qua thấp từ %f kHz thành %f kHz\n" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "Không chấp nhận tùy chá»n cấp cao « %s »\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "Lá»—i đặt tham số quản lý tá»· lệ cấp cao\n" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" "Phiên bản libvorbisenc này không có khả năng đặt tham số quản lý tá»· lệ cấp " "cao\n" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" "255 kênh nên là đủ cho bất cứ ai. (Tiếc là Vorbis không há»— trợ nhiá»u hÆ¡n " "đó)\n" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "" "Việc yêu cầu tá»· lệ bit tối thiểu hay tối Ä‘a cần thiết tùy chá»n « --managed " "» (đã quản lý)\n" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "Việc khởi động chế độ bị lá»—i: tham số không hợp lệ vá»›i chất lượng\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "Äặt sá»± hạn chế chất lượng cứng tùy chá»n\n" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "Lá»—i đặt tá»· lệ bit tiểu/đại trong chế độ chất lượng\n" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "Việc khởi động chế độ bị lá»—i: tham số không hợp lệ vá»›i tá»· lệ bit\n" #: oggenc/encode.c:374 #, fuzzy, c-format msgid "WARNING: no language specified for %s\n" msgstr "CẢNH BÃO : ghi rõ tùy chá»n lạ nên giả sá»­ →\n" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "Gặp lá»—i khi ghi phần đầu vào luồng xuất\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Gặp lá»—i khi ghi phần đầu vào luồng xuất\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "Gặp lá»—i khi ghi phần đầu vào luồng xuất\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Gặp lá»—i khi ghi phần đầu vào luồng xuất\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Gặp lá»—i khi ghi dữ liệu vào luồng xuất\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [%2dm%.2ds còn lại] %c " #: oggenc/encode.c:726 #, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tÄang mã hoá [%2dm%.2ds đến lúc này] %c " #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Má»›i mã hóa xong tập tin « %s »\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Má»›i mã hóa xong.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tÄá»™ dài tập tin: %dp %04.1fg\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tThá»i gian đã qua: %dp %04.1fg\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tTá»· lệ: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tTá»· lệ trung bình: %.1f kb/g\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Äang mã hóa %s%s%s vào \n" " %s%s%s \n" "vá»›i tá»· lệ bit trung bình %d kb/g" #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Äang mã hóa %s%s%s vào \n" " %s%s%s \n" "vá»›i tá»· lệ trung bình %d kb/g (cách mã hóa VBR đã bật)\n" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Äang mã hóa %s%s%s vào \n" " %s%s%s \n" "vá»›i cấp chất lượng %2.2f bằng VBR ràng buá»™c" #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Äang mã hóa %s%s%s vào \n" " %s%s%s \n" "vá»›i chất lượng %2.2f\n" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Äang mã hóa %s%s%s vào \n" " %s%s%s \n" "bằng cách quản lý tá»· lệ bit" #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Lá»—i mở tập tin là dạng vorbis: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Lá»—i: hết bá»™ nhá»›.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "Lá»–I: không thể mở tập tin nhập « %s »: %s\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 msgid "RAW file reader" msgstr "Bá»™ Ä‘á»c tập tin RAW" #: oggenc/oggenc.c:131 #, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "Lá»–I: chưa ghi rõ tập tin nhập vào. Hãy sá»­ dụng lệnh « -h » để xem trợ giúp.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "Lá»–I: nhiá»u tập tin được ghi rõ khi dùng thiết bị nhập chuẩn\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "Lá»–I: có nhiá»u tập tin nhập vá»›i cùng má»™t tên tập tin xuất: đệ nghị dùng tùy " "chá»n « -n »\n" #: oggenc/oggenc.c:217 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "CẢNH BÃO : chưa ghi rõ đủ tá»±a nên dùng mặc định (tá»±a cuối cùng).\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "Lá»–I: không thể mở tập tin nhập « %s »: %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Äang mở bằng mô-Ä‘un %s: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "Lá»–I: tập tin nhập « %s » không phải là định dạng được há»— trợ\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "Lá»–I: tập tin nhập « %s » không phải là định dạng được há»— trợ\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "CẢNH BÃO : không có tên tập tin nên dùng mặc định « default.ogg »\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "Lá»–I: không thể tạo những thư mục con cần thiết cho tên tập tin xuất « %s »\n" #: oggenc/oggenc.c:363 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "Lá»–I: tên tập tin nhập vào trùng vá»›i tên tập tin xuất ra « %s »\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "Lá»–I: không thể mở tập tin xuất « %s »: %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "Äang lấy lại mẫu nhập từ %d Hz đến %d Hz\n" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Äang hoà trá»™n xuống âm lập thể thành nguồn đơn\n" #: oggenc/oggenc.c:441 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "CẢNH BÃO : không thể hoà tiếng từ âm lập thể xuống nguồn đơn\n" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "Äang co dãn kết nhập thành %f\n" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, c-format msgid "oggenc from %s %s\n" msgstr "oggenc từ %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" "Sá»­ dụng: oggenc [tùy_chá»n] tập_tin_nhập [...]\n" "\n" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" "TÙY CHỌN:\n" "\n" " Chung:\n" " -Q, --quiet Không xuất gì ra đầu lá»—i tiêu chuẩn (stderr)\n" " -h, --help In ra trợ giúp này\n" " -V, --version In ra số thứ tá»± phiên bản\n" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" " -k, --skeleton Thêm má»™t luồng bit kiểu Ogg Skeleton\n" " -r, --raw Chế độ thô. Tập tin nhập vào thì được Ä‘á»c trá»±c tiếp là " "dữ liệu PCM\n" " -B, --raw-bits=n Äặt số bit/mẫu cho dữ liệu nhập thô ; mặc định là 16\n" " -C, --raw-chan=n Äặt số kênh cho dữ liệu nhập thô ; mặc định là 2\n" " -R, --raw-rate=n Äặt số mẫu/giây cho dữ liệu nhập thô ; mặc định là " "44100\n" " --raw-endianness 1 vá» cuối lá»›n, 0 vá» cuối nhá» (mặc định là 0)\n" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" " -b, --bitrate Äặt má»™t tá»· lệ bit không đáng kể theo đó cần mã hoá.\n" "\t\t\tThá»­ mã hoá theo má»™t tá»· lệ bit trung bình là giá trị này.\n" "\t\t\tGiá trị này theo kbps (kilô-byte má»—i giây).\n" "\t\t\tMặc định là mã hoá VRB, tương đương vá»›i\n" "\t\t\tdùng tùy chá»n « -q » hay « --quality ».\n" "\t\t\tXem tùy chá»n « --managed » để dùng má»™t tá»· lệ bit\n" "\t\t\tđược quản lý nhắm mục đích là tá»· lệ bit được chá»n.\n" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" " --managed Bật cÆ¡ chế quản lý tá»· lệ bit.\n" "\t\t\tÄây sẽ cho phép rất Ä‘iá»u khiển hÆ¡n\n" "\t\t\tvá»›i tá»· lệ bit chính xác được dùng,\n" "\t\t\tcòn mã hoá rất chậm hÆ¡n.\n" "\t\t\tKhông nên dùng nếu không rất\n" "\t\t\tcần Ä‘iá»u khiển chi tiết tá»· lệ bit,\n" "\t\t\tv.d. để chạy luồng.\n" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" " -m, --min-bitrate Äặt má»™t tá»· lệ bit tối thiểu (theo kbps).\n" "\t\t\tCó ích để mã hoá cho má»™t kênh có kích cỡ cố định.\n" "\t\t\tDùng tùy chá»n này cÅ©ng tá»± động bật chế độ tá»· lệ bit\n" "\t\t\tđược quản lý (xem tùy chá»n « --managed »).\n" " -M, --max-bitrate Äặt má»™t tá»· lệ bit tối Ä‘a (theo kbps).\n" "\t\t\tCó ích cho ứng dụng chạy luồng.\n" "\t\t\tDùng tùy chá»n này cÅ©ng tá»± động bật chế độ tá»· lệ bit\n" "\t\t\tđược quản lý (xem tùy chá»n « --managed »).\n" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" " --advanced-encode-option tùy_chá»n=giá_trị\n" "\t\t\tÄặt má»™t tùy chá»n mã hoá cấp cao thành giá trị đưa ra.\n" "\t\t\tNhững tùy chá»n hợp lệ (và giá trị tương ứng)\n" "\t\t\tđược diá»…n tả tên trang hướng dẫn (man)\n" "\t\t\tcó sẵn vá»›i chương trình này.\n" "\t\t\tTùy chá»n kiểu này chỉ cho ngưá»i dùng thành thạo,\n" "\t\t\tcÅ©ng nên dùng cẩn thận.\n" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" " -q, --quality Xác định mức chất lượng,\n" "\t\t\tmá»™t giá trị nằm giữa -1 (rất thấp) và 10 (rất cao),\n" "\t\t\tthay vào xác định má»™t tá»· lệ bit riêng.\n" "\t\t\tÄây là chế độ thao tác bình thưá»ng.\n" "\t\t\tCÅ©ng cho phép giá trị phân số (v.d. 2.75).\n" "\t\t\tMức chất lượng mặc định là 3.\n" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" " --resample n Lấy lại mẫu dữ liệu nhập theo tá»· lệ lấy mẫu n (Hz)\n" " --downmix Hoà tiếng âm lập thể thành đơn nguồn.\n" "\t\t\tChỉ cho phép trên thiết bị nhập âm lập thể.\n" " -s, --serial Xác định má»™t số thứ tá»± cho luồng.\n" "\t\t\tNếu mã hoá nhiá»u tập tin, số thứ tá»± này\n" "\t\t\tsẽ tăng dần vá»›i má»—i luồng nằm sau cái đầu tiên.\n" #: oggenc/oggenc.c:561 #, fuzzy, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" " --discard-comments Ngăn cản ghi chú trong tập tin kiểu FLAC và Ogg FLAC\n" " được sao chép vào tập tin kết xuất Ogg Vorbis.\n" " --ignorelength Bá» qua chiá»u dài dữ liệu trong phần đầu kiểu wav.\n" " Tùy chá»n này cho phép há»— trợ tập tin lá»›n hÆ¡n 4GB\n" "\t\t\tvà luồng dữ liệu trên đầu vào tiêu chuẩn (STDIN).\n" "\n" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" " Äặt tên:\n" " -o, --output=fn Ghi tập tin vào fn (chỉ hợp lệ ở chế độ má»™t tập tin)\n" " -n, --names=chuá»—i Tạo tên tập tin là chuá»—i này;\n" "\t\t\t%%a - nghệ sÄ©\n" "\t\t\t%%t - tên bài\n" "\t\t\t%%l - tập nhạc\n" "\t\t\t%%n - số thứ tá»± rãnh\n" "\t\t\t%%d - ngày tháng\n" "\t\t\t%%%% - má»™t %% nghÄ©a chữ\n" "\t\t\txem dưới đây để tìm thông tin\n" "\t\t\tvá» cách xác định những biến đặc biệt này.\n" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" " -X, --name-remove=s\t\tGỡ bá» những ký tá»± được xác định ở đây\n" "\t\t\tkhá»i tham số thành chuá»—i định dạng « -n ».\n" "\t\t\tCó ích để đảm bảo đặt tên tập tin được phép.\n" " -P, --name-replace=s\t\tThay thế những ký tá»±\n" "\t\t\tbị « --name-remove » gỡ bá»\n" "\t\t\tbằng những ký tá»± được xác định ở đây.\n" "\t\t\tNếu chuá»—i này ngắn hÆ¡n chuá»—i cá»§a tùy chá»n\n" "\t\t\t« --name-remove » hay chưa xác định,\n" "\t\t\tmá»—i ký tá»± thừa chỉ đơn giản được gỡ bá».\n" "\t\t\tThiết lập mặc định cho hai đối số trên\n" "\t\t\tcÅ©ng đặc trưng cho ná»n tảng.\n" #: oggenc/oggenc.c:583 #, fuzzy, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" " -c, --comment=c Thêm chuá»—i đưa ra dưới dạng má»™t ghi chú bổ sung.\n" "\t\t\tCÅ©ng có thể dùng nhiá»u lần.\n" "\t\t\tÄối số nên có dạng « thẻ=giá_trị ».\n" " -d, --date Ngày tháng cá»§a rãnh (thưá»ng là ngày biểu diá»…n)\n" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" " -N, --tracknum Số thứ tá»± rãnh cá»§a rãnh này\n" " -t, --title Tên cá»§a rãnh này\n" " -l, --album Tên cá»§a tập nhạc\n" " -a, --artist Tên cá»§a nghệ sÄ©\n" " -G, --genre Thể loại cá»§a rãnh\n" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, fuzzy, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" "\t\t\tÄÆ°a ra nhiá»u tập tin nhập vào, thì dùng nhiá»u lần\n" "\t\t\tnăm đối số trước, theo thứ tá»± đưa ra.\n" "\t\t\tXác định số tên ít hÆ¡n số tập tin thì OggEnc sẽ in ra má»™t cảnh báo,\n" "\t\t\tvà dùng lại cái cuối cùng cho các tập tin còn lại.\n" "\t\t\tNếu đưa ra ít số thứ tá»± rãnh hÆ¡n,\n" "\t\t\tthì không đặt số thứ tá»± cho các tập tin còn lại.\n" "\t\t\tÄối vá»›i các cái khac, thẻ cuối cùng được dùng lại\n" "\t\t\tmà không cảnh báo (thì có thể xác định má»™t lần\n" "\t\t\tmá»™t ngày tháng nào đó mà được dùng lại cho má»i tập tin)\n" #: oggenc/oggenc.c:613 #, fuzzy, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" "TẬP TIN NHẬP:\n" " Tập tin nhập vào kiểu OggEnc hiện thá»i phải là tập tin dạng\n" "Wave PCM 24, 16, hay 8 bit, u-Law (.au) 16-bit, AIFF, hay AIFF/C\n" "Wave chấm động IEEE, và tùy chá»n FLAC hay Ogg FLAC.\n" "Tập tin cÅ©ng có thể là nguồn đơn hay âm lập thể (hay nhiá»u kênh hÆ¡n)\n" "vá»›i bất cứ tá»· lệ lấy mẫu nào.\n" "Hoặc có thể dùng tùy chá»n « --raw » để nhập má»™t tập tin dữ liệu PCM thô,\n" "mà phải là PCM vá» cuối nhỠâm lập thể 16-bit (« wave không đầu »),\n" "nếu không xác định tham số chế độ thô bổ sung.\n" "CÅ©ng có thể ghi rõ nên lấy tập tin từ đầu vào tiêu chuẩn (stdin)\n" "bằng cách đặt « - » là tên tập tin nhập vào.\n" "Ở chế độ này, xuất ra đầu ra tiêu chuẩn (stdout)\n" "nếu không đặt tên tập tin kết xuất bằng « -o ».\n" "\n" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" "CẢNH BÃO : Ä‘ang bá» qua ký tá»± thoát không được phép « %c » trong định dạng " "tên\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Äang bật cÆ¡ chế quản lý tá»· lệ bit\n" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "CẢNH BÃO : tính trạng cuối thô được ghi rõ cho dữ liệu không phải thô. Như " "thế thì sẽ giả sá»­ dữ liệu nhập có phải là thô.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "CẢNH BÃO : không thể Ä‘á»c đối số tính trạng cuối « %s »\n" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "CẢNH BÃO : không thể Ä‘á»c tần số lấy lại mẫu « %s »\n" #: oggenc/oggenc.c:773 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "Cảnh báo : tá»· lệ lấy lại mẫu được ghi rõ là %d Hz. Bạn có định gõ %d Hz " "không?\n" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "Cảnh báo : không thể phân tách hệ số co dãn « %s »\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Không tìm thấy giá trị cho tùy chá»n mã hóa cấp cao\n" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "Gặp lá»—i ná»™i bá»™ khi phân tách tùy chá»n dòng lệnh\n" #: oggenc/oggenc.c:831 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "Cảnh báo : dùng ghi chú không được phép (« %s ») nên bá» qua.\n" #: oggenc/oggenc.c:870 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Cảnh báo : không nhận ra tá»· lệ không đáng kể « %s »\n" #: oggenc/oggenc.c:878 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Cảnh báo : không nhận ra tá»· lệ tối thiểu « %s »\n" #: oggenc/oggenc.c:892 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Cảnh báo : không nhận ra tá»· lệ tối Ä‘a « %s »\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Không nhận ra tùy chá»n chất lượng « %s » nên bá» qua\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" "CẢNH BÃO : thiết lập chất lượng quá cao nên lập thành chất lượng tối Ä‘a.\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "CẢNH BÃO : nhiá»u định dạng tên được ghi rõ nên dùng Ä‘iá»u cuối cùng\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" "CẢNH BÃO : nhiá»u bá»™ lá»c định dạng tên được ghi rõ nên dùng Ä‘iá»u cuối cùng\n" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" "CẢNH BÃO : nhiá»u Ä‘iá»u thay thế bá»™ lá»c định dạng tên được ghi rõ nên dùng " "Ä‘iá»u cuối cùng\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" "CẢNH BÃO : nhiá»u tập tin xuất được ghi rõ nên đệ nghị dùng tùy chá»n « -n »\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "CẢNH BÃO : bit/mẫu thô được ghi rõ cho dữ liệu không phải thô nên giả sá»­ dữ " "liệu nhập có phải là thô.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "CẢNH BÃO : ghi rõ bit/mẫu không hợp lệ nên giả sá»­ 16.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "CẢNH BÃO : số đếm kênh thô được ghi rõ cho dữ liệu không phải thô nên giả sá»­ " "dữ liệu nhập có phải là thô.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "CẢNH BÃO : ghi rõ số đếm kênh không hợp lệ nên giả sá»­ 2.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "CẢNH BÃO : tá»· lệ lấy mẫu thô được ghi rõ cho dữ liệu không phải thô nên giả " "sá»­ dữ liệu nhập có phải là thô.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "CẢNH BÃO : ghi rõ tá»· lệ lấy mẫu không hợp lệ nên giả sá»­ 44100.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "CẢNH BÃO : ghi rõ tùy chá»n lạ nên giả sá»­ →\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "Không thể chuyển đôi ghi chú đến UTF-8 nên không thể thêm\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "Không thể chuyển đôi ghi chú đến UTF-8 nên không thể thêm\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "CẢNH BÃO : chưa ghi rõ đủ tá»±a nên dùng mặc định (tá»±a cuối cùng).\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Không thể tạo thư mục « %s »: %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Gặp lá»—i khi kiểm tra có thư mục %s: %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "Lá»—i: Ä‘oạn đưá»ng dẫn « %s » không phải là thư mục\n" #: ogginfo/ogginfo2.c:115 #, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" #: ogginfo/ogginfo2.c:127 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Cảnh báo : chưa lập kết thúc luồng trên luồng %d\n" #: ogginfo/ogginfo2.c:216 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Cảnh báo: trang phần đầu không hợp lệ, không tìm thấy gói tin\n" #: ogginfo/ogginfo2.c:246 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" "Cảnh báo: trang phần đầu không hợp lệ trong luồng %d, chứa nhiá»u gói tin\n" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" "Ghi chú : luồng %d có số sản xuất %d mà hợp pháp nhưng có thể gây ra lá»—i " "trong má»™t số công cụ.\n" #: ogginfo/ogginfo2.c:278 #, fuzzy, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "Cảnh báo : gặp lá»— trong dữ liệu (%d byte) ở hiệu xấp xỉ %" #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Gặp lá»—i khi mở tập tin nhập « %s »: %s\n" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Äang xá»­ lý tập tin « %s »....\n" "\n" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "Không tìm thấy bá»™ xá»­ lý cho luồng nên há»§y bá»\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "Tìm thấy trang cho luồng sau cá» EOS (kết thúc luồng)" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" "Vi phạm các ràng buá»™c mux Ogg, có luồng má»›i nằm trước EOS (kết thúc luồng) " "cá»§a các luồng trước" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "Gặp lá»—i không rõ." #: ogginfo/ogginfo2.c:337 #, fuzzy, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" "Cảnh báo : (các) trang có vị trí cấm cho luồng luận lý %d\n" "Ngụ ý tập tin ogg bị há»ng: %s.\n" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "Luồng hợp lý má»›i (#%d, nối tiếp: %08x): kiểu %s\n" #: ogginfo/ogginfo2.c:352 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "Cảnh báo : chưa lập cá» bất đầu luồng trên luồng %d\n" #: ogginfo/ogginfo2.c:355 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "Cảnh báo : tìm thấy cá» bất đầu luồng trên giữa trên luồng %d\n" #: ogginfo/ogginfo2.c:361 #, fuzzy, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" "Cảnh báo : gặp chá»— không có số trong luồng %d. Äã nhận trang %ld còn mong " "đợi trang %ld. Äó ngụ ý dữ liệu bị thiếu.\n" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "Luồng hợp lý %d đã kết thúc\n" #: ogginfo/ogginfo2.c:384 #, fuzzy, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" "Lá»—i: không tìm thấy dữ liệu ogg trong tập tin « %s ».\n" "Vì vậy dữ liệu nhập vào rất không phải là Ogg.\n" #: ogginfo/ogginfo2.c:395 #, c-format msgid "ogginfo from %s %s\n" msgstr "ogginfo từ %s %s\n" #: ogginfo/ogginfo2.c:400 #, fuzzy, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" " cá»§a Tổ chức Xiph.Org (http://www.xiph.org/)\n" "\n" #: ogginfo/ogginfo2.c:401 #, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" "© năm 2003-2005 cá»§a Michael Smith \n" "\n" "Sá»­ dụng: ogginfo [cá»] tập_tin1.ogg [tập_tin2.ogx ... tập_tinN.ogv]\n" "\n" "CỠđược há»— trợ :\n" "\t-h \tHiện trợ giúp này\n" "\t-q \tXuất ít chi tiết hÆ¡n. Dùng má»™t lần để gỡ bá» các thông Ä‘iệp\n" "\t\tthông tin chi tiết, dùng hai lần để gỡ bá» các cảnh báo\n" "\t-v \t\tXuất nhiá»u chi tiết hÆ¡n. Có thể bật các sá»± kiểm tra chi tiết hÆ¡n\n" "\t\tcho má»™t số kiểu luồng\n" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "\t-V\t\tXuất thông tin phiên bản, sau đó thoát\n" #: ogginfo/ogginfo2.c:422 #, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" "Sá»­ dụng: ogginfo [cá»] tập_tin1.ogg [tập_tin2.ogx ... tập_tinN.ogv]\n" "\n" "ogginfo là má»™t công cụ in ra thông tin vá» tập tin kiểu Ogg\n" "và chẩn Ä‘oán vấn đỠvá»›i nó.\n" "Có thể xem trợ giúp đầy đủ bằng cách sá»­ dụng lệnh « ogginfo -h ».\n" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "" "Chưa ghi rõ tập tin nhập nào. Sá»­ dụng lệnh « ogginfo -h » để xem trợ giúp.\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: tùy chá»n « %s » là mÆ¡ hồ\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: tùy chá»n « --%s » không cho phép đối số\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: tùy chá»n « %c%s » không cho phép đối số\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: tùy chá»n « %s » cần đến đối số\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: không nhận ra tùy chá»n « --%s »\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: không nhận ra tùy chá»n « %c%s »\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: không cho phép tùy chá»n « -- %c »\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: tùy chá»n không hợp lệ « -- %c »\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: tùy chá»n cần đến đối số « -- %c »\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: tùy chá»n « -W %s » là mÆ¡ hồ\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: tùy chá»n « -W %s » không cho phép đối số\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Không thể phân tãch Ä‘iểm cắt « %s »\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Không thể phân tãch Ä‘iểm cắt « %s »\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Không thể mở %s để ghi\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" "Cách sá»­ dụng: vcut tập_tin_nhập.ogg tập_tin_xuất1.ogg tập_tin_xuất2.ogg " "[Ä‘iểm_cắt | +Ä‘iểm_cắt]\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Không thể mở %s để Ä‘á»c\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Không thể phân tãch Ä‘iểm cắt « %s »\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Äang xá»­ lý: cắt tại %lld giây\n" #: vcut/vcut.c:289 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Äang xá»­ lý: cắt tại %lld mẫu\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "Việc xá»­ lý bị lá»—i\n" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Không tìm thấy khóa" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Lá»—i ghi các ghi chú vào tập tin xuất: %s\n" #: vcut/vcut.c:505 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Gặp lá»—i khi Ä‘á»c trang thứ nhất cá»§a luồng bit Ogg." #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Lá»—i luồng bit có thể phục hồi\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Phần đầu phụ bị há»ng\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Lá»—i luồng bit, vẫn tiếp tục\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Lá»—i trong phần đầu chính: không phải là định dạng vorbis không?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "Dữ liệu nhập không phải là định dạng ogg.\n" #: vcut/vcut.c:616 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Lá»—i luồng bit, vẫn tiếp tục\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "Tìm chá»— kết thúc luồng đằng trước Ä‘iểm cắt.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "Không tìm thấy đủ bá»™ nhá»› để chuyển hoán đệm dữ liệu nhập." #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Gặp lá»—i khi Ä‘á»c trang thứ nhất cá»§a luồng bit Ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Gặp lá»—i khi Ä‘á»c gói tin phần đầu ban đầu." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "Không tìm thấy đủ bá»™ nhá»› để đăng ký số thứ tá»± luồng má»›i." #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "Dữ liệu nhập bị cụt hay rá»—ng." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "Dữ liệu nhập không phải là má»™t luồng bit Ogg." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Luồng bit ogg không chứa dữ liệu vorbis." #: vorbiscomment/vcedit.c:555 msgid "EOF before recognised stream." msgstr "Gặp kết thúc tập tin đằng trước luồng được nhận ra." #: vorbiscomment/vcedit.c:568 msgid "Ogg bitstream does not contain a supported data-type." msgstr "Luồng bit Ogg không chứa kiểu dữ liệu được há»— trợ." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Phần đầu phụ bị há»ng." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "Gặp kết thúc tập tin đằng trước kết thúc phần đầu vorbis." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "Dữ liệu bị há»ng hay còn thiếu, vẫn tiếp tục..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "Gặp lá»—i khi ghi luồng vào xuất. Luồng xuất có lẽ bị há»ng hay bị cụt." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Lá»—i mở tập tin là dạng vorbis: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Ghi chú sai: « %s »\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "ghi chú sai: « %s »\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Lá»—i ghi các ghi chú vào tập tin xuất: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "Chưa ghi rõ hành động nào\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "Không thể chuyển đôi ghi chú đến UTF-8 nên không thể thêm\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" "vorbiscomment từ %s %s\n" " cá»§a Tổ chức Xiph.Org (http://www.xiph.org/)\n" "\n" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "Liệt kê hoặc chỉnh sá»­a ghi chú trong tập tin kiểu Ogg Vorbis.\n" #: vorbiscomment/vcomment.c:622 #, fuzzy, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" "Sá»­ dụng: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lR] tập_tin\n" " vorbiscomment [-R] [-c tập_tin] [-t thẻ] <-a|-w> tập_tin_nhập " "[tập_tin_xuất]\n" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "Tùy chá»n liệt kê\n" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" " -l, --list Liệt kê các ghi chú (mặc định nếu không đưa ra tùy " "chá»n)\n" #: vorbiscomment/vcomment.c:632 #, c-format msgid "Editing options\n" msgstr "Tùy chá»n chỉnh sá»­a\n" #: vorbiscomment/vcomment.c:633 #, fuzzy, c-format msgid " -a, --append Update comments\n" msgstr " -a, --append Phụ thêm các ghi chú\n" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" " -t \"tên=giá_trị\", --tag \"ên=giá_trị\"\n" " Ghi rõ má»™t ghi chú trên dòng lệnh\n" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr " -w, --write Ghi chú, mà thay thế ghi chú đã có\n" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" " -c tập_tin, --commentfile tập_tin\n" " Khi liệt kê thì cÅ©ng ghi các ghi chú vào tập tin " "đưa ra.\n" " Khi chỉnh sá»­a thì cÅ©ng Ä‘á»c các ghi chú từ tập tin " "đưa ra.\n" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr " -R, --raw Äá»c và ghi các ghi chú theo UTF-8\n" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr " -V, --version Xuất thông tin phiên bản, sau đó thoát\n" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" "Nếu không đưa ra tập tin kết xuất thì vorbiscomment sá»­a đổi tập tin nhập " "vào.\n" "Việc này được quản lý dùng má»™t tập tin tạm thá»i, để mà tập tin nhập vào\n" "không phải bị sá»­a đổi nếu gặp lá»—i trong khi xá»­ lý.\n" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" "vorbiscomment quản lý ghi chú theo định dạng \"tên=giá_trị\", má»—i dòng má»™t " "mục.\n" "Mặc định là ghi chú được ghi ra đầu ra tiêu chuẩn khi liệt kê,\n" "và được Ä‘á»c từ đầu vào tiêu chuẩn khi chỉnh sá»­a.\n" "Hoặc có thể xác định má»™t tập tin dùng tùy chá»n « -c »,\n" "hoặc có thê đưa ra thẻ trên dòng lệnh dùng « -t \"tên=giá_trị\" ».\n" "Dùng tùy chá»n hoặc « -c » hoặc « -t » thì cÅ©ng tắt chức năng Ä‘á»c từ đầu vào " "tiêu chuẩn.\n" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" "Ví dụ :\n" " vorbiscomment -a in.ogg -c ghi_chú.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Ngưá»i Nào\" -t \"TITLE=Tên Bài\"\n" #: vorbiscomment/vcomment.c:672 #, fuzzy, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" "GHI CHÚ : chế độ thô (--raw, -R) thì Ä‘á»c và ghi các ghi chú theo UTF-8\n" "thay vào chuyển đổi sang bá»™ ký tá»± riêng cá»§a ngưá»i dùng, mà có ích đối vá»›i " "văn lệnh.\n" "Tuy nhiên, thiết lập này không đủ để « khứ hồi » chung các ghi chú trong má»i " "trưá»ng hợp.\n" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Gặp lá»—i ná»™i bá»™ khi phân tách tùy chá»n lệnh\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Gặp lá»—i khi mở tập tin nhập « %s ».\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "Tên tập tin nhập có lẽ không trùng vá»›i tên tập tin xuất\n" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Gặp lá»—i khi mở tập tin xuất « %s ».\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Gặp lá»—i khi mở tập tin ghi chú « %s ».\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Gặp lá»—i khi mở tập tin ghi chú « %s ».\n" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "Gặp lá»—i khi gỡ bá» tập tin cÅ© %s\n" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "Gặp lá»—i khi thay đổi tên %s thành %s\n" #: vorbiscomment/vcomment.c:938 #, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Gặp lá»—i khi gỡ bá» tập tin tạm thá»i bị lá»—i %s\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "Bá»™ Ä‘á»c tập tin WAV" #, fuzzy #~ msgid "WARNING: Unexpected EOF in reading Wave header\n" #~ msgstr "Cảnh báo : gặp kết thúc tập tin bất thưá»ng khi Ä‘á»c phần đầu Wave\n" #, fuzzy #~ msgid "WARNING: Unexpected EOF in reading AIFF header\n" #~ msgstr "Cảnh báo : gặp kết thúc tập tin bất thưá»ng khi Ä‘á»c phần đầu AIFF\n" #, fuzzy #~ msgid "WARNING: Unexpected EOF reading AIFF header\n" #~ msgstr "Cảnh báo : gặp kết thúc tập tin bất thưá»ng khi Ä‘á»c phần đầu AIFF\n" #~ msgid "Big endian 32 bit PCM data is not currently supported, aborting.\n" #~ msgstr "" #~ "Dữ liệu PCM 32-bit vá» cuối lá»›n hiện thá»i không được há»— trợ nên há»§y bá».\n" #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Gặp lá»—i ná»™i bá»™ — thông báo nhé.\n" #~ msgid "oggenc from %s %s" #~ msgstr "oggenc từ %s %s" #, fuzzy #~ msgid "" #~ "WARNING: Comment %d in stream %d has invalid format, does not contain " #~ "'=': \"%s\"\n" #~ msgstr "" #~ "Cảnh báo : ghi chú %d trong luồng %d có định dạng không hợp lệ, không " #~ "chứa '=': \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #~ msgstr "" #~ "Cảnh báo : tên trưá»ng ghi chú không hợp lệ trong ghi chú %d (luồng %d): « " #~ "%s »\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #~ msgstr "" #~ "Cảnh báo : chuá»—i UTF-8 không được phép trong ghi chú %d (luồng %d): dấu " #~ "độ dài không đúng\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #~ msgstr "" #~ "Cảnh báo : chuá»—i UTF-8 không được phép trong ghi chú %d (luồng %d): quá " #~ "ít byte\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence \"%s\": %s\n" #~ msgstr "" #~ "Cảnh báo : chuá»—i UTF-8 không được phép trong ghi chú %d (luồng %d): chuá»—i " #~ "không hợp lệ « %s »: %s\n" #, fuzzy #~ msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" #~ msgstr "Cảnh báo : bá»™ giải mã UTF-8 không chạy được. Mà nên không thể.\n" #, fuzzy #~ msgid "WARNING: discontinuity in stream (%d)\n" #~ msgstr "Cảnh báo : gặp Ä‘iểm gián Ä‘oạn trong luồng (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Theora header packet - invalid Theora stream " #~ "(%d)\n" #~ msgstr "" #~ "Cảnh báo : không thể giải mã gói tin phần đầu theora: luồng theora không " #~ "hợp lệ (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Theora stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Cảnh báo : luồng theora %d không có phần đầu trong khung đúng. Trang phần " #~ "đầu cuối cùng chứa các gói tin thêm, hoặc có granulepos khác số không\n" #~ msgid "Theora headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "Phần đầu theora đã được phân tách cho luồng %d, thông tin theo đây...\n" #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Phiên bản: %d.%d.%d\n" #~ msgid "Vendor: %s\n" #~ msgstr "Nhà sản xuất: %s\n" #~ msgid "Width: %d\n" #~ msgstr "Rá»™ng: %d\n" #~ msgid "Height: %d\n" #~ msgstr "Cao : %d\n" #~ msgid "Total image: %d by %d, crop offset (%d, %d)\n" #~ msgstr "Toàn ảnh: %d × %d, xén hiệu (%d, %d)\n" #~ msgid "Frame offset/size invalid: width incorrect\n" #~ msgstr "Hiệu/cỡ khung không hợp lệ: độ rá»™ng không đúng\n" #~ msgid "Frame offset/size invalid: height incorrect\n" #~ msgstr "Hiệu/cỡ khung không hợp lệ: độ cao không đúng\n" #~ msgid "Invalid zero framerate\n" #~ msgstr "Tá»· lệ khung số không thì không hợp lệ\n" #~ msgid "Framerate %d/%d (%.02f fps)\n" #~ msgstr "Tá»· lệ khung %d/%d (%.02f khung/giây)\n" #~ msgid "Aspect ratio undefined\n" #~ msgstr "Chưa xác định tá»· lệ hình thể\n" #~ msgid "Pixel aspect ratio %d:%d (%f:1)\n" #~ msgstr "Tá»· lệ hình thể Ä‘iểm ảnh %d:%d (%f:1)\n" #~ msgid "Frame aspect 4:3\n" #~ msgstr "Hình thể khung 4:3\n" #~ msgid "Frame aspect 16:9\n" #~ msgstr "Hình thể khung 16:9\n" #~ msgid "Frame aspect %f:1\n" #~ msgstr "Hình thể khung %f:1\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" #~ msgstr "Miá»n màu : Rec. ITU-R BT.470-6 System M (NTSC)\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" #~ msgstr "Miá»n màu : Rec. ITU-R BT.470-6 Systems B và G (PAL)\n" #~ msgid "Colourspace unspecified\n" #~ msgstr "Chưa xác định miá»n màu\n" #~ msgid "Pixel format 4:2:0\n" #~ msgstr "Äịnh dạng Ä‘iểm ảnh 4:2:0\n" #~ msgid "Pixel format 4:2:2\n" #~ msgstr "Äịnh dạng Ä‘iểm ảnh 4:2:2\n" #~ msgid "Pixel format 4:4:4\n" #~ msgstr "Äịnh dạng Ä‘iểm ảnh 4:4:4\n" #~ msgid "Pixel format invalid\n" #~ msgstr "Äịnh dạng Ä‘iểm ảnh không hợp lệ\n" #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "Tá»· lệ bit đích: %d kbps\n" #~ msgid "Nominal quality setting (0-63): %d\n" #~ msgstr "Thiết lập chất lượng danh nghÄ©a (0-63): %d\n" #~ msgid "User comments section follows...\n" #~ msgstr "Phần ghi chú ngưá»i dùng theo đây...\n" #, fuzzy #~ msgid "WARNING: Expected frame %" #~ msgstr "Cảnh báo : mong đợi khung %" #, fuzzy #~ msgid "WARNING: granulepos in stream %d decreases from %" #~ msgstr "Cảnh báo : granulepos trong luồng %d giảm từ %" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "Luồng Theora %d:\n" #~ "\tTổng chiá»u dài dữ liệu : %" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream " #~ "(%d)\n" #~ msgstr "" #~ "Cảnh báo : không thể giải mã gói tin phần đầu vorbis %d: luồng vorbis " #~ "không hợp lệ (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Cảnh báo : luồng vorbis %d không có phần đầu trong khung má»™t cách đúng. " #~ "Trang phần đầu cuối cùng chứa má»™t số gói tin thêm, hoặc có granulepos (vị " #~ "trí há»™t nhá»?) không phải là số không\n" #~ msgid "Vorbis headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "Phần đầu vorbis được phân tách cho luồng %d, thông tin theo đây...\n" #~ msgid "Version: %d\n" #~ msgstr "Phiên bản %d\n" #~ msgid "Vendor: %s (%s)\n" #~ msgstr "Nhà sản xuất: %s (%s)\n" #~ msgid "Channels: %d\n" #~ msgstr "Kênh: %d\n" #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "" #~ "Tá»· lệ: %ld\n" #~ "\n" #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "Tá»· lệ bit không đáng kể: %f kb/g\n" #~ msgid "Nominal bitrate not set\n" #~ msgstr "Chưa lập tá»· lệ bit không đáng kể\n" #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "Tá»· lệ bit trên: %f kb/s\n" #~ msgid "Upper bitrate not set\n" #~ msgstr "Chưa lập tá»· lệ bit trên\n" #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "Tá»· lệ bit dưới: %f kb/s\n" #~ msgid "Lower bitrate not set\n" #~ msgstr "Chưa ghi rõ tá»· lệ bit dưới\n" #, fuzzy #~ msgid "Negative or zero granulepos (%" #~ msgstr "Tá»· lệ granulepos số không thì không hợp lệ\n" #~ msgid "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "Luồng Vorbis %d:\n" #~ "\tTổng chiá»u dài dữ liệu : %" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Kate header packet %d - invalid Kate stream " #~ "(%d)\n" #~ msgstr "" #~ "Cảnh báo : không thể giải mã gói tin phần đầu kate %d: luồng kate không " #~ "hợp lệ (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: packet %d does not seem to be a Kate header - invalid Kate " #~ "stream (%d)\n" #~ msgstr "" #~ "Cảnh báo : hình như gói tin %d không phải là má»™t phần đầu kate: luồng " #~ "kate không hợp lệ (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Kate stream %d does not have headers correctly framed. Terminal " #~ "header page contains additional packets or has non-zero granulepos\n" #~ msgstr "" #~ "Cảnh báo : luồng Kate %d không có phần đầu trong khung đúng. Trang phần " #~ "đầu cuối cùng chứa gói tin bổ sung, hoặc có granulepos khác số không\n" #~ msgid "Kate headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "Phần đầu Kate đã được phân tích cho luồng %d, có thông tin theo đây...\n" #~ msgid "Version: %d.%d\n" #~ msgstr "Phiên bản: %d.%d\n" #~ msgid "Language: %s\n" #~ msgstr "Ngôn ngữ : %s\n" #~ msgid "No language set\n" #~ msgstr "Chưa đặt ngôn ngữ\n" #~ msgid "Category: %s\n" #~ msgstr "Phân loại: %s\n" #~ msgid "No category set\n" #~ msgstr "Chưa đặt phân loại\n" #~ msgid "utf-8" #~ msgstr "utf-8" #~ msgid "Character encoding: %s\n" #~ msgstr "Bá»™ ký tá»± : %s\n" #~ msgid "Unknown character encoding\n" #~ msgstr "Không rõ bá»™ ký tá»±\n" #~ msgid "left to right, top to bottom" #~ msgstr "trái sang phải, trên xuống dưới" #~ msgid "right to left, top to bottom" #~ msgstr "phải sang trái, dưới lên trên" #~ msgid "top to bottom, right to left" #~ msgstr "trên xuống dưới, phải sang trái" #~ msgid "top to bottom, left to right" #~ msgstr "trên xuống dưới, trái sang phải" #~ msgid "Text directionality: %s\n" #~ msgstr "Hướng văn bản: %s\n" #~ msgid "Unknown text directionality\n" #~ msgstr "Không rõ hướng văn bản\n" #~ msgid "Invalid zero granulepos rate\n" #~ msgstr "Tá»· lệ granulepos số không thì không hợp lệ\n" #~ msgid "Granulepos rate %d/%d (%.02f gps)\n" #~ msgstr "Tá»· lệ granulepos %d/%d (%.02f khung/giây)\n" #~ msgid "\n" #~ msgstr "\n" #~ msgid "" #~ "Kate stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "Luồng Kate %d:\n" #~ "\tTổng chiá»u dài dữ liệu : %" #~ msgid "Page error. Corrupt input.\n" #~ msgstr "Lá»—i trang. Dữ liệu nhập bị há»ng.\n" #, fuzzy #~ msgid "Setting EOS: update sync returned 0\n" #~ msgstr "Äang lập kết thúc luồng: việc cập nhật sá»± đồng bá»™ đã trả lại 0\n" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "" #~ "Äiểm cắt không phải ở trong luồng. Như thế thì tập tin thứ hai sẽ là " #~ "rá»—ng.\n" #~ msgid "Unhandled special case: first file too short?\n" #~ msgstr "" #~ "Trưá»ng hợp đặc biệt không được quản lý: tập tin thứ nhất quá ngắn không?\n" #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "" #~ "Äiểm cắt quá gần vá»›i kết thúc cá»§a tập tin. Vì thế tập tin thứ hai sẽ là " #~ "trống.\n" #, fuzzy #~ msgid "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " Ogg page. File may not decode correctly.\n" #~ msgstr "" #~ "Lá»–I: hai gói tin âm thanh thứ nhất không vừa\n" #~ "trong má»™t trang ogg. Như thế thì\n" #~ "tập tin có lẽ sẽ không giải mã cho đúng.\n" #, fuzzy #~ msgid "Update sync returned 0, setting EOS\n" #~ msgstr "Việc cập nhật sá»± đồng bá»™ đã trả lại 0 nên lập kết thúc luồng\n" #~ msgid "Bitstream error\n" #~ msgstr "Lá»—i luồng bit\n" #~ msgid "Error in first page\n" #~ msgstr "Lá»—i trong trang thứ nhất\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "lá»—i trong gói tin thứ nhất\n" #~ msgid "EOF in headers\n" #~ msgstr "Gặp kết thúc tập tin trong phần đầu\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "CẢNH BÃO : vcut vẫn còn là mã thá»­ nghiệm.\n" #~ "Hãy kiểm tra xem các tập tin xuất là đúng trước khi xóa bá» nguồn nào.\n" #~ "\n" #~ msgid "Error reading headers\n" #~ msgstr "Gặp lá»—i khi Ä‘á»c phần đầu\n" #~ msgid "Error writing first output file\n" #~ msgstr "Gặp lá»—i khi ghi tập tin xuất thứ nhất\n" #~ msgid "Error writing second output file\n" #~ msgstr "Gặp lá»—i khi ghi tập tin xuất thứ hai\n" #~ msgid "Out of memory opening AU driver\n" #~ msgstr "Cạn bá»™ nhá»› khi mở trình Ä‘iá»u khiển AU\n" #~ msgid "At this moment, only linear 16 bit .au files are supported\n" #~ msgstr "Hiện thá»i chỉ há»— trợ tập tin kiểu .au 16-bit tuyến tính\n" #~ msgid "" #~ "Negative or zero granulepos (%lld) on vorbis stream outside of headers. " #~ "This file was created by a buggy encoder\n" #~ msgstr "" #~ "Gặp granulepos âm hay số không (%lld) trên luông vorbis bên ngoài phần " #~ "đầu. Tập tin này đã được tạo bởi má»™t bá»™ mã hoá có lá»—i.\n" #~ msgid "" #~ "Negative granulepos (%lld) on kate stream outside of headers. This file " #~ "was created by a buggy encoder\n" #~ msgstr "" #~ "granulepos âm (%lld) trên luông Kate bên ngoài phần đầu. Tập tin này đã " #~ "được tạo bởi má»™t bá»™ mã hoá có lá»—i.\n" vorbis-tools-1.4.2/po/es.po0000644000175000017500000030015214002243560012463 00000000000000# Several Ogg Vorbis Tools Spanish i18n # Copyright (C) 2003 Free Software Foundation, Inc. # Enric Martínez , 2003. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.0\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2003-01-03 22:48+0100\n" "Last-Translator: Enric Martínez \n" "Language-Team: Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 0.9.6\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Error: Memoria insuficiente en malloc_action().\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "Error: No se ha podido reservar memoria en malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Error: Dispositivo no disponible.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "" "Error: %s requiere un nombre de fichero de salida que se ha de indicar con -" "f.\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Error: Valor de opción no soportado por el dispositivo %s.\n" # ¿Es correcto usar el artículo ? A mi me parece más elegante en castellano. - EM # Yo creo que en castellano hay que usarlo. -Quique #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Error: No se ha podido abrir el dispositivo %s\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Error: Fallo del dispositivo %s.\n" # asignarse / asignársele ??? (esto ya es de RAE, pero bueno...) EM #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "Error: No se puede asignar un fichero de salida al dispositivo %s.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Error: No se ha podido abrir el fichero %s para escritura.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Error: El fichero %s ya existe.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "Error: Este error nunca debería ocurrir (%d). ¡Pánico!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "Error: Memoria insuficiente en new_audio_reopen_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "Error: Memoria insuficiente en new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "Error: Memoria insuficiente en new_status_message_arg().\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Error: Memoria insuficiente en decoder_buffered_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Error: Memoria insuficiente en decoder_buffered_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "Error del sistema" # ¿"An,ba(Blisis sint,ba(Bctico" o s,bm(Bmplemente "an,ba(Blisis"? ¿Claridad vs. brevedad? - EM #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Error de análisis sintáctico: %s en la línea %d de %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Nombre" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Descripción" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Tipo" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Predeterminado" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "ninguno" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "booleano" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "carácter" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "cadena" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "entero" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "coma flotante" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "doble precisión" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "otro" # ¿NULL por NULO? Aplico la misma estrategia que en el po franc,bi(Bs, m,ba(Bs que nada por consistencia - EM #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(NULO)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(ninguno)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Conseguido" # ¿tecla o clave? lo sabr,bi(B en cuanto mire las fuentes ;) - EM # clave, supongo... -Quique #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Clave no encontrada" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "No hay ninguna clave" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Valor no válido" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Tipo no válido en la lista de opciones" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Error desconocido" # "pasada" por que evidentemente se ha pasado un par,ba(Bmetro incorrecto - EM #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "" "Error interno durante el análisis de las opciones de línea de órdenes.\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "El tamaño del búfer de entrada es menor que el tamaño mínimo (%d kB)." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Error \"%s\" durante el análisis de las opciones de configuración de la " "línea de órdenes.\n" "=== La opción era: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "Opciones disponibles:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== No existe el dispositivo %s.\n" # ¿"... de salida a fichero?" - EM # Yo tampoco lo tengo nada claro -Quique #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== El controlador %s no es un controlador de salida de ficheros.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "" "=== No se puede especificar un fichero de salida sin indicar un " "controlador.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Formato de opción incorrecto: %s.\n" # este fuzzy es sólo para aclarar: Rango = rango militar # margen o intervalo es más correcto # "rango" lo he visto en libros de texto, incluso universitarios # Lo cambio a intervalo. Como bien dices, un rango es otra cosa. #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Valor de prebúfer no válido. El intervalo es de 0-100.\n" #: ogg123/cmdline_options.c:202 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 de %s %s\n" # ¿chunk? literalmente es un grupo suelto, montón o pelota de barro, deben haber traducciones anteriores de esto #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- ¡No se pueden reproducir todos los \"ceroenos\" fragmentos!\n" # chunk = trozo ??? #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Imposible reproducir cada fragmento 0 veces.\n" "--- Para hacer una decodificación de prueba use el controlador de salida " "nula.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "" "--- No se puede abrir el fichero con la lista de reproducción %s. Omitido.\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "" "--- El controlador %s indicado en el fichero de configuración no es válido.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== No se pudo cargar el controlador predefinido y no se indicaron " "controladores en el fichero de configuración. Saliendo.\n" #: ogg123/cmdline_options.c:307 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:314 #, fuzzy, c-format msgid "Available codecs: " msgstr "Opciones disponibles:\n" #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:342 #, fuzzy, c-format msgid "File:" msgstr "Fichero: %s" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" #: ogg123/cmdline_options.c:361 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Opciones disponibles:\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:369 #, fuzzy, c-format msgid "Input options\n" msgstr "El fichero de entrada no es ogg.\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:374 #, fuzzy, c-format msgid "Decode options\n" msgstr "Descripción" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Opciones disponibles:\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr "" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Error: Memoria insuficiente.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "Error: Imposible reservar memoria en malloc_decoder_stats()\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Error: Imposible establecer máscara de señal." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Error: Imposible crear búfer de entrada.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "dispositivo de salida predefinido" # un poco largo ¿"mezclar lista"? "playlist=lista de temas" me parece más indicado que # "lista de ejecución" suena más cercano al tema sonido que "ejecución"- EM #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "ordenar la lista de reproducción al azar" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:230 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Imposible saltar %f segundos de audio." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Dispositivo de sonido: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Autor: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "Comentarios: %s" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Aviso: Imposible leer el directorio %s.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Error: Imposible crear búfer de audio.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Imposible hallar un módulo para leer de %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Imposible abrir %s.\n" # supported / soportado, puagh - EM #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "El formato del fichero %s no está soportado.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" "Error en la apertura de %s usando el módulo %s. El fichero puede estar " "dañado.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "Reproduciendo: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Imposible saltar %f segundos de audio." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Error: Fallo de decodificación \n" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Hecho." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Hueco en el flujo de datos; probablemente inofensivo\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== La biblioteca Vorbis indica un error en el flujo de datos.\n" #: ogg123/oggvorbis_format.c:361 #, fuzzy, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "El flujo de bits es de %d canal(es), %ldHz" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "" # ventana / márgen / intervalo ??? EM # ni idea :( y kbabel señala un "error en la ecuación" :-? #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "" "Sugerencia para la tasa de transferencia: superior=%ld nominal=%ld inferior=" "%ld intervalo=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Codificado por: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "Error: Memoria insuficiente en new_print_statistics_arg().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Aviso: Imposible leer el directorio %s.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "" "Aviso de la lista de reproducción %s: Imposible leer el directorio %s.\n" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "Error: Memoria insuficiente en playlist_to_array().\n" #: ogg123/speex_format.c:366 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "El flujo de bits es de %d canal(es), %ldHz" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Versión: %d\n" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Error de lectura de cabeceras\n" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sPrecarga a %.1f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sEn Pausa" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sEOS (Fin de flujo)" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Error de asignación de memoria en stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Fichero: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "Tiempo: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "de %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Transferencia de bits media: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Búfer de entrada %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " Búfer de Salida %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "Error: Imposible asignar memoria en malloc_data_source_stats()\n" # "corte" suena más profesional que "canción" EM # Lo dejamos en "pista" :-) -Quique #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "Pista número: " #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain (Reference loudness):" msgstr "Ganancia de Reproducción (Pista):" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "Ganancia de Reproducción (Pista):" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "Ganancia de Reproducción (Álbum):" #: ogg123/vorbis_comments.c:45 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr "Ganancia de Reproducción (Pista):" #: ogg123/vorbis_comments.c:46 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr "Ganancia de Reproducción (Álbum):" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "Copyright" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 msgid "Comment:" msgstr "Comentario:" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 de %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: oggdec/oggdec.c:59 #, fuzzy, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "Uso: vcut entrada.ogg salida1.ogg salida2.ogg punto_de_corte\n" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "ERROR: Imposible abrir fichero de entrada \"%s\": %s\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "ERROR: Imposible abrir fichero de salida \"%s\": %s\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Error al abrir el fichero como vorbis: %s\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Codificación del fichero finalizada \"%s\"\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "entrada estándar" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "salida estándar" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Error al borrar el fichero antiguo %s\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "ERROR: No se han indicado ficheros de entrada. Use -h para obtener ayuda.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "ERROR: Múltiples ficheros de entrada con indicación de nombre de fichero de " "salida: se sugiere usar -n\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "Lector de ficheros WAV" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "Lector de ficheros AIFF/AIFC" #: oggenc/audio.c:50 #, fuzzy msgid "FLAC file reader" msgstr "Lector de ficheros WAV" #: oggenc/audio.c:51 #, fuzzy msgid "Ogg FLAC file reader" msgstr "Lector de ficheros WAV" #: oggenc/audio.c:129 oggenc/audio.c:459 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "AVISO: Final de fichero inesperado al leer la cabecera WAV\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Omitiendo fragmento del tipo \"%s\", longitud %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "AVISO: Final de fichero inesperado en fragmento de AIFF \n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "AVISO: No se han hallado fragmentos comunes en el fichero AIFF\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "AVISO: Fragmento común truncado en la cabecera AIFF\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "AVISO: Fin de fichero inesperado al leer la cabecera AIFF\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "AVISO: Fragmento común truncado en la cabecera AIFF\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "AVISO: Cabecera AIFF-C truncada.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "AVISO: Imposible manipular fichero AIFF-C comprimido\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "AVISO: Fragmento SSND no encontrado en fichero AIFF\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "AVISO: Fragmento SSND dañado en la cabecera AIFF\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "AVISO: Fin de fichero inesperado al leer cabecera AIFF\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "AVISO: OggEnc no puede manejar este tipo de ficheros AIFF/AIFC\n" " Tiene que ser de 8 o 16 bits PCM.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "AVISO: Fragmento de formato desconocido en cabecera WAV\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "AVISO: Fragmento con formato NO VÁLIDO en la cabecera WAV.\n" " Intentando leer de todas formas (puede no funcionar)...\n" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "ERROR: Fichero WAV de tipo no soportado (tiene que ser PCM estándar\n" " o PCM de coma flotante de tipo 3\n" #: oggenc/audio.c:546 #, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "ERROR: El fichero WAV está en un subformato no soportado (tiene que ser PCM " "de 16 bits\n" "o PCM en coma flotante\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:799 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "FALLO: Obtenidas cero muestras del resampler: su archivo será truncado. Por " "favor notifíquelo.\n" # en el mundo del sonido "sampler" es de uso general, # "muestra" se usa sin embargo bastante en lugar de "sample" # así que "remuestreador" puede sonar algo casposo, # pero da más info sobre qué es ¿Ideas? EM #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "Imposible inicializar resampler\n" # encoder / codificador ??? EM #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "Definiendo opción avanzada del codificador \"%s\" a %s\n" # encoder / codificador ??? EM #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "Definiendo opción avanzada del codificador \"%s\" a %s\n" # este fuzzy es sólo para que revisseís # lowpass es en castellano un filtro de paso bajo # lo entiende todo el mundo, creo EM #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "Cambiada frecuencia de paso bajo de %f KHz a %f KHz\n" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "Opción avanzada \"%s\" no reconocida\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, fuzzy, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" "255 canales deberían ser suficientes para cualquiera. (Lo sentimos, vorbis " "no soporta más)\n" # he cambiado bastante el texto ¿es OK? EM # He cambiado indicar por solicitar. -Quique #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "Solicitar una tasa de bits mínima o máxima requiere --managed\n" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "Fallo en la inicialización de modo: parámetro de calidad no válido\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "" "Fallo en la inicialización de modo: parámetro de tasa de bits no válido\n" #: oggenc/encode.c:374 #, fuzzy, c-format msgid "WARNING: no language specified for %s\n" msgstr "AVISO: Especificada opción desconocida, ignorada->\n" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "Fallo al escribir la cabecera en el flujo de salida\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Fallo al escribir la cabecera en el flujo de salida\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "Fallo al escribir la cabecera en el flujo de salida\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Fallo al escribir la cabecera en el flujo de salida\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Fallo al escribir datos en el flujo de salida\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, fuzzy, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [quedan %2dm%.2ds ] %c" #: oggenc/encode.c:726 #, fuzzy, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tCodificando [%2dm%.2ds hasta ahora] %c" #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Codificación del fichero finalizada \"%s\"\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Codificación finalizada.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tLongitud del fichero: %dm %04.1fs\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tTiempo consumido: %dm %04.1fs\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tTasa: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tTasa de bits media: %.1f kb/s\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Codificando %s%s%s a \n" " %s%s%s \n" "con tasa de bits media %d kbps " #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Codificando %s%s%s a \n" " %s%s%s \n" "a una tasa de bits media aproximada de %d kbps (codificación VBR activada)\n" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Codificando %s%s%s a \n" " %s%s%s \n" "con nivel de calidad %2.2f usando VBR restringido " #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Codificando %s%s%s a \n" " %s%s%s \n" "con calidad %2.2f\n" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Codificando %s%s%s a \n" " %s%s%s \n" "usando gestión de transferencia de bits" #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Error al abrir el fichero como vorbis: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Error: Memoria insuficiente.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "ERROR: Imposible abrir fichero de entrada \"%s\": %s\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 #, fuzzy msgid "RAW file reader" msgstr "Lector de ficheros WAV" #: oggenc/oggenc.c:131 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "ERROR: No se han indicado ficheros de entrada. Use -h para obtener ayuda.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "ERROR: Se han indicado varios ficheros al usar la entrada estándar\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "ERROR: Múltiples ficheros de entrada con indicación de nombre de fichero de " "salida: se sugiere usar -n\n" #: oggenc/oggenc.c:217 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" "AVISO: No se indicaron suficientes títulos, usando ultimo título por " "defecto.\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "ERROR: Imposible abrir fichero de entrada \"%s\": %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Abriendo con el módulo %s: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "" "ERROR: El fichero de entrada \"%s\" no está en ningún formato soportado\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "" "ERROR: El fichero de entrada \"%s\" no está en ningún formato soportado\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "" "AVISO: No se indicó nombre de fichero, usando el predeterminado \"default.ogg" "\"\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "ERROR: Imposible crear los subdirectorios necesarios para el fichero de " "salida \"%s\"\n" #: oggenc/oggenc.c:363 #, fuzzy, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "" "Puede que el nombre de fichero de entrada no sea el mismo que el de salida.\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "ERROR: Imposible abrir fichero de salida \"%s\": %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "Entrada de remuestreo de %d Hz a %d Hz\n" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Mezclando a la baja de estéreo a mono\n" #: oggenc/oggenc.c:441 #, fuzzy, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "ERROR: Imposible remezclar a la baja excepto de estéreo a mono\n" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 de %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" "AVISO: Ignorando carácter de escape ilegal '%c' en el formato del nombre\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Activando motor de gestión de transferencia de bits\n" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "AVISO: Indicado bit más significativo del modo 'en bruto' con datos que no " "están en ese modo. Se asume entrada 'en bruto'.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "AVISO: Imposible leer argumento de endianness \"%s\"\n" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "AVISO: Imposible leer frecuencia de remuestreo \"%s\"\n" #: oggenc/oggenc.c:773 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "Aviso: Velocidad de remuestreo especificada como %d Hz. ¿Se refería a %d " "Hz?\n" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "AVISO: Imposible leer frecuencia de remuestreo \"%s\"\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "No se halló valor alguno para las opciones avanzadas del codificador\n" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "Error interno al analizar las opciones de la línea de ordenes\n" #: oggenc/oggenc.c:831 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "Aviso: Se ha usado un comentario no permitido (\"%s\"), ignorándolo.\n" #: oggenc/oggenc.c:870 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "AVISO: Tasa de bits nominal \"%s\" no reconocida\n" #: oggenc/oggenc.c:878 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Aviso: Tasa de bits mínima \"%s\" no reconocida\n" #: oggenc/oggenc.c:892 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Aviso: Tasa de bits máxima \"%s\" no reconocida\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Opción de calidad \"%s\" no reconocida, ignorada\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" "AVISO: Indicación de calidad demasiado alta, cambiando a calidad máxima.\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "AVISO: Indicados múltiples formatos de nombre, usando el final\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" "AVISO: Indicados múltiples filtros de formato de nombre, usando el final\n" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" "AVISO: Indicados múltiples filtros de formato de nombre de reemplazo, usando " "el final\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "AVISO: Indicados varios ficheros de salida, se sugiere usar -n\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "AVISO: Indicados bits/muestras en bruto para datos que no están en ese modo. " "Asumiendo entrada en bruto.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "AVISO: Valor de bits/muestras no válido, asumiendo 16.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "AVISO: Indicado número de canales para modo en bruto para datos que no están " "ese modo. Asumiendo entrada en bruto.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "AVISO: Indicada cantidad de canales no válida, asumiendo 2.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "AVISO: Especificada velocidad de muestreo para datos que no están en formato " "bruto. Asumiendo entrada en bruto.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" "Aviso: Especificada Velocidad de muestreo no válida, asumiendo 44100.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "AVISO: Especificada opción desconocida, ignorada->\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "Imposible convertir comentario a UTF-8, no se puede añadir\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "Imposible convertir comentario a UTF-8, no se puede añadir\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" "AVISO: No se indicaron suficientes títulos, usando ultimo título por " "defecto.\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Imposible crear el directorio \"%s\": %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Error durante la comprobación de existencia del directorio %s: %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "Error: El segmento de ruta \"%s\" no es un directorio\n" #: ogginfo/ogginfo2.c:115 #, fuzzy, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" "Flujo Vorbis %d:\n" "\tLongitud total de los datos: %ld bytes\n" "\tLongitud de reproducción: %ldm:%02lds\n" "\tTasa de bits promedio: %f kbps\n" #: ogginfo/ogginfo2.c:127 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Aviso: Falta indicador EOS en el flujo %d\n" #: ogginfo/ogginfo2.c:216 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Aviso: Página de cabecera no válida, no se halló el paquete\n" #: ogginfo/ogginfo2.c:246 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" "AVISO: Página de cabeceras no valida en el flujo de datos %d, contiene " "múltiples paquetes\n" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" #: ogginfo/ogginfo2.c:278 #, fuzzy, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "Aviso: encontrado vacío en los datos en el offset aproximado " #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "ERROR: Imposible abrir fichero de entrada \"%s\": %s\n" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Procesando fichero \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "Imposible encontrar un procesador para el flujo de datos, liberando\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:337 #, fuzzy, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" "Aviso: página(s) posicionadas de forma ilegal para el flujo de datos lógico " "%d\n" "Esto indica un fichero ogg corrupto.\n" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "Nuevo flujo de datos lógico (#%d, serie: %08x): tipo %s\n" #: ogginfo/ogginfo2.c:352 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "Aviso: Falta señal de comienzo de flujo en el flujo de datos %d\n" #: ogginfo/ogginfo2.c:355 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "" "Aviso: Hallada señal de comienzo de flujo a mitad del flujo de datos %d\n" #: ogginfo/ogginfo2.c:361 #, fuzzy, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" "Aviso: Hueco en los números de secuencia del flujo de datos %d. Se obtuvo la " "página %ld cuando se esperaba la %ld. Esto significa pérdida de datos.\n" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "Flujo lógico %d finalizado\n" #: ogginfo/ogginfo2.c:384 #, fuzzy, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" "Error: No se encontraron datos ogg en el fichero \"%s\".\n" "La entrada probablemente no sea ogg.\n" #: ogginfo/ogginfo2.c:395 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 de %s %s\n" #: ogginfo/ogginfo2.c:400 #, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" # no soporte "support" :P #: ogginfo/ogginfo2.c:401 #, fuzzy, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" "ogginfo 1.0\n" "(c) 2002 Michael Smith \n" "\n" "Uso: ogginfo [opciones] ficheros1.ogg [fichero2.ogg ... ficheroN.ogg]\n" "Opciones soportadas:\n" "\t-h Muestra este mensaje de ayuda\n" "\t-q Menos comunicativo. Usado una vez obviará los mensajes informativos " "detallados\n" "\t , de forma doble obviará los avisos.\n" "\t-v Más comunicativo. Esto activará una comprobación más en detalle\n" "\t de algunos tipos de flujos de datos.\n" "\n" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:422 #, fuzzy, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" "Uso: ogginfo [opciones] fichero1.ogg [fichero2.ogg ... ficheroN.ogg]\n" "\n" "Ogginfo es una herramienta para mostrar información sobre ficheros ogg\n" "y para diagnosticar problemas.\n" "La ayuda completa se obtiene con \"ogginfo -h\".\n" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "" "No se han indicado ficheros de entrada. Use \"ogginfo -h\" para obtener " "ayuda.\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: la opción `%s' es ambigua\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: la opción `--%s' no admite ningún argumento\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: la opción `%c%s' no admite ningún argumento\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: la opción `%s' requiere un argumento\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: opción no reconocida `--%s'\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: opción no reconocida `%c%s'\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: opción ilegal -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: opción inválida -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: la opción requiere un argumento --%c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: la opción `-W %s' es ambigua\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: la opción `-W %s' no admite ningún argumento\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Imposible analizar el punto de corte \"%s\"\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Imposible analizar el punto de corte \"%s\"\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Imposible abrir %s para escritura\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "Uso: vcut entrada.ogg salida1.ogg salida2.ogg punto_de_corte\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Imposible abrir %s para lectura\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Imposible analizar el punto de corte \"%s\"\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Procesando: Cortando en %lld\n" #: vcut/vcut.c:289 #, fuzzy, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Procesando: Cortando en %lld\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "Procesamiento fallido\n" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" # ¿tecla o clave? lo sabr,bi(B en cuanto mire las fuentes ;) - EM # clave, supongo... -Quique #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Clave no encontrada" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Error al escribir los comentarios en el fichero de salida: %s\n" #: vcut/vcut.c:505 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Error al leer la primera página del flujo de bits Ogg." #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Error recuperable en la transferencia\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Cabecera secundaria dañada\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Error en el flujo de bits, continuando\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Error en cabecera primaria: ¿No es vorbis?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "El fichero de entrada no es ogg.\n" #: vcut/vcut.c:616 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Error en el flujo de bits, continuando\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "Final de flujo encontrado antes del punto de corte.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Error al leer la primera página del flujo de bits Ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Error al leer el paquete inicial de las cabeceras." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "Entrada truncada o vacía." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "La entrada no es un flujo de bits Ogg." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "El flujo de bits Ogg no contiene datos en formato vorbis." #: vorbiscomment/vcedit.c:555 #, fuzzy msgid "EOF before recognised stream." msgstr "Fin de fichero antes que el final de las cabeceras vorbis." #: vorbiscomment/vcedit.c:568 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "El flujo de bits Ogg no contiene datos en formato vorbis." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Cabecera secundaria dañada." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "Fin de fichero antes que el final de las cabeceras vorbis." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "Datos dañados o faltan datos, continuando..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Error al escribir la salida. El flujo de salida puede estar dañado o " "truncado." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Error al abrir el fichero como vorbis: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Comentario defectuoso: \"%s\"\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "comentario defectuoso: \"%s\"\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Error al escribir los comentarios en el fichero de salida: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "no se ha indicado ninguna acción\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "Imposible convertir comentario a UTF8, no se puede ser añadir\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:622 #, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:632 #, fuzzy, c-format msgid "Editing options\n" msgstr "Tipo no válido en la lista de opciones" #: vorbiscomment/vcomment.c:633 #, c-format msgid " -a, --append Update comments\n" msgstr "" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" #: vorbiscomment/vcomment.c:672 #, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Error interno al analizar las opciones de la línea de órdenes.\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Error de apertura del fichero de entrada '%s'.\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" "Puede que el nombre de fichero de entrada no sea el mismo que el de salida.\n" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Error de apertura del fichero de salida '%s'.\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Error de apertura del fichero de comentarios '%s'.\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Error de apertura del fichero de comentarios '%s'\n" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "Error al borrar el fichero antiguo %s\n" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "Error al cambiar el nombre de %s a %s\n" #: vorbiscomment/vcomment.c:938 #, fuzzy, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Error al borrar el fichero antiguo %s\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "Lector de ficheros WAV" #, fuzzy #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Error interno al analizar las opciones de la línea de órdenes.\n" #, fuzzy #~ msgid "oggenc from %s %s" #~ msgstr "ogg123 de %s %s\n" #, fuzzy #~ msgid "" #~ "WARNING: Comment %d in stream %d has invalid format, does not contain " #~ "'=': \"%s\"\n" #~ msgstr "" #~ "Aviso: Comentario %d en el flujo %d tiene un formato no válido, no " #~ "contiene '=': \"%s\"\n" # estoy por dejar "stream" EM #, fuzzy #~ msgid "" #~ "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #~ msgstr "" #~ "Aviso: Nombre de campo de comentario no válido en comentario %d (stream " #~ "%d): \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #~ msgstr "" #~ "Aviso: Secuencia UTF-8 no válida en el comentario %d (flujo %d): marcador " #~ "de longitud erróneo\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #~ msgstr "" #~ "Aviso: Secuencia UTF-8 no válida en el comentario %d (flujo %d): " #~ "insuficientes bytes\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence \"%s\": %s\n" #~ msgstr "" #~ "Aviso: Secuencia UTF-8 no válida en el comentario %d (flujo %d): " #~ "secuencia no válida\n" #, fuzzy #~ msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" #~ msgstr "" #~ "Aviso: Fallo en el decodificador de UTF8. Esto debería ser imposible\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Theora header packet - invalid Theora stream " #~ "(%d)\n" #~ msgstr "" #~ "Aviso: Imposible decodificar el paquete de cabecera vorbis - flujo vorbis " #~ "no válido (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Theora stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Aviso: El flujo vorbis %d no tiene las cabeceras correctamente " #~ "enmarcadas. La página de cabeceras de terminal contiene paquetes " #~ "adicionales o tiene un valor de granulepos distinto de cero\n" #, fuzzy #~ msgid "Theora headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "Cabeceras vorbis analizadas para flujo %d, información a continuación...\n" #, fuzzy #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Versión: %d\n" #~ msgid "Vendor: %s\n" #~ msgstr "Distribuidor: %s\n" #, fuzzy #~ msgid "Height: %d\n" #~ msgstr "Versión: %d\n" #, fuzzy #~ msgid "Colourspace unspecified\n" #~ msgstr "no se ha indicado ninguna acción\n" #, fuzzy #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "Tasa de bits máxima: %f kb/s\n" #~ msgid "User comments section follows...\n" #~ msgstr "Sigue la sección de comentarios del usuario...\n" #, fuzzy #~ msgid "WARNING: granulepos in stream %d decreases from %" #~ msgstr "Aviso: granulepos en el flujo %d se decrementa desde " #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream " #~ "(%d)\n" #~ msgstr "" #~ "Aviso: Imposible decodificar el paquete de cabecera vorbis - flujo vorbis " #~ "no válido (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Aviso: El flujo vorbis %d no tiene las cabeceras correctamente " #~ "enmarcadas. La página de cabeceras de terminal contiene paquetes " #~ "adicionales o tiene un valor de granulepos distinto de cero\n" #~ msgid "Vorbis headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "Cabeceras vorbis analizadas para flujo %d, información a continuación...\n" #~ msgid "Version: %d\n" #~ msgstr "Versión: %d\n" #~ msgid "Vendor: %s (%s)\n" #~ msgstr "Distribuidor: %s (%s)\n" #~ msgid "Channels: %d\n" #~ msgstr "Canales: %d\n" #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "" #~ "Tasa de transferencia: %ld\n" #~ "\n" #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "Tasa de bits nominal: %f kb/s\n" #~ msgid "Nominal bitrate not set\n" #~ msgstr "Tasa de bits nominal no especificada\n" #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "Tasa de bits máxima: %f kb/s\n" #~ msgid "Upper bitrate not set\n" #~ msgstr "Tasa de transferencia de bits máxima no especificada\n" # algo largo EM #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "Tasa de transferencia de bits mínima: %f kb/s\n" #~ msgid "Lower bitrate not set\n" #~ msgstr "Tasa de transferencia de bits mínima no especificada\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Kate header packet %d - invalid Kate stream " #~ "(%d)\n" #~ msgstr "" #~ "Aviso: Imposible decodificar el paquete de cabecera vorbis - flujo vorbis " #~ "no válido (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Kate stream %d does not have headers correctly framed. Terminal " #~ "header page contains additional packets or has non-zero granulepos\n" #~ msgstr "" #~ "Aviso: El flujo vorbis %d no tiene las cabeceras correctamente " #~ "enmarcadas. La página de cabeceras de terminal contiene paquetes " #~ "adicionales o tiene un valor de granulepos distinto de cero\n" #, fuzzy #~ msgid "Kate headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "Cabeceras vorbis analizadas para flujo %d, información a continuación...\n" #, fuzzy #~ msgid "Version: %d.%d\n" #~ msgstr "Versión: %d\n" #, fuzzy #~ msgid "Category: %s\n" #~ msgstr "Distribuidor: %s\n" #, fuzzy #~ msgid "No category set\n" #~ msgstr "Tasa de bits nominal no especificada\n" #~ msgid "\n" #~ msgstr "\n" #~ msgid "Page error. Corrupt input.\n" #~ msgstr "Error de paginación. Entrada dañada.\n" #, fuzzy #~ msgid "Setting EOS: update sync returned 0\n" #~ msgstr "" #~ "Estableciendo final de flujo: el refresco de sincronización ha devuelto " #~ "0\n" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "" #~ "El punto de corte no está dentro del flujo. El segundo fichero estará " #~ "vacío\n" #~ msgid "Unhandled special case: first file too short?\n" #~ msgstr "Caso especial no contemplado: ¿primer fichero demasiado corto?\n" #, fuzzy #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "" #~ "El punto de corte no está dentro del flujo. El segundo fichero estará " #~ "vacío\n" #, fuzzy #~ msgid "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " Ogg page. File may not decode correctly.\n" #~ msgstr "" #~ "ERROR: Los dos primeros paquetes de audio no caben en una \n" #~ " única página ogg. El fichero puede no decodificarse " #~ "correctamente.\n" #, fuzzy #~ msgid "Update sync returned 0, setting EOS\n" #~ msgstr "" #~ "La actualización de sincronización ha devuelto 0, fijando final de " #~ "fichero\n" #~ msgid "Bitstream error\n" #~ msgstr "Error en la transferencia\n" #~ msgid "Error in first page\n" #~ msgstr "Error en la primera página\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "error en el primer paquete\n" #~ msgid "EOF in headers\n" #~ msgstr "Fin de fichero (EOF) en las cabeceras\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "AVISO: vcut todavía es código experimental.\n" #~ "Compruebe que los ficheros de salida estén correctos antes de borrar las " #~ "fuentes.\n" #~ "\n" #~ msgid "Error reading headers\n" #~ msgstr "Error de lectura de cabeceras\n" #~ msgid "Error writing first output file\n" #~ msgstr "Error al escribir el primer fichero de salida\n" #~ msgid "Error writing second output file\n" #~ msgstr "Error al escribir el segundo fichero de salida\n" #~ msgid "malloc" #~ msgstr "malloc" # "Possible devices" por "las posibilidades..." para no alargar la línea demasiado #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 de %s %s\n" #~ " por la Fundación Xiph.org (http://www.xiph.org/)\n" #~ "\n" #~ "Sintaxis: ogg123 [] ...\n" #~ "\n" #~ " -h, --help esta ayuda\n" #~ " -V, --version muestra la versión de Ogg123 \n" #~ " -d, --device=d usa 'd' como dispositivo de salida\n" #~ " Las posibilidades son ('*'=en vivo, '@'=a fichero):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -b n, --buffer n use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n load n%% of the input buffer before playing\n" #~ " -v, --verbose display progress and other status information\n" #~ " -q, --quiet don't display anything (no title)\n" #~ " -x n, --nth play every 'n'th block\n" #~ " -y n, --ntimes repeat every played block 'n' times\n" #~ " -z, --shuffle shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=fichero indica el nombre de salida\n" #~ " de un dispositivo de fichero previamente indicado (con -d).\n" #~ " -k n, --skip n Saltarse los primeros 'n' segundos.\n" #~ " -o, --device-option=k:v Pasar la opción especial k con el valor v \n" #~ " a un dispositivo previamente indicado (con -d). \n" #~ " Ver la página man para más información.\n" #~ " -b n, --buffer n usar un búfer de entrada de 'n' kilobytes\n" #~ " -p n, --prebuffer n cargar n%% del búfer de entrada antes de " #~ "reproducir\n" #~ " -v, --verbose mostrar progreso y otras informaciones de estado\n" #~ " -q, --quiet no mostrar nada (sin título)\n" #~ " -x n, --nth reproducir cada n-avo bloque\n" #~ " -y n, --ntimes repetir cada bloque reproducido 'n' veces\n" #~ " -z, --shuffle reproducción aleatoria\n" #~ "\n" #~ "ogg123 saltará a la canción siguiente al recibir SIGINT (Ctrl-C); dos " #~ "SIGINT \n" #~ "en 's' milisegundos hacen que ogg123 termine.\n" #~ " -l, --delay=s ajusta 's' [milisegundos] (predeterminado 500)\n" #~ msgid "ReplayGain (Track) Peak:" #~ msgstr "Ganancia de Reproducción (Pista) Máximo:" #~ msgid "ReplayGain (Album) Peak:" #~ msgstr "Ganancia de Reproducción (Álbum) Máximo" #~ msgid "Version is %d" #~ msgstr "La versión es %d" #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps. This uses the bitrate management\n" #~ " engine, and is not recommended for most users.\n" #~ " See -q, --quality for a better alternative.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel.\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications.\n" #~ " -q, --quality Specify quality between 0 (low) and 10 (high),\n" #~ " instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " Quality -1 is also possible, but may not be of\n" #~ " acceptable quality.\n" #~ " --resample n Resample input data to sampling rate n (Hz)\n" #~ " --downmix Downmix stereo to mono. Only allowed on stereo\n" #~ " input.\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times.\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 16 or 8 bit PCM WAV, AIFF, or AIFF/" #~ "C\n" #~ " files, or 32 bit IEEE floating point WAV. Files may be mono or stereo\n" #~ " (or more channels) and any sample rate.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an outfile filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "Sintaxis: oggenc [opciones] entrada.wav [...]\n" #~ "\n" #~ "OPCIONES:\n" #~ " Generales:\n" #~ " -Q, --quiet No produce salida a stderr\n" #~ " -h, --help Muestra este texto de ayuda\n" #~ " -r, --raw Modo Raw (en bruto). Los ficheros se leen " #~ "directamente\n" #~ " como datos PCM\n" #~ " -B, --raw-bits=n Establece bits/muestra para la entrada en bruto. El " #~ "valor\n" #~ " predeterminado es 16\n" #~ " -C, --raw-chan=n Establece el número de canales para la entrada en " #~ "bruto.\n" #~ " El valor predeterminado es 2\n" #~ " -R, --raw-rate=n Establece muestras/seg para la entrada en bruto. " #~ "Valor\n" #~ " predeterminado: 44100\n" #~ " -b, --bitrate Elige una tasa de bits nominal para la " #~ "codificación.\n" #~ " Intenta codificar usando una tasa que dé este " #~ "promedio.\n" #~ " Toma un argumento en kbps Esto usa el motor de " #~ "gestión\n" #~ " de tasa de bits, y no se recomienda a la mayoría " #~ "de los\n" #~ " usuarios.\n" #~ " Consulte -q, --quality, una mejor alternativa.\n" #~ " -m, --min-bitrate Especifica una tasa de bits mínima (en kbps). Útil " #~ "para\n" #~ " codificar para un canal de tamaño fijo.\n" #~ " -M, --max-bitrate Especifica una tasa de bits máxima en kbps. Útil " #~ "para\n" #~ " aplicaciones de streaming.\n" #~ " -q, --quality Especifica la calidad entre 0 (baja) y 10 (alta),\n" #~ " en lugar de indicar una tasa de bits en " #~ "particular.\n" #~ " Este es el modo operativo normal.\n" #~ " Se permiten fracciones de cantidades (p.ej. 2.75)\n" #~ " La calidad -1 también es posible pero puede no ser " #~ "aceptable\n" #~ " --resample n Remuestra los datos de entrada a la tasa de " #~ "muestreo n (Hz)\n" #~ " --downmix Mezcla a la baja estéreo a mono. Se permite " #~ "únicamente\n" #~ " sobre entrada estéreo. -s, --serial " #~ "Especifica un número de serie para el flujo. Al\n" #~ " codificar varios ficheros éste se verá incrementado " #~ "por\n" #~ " cada flujo posterior al primero.\n" #~ "\n" #~ " Nomenclatura:\n" #~ " -o, --output=fn Escribe el fichero a fn (válido sólo en modo de " #~ "fichero\n" #~ " único)\n" #~ " -n, --names=cadena Produce nombres de fichero en el formato de esa " #~ "cadena\n" #~ " reemplazando %%a, %%t, %%l, %%n, %%d por artista, " #~ "título,\n" #~ " álbum, número de pista, y fecha, respectivamente " #~ "(véase\n" #~ " más abajo cómo indicar éstos).\n" #~ " %%%% pasa un %% literal.\n" #~ " -X, --name-remove=s Elimina los caracteres indicados de la lista de\n" #~ " parámetros pasados a la cadena de formato -n. Útil " #~ "para\n" #~ " asegurar que los nombres de archivo sean válidos.\n" #~ " -P, --name-replace=s Cambia los caracteres borrados por --name-remove " #~ "con los\n" #~ " caracteres indicados. Si esta cadena es más corta " #~ "que la lista\n" #~ " --name-remove o es omitida, los caracteres extra\n" #~ " simplemente se eliminan.\n" #~ " Las configuraciones predeterminadas para ambos " #~ "argumentos\n" #~ " anteriores dependen de la plataforma.\n" #~ " -c, --comment=c Añade la cadena indicada como un comentario extra. " #~ "Puede\n" #~ " usarse varias veces.\n" #~ " -d, --date Fecha para la pista (normalmente fecha de " #~ "grabación)\n" #~ " -N, --tracknum Número de esta pista\n" #~ " -t, --title Título de esta pista \n" #~ " -l, --album Nombre del álbum\n" #~ " -a, --artist Nombre del artista\n" #~ " -G, --genre Género de la pista\n" #~ " En caso de indicarse varios ficheros de entrada se\n" #~ " usarán múltiples instancias de los cinco " #~ "argumentos\n" #~ " anteriores en el orden en que aparecen. Si se " #~ "indican\n" #~ " menos títulos que ficheros, OggEnc mostrará una\n" #~ " advertencia y reutilizará el último para los " #~ "ficheros\n" #~ " restantes. Si se indica una cantidad menor de " #~ "canciones,\n" #~ " los ficheros restantes quedarán sin numerar. Para " #~ "los\n" #~ " demás se volverá a usar la opción final para todos " #~ "los\n" #~ " restantes sin aviso (de este modo puede indicar una " #~ "fecha\n" #~ " una vez, por ejemplo, y que esta se aplique en " #~ "todos los\n" #~ " ficheros)\n" #~ "\n" #~ "FICHEROS DE ENTRADA:\n" #~ " Los ficheros de entrada para OggEnc deben ser actualmente PCM WAV, AIFF, " #~ "o\n" #~ " AIFF/C de 16 u 8 bits o WAV IEEE de coma flotante de 32 bits. Los " #~ "ficheros\n" #~ " pueden ser mono o estéreo (o de más canales) y a cualquier velocidad de\n" #~ " muestreo.\n" #~ " Como alternativa puede emplearse la opción --raw para usar un fichero de " #~ "datos\n" #~ " PCM en bruto, el cual tiene que ser un PCM estéreo de 16 bits y little-" #~ "endian\n" #~ " PCM ('wav sin cabecera'), a menos que se indiquen parámetros adicionales " #~ "para\n" #~ " el modo \"raw\" .\n" #~ " Puede indicar que se tome el fichero de la entrada estándar usando - " #~ "como\n" #~ " nombre de fichero de entrada.\n" #~ " En este modo, la salida será a stdout a menos que se indique un nombre " #~ "de\n" #~ " fichero de salida con -o\n" #~ "\n" #~ msgid " to " #~ msgstr " a " # ¿corrupto? EM #~ msgid " bytes. Corrupted ogg.\n" #~ msgstr " bytes. ogg corrupto.\n" #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ " Raw mode (--raw, -R) will read and write comments in utf8,\n" #~ " rather than converting to the user's character set. This is\n" #~ " useful for using vorbiscomment in scripts. However, this is\n" #~ " not sufficient for general round-tripping of comments in all\n" #~ " cases.\n" #~ msgstr "" #~ "Uso: \n" #~ " vorbiscomment [-l] fichero.ogg (para listar comentarios)\n" #~ " vorbiscomment -a entrada.ogg salida.ogg (para añadir comentarios)\n" #~ " vorbiscomment -w entrada.ogg salida.ogg (para modificar comentarios)\n" #~ "\ten el caso de la escritura, se espera un nuevo grupo de comentarios \n" #~ "\tcon el formato 'ETIQUETA=valor' desde la entrada estándar. Este grupo\n" #~ "\treemplazará completamente al existente.\n" #~ " Ambas opciones -a y -w sólo pueden tomar un único nombre de fichero,\n" #~ " en cuyo caso se usará un fichero temporal.\n" #~ " -c puede usarse para leer comentarios de un fichero determinado\n" #~ " en lugar de la entrada estándar.\n" #~ " Ejemplo: vorbiscomment -a entrada.ogg -c comentarios.txt\n" #~ " añadirá comentarios a comentarios.txt para entrada.ogg\n" #~ " Finalmente, puede especificar cualquier cantidad de etiquetas a " #~ "añadir\n" #~ " desde la línea de ordenes usando la opción -t. P.ej.\n" #~ " vorbiscomment -a entrada.ogg -t \"ARTISTA=Un Tío Feo\" -t \"TITULO=Uno " #~ "Cualquiera\"\n" #~ " (nótese que cuando se usa esta opción la lectura de comentarios desde " #~ "el fichero de \n" #~ " comentarios o la entrada estándar están desactivados)\n" #~ " En el modo en bruto (--raw, -R) se leerán y escribirán comentarios en " #~ "utf8,\n" #~ " en vez de convertirlos al juego de caracteres del usuario. Esto es " #~ "útil para\n" #~ " usar vorbiscomments en guiones. Sin embargo, esto no es suficiente " #~ "para\n" #~ " viajes de ida y vuelta (round-tripping) generales de comentarios en " #~ "todos\n" #~ " los casos.\n" vorbis-tools-1.4.2/po/hr.gmo0000644000175000017500000000476714002243560012646 00000000000000Þ•#4/L #,=j%ˆ,®-Û &*Qq‘ ˜¥¹ ÒÜí õ -2 9EMV [ipu{¼‚?^'}"¥#È'ì(%=$cˆ¨ È ÒÞô ) ? K P X f s ‰ š « ² ¾ Â Ô Þ å ë  " !  #%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' (none)Author: %sAvailable options: Bad type in options listBad valueCannot open %s. DefaultDescriptionDone.Encoded by: %sFile: %sKey not foundNameNo keyPlaying: %sSuccessTime: %sTypeUnknown errordoublenoneotherstringProject-Id-Version: vorbis-tools 0.99.1.3.1 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2002-06-16 02:15-01 Last-Translator: Vlatko Kosturjak Language-Team: Croatian Language: hr MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n==1?0:1); X-Generator: TransDict server %s: nedozvoljena opcija -- %c %s: nedozvoljena opcija -- %c %s: opcija `%c%s' ne dopuÅ¡ta argument %s: opcija `%s' je nejednoznaÄna %s: opcija `%s' zahtijeva argument %s: opcija `--%s' ne dopuÅ¡ta argument %s: opcija `-W %s' ne dopuÅ¡ta argument %s: opcija `-W %s' je nejednoznaÄna %s: opcija zahtijeva argument -- %c %s: neprepoznata opcija `%c%s' %s: neprepoznata opcija `--%s' (nijedan)Autor: %sRaspoložive opcije: Neispravni tip u popisu opcijaNeispravna vrijednostNe mogu otvoriti %s. UobiÄajenoOpisGotovo.Enkodirao: %sDatoteka: %sKljuÄ nije pronaÄ‘enImeNema kljuÄaReproduciram: %sUspjehVrijeme: %sTipNepoznata greÅ¡kadvostrukiniÅ¡tadruginiz znakovavorbis-tools-1.4.2/po/pl.gmo0000644000175000017500000016414514002243561012646 00000000000000Þ•ƒ4 Lp (q š ¸ Ô õ $ !/!L!g!y!$!F²$Fù$B@%;ƒ%7¿%1÷%>)&@h&?©&»é&F¥'‚ì',o(Jœ(&ç(N*û]*FY+< +7Ý+i,H,FÈ,1->A-?€-lÀ-<-/j/z†0-1b/1–’21)3+[3d‡3cì4êP5,;7„h7Ëí7¹8—Ö:•n<É>JÎ?Aj/AšB±BËB,åBC%0C,VC-ƒC ±C&ÒCùCD9D?DHD$[D€DQ‡DÙEôE FF0F,7F!dFZ†F7áF*G-DGSrGSÆG+HQFH!˜HºH4ÒH*I,2I_I uI‚I•I©I$¼IáIôI JAJ9YJ“J°JÁJ0ÔJK K K&%KLK/fK#–K%ºKàK.üK#+LOL/mL@LÞLýLM9M%WM}M‘M¡M ©MµM»M!ÖMøM"N?9N?yN5¹NGïN7O(VO'O(§O:ÐO? P;KPI‡P!ÑPóP Q(Q2FQ&yQ% Q*ÆQ&ñQ'R@R1`R:’R1ÍRMÿR?MS1S2¿S'òS2T>MT)ŒT0¶T2çT-UHU4_U&”U.»UêUV#VrW1±WBãW &X!GX"iXŒX ¬X*ÍX$øX+YIYeY~YLYÚY&õY>Z4[Z,Zv½Z4[E[ L[m[3Š[2¾[+ñ[\"=\2`\.“\,Â\%ï\6]/L]'|]4¤]Ù]ß]’è]È{`4Da6ya°aÏaßaîa,b-5b'cb&‹b8²bëb c+c@cQc>Wc–c(¯cØc;ïc;+d:gd)¢dÌd0Ñd0e3e*:e+ee]‘eŸïef,¤f2Ñf%g *g+8g5dgNšgéghh$$h IhUhghzh$”h-¹hçh÷h ii8i;Qi%i³i'Èi+ði'j>Djƒj•jj¥j ¹j(Æj^ïjqNkLÀk l;l Rl`l el"slL–l=ãl)!mÁKm n9'nHan7ªn2ânLo0bo2“o&Æo,ío0p1Kp"}p? p0àpWqCiq5­q6ãqEr.`r8rDÈrI s=Ws6•s;Ìs)tL2tNtKÎtLu?gu.§u*ÖuFvHv_dv'ÄvCìv-0w-^w&Œw-³w?áwi!x<‹x0Èx(ùx7"y&Zyy”y™yžy´y»yÁyÅyÚyßyåy÷y zz1z7zOz`zozzM†z ÔzQõz‡G|1Ï}~!~!>~`~%x~ ž~#¿~ã~ý~JLg‚M´‚Eƒ<HƒA…ƒ9ǃG„GI„B‘„¼Ô„M‘…Žß…3n†I¢†`ì†SMˆ"¡ˆKĉCŠFTŠ|›ŠH‹Ma‹?¯‹<ï‹I,ŒvŒBŽYJŽ~¤,#°P¬’9®’4è’~“hœ”•+—‹C—ÄÏ—I”˜^ÞšÇ=œžG ^¡zv¡ñ¢ £(£-B£$p£#•£-¹£.ç£'¤$>¤c¤~¤™¤Ÿ¤§¤1Ǥù¤•¥–¦±¦ɦÚ¦ò¦Aù¦4;§~p§?ï§5/¨Ae¨T§¨sü¨:p©Z«©"ª#)ªCMª0‘ª4ª÷ª« «3«E«2]««ª«Ç«GÚ«C"¬&f¬¬§¬@Ǭ ­­"­.2­a­B~­1Á­>ó­-2®K`®,¬®3Ù®> ¯\L¯(©¯(Ò¯'û¯4#°7X°°¯°°Ö°Û°ã°&þ°"%±'H±Op±JÀ±A ²_M²-­²1Û²9 ³>G³A†³KȳB´WW´2¯´#â´ µ"'µDJµ7µ9ǵ8¶9:¶5t¶ª¶?ʶF ·<Q·cŽ·[ò·CN¸D’¸-׸2¹>8¹)w¹0¡¹2Ò¹-º3º@Kº.Œº<»º,øº%»'8»`»bu»CØ»:¼`W¼I¸¼-½J0½({½+¤½.н+ÿ½++¾6W¾0޾1¿¾!ñ¾¿3¿ID¿Ž¿4ª¿>ß¿4À3SÀ‡ÀÁÁ+#Á,OÁ7|Á7´Á0ìÁ-Â0KÂO|ÂLÌÂ>Ã;XÃG”ÃDÜÃ?!ÄJaĬĵÄ]¾ÄàÈAýÈJ?É)ŠÉ´ÉÑÉáÉ8ýÉ96Ê+pÊ+œÊOÈÊË7Ë9MË‡Ë šËH¤Ë"íË-Ì>ÌCMÌD‘Ì.ÖÌ3Í9Í:?Í<zÍ ·Í+ÃÍ5ïÍ}%Μ£Î@Ï1YÏ7‹Ï*ÃÏ îÏ/üÏ<,Ð_iÐ'ÉÐñÐÑ,Ñ=ÑMÑ!fшÑ)¦Ñ/ÐÑÒÒ(Ò@ÒYÒ@vÒ(·ÒàÒ0ûÒ1,Ó.^ÓHÓÖÓçÓïÓöÓ Ô'ÔkDÔn°ÔcÕƒÕQŒÕÞÕïÕóÕ&Öb*Ö?Ö1ÍÖÓÿÖÓ×Cì×a0Ø=’Ø.ÐØ?ÿØ.?Ù;nÙ.ªÙGÙÙD!ÚEfÚ)¬ÚEÖÚ=Û[ZÛR¶Û7 Ü0AÜKrÜ:¾ÜIùÜFCÝKŠÝ>ÖÝ7ÞFMÞ4”ÞdÉÞ^.ßaßjïßPZà,«à1Øà\ ágál„á6ñáA(â-jâ,˜â!Åâ,çâIã^ãEàãG&ä*näE™ä.ßäå(å1å 6åWå^å dåoå…åŠåå¦å¾åÖåïå%ôåæ:æQæ hæUræ%Èævîæ: x\%)s-Éÿý²”XBÆ€;ÅÄ }!Xùd¦,"18N¢0ja ty<×dÍAUž3™ ÑU0S~‚«‚uH–ðÇÓÙ]4#[nìEK‡í,Ëp;o$DrQWÚ¹á?g$V/q„½ÝÎQ|R ( }cç.L]9qGi Þ"%>ˆT 5R+·=sMÔLeØ‹ŸNȱ6.2CëF©mI¼6°'ü354ZÜ>é(ŽPY*ä7GfW¯tàpS‰µvZ@¶ï_ja¨š<^zzúF JœgJºÁH'1 —¾˜õøY¬ ¿&£_ƒÏ`´Û!ò€7âPhTmêi¸ª+8?E`)*þkx¡MV{[BÊy•’IAeƒnŠrKhôö9†ã-Ò®=Õób§ÀîwkŒ/~l‘ |æOè@»…³ÌñÖuf&û ÐCo“^:å#{¥\c¤÷wDbß2lÃv­O› -V Output version information and exit Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Encoding [%2dm%.2ds so far] %c Rate: %.4f [%5.1f%%] [%2dm%.2ds remaining] %c File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s If multiple input files are given, then multiple instances of the previous eight arguments will be used, in the order they are given. If fewer titles are specified than files, OggEnc will print a warning, and reuse the final one for the remaining files. If fewer track numbers are given, the remaining files will be unnumbered. If fewer lyrics are given, the remaining files will not have lyrics added. For the others, the final tag will be reused for all others without warning (so you can specify a date once, for example, and have it used for all the files) --audio-buffer n Use an output audio buffer of 'n' kilobytes -@ file, --list file Read playlist of files and URLs from "file" -K n, --end n End at 'n' seconds (or hh:mm:ss format) -R, --raw Read and write comments in UTF-8 -R, --remote Use remote control interface -V, --version Display ogg123 version -V, --version Output version information and exit -Z, --random Play files randomly until interrupted -b n, --buffer n Use an input buffer of 'n' kilobytes -c file, --commentfile file When listing, write comments to the specified file. When editing, read comments from the specified file. -d dev, --device dev Use output device "dev". Available devices: -f file, --file file Set the output filename for a file device previously specified with --device. -h, --help Display this help -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format) -l s, --delay s Set termination timeout in milliseconds. ogg123 will skip to the next song on SIGINT (Ctrl-C), and will terminate if two SIGINTs are received within the specified timeout 's'. (default 500) -l, --list List the comments (default if no options are given) -o k:v, --device-option k:v Pass special option 'k' with value 'v' to the device previously specified with --device. See the ogg123 man page for available device options. -p n, --prebuffer n Load n%% of the input buffer before playing -q, --quiet Don't display anything (no title) -r, --repeat Repeat playlist indefinitely -t "name=value", --tag "name=value" Specify a comment tag on the commandline -v, --verbose Display progress and other status information -w, --write Write comments, replacing the existing ones -x n, --nth n Play every 'n'th block -y n, --ntimes n Repeat every played block 'n' times -z, --shuffle Shuffle list of files before playing --advanced-encode-option option=value Sets an advanced encoder option to the given value. The valid options (and their values) are documented in the man page supplied with this program. They are for advanced users only, and should be used with caution. --bits, -b Bit depth for output (8 and 16 supported) --discard-comments Prevents comments in FLAC and Ogg FLAC files from being copied to the output Ogg Vorbis file. --ignorelength Ignore the datalength in Wave headers. This allows support for files > 4GB and STDIN data streams. --endianness, -e Output endianness for 16-bit output; 0 for little endian (default), 1 for big endian. --help, -h Produce this help message. --managed Enable the bitrate management engine. This will allow much greater control over the precise bitrate(s) used, but encoding will be much slower. Don't use it unless you have a strong need for detailed control over bitrate, such as for streaming. --output, -o Output to given filename. May only be used if there is only one input file, except in raw mode. --quiet, -Q Quiet mode. No console output. --raw, -R Raw (headerless) output. --resample n Resample input data to sampling rate n (Hz) --downmix Downmix stereo to mono. Only allowed on stereo input. -s, --serial Specify a serial number for the stream. If encoding multiple files, this will be incremented for each stream after the first. --sign, -s Sign for output PCM; 0 for unsigned, 1 for signed (default 1). --utf8 Tells oggenc that the command line parameters date, title, album, artist, genre, and comment are already in UTF-8. On Windows, this switch applies to file names too. -c, --comment=c Add the given string as an extra comment. This may be used multiple times. The argument should be in the format "tag=value". -d, --date Date for track (usually date of performance) --version, -V Print out version number. -L, --lyrics Include lyrics from given file (.srt or .lrc format) -Y, --lyrics-language Sets the language for the lyrics -N, --tracknum Track number for this track -t, --title Title for this track -l, --album Name of album -a, --artist Name of artist -G, --genre Genre of track -X, --name-remove=s Remove the specified characters from parameters to the -n format string. Useful to ensure legal filenames. -P, --name-replace=s Replace characters removed by --name-remove with the characters specified. If this string is shorter than the --name-remove list or is not specified, the extra characters are just removed. Default settings for the above two arguments are platform specific. -b, --bitrate Choose a nominal bitrate to encode at. Attempt to encode at a bitrate averaging this. Takes an argument in kbps. By default, this produces a VBR encoding, equivalent to using -q or --quality. See the --managed option to use a managed bitrate targetting the selected bitrate. -k, --skeleton Adds an Ogg Skeleton bitstream -r, --raw Raw mode. Input files are read directly as PCM data -B, --raw-bits=n Set bits/sample for raw input; default is 16 -C, --raw-chan=n Set number of channels for raw input; default is 2 -R, --raw-rate=n Set samples/sec for raw input; default is 44100 --raw-endianness 1 for bigendian, 0 for little (defaults to 0) -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for encoding for a fixed-size channel. Using this will automatically enable managed bitrate mode (see --managed). -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for streaming applications. Using this will automatically enable managed bitrate mode (see --managed). -q, --quality Specify quality, between -1 (very low) and 10 (very high), instead of specifying a particular bitrate. This is the normal mode of operation. Fractional qualities (e.g. 2.75) are permitted The default quality level is 3. Input Buffer %5.1f%% Naming: -o, --output=fn Write file to fn (only valid in single-file mode) -n, --names=string Produce filenames as this string, with %%a, %%t, %%l, %%n, %%d replaced by artist, title, album, track number, and date, respectively (see below for specifying these). %%%% gives a literal %%. Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%'%s' is not valid UTF-8, cannot add (NULL)(c) 2003-2005 Michael Smith Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv] Flags supported: -h Show this help message -q Make less verbose. Once will remove detailed informative messages, two will remove warnings -v Make more verbose. This may enable more detailed checks for some stream types. (min %d kbps, max %d kbps)(min %d kbps, no max)(no min or max)(no min, max %d kbps)(none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. 255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support more) === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Option conflict: End time is before start time. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable codecs: Available options: Avg bitrate: %5.1fBOS not set on first page of stream Bad comment: "%s" Bad type in options listBad valueBig endian 24 bit PCM data is not currently supported, aborting. Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Cannot read headerChanged lowpass frequency from %f kHz to %f kHz Comment:Comments: %sCopyrightCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Could not skip to %f in audio stream.Couldn't close output file Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't flush output stream Couldn't get enough memory for input buffering.Couldn't get enough memory to register new stream serial number.Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" Couldn't write packet to output file Cutpoint not found Decode options DefaultDescriptionDone.Downmixing stereo to mono EOF before end of Vorbis headers.EOF before recognised stream.ERROR - line %u: Syntax error: %s ERROR - line %u: end time must not be less than start time: %s ERROR: %s requires an output filename to be specified with -f. ERROR: An output file cannot be given for %s device. ERROR: Can only specify one input file if output filename is specified ERROR: Cannot open device %s. ERROR: Cannot open file %s for writing. ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not allocate memory in malloc_buffer_stats() ERROR: Could not allocate memory in malloc_data_source_stats() ERROR: Could not allocate memory in malloc_decoder_stats() ERROR: Could not create required subdirectories for output filename "%s" ERROR: Could not set signal mask.ERROR: Decoding failure. ERROR: Device %s failure. ERROR: Device not available. ERROR: Failed to load %s - can't determine format ERROR: Failed to open input as Vorbis ERROR: Failed to open input file: %s ERROR: Failed to open lyrics file %s (%s) ERROR: Failed to open output file: %s ERROR: Failed to write Wave header: %s ERROR: File %s already exists. ERROR: Input file "%s" is not a supported format ERROR: Input filename is the same as output filename "%s" ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n ERROR: No Ogg data found in file "%s". Input probably not Ogg. ERROR: No input files specified. Use -h for help ERROR: No input files specified. Use -h for help. ERROR: No lyrics filename to load from ERROR: Out of memory in create_playlist_member(). ERROR: Out of memory in decoder_buffered_metadata_callback(). ERROR: Out of memory in malloc_action(). ERROR: Out of memory in new_audio_reopen_arg(). ERROR: Out of memory in new_status_message_arg(). ERROR: Out of memory in playlist_to_array(). ERROR: Out of memory. ERROR: This error should never happen (%d). Panic! ERROR: Unable to create input buffer. ERROR: Unsupported option value to %s device. ERROR: buffer write failed. Editing options Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing erroneous temporary file %s Error removing old file %s Error renaming %s to %s Error unknown.Error writing stream to output. Output stream may be corrupted or truncated.Error writing to file: %s Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory Examples: vorbiscomment -a in.ogg -c comments.txt vorbiscomment -a in.ogg -t "ARTIST=Some Guy" -t "TITLE=A Title" FLAC file readerFLAC, Failed encoding Kate EOS packet Failed encoding Kate header Failed encoding karaoke motion - continuing anyway Failed encoding karaoke style - continuing anyway Failed encoding lyrics - continuing anyway Failed to convert to UTF-8: %s Failed to open file as Vorbis: %s Failed to set advanced rate management parameters Failed to set bitrate min/max in quality mode Failed to write comments to output file: %s Failed writing data to output stream Failed writing fisbone header packet to output stream Failed writing fishead packet to output stream Failed writing header to output stream Failed writing skeleton eos packet to output stream File:File: %sINPUT FILES: OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or AIFF/C files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. Files may be mono or stereo (or more channels) and any sample rate. Alternatively, the --raw option may be used to use a raw PCM data file, which must be 16 bit stereo little-endian PCM ('headerless Wave'), unless additional parameters for raw mode are specified. You can specify taking the file from stdin by using - as the input filename. In this mode, output is to stdout unless an output filename is specified with -o Lyrics files may be in SubRip (.srt) or LRC (.lrc) format If no output file is specified, vorbiscomment will modify the input file. This is handled via temporary file, such that the input file is not modified if any errors are encountered during processing. Input buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input options Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Internal error: Unrecognised argument Internal error: attempt to read unsupported bitdepth %d Invalid/corrupted commentsKey not foundList or edit comments in Ogg Vorbis files. Listing options Live:Logical bitstreams with changing parameters are not supported Logical stream %d ended Memory allocation error in stats_init() Miscellaneous options Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality Mode number %d does not (any longer) exist in this versionMultiplexed bitstreams are not supported NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Note: Stream %d has serial number %d, which is legal but may cause problems with some tools. OPTIONS: General: -Q, --quiet Produce no output to stderr -h, --help Print this help text -V, --version Print the version number Ogg FLAC file readerOgg Speex stream: %d channel, %d Hz, %s modeOgg Speex stream: %d channel, %d Hz, %s mode (VBR)Ogg Vorbis stream: %d channel, %ld HzOgg Vorbis. Ogg bitstream does not contain Vorbis data.Ogg bitstream does not contain a supported data-type.Ogg muxing constraints violated, new stream before EOS of all previous streamsOpening with %s module: %s Out of memory Output options Page found for stream after EOS flagPlaying: %sPlaylist options Processing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring RAW file readerReplayGain (Album):ReplayGain (Track):ReplayGain Peak (Album):ReplayGain Peak (Track):Requesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Scaling input to %f Set optional hard quality restrictions Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d Specify "." as the second output file to suppress this error. Speex version: %sSpeex, SuccessSupported options: System errorThe file format of %s is not supported. The file was encoded with a newer version of Speex. You need to upgrade in order to play it. The file was encoded with an older version of Speex. You would need to downgrade the version in order to play it.This version of libvorbisenc cannot set advanced rate management parameters Time: %sTo avoid creating an output file, specify "." as its name. Track number:TypeUnknown errorUnrecognised advanced option "%s" Usage: ogg123 [options] file ... Play Ogg audio files and network streams. Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg] Usage: oggenc [options] inputfile [...] Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv] ogginfo is a tool for printing information about Ogg files and for diagnosing problems with them. Full help shown with "ogginfo -h". Vorbis format: Version %dWARNING - line %d: failed to get UTF-8 glyph from string WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored WARNING - line %d: lyrics times must not be decreasing WARNING - line %u: missing data - truncated file? WARNING - line %u: non consecutive ids: %s - pretending not to have noticed WARNING - line %u: text is too long - truncated WARNING: Can't downmix except from stereo to mono WARNING: Could not read directory %s. WARNING: Couldn't parse scaling factor "%s" WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: EOS not set on stream %d WARNING: Ignoring illegal escape character '%c' in name format WARNING: Illegal comment used ("%s"), ignoring. WARNING: Insufficient lyrics languages specified, defaulting to final lyrics language. WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid header page in stream %d, contains multiple packets WARNING: Invalid header page, no packet found WARNING: Invalid sample rate specified, assuming 44100. WARNING: Kate support not compiled in; lyrics will not be included. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: No filename, defaulting to "%s" WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Resample rate specified as %d Hz. Did you mean %d Hz? WARNING: Unknown option specified, ignoring-> WARNING: failed to add Kate karaoke style WARNING: failed to allocate memory - enhanced LRC tag will be ignored WARNING: hole in data (%d) WARNING: illegally placed page(s) for logical stream %d This indicates a corrupt Ogg file: %s. WARNING: input file ended unexpectedly WARNING: language can not be longer than 15 characters; truncated. WARNING: maximum bitrate "%s" not recognised WARNING: minimum bitrate "%s" not recognised WARNING: no language specified for %s WARNING: nominal bitrate "%s" not recognised WARNING: quality setting too high, setting to maximum quality. WARNING: sequence number gap in stream %d. Got page %ld when expecting page %ld. Indicates missing data. WARNING: stream start flag found in mid-stream on stream %d WARNING: stream start flag not set on stream %d WARNING: subtitle %s is not valid UTF-8 Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sogg123 from %s %soggdec from %s %s oggenc from %s %s ogginfo from %s %s otherrepeat playlist forevershuffle playliststandard inputstandard outputstringvorbiscomment from %s %s by the Xiph.Org Foundation (http://www.xiph.org/) vorbiscomment from vorbis-tools vorbiscomment handles comments in the format "name=value", one per line. By default, comments are written to stdout when listing, and read from stdin when editing. Alternatively, a file can be specified with the -c option, or tags can be given on the commandline with -t "name=value". Use of either -c or -t disables reading from stdin. Project-Id-Version: vorbis-tools 1.3.0pre2 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2008-11-12 16:25+0100 Last-Translator: Jakub Bogusz Language-Team: Polish Language: pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -V Wypisanie informacji o wersji i zakoÅ„czenie Åšrednie bitrate: %.1f kb/s Czas miniony: %dm %04.1fs Kodowanie [%2dm%.2ds gotowe] %c Współczynnik: %.4f [%5.1f%%] [pozostaÅ‚o %2dm%.2ds] %c DÅ‚ugość pliku: %dm %04.1fs ZakoÅ„czono kodowanie pliku "%s" ZakoÅ„czono kodowanie. UrzÄ…dzenie dźwiÄ™kowe: %s JeÅ›li podano wiele plików wejÅ›ciowych, używane bÄ™dÄ… kolejne instancje poprzednich piÄ™ciu argumentów w kolejnoÅ›ci podania. JeÅ›li podano mniej tytułów niż plików, OggEnc wypisze ostrzeżenie i użyje ostatnich wartoÅ›ci dla pozostaÅ‚ych plików. JeÅ›li podano mniej numerów Å›cieżek, pozostaÅ‚e pliki bÄ™dÄ… nie ponumerowane. JeÅ›li podano mniej tekstów, pozostaÅ‚e pliki nie bÄ™dÄ… miaÅ‚y dołączonych tekstów. Dla pozostaÅ‚ych opcji ostatnia wartość znacznika bÄ™dzie używana dla pozostaÅ‚ych plików bez ostrzeżenia (można wiÄ™c podać np. datÄ™ raz dla wszystkich plików) --audio-buffer n Użycie n-kilobajtowego bufora wyjÅ›cia dźwiÄ™ku -@ plik, --list plik Odczyt listy odtwarzania plików i URL-i z "pliku" -K n, --end n ZakoÅ„czenie po n sekundach (lub hh:mm:ss) -R, --raw Odczyt i zapis komentarzy w UTF-8 -R, --remote Użycie interfejsu zdalnego sterowania -V, --version Wypisanie numeru wersji ogg123 -V, --version Wypisanie informacji o wersji i zakoÅ„czenie -Z, --random Odtwarzanie plików losowo aż do przerwania -b n, --buffer n Użycie n-kilobajtowego bufora wejÅ›cia -c plik, --commentfile plik Przy wypisywaniu zapis komentarzy do podanego pliku. Przy modyfikacji odczyt komentarzy z podanego pliku. -d urz, --device urz Użycie urzÄ…dzenia wyjÅ›ciowego "urz". DostÄ™pne: -f plik, --file plik Ustawienie nazwy pliku wyjÅ›ciowego dla urzÄ…dzeÅ„ plikowych okreÅ›lonych przez --device. -h, --help WyÅ›wietlenie tego opisu -k n, --skip n PominiÄ™cie pierwszych n sekund (lub hh:mm:ss) -l s, --delay s Ustawienie czasu zakoÅ„czenia w milisekundach. ogg123 przechodzi do nastÄ™pnego utworzy po odebraniu SIGINT (Ctrl-C), a koÅ„czy dziaÅ‚anie po odebraniu dwóch SIGINTów w ciÄ…gu okreÅ›lonego czasu 's' (domyÅ›lnie 500 ms). -l, --list Wypisanie komentarzy (domyÅ›lne jeÅ›li nie podano opcji) -o k:w, --device-option k:w Przekazanie opcji specjalnej 'k' o wartoÅ›ci 'v' do urzÄ…dzenia okreÅ›lonego przez --device. DostÄ™pne opcje można znaleźć na stronie manuala do ogg123. -p n, --prebuffer n Wczytanie n%% bufora wejÅ›cia przed odtwarzaniem -q, --quiet Nie wyÅ›wietlanie niczego (brak tytuÅ‚u) -r, --repeat NieskoÅ„czone powtarzanie listy odtwarzania -t "nazwa=wartość", --tag "nazwa=wartość" Przekazanie znacznika komentarza z linii poleceÅ„ -v, --verbose WyÅ›wietlanie informacji o postÄ™pie i stanie -w, --write Zapisanie komentarzy z zastÄ…pieniem istniejÄ…cych -x n, --nth n Odtwarzanie każdego co n-tego bloku -y n, --ntimes n Powtarzanie każdego bloku n razy -z, --shuffle Przemieszanie listy plików przed odtwarzaniem --advanced-enable-option opcja=wartość Ustawienie zaawansowanej opcji kodera na podanÄ… wartość. Poprawne opcje (i ich wartoÅ›ci) sÄ… opisane na stronie manuala dołączonej do tego programu. SÄ… przeznaczone tylko dla zaawansowanych użytkowników i powinny być używane z rozwagÄ…. --bits, -b Liczba bitów na wyjÅ›ciu (obsÅ‚ugiwane 8 i 16) --discard-comments Wyłączenie kopiowania komentarzy z plików FLAC i Ogg FLAC do pliku wyjÅ›ciowego Ogg Vorbis. --ignorelength Ignorowanie nagłówków datalength w nagłówkach Wave. Pozwala to na obsÅ‚ugÄ™ plików >4GB i strumieni danych ze standardowego wejÅ›cia. --endianness, -e Kolejność bajtów na 16-bitowym wyjÅ›ciu; 0 to little-endian (domyÅ›lne), 1 big-endian. --help, -h WyÅ›wietlenie tego opisu. --managed Włączenie silnika zarzÄ…dzania bitrate. Pozwala on na znacznie wiÄ™kszÄ… kontrolÄ™ nad dokÅ‚adnym użytym bitrate, ale kodowanie jest znacznie wolniejsze. Nie należy używać tej opcji, chyba że istnieje silna potrzeba szczegółowej kontroli nad bitrate, na przykÅ‚ad do przesyÅ‚ania strumieni. --output, -o WyjÅ›cie do podanego pliku. Może być użyte tylko jeÅ›li podano jeden plik wejÅ›ciowy, z wyjÄ…tkiem trybu surowego. --quiet, -Q Tryb cichy. Brak wyjÅ›cia na terminal. --raw, -R WyjÅ›cie surowe (bez nagłówka). --resample n Przesamplowanie danych wejÅ›ciowych do n Hz --downmix Zmiksowanie stereo do mono. Dopuszczalne tylko dla wejÅ›cia stereo. -s, --serial OkreÅ›lenie numeru seryjnego strumienia. JeÅ›li kodowane jest wiele plików, numer bÄ™dzie zwiÄ™kszany dla każdego kolejnego strumienia. --sign, -s Znak dla wyjÅ›cia PCM; 0 to brak znaku, 1 ze znakiem (domyÅ›lne 1). --utf8 Przekazanie oggenc, że parametry linii poleceÅ„ z datÄ…, tytuÅ‚em, albumem, artystÄ…, gatunkiem i komentarzem już sÄ… w UTF-8. Pod Windows odnosi siÄ™ to także do nazw plików. -c, --comment=kom Dodanie okreÅ›lonego Å‚aÅ„cucha jako dodatkowego komentarza. Opcja może być użyta wiele razy. Argument powinien być w postaci "znacznik=wartość". -d, --date Data dla Å›cieżki (zwykle data wykonania) --version, -V Wypisanie numeru wersji. -L, --lyrics Dołączenie tekstu z podanego pliku (format .srt lub .lrc) -Y, --lyrucs-language Ustawienie jÄ™zyka tekstu utworu -N, --tracknum Numer tej Å›cieżki -t, --title TytuÅ‚ tej Å›cieżki -l, --album Nazwa albumu -a, --artist Nazwa artysty -G, --genre Gatunek Å›cieżki -X, --name-remove=s UsuniÄ™cie okreÅ›lonych znaków z parametrów Å‚aÅ„cucha formatujÄ…cego -n. Przydatne do zapewnienia dopuszczalnych nazw plików. -P, --name-replace=s ZastÄ…pienie znaków usuniÄ™tych przez --name-remove podanymi znakami. JeÅ›li Å‚aÅ„cuch jest krótszy niż lista --name-remove lub go nie podano, dodatkowe znaki sÄ… po prostu usuwane. DomyÅ›lne ustawienia tych dwóch argumentów sÄ… zależne od platformy. -b, --bitrate Wybór minimalnej Å›redniej bitowej (bitrate) do kodowania. Próba kodowania z takÄ… Å›redniÄ… w kbps. DomyÅ›lnie wybierane jest kodowanie VBR, odpowiadajÄ…ce użyciu -q lub --quality. Do wyboru konkretnego bitrate sÅ‚uży opcja --managed. -k, --skeleton Dodanie strumienia bitowego Ogg Skeleton -r, --raw Tryb surowy; pliki wejÅ›ciowe sÄ… czytane jako dane PCM -B, --raw-bits=n Ustawienie bitów/próbkÄ™ dla trybu surowego; domyÅ›lnie 16 -C, --raw-chan=n Ustawienie liczby kanałów dla trybu surowego; domyÅ›lnie 2 -R, --raw-rate=n Ustawienie próbek/s dla trybu surowego; domyÅ›lnie 44100 --raw-endianness 1 dla big-endian, 0 dla little (domyÅ›lnie 0) -m, --min-bitrate OkreÅ›lenie minimalnego bitrate (w kbps). Przydatne do kodowania dla kanałów staÅ‚ego rozmiaru. Użycie tej opcji automatycznie włączy tryb zarzÄ…dzania bitrate (p. --managed). -M, --max-bitrate OkreÅ›lenie maksymalnego bitrate w kbps. Przydatne do aplikacji nadajÄ…cych strumienie. Użycie tej opcji automatycznie włączy tryb zarzÄ…dzania bitrate (p. --managed). -q, --quality OkreÅ›lenie jakoÅ›ci od -1 (bardzo niskiej) do 10 (bardzo wysokiej) zamiast okreÅ›lania konkretnego bitrate. Jest to zwykÅ‚y tryb pracy. Dopuszczalne sÄ… jakoÅ›ci uÅ‚amkowe (np. 2.75). DomyÅ›lny poziom jakoÅ›ci to 3. Bufor wejÅ›cia %5.1f%% Nazwy: -o, --output=nazwa Zapis pliku pod nazwÄ… (poprawne tylko dla jednego pliku) -n, --names=Å‚aÅ„cuch Tworzenie nazw plików w oparciu o Å‚aÅ„cuch, z %%a, %%t, %%l, %%n, %%d zastÄ™powanym odpowiednio artystÄ…, tytuÅ‚em, albumem, numerem Å›cieżki i datÄ… (poniżej ich okreÅ›lenie). %%%% daje znak %%. Bufor wyjÅ›cia %5.1f%%%s: niewÅ‚aÅ›ciwa opcja -- %c %s: błędna opcja -- %c %s: opcja `%c%s' nie może mieć argumentów %s: opcja `%s' jest niejednoznaczna %s: opcja `%s' musi mieć argument %s: opcja `--%s' nie może mieć argumentów %s: opcja `-W %s' nie może mieć argumentów %s: opcja `-W %s' jest niejednoznaczna %s: opcja musi mieć argument -- %c %s: nieznana opcja `%c%s' %s: nieznana opcja `--%s' %sEOS%sPauza%sWypeÅ‚nianie bufora do %.1f%%'%s' nie jest poprawnym UTF-8, nie można dodać (NULL)(c) 2003-2005 Michael Smith SkÅ‚adnia: ogginfo [flagi] plik1.ogg [plik2.ogx ... plikN.ogv] ObsÅ‚ugiwane flagi: -h WyÅ›wietlenie tego opisu -q Mniej szczegółowe wyjÅ›cie. Flaga przekazana raz usuwa szczegółowe komunikaty informacyjne, dwa razy usuwa ostrzeżenia -v Bardziej szczegółowe wyjÅ›cie. Włącza bardziej dokÅ‚adne sprawdzanie niektórych rodzajów strumieni. (min %d kb/s, max %d kb/s)(min %d kb/s, brak max)(brak min i max)(brak min, max %d kb/s)(brak)--- Nie można otworzyć pliku listy odtwarzania %s. PominiÄ™to. --- Nie można odtwarzać każdego co 0. fragmentu! --- Nie można odtwarzać każdego fragmentu 0 razy. --- Aby zdekodować testowo należy użyć sterownika wyjÅ›ciowego null. --- Sterownik %s podany w pliku konfiguracyjnym jest błędny. --- Dziura w strumieniu; prawdopodobnie nieszkodliwa --- Błędna wartość wypeÅ‚nienia bufora. PrzedziaÅ‚ to 0-100. 255 kanałów powinno wystarczyć każdemu (niestety Vorbis nie obsÅ‚uguje wiÄ™cej) === Nie można wczytać domyÅ›lnego sterownika, a w pliku konfiguracyjnym nie okreÅ›lono sterownika. ZakoÅ„czenie. === Sterownik %s nie jest sterownikiem wyjÅ›cia do pliku. === Błąd "%s" podczas analizy opcji konfiguracyjnych z linii poleceÅ„. === Opcja to: %s === Niepoprawny format opcji: %s. === Nie ma takiego urzÄ…dzenia %s. === Konflikt opcji: czas koÅ„ca wczeÅ›niejszy niż czas poczÄ…tku. === Błąd analizy: %s w linii %d pliku %s (%s) === Biblioteka Vorbis zgÅ‚osiÅ‚a błąd strumienia. Czytnik plików AIFF/AIFCAutor: %sDostÄ™pne kodeki: DostÄ™pne opcje: Åšrednie bitrate: %5.1fBOS nie ustawiony na pierwszej stronie strumienia Błędny komentarz: "%s" Błędny typ w liÅ›cie opcjiBłędna wartość24-bitowe dane PCM big-endian nie sÄ… obecnie obsÅ‚ugiwane, przerwano. Podpowiedzi bitrate: wyższy=%ld nominalny=%ld niższy=%ld okno=%ldBłąd strumienia danych, kontynuacja Nie można otworzyć %s. Nie można odczytać nagłówkaZmieniono czÄ™stotliwość dolnoprzepustowÄ… z %f kHz na %f kHz Komentarz:Komentarze: %sPrawa autorskieUszkodzone lub brakujÄ…ce dane, kontynuacja...Uszkodzony drugi nagłówek.Nie udaÅ‚o siÄ™ odnaleźć procesora dla strumienia, zakoÅ„czenie Nie udaÅ‚o siÄ™ przeskoczyć %f sekund dźwiÄ™ku.Nie udaÅ‚o siÄ™ przemieÅ›cić do %f w strumieniu dźwiÄ™kowym.Nie udaÅ‚o siÄ™ zamknąć pliku wyjÅ›ciowego Nie udaÅ‚o siÄ™ przekonwertować komentarza do UTF-8, nie można go dodać Nie udaÅ‚o siÄ™ utworzyć katalogu "%s": %s Nie udaÅ‚o siÄ™ wypchnąć strumienia wyjÅ›ciowego Nie udaÅ‚o siÄ™ przydzielić pamiÄ™ci do buforowania wejÅ›cia.Nie udaÅ‚o siÄ™ przydzielić pamiÄ™ci do zarejestrowania numeru seryjnego nowego strumienia.Nie udaÅ‚o siÄ™ zainicjować resamplera Nie udaÅ‚o siÄ™ otworzyć %s do odczytu Nie udaÅ‚o siÄ™ otworzyć %s do zapisu Nie udaÅ‚o siÄ™ przeanalizować punktu ciÄ™cia "%s" Nie udaÅ‚o siÄ™ zapisać pakietu do pliku wyjÅ›ciowego Nie znaleziono punktu ciÄ™cia Opcje dekodowania Wartość domyÅ›lnaOpisGotowe.Miksowanie stereo do mono EOF przed koÅ„cem nagłówków Vorbis.EOF przed rozpoznanym strumieniem.BÅÄ„D w linii %u: błąd skÅ‚adni: %s BÅÄ„D w linii %u: czas koÅ„ca nie może być mniejszy niż czas poczÄ…tku: %s BÅÄ„D: %s wymaga podania nazwy pliku wyjÅ›ciowego przy użyciu opcji -f. BÅÄ„D: dla urzÄ…dzenia %s nie można podać pliku wyjÅ›ciowego. BÅÄ„D: jeÅ›li okreÅ›lono nazwÄ™ pliku wyjÅ›ciowego, można podać tylko jeden plik wejÅ›ciowy BÅÄ„D: nie można otworzyć urzÄ…dzenia %s. BÅÄ„D: nie można otworzyć pliku %s do zapisu. BÅÄ„D: nie można otworzyć pliku wejÅ›ciowego "%s": %s BÅÄ„D: nie udaÅ‚o siÄ™ otworzyć pliku wyjÅ›ciowego "%s": %s BÅÄ„D: nie można przydzielić pamiÄ™ci w malloc_buffer_stats() BÅÄ„D: nie udaÅ‚o siÄ™ przydzielić pamiÄ™ci w malloc_data_source_stats() BÅÄ„D: nie można przydzielić pamiÄ™ci w malloc_decoder_stats() BÅÄ„D: nie udaÅ‚o siÄ™ utworzyć wymaganych podkatalogów dla pliku wyjÅ›ciowego "%s" BÅÄ„D: nie udaÅ‚o siÄ™ ustawić maski sygnałów.BÅÄ„D: niepowodzenie dekodowania. BÅÄ„D: usterka urzÄ…dzenia %s. BÅÄ„D: urzÄ…dzenie niedostÄ™pne. BÅÄ„D: nie udaÅ‚o siÄ™ wczytać %s - nie można okreÅ›lić formatu BÅÄ„D: nie udaÅ‚o siÄ™ otworzyć wejÅ›cia jako Vorbis BÅÄ„D: nie udaÅ‚o siÄ™ otworzyć pliku wejÅ›ciowego: %s BÅÄ„D: nie udaÅ‚o siÄ™ otworzyć pliku tekstu: %s (%s) BÅÄ„D: nie udaÅ‚o siÄ™ otworzyć pliku wyjÅ›ciowego: %s BÅÄ„D: nie udaÅ‚o siÄ™ zapisać nagłówka Wave: %s BÅÄ„D: plik %s już istnieje. BÅÄ„D: plik wejÅ›ciowy "%s" nie jest w obsÅ‚ugiwanym formacie BÅÄ„D: nazwa pliku wejÅ›ciowego jest taka sama jak wyjÅ›ciowego "%s" BÅÄ„D: podano wiele plików jednoczeÅ›nie z użyciem stdin BÅÄ„D: wiele plików wejÅ›ciowych z okreÅ›lonÄ… nazwÄ… pliku wyjÅ›ciowego: należaÅ‚oby użyć -n BÅÄ„D: nie znaleziono danych Ogg w pliku "%s". WejÅ›cie prawdopodobnie nie jest typu Ogg. BÅÄ„D: nie podano plików wejÅ›ciowych. Opcja -h wyÅ›wietla pomoc BÅÄ„D: nie podano plików wejÅ›ciowych. Opcja -h wyÅ›wietla pomoc. BÅÄ„D: brak nazwy pliku do wczytania tekstu BÅÄ„D: brak pamiÄ™ci w create_playlist_member(). BÅÄ„D: brak pamiÄ™ci w decoder_buffered_metadata_callback(). BÅÄ„D: brak pamiÄ™ci w malloc_action(). BÅÄ„D: brak pamiÄ™ci w new_audio_reopen_arg(). BÅÄ„D: brak pamiÄ™ci w new_status_message_arg(). BÅÄ„D: brak pamiÄ™ci w playlist_to_array(). BÅÄ„D: brak pamiÄ™ci. BÅÄ„D: ten błąd nie powinien nigdy wystÄ…pić (%d). Ratunku! BÅÄ„D: nie można utworzyć bufora wejÅ›cia. BÅÄ„D: nieobsÅ‚ugiwana wartość opcji dla urzÄ…dzenia %s. BÅÄ„D: zapis do bufora nie powiódÅ‚ siÄ™. Opcje modyfikacji Włączono silnik zarzÄ…dzania bitrate Zakodowano przez: %sKodowanie %s%s%s do %s%s%s z przybliżonym bitrate %d kbps (włączone kodowanie VBR) Kodowanie %s%s%s do %s%s%s ze Å›rednim bitrate %d kbps Kodowanie %s%s%s do %s%s%s z jakoÅ›ciÄ… %2.2f Kodowanie %s%s%s do %s%s%s z poziomem jakoÅ›ci %2.2f przy użyciu ograniczonego VBR Kodowanie %s%s%s do %s%s%s przy użyciu zarzÄ…dzania bitrate Błąd sprawdzania istnienia katalogu %s: %s Błąd otwierania %s przy użyciu moduÅ‚u %s. Plik może być uszkodzony. Błąd otwierania pliku komentarzy '%s' Błąd otwierania pliku wyjÅ›ciowego '%s'. Błąd otwierania pliku wejÅ›ciowego "%s": %s Błąd otwierania pliku wejÅ›ciowego '%s'. Błąd otwierania pliku wyjÅ›ciowego '%s'. Błąd odczytu pierwszej strony strumienia danych Ogg.Błąd odczytu poczÄ…tkowego pakietu nagłówka.Błąd usuwania błędnego pliku tymczasowego %s Błąd usuwania starego pliku %s Błąd zmiany nazwy z %s na %s Nieznany błąd.Błąd zapisu strumienia wyjÅ›ciowego. Może być uszkodzony lub uciÄ™ty.Błąd zapisu do pliku: %s Błąd: nie udaÅ‚o siÄ™ utworzyć bufora dźwiÄ™ku. Błąd: brak pamiÄ™ci w decoder_buffered_metadata_callback(). Błąd: brak pamiÄ™ci w new_print_statistics_arg(). Błąd: element Å›cieżki "%s" nie jest katalogiem PrzykÅ‚ady: vorbiscomment -a wej.ogg -c komentarze.txt vorbiscomment -a wej.ogg -t "ARTIST=JakiÅ› facet" -t "TITLE=TytuÅ‚" Czytnik plików FLACFLAC, Nie udalo siÄ™ zakodować pakietu Kate EOS Nie udaÅ‚o siÄ™ zdekodować nagłówka Kate Nie udaÅ‚o siÄ™ zakodować ruchu karaoke - kontynuacja Nie udaÅ‚o siÄ™ zakodować stylu karaoke - kontynuacja Nie udaÅ‚o siÄ™ zakodować tekstu - kontynuacja Nie udaÅ‚o siÄ™ przeksztaÅ‚cić do UTF-8: %s Nie udaÅ‚o siÄ™ otworzyć pliku jako Vorbis: %s Nie udaÅ‚o siÄ™ ustawić zaawansowanych parametrów zarzÄ…dzania prÄ™dkoÅ›ciÄ… Nie udaÅ‚o siÄ™ ustawić minimalnego/maksymalnego bitrate w trybie jakoÅ›ci Nie udaÅ‚o siÄ™ zapisać komentarzy do pliku wyjÅ›ciowego: %s Nie udaÅ‚o siÄ™ zapisać danych do strumienia wyjÅ›ciowego Nie udaÅ‚o siÄ™ zapisać nagłówka fisbone do strumienia wyjÅ›ciowego Nie udaÅ‚o siÄ™ zapisać pakietu fishead do strumienia wyjÅ›ciowego Nie udaÅ‚o siÄ™ zapisać nagłówka do strumienia wyjÅ›ciowego Nie udaÅ‚o siÄ™ zapisać pakietu szkieletu eos do strumienia wyjÅ›ciowego Plikowe:Plik: %sPLIKI WEJÅšCIOWE: Pliki wejÅ›ciowe dla programu OggEnc aktualnie muszÄ… być 24-, 16- lub 8-bitowymi plikami PCM Wave, AIFF lub AIFF/C, 32-bitowymi zmiennoprzecinkowymi IEEE plikami Wave i opcjonalnie plikami FLAC lub Ogg FLAC. Pliki mogÄ… być mono lub stereo (lub o wiÄ™kszej liczbie kanałów) i o dowolnej czÄ™stotliwoÅ›ci próbkowania. Alternatywnie można użyć opcji --raw dla surowego pliku wejÅ›ciowego PCM, który musi być 16-bitowym, stereofonicznym PCM little-endian (Wave bez nagłówka), chyba że podano dodatkowe opcje dla trybu surowego. Można wymusić pobranie pliku ze standardowego wejÅ›cia przekazujÄ…c opcjÄ™ - jako nazwÄ™ pliku wejÅ›ciowego. W tym trybie wyjÅ›ciem jest standardowe wyjÅ›cie, chyba że podano nazwÄ™ pliku wyjÅ›ciowego opcjÄ… -o. Pliki tekstów utworów mogÄ… być w formacie SubRip (.srt) lub LRC (.lrc). JeÅ›li nie podano pliku wyjÅ›ciowego, vorbiscomment zmodyfikuje plik wejÅ›ciowy. Jest to obsÅ‚ugiwane przez plik tymczasowy, wiÄ™c plik wejÅ›ciowy nie zostanie zmodyfikowany jeÅ›li wystÄ…piÄ… błędy w czasie przetwarzania. Rozmiar bufora wejÅ›ciowego mniejszy niż minimalny rozmiar %dkB.Nazwa pliku wejÅ›ciowego nie może być taka sama, jak pliku wyjÅ›ciowego WejÅ›cie nie jest strumieniem danych Ogg.WejÅ›cie nie jest typu Ogg. Opcje wejÅ›cia WejÅ›cie uciÄ™te lub puste.Błąd wewnÄ™trzny podczas analizy opcji linii poleceÅ„ Błąd wewnÄ™trzny podczas analizy opcji linii poleceÅ„. Błąd wewnÄ™trzny analizy opcji polecenia Błąd wewnÄ™trzny: nierozpoznany argument Błąd wewnÄ™trzny: próba odczytu nieobsÅ‚ugiwanej rozdzielczoÅ›ci bitowej %d Błędne/uszkodzone komentarzeNie znaleziono kluczaWypisanie i modyfikacja komentarzy w plikach Ogg Vorbis. Opcje wypisywania Na żywo:Logiczne strumienie bitowe o zmiennych parametrach nie sÄ… obsÅ‚ugiwane StrumieÅ„ logiczny %d zakoÅ„czony Błąd przydzielania pamiÄ™ci w stats_init() Opcje różne Inicjalizacja trybu nie powiodÅ‚a siÄ™: błędne parametry bitrate Inicjalizacja trybu nie powiodÅ‚a siÄ™: błędne parametry jakoÅ›ci Tryb numer %d nie istnieje (już) w tej wersjiPrzeplatane strumienie bitowe nie sÄ… obsÅ‚ugiwane NazwaNowy strumieÅ„ logiczny (#%d, numer seryjny %08x): typ %s Nie podano plików wejÅ›ciowych. "ogginfo -h" pokaże pomoc Brak kluczaNie odnaleziono moduÅ‚u do wczytania z %s. Nie odnaleziono wartoÅ›ci zaawansowanej opcji kodera Uwaga: strumieÅ„ %d ma numer seryjny %d, który jest dopuszczalny, ale może powodować problemy z niektórymi narzÄ™dziami. OPCJE: Ogólne: -Q, --quiet Brak wyjÅ›cia na stderr -h, --help WyÅ›wietlenie tego opisu -V, --version Wypisanie numeru wersji Czytnik plików Ogg FLACStrumieÅ„ Ogg Speex: %d kanałów, %d Hz, tryb %sStrumieÅ„ Ogg Speex: %d kanałów, %d Hz, tryb %s (VBR)StrumieÅ„ Ogg Vorbis: %d kanałów, %ld HzOgg Vorbis. StrumieÅ„ danych Ogg nie zawiera danych Vorbis.StrumieÅ„ danych Ogg nie zawiera obsÅ‚ugiwanego typu danych.Naruszone ograniczenia przeplotu Ogg, nowy strumieÅ„ przed EOS wszystkich poprzednich strumieniOtwieranie przy użyciu moduÅ‚u %s: %s Brak pamiÄ™ci Opcje wyjÅ›cia Napotkano stronÄ™ w strumieniu po fladze EOSOdtwarzanie: %sOpcje listy odtwarzania Przetwarzanie nie powiodÅ‚o siÄ™ Przetwarzanie pliku "%s"... Przetwarzanie: ciÄ™cie po %lld próbkach Nierozpoznana opcja jakoÅ›ci "%s", zignorowano Czytnik plików RAWReplayGain (Album):ReplayGain (Åšcieżka):ReplayGain Peak (Album):ReplayGain Peak (Åšcieżka):Żądanie minimalnego lub maksymalnego bitrate wymaga --managed Resamplowanie wejÅ›cia z %d Hz do %d Hz Skalowanie wejÅ›cia do %f Ustawiono opcjonalne twarde restrykcje jakoÅ›ci Ustawianie zaawansowanej opcji kodera "%s" na %s PominiÄ™to fragment typu "%s" o dÅ‚ugoÅ›ci %d ProszÄ™ podać "." jako drugi plik wyjÅ›ciowy aby pominąć ten błąd. Wersja Speex: %sSpeex, SukcesObsÅ‚ugiwane opcje: Błąd systemowyFormat pliku %s nie jest obsÅ‚ugiwany. Ten plik zostaÅ‚ zakodowany nowszÄ… wersjÄ… kodeka Speex. Aby go odtworzyć konieczne jest uaktualnienie. Ten plik zostaÅ‚ zakodowany starszÄ… wersjÄ… kodeka Speex. Aby go odtworzyć konieczne jest cofniÄ™cie wersji.Ta wersja libvorbisenc nie potrafi ustawiać zaawansowanych parametrów zarzÄ…dzania prÄ™dkoÅ›ciÄ… Czas: %sAby uniknąć tworzenia pliku wyjÅ›ciowego, należy podać "." jako jego nazwÄ™. Numer Å›cieżki:TypNieznany błądNierozpoznana opcja zaawansowana "%s" SkÅ‚adnia: ogg123 [opcje] plik ... Odtwarzanie plików dźwiÄ™kowych i strumieni sieciowych Ogg. SkÅ‚adnia: oggdec [opcje] plik1.ogg [plik2.ogg ... plikN.ogg] SkÅ‚adnia: oggenc [opcje] plik_wejÅ›ciowy [...] SkÅ‚adnia: ogginfo [flagi] plik1.ogg [plik2.ogx ... plikN.ogv] ogginfo to narzÄ™dzie do wypisywania informacji o plikach Ogg i diagnozowania problemów z nimi. PeÅ‚ny opis można uzyskać poprzez "ogginfo -h". Format Vorbis: wersja %dUWAGA w linii %d: nie udaÅ‚o siÄ™ pobrać glifu UTF-8 z Å‚aÅ„cucha UWAGA w linii %d: nie udaÅ‚o siÄ™ przetworzyć rozszerzonego znacznika LRC (%*.*s) - zignorowano UWAGA w linii %d: czas w tekÅ›cie nie może siÄ™ zmniejszać UWAGA w linii %u: brak danych - uciÄ™ty plik? UWAGA w linii %u: nieciÄ…gÅ‚e identyfikatory: %s - zignorowano UWAGA w linii %u: tekst zbyt dÅ‚ugi - uciÄ™to UWAGA: nie można miksować inaczej niż ze stereo do mono UWAGA: nie udaÅ‚o siÄ™ odczytać katalogu %s. UWAGA: nie udaÅ‚o siÄ™ przeanalizować współczynnika skalowania "%s" UWAGA: nie udaÅ‚o siÄ™ odczytać argumentu kolejnoÅ›ci bajtów "%s" UWAGA: nie udaÅ‚o siÄ™ odczytać czÄ™stotliwoÅ›ci resamplowania "%s" UWAGA: nie ustawiono EOS w strumieniu %d UWAGA: zignorowano niedozwolony znak specjalny '%c' w formacie nazwy UWAGA: użyto niedozwolonego komentarza ("%s"), zignorowano. UWAGA: podano za maÅ‚o jÄ™zyków tekstów, przyjÄ™cie ostatniego jÄ™zyka jako domyÅ›lnego. UWAGA: Podano za maÅ‚o tytułów, przyjÄ™cie ostatniego tytuÅ‚u jako domyÅ›lnego. UWAGA: błędna liczba bitów/próbkÄ™, przyjÄ™cie 16. UWAGA: błędna liczba kanałów, przyjÄ™cie 2. UWAGA: błędna strona nagłówka w strumieniu %d, zawiera wiele pakietów UWAGA: błędna strona nagłówka, nie znaleziono pakietu UWAGA: podano błędnÄ… czÄ™stotliwość próbkowania, przyjÄ™cie 44100. UWAGA: obsÅ‚uga Kate nie skompilowana; teksty nie bÄ™dÄ… dołączone. UWAGA: podano wiele zamienników filtrów formatu nazw, użycie ostatniego UWAGA: podano wiele filtrów formatu nazw, użycie ostatniego UWAGA: podano wiele formatów nazw, użycie ostatniego UWAGA: podano wiele nazw plików wyjÅ›ciowych, należaÅ‚oby użyć -n UWAGA: brak nazwy pliku, przyjÄ™cie domyÅ›lnej "%s" UWAGA: podano surowÄ… liczbÄ™ bitów/próbkÄ™ dla danych niesurowych; przyjÄ™cie wejÅ›cia surowego. UWAGA: podano surowÄ… liczbÄ™ kanałów dla danych niesurowych; przyjÄ™cie wejÅ›cia surowego. UWAGA: podano surowÄ… kolejność bajtów dla plików niesurowych; przyjÄ™cie wejÅ›cia surowego. UWAGA: podano surowÄ… czÄ™stotliwość próbkowania dla danych niesurowych; przyjÄ™cie wejÅ›cia surowego. UWAGA: czÄ™stotliwość resamplowania podano jako %d Hz. Nie miaÅ‚o być %d Hz? UWAGA: podano nieznanÄ… opcjÄ™, zignorowano UWAGA: nie udaÅ‚o siÄ™ dodać stylu karaoke Kate UWAGA: nie udaÅ‚o siÄ™ przydzielić pamiÄ™ci - rozszerzony znacznik LRC bÄ™dzie zignorowany UWAGA: dziura w danych (%d) UWAGA: niedopuszczalnie umieszczone strony dla strumienia logicznego %d Oznacza to uszkodzony plik Ogg: %s. UWAGA: plik wejÅ›ciowy nieoczekiwanie siÄ™ skoÅ„czyÅ‚ UWAGA: jÄ™zyk nie może być dÅ‚uższy niż 15 znaków; uciÄ™to. UWAGA: nierozpoznane maksymalne bitrate "%s" UWAGA: nierozpoznane minimalne bitrate "%s" UWAGA: nie podano jÄ™zyka dla %s UWAGA: nierozpoznane nominalne bitrate "%s" UWAGA: ustawienie jakoÅ›ci zbyt wysokie, przyjÄ™to maksymalnÄ… jakość. UWAGA: luka w numerach sekwencji w strumieniu %d. Otrzymano stronÄ™ %ld kiedy oczekiwano strony %ld. Oznacza to brakujÄ…ce dane. UWAGA: napotkano flagÄ™ poczÄ…tku strumienia w Å›rodku strumienia %d UWAGA: flaga poczÄ…tku strumienia nie jest ustawiona dla strumienia %d UWAGA: podpis %s nie jest poprawnym UTF-8 Uwaga z listy odtwarzania %s: nie udaÅ‚o siÄ™ odczytać katalogu %s. Uwaga: nie udaÅ‚o siÄ™ odczytać katalogu %s. Błędny komentarz: "%s" logicznyznakdomyÅ›lne urzÄ…dzenie wyjÅ›ciowedoublefloatcaÅ‚kowityNie okreÅ›lono akcji brakz %sogg123 z pakietu %s %soggdec z pakietu %s %s oggenc z pakietu %s %s ogginfo z pakietu %s %s innywieczne powtarzanie listy odtwarzaniaprzemieszanie listy odtwarzaniastandardowego wejÅ›ciastandardowego wyjÅ›ciaÅ‚aÅ„cuchvorbiscomment z pakietu %s %s autorstwa Xiph.Org Foundation (http://www.xiph.org/) vorbiscomment z pakietu vorbis-tools vorbiscomment obsÅ‚uguje komentarze w formacie "nazwa=wartość", po jednym w każdej linii. DomyÅ›lnie komentarze sÄ… wypisywane na standardowe wyjÅ›cie, a w trybie modyfikacji czytane ze standardowego wejÅ›cia. Alternatywnie można podać plik za pomocÄ… opcji -c lub znaczniki poprzez -t "nazwa=wartość". Użycie -c lub -t wyłącza czytanie ze standardowego wejÅ›cia. vorbis-tools-1.4.2/po/ru.gmo0000644000175000017500000006234714002243561012662 00000000000000Þ•ºìû¼ ¨©Ç ã$>[vˆœ²Éã,ý*%H,n-› É&ê1QW`sz,!®ZÐ7+*c-ŽS¼+Q<!ް4È*ý,(U kxŒŸ² ËAÕ9Qn0 °&½ä/þ#..R#¥Äâ &28'S({I¤1î: 1[M#Ûÿ[@j6«Râ>51tB¦ é! ",O o*$»àüL$&q>˜4×, 9.J,y%¦'Ìô4ý62iˆ˜,²-ß' 85 n | (• ;¾ ;ú 6!0;!0l!!*¤!+Ï!]û!Y"%n"N”"ã"$ÿ" $#0#C#$]#-‚#;°#%ì#$''$+O$'{$£$ «$(¸$á$ê$ ï$"ý$ %2:%0m%1ž%?Ð%C&5T&6Š&8Á&Iú&=D'6‚';¹'Lõ'NB(K‘(LÝ(.*)?Y)7™)&Ñ)ø) ***+*2*8*<*Q*V*\*b*s*‚*’*b™*.ü+0+,6\,“,-¯,(Ý,<--C-,q-"ž-$Á-4æ-4.PP.4¡.GÖ.P/Qo/7Á/Hù/5B05x0®0 ´0#Á0å0ì0t1Xu1ÚÎ1f©2R3jc3ÒÎ3^¡4¼5B½576s86D¬6Qñ6#C7g7'y7¡76¾7Dõ7):8‚d8nç8PV9(§9SÐ9$:g?:9§:já:EL;q’;<<JA<;Œ<;È<G=L=d=u=*‰=S´=U>Š^>_é>iI?w³?½+@Né@8A¨SAeüAObB›²B{NCQÊCfDGƒDHËDCE@XEB™EZÜEO7F;‡F3ÃF$÷F”GP±GwHmzHTèH=I‰\I[æIIBJOŒJ ÜJZéJtDKT¹K8L?GLf‡LgîLfVM‹½MIN4dNV™NvðNvgOÞO_åO|EPÂPIÔPnQ×Q"eR.ˆR×·R*SrºS"-T'PT'xTK TQìT>U`¾U;Vk[VgÇVC/W%sW™W>¹WøWX#XU2X$ˆXp­X€YaŸY‹Z£Z}1[m¯[Ž\™¬\ŽF]}Õ]¡S^¤õ^š_¨8`¡á`cƒaŽçavbMc6Rc ‰c ”c9¡cÛcêc ÿc% d0dBd Jd@Wd˜d!¸d ÚdjŸMµ/¬;^¢¦~'Zk]Ž8<4«³yCXnº¡ƒl¥©9žŠ_&‰N®q!i•˜We§“„xYht…H (-Rr’E*? v±pJšzA”†Œ¨#€‹3gwªIV"PO|1% u¤$–o{.7L ´¯›—f}5­T,6™‘¸m GFœUQ°s@·c¹ =+2d¶aSb:`)‚ 0²‡£BKDˆ>[\ Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Encoding [%2dm%.2ds so far] %c Rate: %.4f [%5.1f%%] [%2dm%.2ds remaining] %c File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s Input Buffer %5.1f%% Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%(NULL)(none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Option conflict: End time is before start time. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBig endian 24 bit PCM data is not currently supported, aborting. Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Changed lowpass frequency from %f kHz to %f kHz Comments: %sCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" DefaultDescriptionDone.Downmixing stereo to mono ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Input filename is the same as output filename "%s" ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing old file %s Error renaming %s to %s Error unknown.Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory FLAC file readerFailed to set bitrate min/max in quality mode Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File: %sInput buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Internal error: attempt to read unsupported bitdepth %d Key not foundLogical stream %d ended Memory allocation error in stats_init() Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Note: Stream %d has serial number %d, which is legal but may cause problems with some tools. Ogg FLAC file readerOgg Vorbis stream: %d channel, %ld HzOgg muxing constraints violated, new stream before EOS of all previous streamsOpening with %s module: %s Page found for stream after EOS flagPlaying: %sProcessing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring Requesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Scaling input to %f Set optional hard quality restrictions Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d SuccessSystem errorThe file format of %s is not supported. Time: %sTypeUnknown errorUnrecognised advanced option "%s" Vorbis format: Version %dWARNING: Can't downmix except from stereo to mono WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: Ignoring illegal escape character '%c' in name format WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid sample rate specified, assuming 44100. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Unknown option specified, ignoring-> WARNING: quality setting too high, setting to maximum quality. Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sothershuffle playliststandard inputstandard outputstringProject-Id-Version: vorbis-tools 1.1.1 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2007-07-26 15:01+0300 Last-Translator: Dmitry D. Stasyuk Language-Team: Russian Language: ru MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Средний битрейт: %.1f Кб/Ñ ÐžÑтавшееÑÑ Ð²Ñ€ÐµÐ¼Ñ: %dм %04.1fÑ ÐšÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ðµ [готово %2dм%.2dÑ] %c Выборка: %.4f [%5.1f%%] [оÑталоÑÑŒ %2dм%.2dÑ] %c Длина файла: %dм %04.1fÑ ÐšÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ðµ файла "%s" завершено Кодирование завершено. Звуковое УÑтройÑтво: %s Входной Буфер %5.1f%% Выходной Буфер %5.1f%%%s: недопуÑтимый параметр -- %c %s: неправильный параметр -- %c %s: Ð´Ð»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° `%c%s' не допуÑтимы аргументы %s: параметр `%s' не однозначен %s: Ð´Ð»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° `%s' необходим аргумент %s: Ð´Ð»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° `--%s' не допуÑтимы аргументы %s: Ð´Ð»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° `-W %s' не допуÑтимы аргументы %s: параметр `-W %s' не однозначен %s: Ð´Ð»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° необходим аргумент -- %c %s: неопознанный параметр `%c%s' %s: неопознанный параметр `--%s' %sEOS%sПауза%sПред-чтение до %.1f%%(NULL)(не указан)--- Ðевозможно открыть файл ÑпиÑка воÑÐ¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ñ %s. Пропущен. --- ВоÑпроизвеÑти каждый 0-й фрагмент невозможно! --- Ðевозможно воÑпроизвеÑти фрагмент 0 раз. --- Ð”Ð»Ñ Ð¿Ñ€Ð¾Ð²ÐµÐ´ÐµÐ½Ð¸Ñ Ñ‚ÐµÑтового Ð´ÐµÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¸Ñпользуйте выходной драйвер null. --- Указанный в файле конфигурации драйвер %s неправилен. --- Ð’ потоке пуÑто; возможно, ничего Ñтрашного --- Ðеправильное значение размера пре-буфера. Диапазон 0-100. === Ðевозможно загрузить драйвер по умолчанию, а в файле конфигурации никакой драйвер не указан. Завершение работы. === Драйвер %s не ÑвлÑетÑÑ Ð´Ñ€Ð°Ð¹Ð²ÐµÑ€Ð¾Ð¼ выходного файла. === Ошибка "%s" во Ð²Ñ€ÐµÐ¼Ñ Ñ€Ð°Ð·Ð±Ð¾Ñ€Ð° параметров конфигурации из командной Ñтроки. === Ошибку вызвал параметр: %s === Ðекорректный формат параметра: %s. === УÑтройÑтво %s не ÑущеÑтвует. === Конфликт параметров: Ð’Ñ€ÐµÐ¼Ñ Ð¾ÐºÐ¾Ð½Ñ‡Ð°Ð½Ð¸Ñ Ñ€Ð°Ð½ÑŒÑˆÐµ времени Ñтарта. === Ошибка разбора: %s в Ñтроке %d из %s (%s) === Библиотека Vorbis Ñообщила об ошибке потока. Чтение файлов AIFF/AIFCÐвтор: %sДоÑтупные параметры: Срд битрейт: %5.1fÐеправильный комментарий: "%s" Ðекорректный тип в ÑпиÑке параметровÐекорректное значение24-битные данные PCM в режиме BIG-ENDIAN не поддерживаютÑÑ. ДейÑтвие прервано. Ð—Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ð±Ð¸Ñ‚Ñ€ÐµÐ¹Ñ‚Ð°: верхнее=%ld номинальное=%ld нижнее=%ld окно=%ldОшибка битового потока, продолжение работы Ðевозможно открыть %s. Изменение нижней границы чаÑтоты Ñ %f до %f кГц Комментарии: %sПовреждены или отÑутÑтвуют данные, продолжение работы...Повреждён вторичный заголовок.Ðевозможно найти обработчик Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ°. Задание отложено Ðевозможно пропуÑтить %f Ñекунд звука.Ðевозможно преобразовать комментарий в UTF-8, добавлÑть Ð½ÐµÐ»ÑŒÐ·Ñ Ðевозможно Ñоздать каталог "%s": %s Ðе возможно инициализировать реÑÑмплер Ðевозможно открыть %s Ð´Ð»Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ðевозможно открыть %s Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸Ñи Ðевозможно обработать точку отреза "%s" По умолчаниюОпиÑаниеЗавершено.Смешение Ñтерео в моно ОШИБКÐ: Ðевозможно открыть входной файл "%s": %s ОШИБКÐ: Ðевозможно открыть выходной файл "%s": %s ОШИБКÐ: Ðевозможно Ñоздать необходимые подкаталоги Ð´Ð»Ñ Ð²Ñ‹Ñ…Ð¾Ð´Ð½Ð¾Ð³Ð¾ файла "%s" ОШИБКÐ: Входной файл "%s" в не поддерживаемом формате Ð˜Ð¼Ñ Ð²Ñ…Ð¾Ð´Ð½Ð¾Ð³Ð¾ файла Ñовпадает Ñ Ð¸Ð¼ÐµÐ½ÐµÐ¼ выходного файла "%s" ОШИБКÐ: Указано неÑколько файлов, в то Ð²Ñ€ÐµÐ¼Ñ ÐºÐ°Ðº иÑпользуетÑÑ stdin ОШИБКÐ: ÐеÑколько входных файлов при указанном имени выходного файла: предполагаетÑÑ Ð¸Ñпользование - n Включение механизма ÑƒÐ¿Ñ€Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ð±Ð¸Ñ‚Ñ€ÐµÐ¹Ñ‚Ð¾Ð¼ Кодирование: %sКодирование %s%s%s в %s%s%s Ñ Ð¿Ñ€Ð¸Ð±Ð»Ð¸Ð·Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ñ‹Ð¼ битрейтом %d Кб/Ñек (включено кодирование Ñ VBR) Кодирование %s%s%s в %s%s%s Ñо Ñредним битрейтом %d Кб/Ñ ÐšÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ðµ %s%s%s в %s%s%s Ñ ÐºÐ°Ñ‡ÐµÑтвом %2.2f Кодирование %s%s%s в %s%s%s Ñ ÑƒÑ€Ð¾Ð²Ð½ÐµÐ¼ качеÑтва %2.2f Ñ Ð¸Ñпользованием ограниченного VBR Кодирование %s%s%s в %s%s%s Ñ Ð¸Ñпользованием ÑƒÐ¿Ñ€Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ð±Ð¸Ñ‚Ñ€ÐµÐ¹Ñ‚Ð¾Ð¼ Ошибка проверки ÑущеÑÑ‚Ð²Ð¾Ð²Ð°Ð½Ð¸Ñ ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ð° %s: %s Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ %s модулем %s. Файл может быть повреждён. Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ñ„Ð°Ð¹Ð»Ð° комментариев '%s' Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ñ„Ð°Ð¹Ð»Ð° комментариев '%s'. Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ð²Ñ…Ð¾Ð´Ð½Ð¾Ð³Ð¾ файла "%s": %s Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ð²Ñ…Ð¾Ð´Ð½Ð¾Ð³Ð¾ файла '%s'. Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ð²Ñ‹Ñ…Ð¾Ð´Ð½Ð¾Ð³Ð¾ файла '%s'. Ошибка Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ð¿ÐµÑ€Ð²Ð¾Ð¹ Ñтраницы битового потока Ogg.Ошибка Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ð½Ð°Ñ‡Ð°Ð»ÑŒÐ½Ð¾Ð³Ð¾ заголовка пакета.Ошибка ÑƒÐ´Ð°Ð»ÐµÐ½Ð¸Ñ Ñтарого файла %s Ошибка Ð¿ÐµÑ€ÐµÐ¸Ð¼ÐµÐ½Ð¾Ð²Ð°Ð½Ð¸Ñ %s в %s ÐеизвеÑÑ‚Ð½Ð°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ°.Ошибка запиÑи выходного потока. Выходной поток может быть повреждён или обрезан.Ошибка: Ðевозможно Ñоздать буфер Ð´Ð»Ñ Ð·Ð²ÑƒÐºÐ°. Ошибка: Ðе доÑтаточно памÑти при выполнении decoder_buffered_metadata_callback(). Ошибка: Ðе доÑтаточно памÑти при выполнении new_print_statistics_arg(). Ошибка: Ñегмент пути "%s" не ÑвлÑетÑÑ ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ð¾Ð¼ Чтение файлов FLACСбой при уÑтановке мин/Ð¼Ð°ÐºÑ Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ð±Ð¸Ñ‚Ñ€ÐµÐ¹Ñ‚Ð° в режиме уÑтановки качеÑтва Ошибка при запиÑи комментариев в выходной файл: %s Сбой при запиÑи данных в выходной поток Сбой при запиÑи заголовка в выходной поток Файл: %sРазмер входного буфера меньше минимального - %dКб.Ð˜Ð¼Ñ Ð²Ñ…Ð¾Ð´Ð½Ð¾Ð³Ð¾ файла не может Ñовпадать Ñ Ð¸Ð¼ÐµÐ½ÐµÐ¼ выходного файла Входные данные не ÑвлÑÑŽÑ‚ÑÑ Ð±Ð¸Ñ‚Ð¾Ð²Ñ‹Ð¼ потоком Ogg.Входные данные не в формате ogg. Входные данные обрезаны или пуÑты.ВнутреннÑÑ Ð¾ÑˆÐ¸Ð±ÐºÐ° разбора параметров командной Ñтроки ВнутреннÑÑ Ð¾ÑˆÐ¸Ð±ÐºÐ° разбора параметров командной Ñтроки. ВнутреннÑÑ Ð¾ÑˆÐ¸Ð±ÐºÐ° разбора параметров командной Ñтроки ВнутреннÑÑ Ð¾ÑˆÐ¸Ð±ÐºÐ°: попытка прочитать не поддерживаемую разрÑдноÑть в %d бит Ключ не найденЛогичеÑкий поток %d завершён Ошибка Ð²Ñ‹Ð´ÐµÐ»ÐµÐ½Ð¸Ñ Ð¿Ð°Ð¼Ñти при выполнении stats_init() Сбой режима инициализации: некорректные параметры Ð´Ð»Ñ Ð±Ð¸Ñ‚Ñ€ÐµÐ¹Ñ‚Ð° Сбой режима инициализации: некорректные параметры Ð´Ð»Ñ ÐºÐ°Ñ‡ÐµÑтва ИмÑÐовый логичеÑкий поток (#%d, Ñерийный номер: %08x): тип %s Ðе указаны входные файлы. Ð”Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ñправки иÑпользуйте "ogginfo -h" Ðет ключаÐе найдены модули Ð´Ð»Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ð¸Ð· файла %s. Ðе найдено значение дополнительного параметра кодировщика Примечание: Поток %d имеет Ñерийный номер %d, что допуÑтимо, но может вызвать проблемы в работе некоторых инÑтрументов. Чтение файлов Ogg FLACПоток Ogg Vorbis: %d канал, %ld ГцÐарушены Ð¾Ð³Ñ€Ð°Ð½Ð¸Ñ‡ÐµÐ½Ð¸Ñ Ð¼ÑƒÐ»ÑŒÑ‚Ð¸Ð¿Ð»ÐµÐºÑÐ¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ogg. Ðайден новый поток до Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ð¼Ð°Ñ€ÐºÐµÑ€Ð¾Ð² конца вÑех предыдущих потоковОткрытие Ñ Ð¼Ð¾Ð´ÑƒÐ»ÐµÐ¼ %s: %s Ðайдена Ñтраница Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ° поÑле Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ð¼Ð°Ñ€ÐºÐµÑ€Ð° его концаВоÑпроизведение: %sОбработка не удалаÑÑŒ Обработка файла "%s"... Обработка: Вырезание в позиции %lld кадров ÐžÐ¿Ñ†Ð¸Ñ ÐºÐ°Ñ‡ÐµÑтва "%s" не опознана, игнорируетÑÑ Ð”Ð»Ñ Ð·Ð°Ð¿Ñ€Ð¾Ñа минимального или макÑимального битрейта требуетÑÑ --managed Изменение чаÑтоты выборки входных файлов Ñ %d до %d Гц Умножение входного Ñигнала на %f УÑтановлены необÑзательные жёÑткие Ð¾Ð³Ñ€Ð°Ð½Ð¸Ñ‡ÐµÐ½Ð¸Ñ ÐºÐ°Ñ‡ÐµÑтва УÑтановка дополнительного параметра кодировщика "%s" в %s ПропуÑкаем фрагмент типа "%s", длина %d УÑпешное завершениеСиÑÑ‚ÐµÐ¼Ð½Ð°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ°Ð¤Ð¾Ñ€Ð¼Ð°Ñ‚ файла %s не поддерживаетÑÑ. ВремÑ: %sТипÐеизвеÑÑ‚Ð½Ð°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ°Ðе раÑпознаваемый дополнительный параметр "%s" Формат Vorbis: ВерÑÐ¸Ñ %dÐ’ÐИМÐÐИЕ: Смешение Ñигналов возможно только из Ñтерео в моно Ð’ÐИМÐÐИЕ: Ðевозможно прочитать аргумент "%s" в порÑдке ÑÐ»ÐµÐ´Ð¾Ð²Ð°Ð½Ð¸Ñ Ð±Ð°Ð¹Ñ‚ Ð’ÐИМÐÐИЕ: Ðевозможно прочитать изменение чаÑтоты "%s" Ð’ÐИМÐÐИЕ: Ðекорректный управлÑющий Ñимвол '%c' в формате имени, игнорируетÑÑ Ð’ÐИМÐÐИЕ: Указано недоÑтаточное количеÑтво заголовков, уÑтановлены поÑледние значениÑ. Ð’ÐИМÐÐИЕ: Указано некорректное значение бит/кадр, предполагаетÑÑ 16. Ð’ÐИМÐÐИЕ: Указано неверное чиÑло каналов, предполагаетÑÑ 2. Ð’ÐИМÐÐИЕ: Указано некорректное значение чаÑтоты выборки, предполагаетÑÑ 44100. Ð’ÐИМÐÐИЕ: Указано неÑколько замен фильтров форматов имени, иÑпользуетÑÑ Ð¿Ð¾ÑледнÑÑ Ð’ÐИМÐÐИЕ: Указано неÑколько фильтров форматов имени, иÑпользуетÑÑ Ð¿Ð¾Ñледний Ð’ÐИМÐÐИЕ: Указано неÑколько форматов имени, иÑпользуетÑÑ Ð¿Ð¾Ñледний Ð’ÐИМÐÐИЕ: Указано неÑколько выходных файлов, предполагаетÑÑ Ð¸Ñпользование параметра -n Ð’ÐИМÐÐИЕ: Указано значение Ñырых бит/кадр Ð´Ð»Ñ Ð½Ðµ-Ñырых данных. ПредполагаетÑÑ Ñырой ввод. Ð’ÐИМÐÐИЕ: Указано чиÑло Ñырых каналов Ð´Ð»Ñ Ð½Ðµ-Ñырых данных. ПредполагаетÑÑ Ñырой ввод. Ð’ÐИМÐÐИЕ: Указан порÑдок байт Ñырых данных Ð´Ð»Ñ Ð½Ðµ-Ñырых данных. Подразумеваем Ñырые данные. Ð’ÐИМÐÐИЕ: Указана ÑÑ‹Ñ€Ð°Ñ Ñ‡Ð°Ñтота выборки Ð´Ð»Ñ Ð½Ðµ-Ñырых данных. ПредполагаетÑÑ Ñырой ввод. Ð’ÐИМÐÐИЕ: Указан неизвеÑтный параметр, игнорируетÑÑ-> Ð’ÐИМÐÐИЕ: уÑтановлено Ñлишком выÑокое качеÑтво, ограничено до макÑимального Предупреждение из ÑпиÑка воÑÐ¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ñ %s: Ðевозможно прочитать каталог %s. Внимание: Ðевозможно прочитать каталог %s. неправильный комментарий: "%s" булевÑимволуÑтройÑтво вывода по умолчаниюдв.точн.Ñ Ð¿Ð».точкойцелыйдейÑтвие не указано не указаниз %sдругойперемешать ÑпиÑок воÑпроизведениÑÑтандартный вводÑтандартный выводÑтрокаvorbis-tools-1.4.2/po/eo.gmo0000644000175000017500000011764514002243560012640 00000000000000Þ•¤o,è(é0 Lm$‚§ÄßñFFLB“;Ö71J>|@»?ü»<Fø‚?,ÂJï&:Naû°F¬<ó70ihHÒF 1b >” ?Ó l!<€"z½"-8#bf#–É$1`%+’%d¾%c#',‡'Ë´'€(—*•5,ÉË-J•/à0jö0a2x2’2,¬2Ù2%÷2,3-J3 x3&™3À3à3444"4Q)4{5,‚5!¯5ZÑ57,6*d6-6S½6S7+e7Q‘7!ã7848*R8,}8ª8 À8Í8à8ô899 39A=999¹9Ö90ç9 :&%:L:/f:#–:%º:.à:#;/3;@c;¤;Ã;á;ÿ;<-< 5<A<G<b<'€<(¨<IÑ<1=:M=1ˆ=Mº=2>;>#L>p>[>@Û>6?RS?>¦?1å?B@ Z@!{@"@À@ à@*A$,A+QA}A™A²ALÁA&B>5B4tB,©BvÖBMC^C2eC.˜C,ÇC%ôC'DBDHDÈQD4E6OE†E¥EµEÄE,ÞE- F'9F8aF šF+¨FÔFåFëF(G-G;DG;€G¼G0ÁG0òG#H**H+UH]HŸßHI%”I ºI5ÈINþIMJiJ$yJ žJªJ¼JÏJ$éJ-KYF¬Y@óY<4Z9qZ@«ZBìZ?/[Æo[O6\¢†\4)]R^]=±][ï^'K_Js`>¾`>ý`q“,[“4ˆ“0½“î“ö“þ“”)&”]P”®”·”¼” Ë”Jì”=7•*u•Ø •y–8”–0Í–1þ–L0—L}—IÊ—E˜IZ˜e¤˜T ™N_™L®™kû™hgšdКh5›;ž›IÚ›7$œ(\œ>…œÄœÛœáœçœÿœ!;AGWhy‹ª¿ÎÝLãt0žTbx ÂjàRË: 4|Zo—K~!º“¶š5Ç”˜Ûç©¢_Ñðô½Ï] êü¯îöm»P,µJ@L·QÎ\ÆO؉‚Fä }€« Ä 2zý¹uÔ±^žIÒ‘Švcå–?$t þ¤ÐYù×B÷XE)²¿GéáÚÝÀ10.æ°ë7ÊÓAïMˆÜÕ¡£ Ž#* >iÍyÈrd%gnŒèó¸ÿŸí›+96É•ìCW a¾ƒ<´øß„"‡Ö(Á'&®úVfâ `¥ñªœh=qsl†¬¨ò‹¼D-³…{ÞÙÅpã§[/3;­U8õ ¦HÌ™wkûeSÃ’N -V Output version information and exit Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Encoding [%2dm%.2ds so far] %c Rate: %.4f [%5.1f%%] [%2dm%.2ds remaining] %c File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s --audio-buffer n Use an output audio buffer of 'n' kilobytes -@ file, --list file Read playlist of files and URLs from "file" -K n, --end n End at 'n' seconds (or hh:mm:ss format) -R, --raw Read and write comments in UTF-8 -R, --remote Use remote control interface -V, --version Display ogg123 version -V, --version Output version information and exit -Z, --random Play files randomly until interrupted -b n, --buffer n Use an input buffer of 'n' kilobytes -c file, --commentfile file When listing, write comments to the specified file. When editing, read comments from the specified file. -d dev, --device dev Use output device "dev". Available devices: -f file, --file file Set the output filename for a file device previously specified with --device. -h, --help Display this help -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format) -l s, --delay s Set termination timeout in milliseconds. ogg123 will skip to the next song on SIGINT (Ctrl-C), and will terminate if two SIGINTs are received within the specified timeout 's'. (default 500) -l, --list List the comments (default if no options are given) -o k:v, --device-option k:v Pass special option 'k' with value 'v' to the device previously specified with --device. See the ogg123 man page for available device options. -p n, --prebuffer n Load n%% of the input buffer before playing -q, --quiet Don't display anything (no title) -r, --repeat Repeat playlist indefinitely -t "name=value", --tag "name=value" Specify a comment tag on the commandline -v, --verbose Display progress and other status information -w, --write Write comments, replacing the existing ones -x n, --nth n Play every 'n'th block -y n, --ntimes n Repeat every played block 'n' times -z, --shuffle Shuffle list of files before playing --advanced-encode-option option=value Sets an advanced encoder option to the given value. The valid options (and their values) are documented in the man page supplied with this program. They are for advanced users only, and should be used with caution. --bits, -b Bit depth for output (8 and 16 supported) --endianness, -e Output endianness for 16-bit output; 0 for little endian (default), 1 for big endian. --help, -h Produce this help message. --managed Enable the bitrate management engine. This will allow much greater control over the precise bitrate(s) used, but encoding will be much slower. Don't use it unless you have a strong need for detailed control over bitrate, such as for streaming. --output, -o Output to given filename. May only be used if there is only one input file, except in raw mode. --quiet, -Q Quiet mode. No console output. --raw, -R Raw (headerless) output. --resample n Resample input data to sampling rate n (Hz) --downmix Downmix stereo to mono. Only allowed on stereo input. -s, --serial Specify a serial number for the stream. If encoding multiple files, this will be incremented for each stream after the first. --sign, -s Sign for output PCM; 0 for unsigned, 1 for signed (default 1). --version, -V Print out version number. -N, --tracknum Track number for this track -t, --title Title for this track -l, --album Name of album -a, --artist Name of artist -G, --genre Genre of track -X, --name-remove=s Remove the specified characters from parameters to the -n format string. Useful to ensure legal filenames. -P, --name-replace=s Replace characters removed by --name-remove with the characters specified. If this string is shorter than the --name-remove list or is not specified, the extra characters are just removed. Default settings for the above two arguments are platform specific. -b, --bitrate Choose a nominal bitrate to encode at. Attempt to encode at a bitrate averaging this. Takes an argument in kbps. By default, this produces a VBR encoding, equivalent to using -q or --quality. See the --managed option to use a managed bitrate targetting the selected bitrate. -k, --skeleton Adds an Ogg Skeleton bitstream -r, --raw Raw mode. Input files are read directly as PCM data -B, --raw-bits=n Set bits/sample for raw input; default is 16 -C, --raw-chan=n Set number of channels for raw input; default is 2 -R, --raw-rate=n Set samples/sec for raw input; default is 44100 --raw-endianness 1 for bigendian, 0 for little (defaults to 0) -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for encoding for a fixed-size channel. Using this will automatically enable managed bitrate mode (see --managed). -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for streaming applications. Using this will automatically enable managed bitrate mode (see --managed). -q, --quality Specify quality, between -1 (very low) and 10 (very high), instead of specifying a particular bitrate. This is the normal mode of operation. Fractional qualities (e.g. 2.75) are permitted The default quality level is 3. Input Buffer %5.1f%% Naming: -o, --output=fn Write file to fn (only valid in single-file mode) -n, --names=string Produce filenames as this string, with %%a, %%t, %%l, %%n, %%d replaced by artist, title, album, track number, and date, respectively (see below for specifying these). %%%% gives a literal %%. Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%(NULL)(c) 2003-2005 Michael Smith Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv] Flags supported: -h Show this help message -q Make less verbose. Once will remove detailed informative messages, two will remove warnings -v Make more verbose. This may enable more detailed checks for some stream types. (none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. 255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support more) === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Option conflict: End time is before start time. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable codecs: Available options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBig endian 24 bit PCM data is not currently supported, aborting. Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Changed lowpass frequency from %f kHz to %f kHz Comments: %sCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Could not skip to %f in audio stream.Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't get enough memory for input buffering.Couldn't get enough memory to register new stream serial number.Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" Decode options DefaultDescriptionDone.Downmixing stereo to mono EOF before recognised stream.ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Input filename is the same as output filename "%s" ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n ERROR: No input files specified. Use -h for help. Editing options Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing erroneous temporary file %s Error removing old file %s Error renaming %s to %s Error unknown.Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory Examples: vorbiscomment -a in.ogg -c comments.txt vorbiscomment -a in.ogg -t "ARTIST=Some Guy" -t "TITLE=A Title" FLAC file readerFLAC, Failed to set advanced rate management parameters Failed to set bitrate min/max in quality mode Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File:File: %sIf no output file is specified, vorbiscomment will modify the input file. This is handled via temporary file, such that the input file is not modified if any errors are encountered during processing. Input buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input options Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Internal error: attempt to read unsupported bitdepth %d Key not foundList or edit comments in Ogg Vorbis files. Listing options Live:Logical stream %d ended Memory allocation error in stats_init() Miscellaneous options Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Note: Stream %d has serial number %d, which is legal but may cause problems with some tools. OPTIONS: General: -Q, --quiet Produce no output to stderr -h, --help Print this help text -V, --version Print the version number Ogg FLAC file readerOgg Vorbis stream: %d channel, %ld HzOgg Vorbis. Ogg bitstream does not contain a supported data-type.Ogg muxing constraints violated, new stream before EOS of all previous streamsOpening with %s module: %s Output options Page found for stream after EOS flagPlaying: %sPlaylist options Processing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring RAW file readerRequesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Scaling input to %f Set optional hard quality restrictions Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d Speex, SuccessSupported options: System errorThe file format of %s is not supported. This version of libvorbisenc cannot set advanced rate management parameters Time: %sTypeUnknown errorUnrecognised advanced option "%s" Usage: ogg123 [options] file ... Play Ogg audio files and network streams. Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg] Usage: oggenc [options] inputfile [...] Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv] ogginfo is a tool for printing information about Ogg files and for diagnosing problems with them. Full help shown with "ogginfo -h". Vorbis format: Version %dWARNING: Can't downmix except from stereo to mono WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: Ignoring illegal escape character '%c' in name format WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid sample rate specified, assuming 44100. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Unknown option specified, ignoring-> WARNING: quality setting too high, setting to maximum quality. Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. Warning: Unexpected EOF in reading WAV header bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sogg123 from %s %soggdec from %s %s oggenc from %s %s ogginfo from %s %s otherrepeat playlist forevershuffle playliststandard inputstandard outputstringvorbiscomment from %s %s by the Xiph.Org Foundation (http://www.xiph.org/) vorbiscomment handles comments in the format "name=value", one per line. By default, comments are written to stdout when listing, and read from stdin when editing. Alternatively, a file can be specified with the -c option, or tags can be given on the commandline with -t "name=value". Use of either -c or -t disables reading from stdin. Project-Id-Version: vorbis-tools 1.2.1 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2008-09-21 16:26-0300 Last-Translator: Felipe Castro Language-Team: Esperanto Language: eo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -V Eligas eligan informaron kaj ĉesiÄas Meza rapideco: %.1f kb/s Pasita tempo: %dm %04.1fs Enkodado [%2dm%.2ds farita] %c Rapideco: %.4f [%5.1f%%] [%2dm%.2ds restas] %c Dosier-grandeco: %dm %04.1fs Farita: enkodado de la dosiero "%s" Enkodado farita. Soniga Aparato: %s --audio-buffer n Uzas eligan son-bufron el 'n' kilobajtoj -@ dosiero, --list dosiero Legas muzikliston de dosieroj kaj URL-oj el "dosiero" -K n, --end n Haltas ĉe 'n' sekundoj (aÅ­ laÅ­ hh:mm:ss) -R, --raw Legas kaj skribas komentojn per UTF-8 -R, --remote Uzas demalprokiman reg-interfacon -V, --version Montrigas la version de ogg123 -V, --version Eligas versian informon kaj ĉesiÄas -Z, --random Ludas la dosierojn hazarde Äis haltigo -b n, --buffer n Uzas enigan bufron el 'n' kilobajtoj -c dosiero, --commentfile dosiero Dum listigo, skribas komentojn al la indikita dosiero. Dum redaktado, legas komentojn el la indikita dosiero. -d dev, --device dev Uzu la eligan aparaton "dev". Disponeblaj aparatoj: -f dosiero, --file dosiero Difinas la eligan dosiernomon por dosiero-aparato antaÅ­e indikita per --device. -h, --help Montrigas ĉi tiun helpon -k n, --skip n Pretersaltas la unuajn 'n' sekundoj (aÅ­ laÅ­ hh:mm:ss) -l s, --delay s Difinas ĉesigan tempo-limon per milisekundoj. ogg123 pretersaltos al la sekvonta muziko okaze de SIGINT (Ctrl-C), kaj ĉesiÄos se du SIGINT-oj estos ricevitaj ene de la specifita tempo-limo 's'. (implicite 500) -l, --list Listigas la komentojn (implicite, se neniu opcio estas indikita) -o k:v, --device-option k:v Pasas specialan opcion 'k' kun valoro 'v' al la aparato antaÅ­e specifita per --device. Vidu la man-paÄon de ogg123 por koni la disponeblajn aparatajn opciojn. -p n, --prebuffer n Åœargas je n%% el la eniga bufro antaÅ­ ol ludi -q, --quiet Ne montrigas ion ajn (neniu titolo) -r, --repeat Ripetadas la muzikliston nedifinite -t "nomo=valoro", --tag "nomo=valoro" Specifas komentan etikedon ĉe la komand-linio -v, --verbose Montrigas evoluan kaj aliajn statusajn informojn -w, --write Skribas komentojn, anstataÅ­igante la jam ekzistantajn -x n, --nth n Ludas ĉiun 'n'-an blokon -y n, --ntimes n Ripetas ĉiun luditan blokon 'n' foje -z, --shuffle Miksas la liston de dosieroj antaÅ­ ol ludi --advanced-encode-option opcio=valoro Difinas alnivelan enkodigan opcion por la indikita valoro. La validaj opcioj (kaj ties valoroj) estas priskribitaj en la 'man'-paÄo disponigita kun tiu ĉi programo. Ili celas precipe alnivelajn uzantojn, kaj devus esti uzata tre singarde. --bits, -b Bit-profundeco por eligo (8 kaj 16 subtenatas) --endianness, -e Eliga bajtordo por 16-bita eligo; 0 por pezfina ordo (implicite), 1 por pezkomenca. --help, -h Produktas tiun ĉi help-mesaÄon. --managed Åœaltas la motoron por mastrumado de bitrapido. Tio permesos multe pli grandan precizecon por specifi la uzata(j)n bitrapido(j)n, tamen la enkodado estos multe pli malrapida. Ne uzu tion, krom se vi bezonegas bonan precizecon por bitrapido, ekzemple dum sonfluo. --output, -o Eligas al specifita dosiernomo. Nur eblas esti uzata se ekzistas nur unu eniga dosiero, krom en kruda reÄimo. --quiet, -Q Silenta reÄimo. Neniu konzola eligo. --raw, -R Kruda (senkapa) eligo. --resample n Reakiradas enigan datumaron per rapideco 'n' (Hz). --downmix Enmiksas dukanalon al unukanalo. Nur ebligita por dukanala enigo. -s, --serial Specifas serian numeron por la fluo. Se oni enkodas multoblajn dosierojn, tiu numero kreskas post ĉiu fluo. --sign, -s Negativeco por eliga PCM; 0 por sensignita, 1 por signita (implicite 1). --version, -V Montrigas la versi-numeron. -N, --tracknum Bendnumero por tiu ĉi bendo -t, --title Titolo por tiu ĉi bendo -l, --album Nomo de la albumo -a, --artist Nomo de la artisto -G, --genre Muzikstilo de la bendo -X, --name-remove=s Forigas la indikitajn signojn en 's' el la parametroj de la ĉeno post -n. Utilas por validigi dosiernomojn -P, --name-replace=s AnstataÅ­igas signojn forigitaj de --name-remove per la specifitaj signoj en la ĉeno 's'. Se tiu ĉeno estos pli mallonga ol la listo en --name-remove aÅ­ tiu ne estas specifita, la signoj estos simple forigitaj. Implicitaj valoroj por la supraj du argumentoj dependas de la platformo de via sistemo. -b, --bitrate Elektas meznombran bitrapidon por enkodigo. Äœi provas enkodi je bitrapido ĉirkaÅ­ tiu ĉi valoro. Äœi prenas argumenton je kbps. AntaÅ­supoze, tio produktas VBR-enkodon, ekvivalenta al tia, kiam oni uzas la opcion -q aÅ­ --quality. Vidu la opcion --managed por uzi mastrumitan bitrapidon, kiu celu la elektitan valoron. -k, --skeleton Aldonas bitfluon 'Ogg Skeleton' -r, --raw Kruda reÄimo. Enig-dosieroj estas legataj rekte kiel PCM-datumaro -B, --raw-bits=n Difinas bitoj/specimeno por kruda enigo; implicite estas 16 -C, --raw-chan=n Difinas la nombron da kanaloj por kruda enigo; implicite estas 2 -R, --raw-rate=n Difinas specimenojn/sek por kruda enigo; implicite estas 44100 --raw-endianness 1 por pezkomenca, 0 por pezfina (implicite estas 0) -m, --min-bitrate Specifas minimuman bitrapidon (po kbps). Utilas por enkodado de kanalo kun fiksita grandeco. Tio aÅ­tomate ebligos la reÄimon de mastrumado de bitrapido (vidu la opcion --managed). -M, --max-bitrate Specifas maksimuman bitrapidon po kbps. Utilas por sonfluaj aplikaĵoj. Tio aÅ­tomate ebligos la reÄimon de mastrumado de bitrapido (vidu la opcion --managed). -q, --quality Specifas kvaliton, inter -1 (tre malalta) kaj 10 (tre alta), anstataÅ­ indiki specifan bitrapidon. Tio estas la normala reÄimo de funkciado. Frakciaj kvalitoj (ekz. 2.75) estas permesitaj. La implicita kvalito-nivelo estas 3. Eniga Bufro %5.1f%% Nomigo: -o, --output=dn Skribas dosieron kun la nomo 'dn' (nur validas por unuop- dosiera reÄimo) -n, --names=ĉeno Produktas dosiernomojn laÅ­ tiu 'ĉeno', kun %%a, %%t, %%l, %%n, %%d anstataÅ­itaj per artisto, titolo, albumo, bendnumero kaj dato, respektive (vidu sube kiel specifi tion). %%%% rezultigas la signon %%. Eliga Bufro %5.1f%%%s: malpermesita opcio -- %c %s: malvalida opcio -- %c %s: la opcio '%c%s' ne permesas argumentojn %s: la opcio '%s' estas plursignifebla %s: la opcio '%s' postulas argumenton %s: la opcio '--%s' ne permesas argumentojn %s: opcio '-W %s' ne permesas argumenton %s: la opcio '-W %s' estas plursignifebla %s: la opcio postulas argumenton -- %c %s: nerekonita opcio '--%c%s' %s: nerekonita opcio '--%s' %sEOS (flufino)%sPaÅ­zita%sAntaÅ­bufro al %.1f%%(NULL)(k) 2003-2005 Michael Smith Uzado: ogginfo [opcioj] dosiero1.ogg [dosiero2.ogx ... dosieroN.ogv] Subtenataj opcioj: -h Montras tiun ĉi help-mesaÄon -q FariÄas malpli mesaÄema. Unuope, forigas detaligajn informajn mesaÄojn; duope, forigas avertojn. -v FariÄas pli mesaÄema. Tio ebligos pli detalajn kontrolojn por kelkaj tipoj de fluoj. (neniu)--- Ne eblas malfermi la dosieron kun la ludlisto %s. Preterpasite. --- Ne eblas ludi ĉiun 0-an pecon! --- Ne eblas ludi ĉiun pecon 0 foje. --- Por testi dekodigon, uzu la nulan eligan pelilon. --- La pelilo %s indikita en la agordo-dosiero malvalidas. --- Truo en la fluo; probable ne malutile --- AntaÅ­bufra valoro ne validas. La intervalo estas 0-100. 255 kanaloj devus sufiĉi por ĉiuj. (Pardonon, Vorbis ne subtenas pli ol tiom) === Ne eblis Åargi je antaÅ­supozita pelilo kaj neniu alia estas indikita en la agordo-dosiero. Nepras eliro. === La pelilo %s ne estas pelilo por eliga dosiero. === Eraro "%s" dum analizado de agorda opcio el la komandlinio. === La opcio estis: %s === MalÄusta opcia formo: %s. === Neniu tia aparato: %s. === Malkohero en opcioj: La fina tempo estas antaÅ­ la komenca. === Eraro de malkomponado: %s ĉe linio %d de %s (%s) === La biblioteko de Vorbis raportis eraron pri fluo. Legilo de dosiero AIFF/AIFCAÅ­toro: %sDisponeblaj dekodiloj: Disponeblaj opcioj: Avg bitrapido: %5.1fMalbona komento: "%s" Malbona tipo en la listo de opciojMalbona valoroPezkomenca 24-bita PCM-a datumaro ne estas aktuale subtenata, ni ĉesigas. Konsiletoj pri bitrapido: supra=%ld meznombra=%ld suba=%ld intervalo=%ldBitflua eraro, ni daÅ­rigas Ne eblas malfermi %s. La malaltpasa frekvenco ÅanÄis de %f kHz al %f kHz Komentoj: %sDisrompita aÅ­ malkompleta datumaro, ni daÅ­rigas...Disrompita dua datumkapo.Ne eblis trovi procezilon por la fluo, do ni forlasas Äin Ne eblis pretersalti %f sekundoj da sonigo.Ne eblis pretersalti al %f en la sonfluo.Ne eblis konverti la komenton al UTF-8, ne eblas aldoni Ne eblis krei la dosierujon "%s": %s Ne eblis disponi sufiĉe da memoro por eniga bufrado.Ne eblis disponi sufiĉe da memoro por registri novan seri-numeron de fluo.Ne eblis lanĉi la specimen-reakirilon Ne eblis malfermi %s-on por legado Ne eblis malfermi %s-on por skribado Ne eblis malkomponi la tondpunkton "%s" Dekodaj opcioj AntaÅ­supozePriskriboFarita.Enmiksado de dukanalo al unukanalo EOF (dosier-fino) antaÅ­ rekonita fluo.ERARO: Ne eblas malfermi la enig-dosieron "%s": %s ERARO: Ne eblas malfermi la elig-dosieron "%s": %s ERARO: Ne eblis krei postulatajn subdosierujojn por la elig-dosiernomo "%s" ERARO: La enig-dosiero "%s" ne estas subtenata formo ERARO: La enig-dosieromo estas la sama ol la elig-dosiernomo "%s" ERARO: Pluraj dosieroj estis indikitaj dum uzo de 'stdin' ERARO: Pluraj enig-dosieroj kun elig-dosiernomo indikita: ni sugestas uzon de -n ERARO: Neniu enig-dosiero estis indikita. Uzu la opcion -h por helpo. Redaktadaj opcioj Ni ebligas la motoron kiu regas bitrapidon Enkodita de: %sEnkodado de %s%s%s al %s%s%s je proksimuma bitrapido %d kbps (VBR-enkodado ebligita) Enkodado de %s%s%s al %s%s%s je meza bitrapido %d kbps Enkodado de %s%s%s al %s%s%s je kvalitnivelo %2.2f Enkodado de %s%s%s al %s%s%s je kvalitnivelo %2.2f uzante limigitan VBR-on Enkodado de %s%s%s al %s%s%s uzante regadon de bitrapido Okazis eraro kiam ni kontrolis ekziston de la dosierujo %s: %s Eraro dum malfermo de %s uzante la modulon %s-on. La dosiero povas esti disrompita. Eraro dum malfermo de la koment-dosiero '%s' Eraro dum malfermo de la koment-dosiero '%s'. Eraro dum malfermado de la enig-dosiero "%s": %s Eraro dum malfermo de la enig-dosiero '%s'. Eraro dum malfermo de la elig-dosiero '%s'. Eraro dum legado de la unua paÄo de Ogg-bitfluo.Eraro dum legado de la komenca kapo-pako.Eraro dum forigo de malÄusta provizora dosiero %s Eraro dum forigo de la malnova dosiero '%s' Eraro dum renomigo de '%s' al '%s' Eraro nekonata.Eraro dum skribado de fluo al la eligo. La elig-fluo povas esti disrompita aÅ­ tranĉita.Eraro: Ne eblis krei sonigan bufron. Eraro: Mankis memoro en decoder_bufferd_metadata_callback(). Eraro: Mankis memoro en new_print_statistics_arg(). Eraro: la pado-segmento "%s" ne estas dosierujo Ekzemploj: vorbiscomment -a enig.ogg -c komentoj.txt vorbiscomment -a enig.ogg -t "ARTIST=Iu Homo" -t "TITLE=Iu Titolo" Legilo de dosiero FLACFLAC, Malsukceso dum difino de altnivelaj rapidec-administraj parametroj Malsukceso dum difino de bitrapido min/maks en kvalita reÄimo Malsukcesis skribo de komentoj al la elig-dosiero: %s Malsukceso dum skribado de datumaro al la elfluo Malsukceso dum skribado de kapo al la elfluo Dosiero:Dosiero: %sSe neniu elig-dosiero estas indikita, vorbiscomment modifos la enig-dosieron. Tio estas traktata per provizora dosiero, tiel ke la enig-dosiero ne estu modifita okaze de iu eraro dum la procezado. La grandeco de la eniga bufro malpligrandas ol permesite: %dkB.La enig-dosiernomo eble ne estas la sama ol la elig-dosiernomo La enigo ne estas Ogg-bitfluo.La enigo ne esta ogg. Enigaj opcioj La enigo estas tranĉita aÅ­ malplena.Interna eraro dum analizado de la komandlinaj opcioj Interna eraro dum analizado de la opcioj de la komandlinio. Interna eraro dum malkomponado de la komandliniaj opcioj Interna eraro: provo legi nesubtenatan bitprofundecon %d Åœlosilo ne trovitaListigi aÅ­ redakti komentojn en dosieroj Ogg Vorbis. Listigaj opcioj Samtempe:La logika fluo %d finiÄis Eraro pri rezervo de memoro en stats_init() Mikstemaj opcioj La ekdifino de reÄimo malsukcesis: nevalidaj parametroj por bitrapido La ekdifino de reÄimo malsukcesis: nevalidaj parametroj por kvalito NomoNova logika datum-fluo (num.: %d, serio: %08x): tipo %s Neniu enig-dosiero estis specifica. Uzu "ogginfo -h" por helpo Neniu ÅlosiloNeniu modulo povus esti trovita por legi el %s. Neniu valoro por la opcio de alnivela enkodilo estis trovita Rimarko: La fluo %d havas seri-numero %d, kiu estas permesita, sed Äi povas kaÅ­zi problemojn kun kelkaj iloj. OPCIOJ: Äœenerale: -Q, --quiet Produktas neniun eligon al 'stderr' -h, --help Montrigas tiun ĉi helpo-tekston -V, --version Montrigas la versi-numeron Legilo de dosiero Ogg FLACFluo de Ogg Vorbis: %d kanalo, %ld HzOgg Vorbis. La Ogg-bitfluo ne enhavas subtenatan datum-tipon.Oni preterobservis la limojn por intermiksado: aperis nova fluo antaÅ­ la fino de ĉiuj antaÅ­aj fluojMalfermado kun %s-modulo: %s Eligaj opcioj Estis trovita paÄo por la fluo post signo EOS (flufino)Oni ludas: %sMuziklistaj opcioj La procezado malsukcesis Procezado de la dosiero "%s"... Procezado: Ni tondas je %lld specimenoj La kvalita opcio "%s" ne estis rekonita, ni preteratentas Legilo de dosiero RAWPeti minimuman aÅ­ maksimuman bitrapidon postulas la opcion --managed Reakirado de enigo el %d Hz al %d Hz Reskalado de la enigo al %f Difinu kromajn postuligajn kvalito-limigojn Ni difinas la alnivelan enkodilan opcion "%s" al %s Oni preterpasas pecon el tipo "%s", grandeco %d Speex, SukcesoSubtenataj opcioj: Eraro de la sistemoLa dosierformo de %s ne estas subtenata. Tiu ĉi versio de 'libvorbisenc' ne povas difini alnivelajn rapidec-administrajn parametrojn Horo: %sTipoNekonata eraroNerekonita altnivela opcio "%s" Uzado: ogg123 [opcioj] dosiero ... Ludi son-dosierojn kaj retfluojn Ogg. Uzado: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg] Uzado: oggenc [opcioj] enigdosiero [...] Uzado: ogginfo [opcioj] dosiero1.ogg [dosiero2.ogx ... dosieroN.ogv] ogginfo estas ilo kiu montras informaron pri Ogg-dosieroj kaj helpas malkovri problemojn pri ili. Kompleta helpo estas montrata per "ogginfo -h". Formo de Vorbis: Versio %dAVERTO: Ne eblas enmiksi, krom de dukanalo al unukanalo AVERTO: Ne eblis legi pez-ordan argumenton "%s" AVERTO: Ne eblis legi reakiradan frekvencon "%s" AVERTO: ni preteratentas malpermesitan specialan signon '%c' en la nomformo AVERTO: Nesufiĉe da titoloj estis specifitaj: promanke al la lasta titolo. AVERTO: Nevalida bitoj/specimeno estis specifita, ni konsideros kiel 16. AVERTO: Nevalida kanal-nombro estis specifita, ni konsideros kiel 2. AVERTO: Nevalida akiro-rapido estis specifita, ni konsideros kiel 44100. AVERTO: Tromultaj anstataÅ­igoj de filtriloj de nomformo-indikoj estis specifitaj, ni uzos la lastan AVERTO: Tromultaj filtriloj de nomformo-indikoj estis specifitaj, ni uzos la lastan AVERTO: Tromultaj formo-indikoj por nomoj estis specifitaj, ni uzos la lastan AVERTO: Tromultaj eligaj dosieroj estis specifitaj, tio sugestas uzon de -n AVERTO: Kruda bitoj/specimeno estis specifita por nekruda datumaro. Ni konsideros ke la enigo estas kruda. AVERTO: Kruda kanal-nombro estis specifita por nekruda datumaro. Ni konsideros ke la enigo estas kruda. AVERTO: Kruda pez-ordo estis specifita por nekruda datumaro. Ni konsideros ke la enigo estas kruda. AVERTO: Kruda akiro-rapido estis specifita por nekruda datumaro. Ni konsideros ke la enigo estas kruda. AVERTO: Nekonata opcio estis specifita, ni preteratentas-> AVERTO: la kvalito nivelo estas tro alta, ni uzos la maksimuman valoron. Averto el ludlisto %s: Ne eblis legi la dosierujon %s. Averto: Ne eblis legi la dosierujon %s. Averto: Neatendita EOF (fino de dosiero) dum lego de WAV-kapo malbona komento: "%s" buleosignoimplicita eliga aparatoduobla precizecoglitkomaentjeroneniu ago estis indikita neniude %sogg123 el %s %soggdec el %s %s oggenc el %s %s ogginfo el %s %s aliaripeti muzikliston ĉiamehazard-orda ludlistoordinara enigoordinara eligoĉenovorbiscomment el %s %s farite de Fondaĵo Xiph.Org (http://www.xiph.org/) vorbiscomment traktas komentojn kiuj estu laÅ­ la formo "nomo=valoro", po unu por linio. Implicite, komentoj estas skribitaj al 'stdout' dum listado, kaj estas legitaj el 'stdin' dum redaktado. Alternative, dosiero povas esti indikita per la opcio -c, aÅ­ etikedoj povas esti indikitaj en la komand-linio per -t "nomo=valoro". Uzo de -c aÅ­ -t malebligas legi el 'stdin'. vorbis-tools-1.4.2/po/stamp-po0000644000175000017500000000001214002243561013170 00000000000000timestamp vorbis-tools-1.4.2/po/POTFILES.in0000644000175000017500000000132213767140576013312 00000000000000# files to translate # ogg123 ogg123/audio.c ogg123/buffer.c ogg123/callbacks.c ogg123/cfgfile_options.c ogg123/cmdline_options.c ogg123/file_transport.c ogg123/format.c ogg123/http_transport.c ogg123/ogg123.c ogg123/oggvorbis_format.c ogg123/playlist.c ogg123/speex_format.c ogg123/status.c ogg123/transport.c ogg123/vorbis_comments.c # oggdec oggdec/oggdec.c # oggenc oggenc/audio.c oggenc/encode.c oggenc/lyrics.c oggenc/oggenc.c oggenc/platform.c oggenc/resample.c # ogginfo ogginfo/ogginfo2.c # shared share/charset.c share/charset_test.c share/getopt.c share/getopt1.c share/iconvert.c share/makemap.c share/utf8.c #vcut vcut/vcut.c # vorbiscomment vorbiscomment/vcedit.c vorbiscomment/vcomment.c vorbis-tools-1.4.2/po/Makefile.in.in0000644000175000017500000003552413767140576014222 00000000000000# Makefile for PO directory in any package using GNU gettext. # Copyright (C) 1995-1997, 2000-2007 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.17 GETTEXT_MACRO_VERSION = 0.17 PACKAGE = @PACKAGE@ VERSION = @VERSION@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ datadir = @datadir@ localedir = @localedir@ gettextsrcdir = $(datadir)/gettext/po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ # We use $(mkdir_p). # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, # @install_sh@ does not start with $(SHELL), so we add it. # In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake # versions, $(mkinstalldirs) and $(install_sh) are unused. mkinstalldirs = $(SHELL) @install_sh@ -d install_sh = $(SHELL) @install_sh@ MKDIR_P = @MKDIR_P@ mkdir_p = @mkdir_p@ GMSGFMT_ = @GMSGFMT@ GMSGFMT_no = @GMSGFMT@ GMSGFMT_yes = @GMSGFMT_015@ GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) MSGFMT_ = @MSGFMT@ MSGFMT_no = @MSGFMT@ MSGFMT_yes = @MSGFMT_015@ MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) XGETTEXT_ = @XGETTEXT@ XGETTEXT_no = @XGETTEXT@ XGETTEXT_yes = @XGETTEXT_015@ XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) MSGMERGE = msgmerge MSGMERGE_UPDATE = @MSGMERGE@ --update MSGINIT = msginit MSGCONV = msgconv MSGFILTER = msgfilter POFILES = @POFILES@ GMOFILES = @GMOFILES@ UPDATEPOFILES = @UPDATEPOFILES@ DUMMYPOFILES = @DUMMYPOFILES@ DISTFILES.common = Makefile.in.in remove-potcdate.sin \ $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ $(POFILES) $(GMOFILES) \ $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) POTFILES = \ CATALOGS = @CATALOGS@ # Makevars gets inserted here. (Don't remove this line!) .SUFFIXES: .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@ mv t-$@ $@ all: check-macro-version all-@USE_NLS@ all-yes: stamp-po all-no: # Ensure that the gettext macros and this Makefile.in.in are in sync. check-macro-version: @test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \ || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \ exit 1; \ } # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because # we don't want to bother translators with empty POT files). We assume that # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. # In this case, stamp-po is a nop (i.e. a phony target). # stamp-po is a timestamp denoting the last time at which the CATALOGS have # been loosely updated. Its purpose is that when a developer or translator # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent # invocations of "make" will do nothing. This timestamp would not be necessary # if updating the $(CATALOGS) would always touch them; however, the rule for # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot test ! -f $(srcdir)/$(DOMAIN).pot || \ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @test ! -f $(srcdir)/$(DOMAIN).pot || { \ echo "touch stamp-po" && \ echo timestamp > stamp-poT && \ mv stamp-poT stamp-po; \ } # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \ package_gnu='GNU '; \ else \ package_gnu=''; \ fi; \ if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ else \ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ fi; \ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ *) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --package-name="$${package_gnu}@PACKAGE@" \ --package-version='@VERSION@' \ --msgid-bugs-address="$$msgid_bugs_address" \ ;; \ esac test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ else \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ else \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ } # This rule has no dependencies: we don't need to update $(DOMAIN).pot at # every "make" invocation, only create it when it is missing. # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. $(srcdir)/$(DOMAIN).pot: $(MAKE) $(DOMAIN).pot-update # This target rebuilds a PO file if $(DOMAIN).pot has changed. # Note that a PO file is not touched if it doesn't need to be changed. $(POFILES): $(srcdir)/$(DOMAIN).pot @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ if test -f "$(srcdir)/$${lang}.po"; then \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \ cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \ 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 $(mkdir_p) $(DESTDIR)$(datadir) @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: $(mkdir_p) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ fi; \ done; \ done # Define this as empty until I found a useful application. installcheck: uninstall: uninstall-exec uninstall-data uninstall-exec: uninstall-data: uninstall-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ for file in $(DISTFILES.common) Makevars.template; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi uninstall-data-no: uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ done; \ done check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: mostlyclean: rm -f remove-potcdate.sed rm -f stamp-poT rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f stamp-po $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(MAKE) update-po @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: stamp-po $(DISTFILES) dists="$(DISTFILES)"; \ if test "$(PACKAGE)" = "gettext-tools"; then \ dists="$$dists Makevars.template"; \ fi; \ if test -f $(srcdir)/$(DOMAIN).pot; then \ dists="$$dists $(DOMAIN).pot stamp-po"; \ fi; \ if test -f $(srcdir)/ChangeLog; then \ dists="$$dists ChangeLog"; \ fi; \ for i in 0 1 2 3 4 5 6 7 8 9; do \ if test -f $(srcdir)/ChangeLog.$$i; then \ dists="$$dists ChangeLog.$$i"; \ fi; \ done; \ if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ for file in $$dists; do \ if test -f $$file; then \ cp -p $$file $(distdir) || exit 1; \ else \ cp -p $(srcdir)/$$file $(distdir) || exit 1; \ fi; \ done update-po: Makefile $(MAKE) $(DOMAIN).pot-update test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for creating PO files. .nop.po-create: @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ exit 1 # General rule for updating PO files. .nop.po-update: @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ cd $(srcdir); \ if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$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 "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) @: 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: vorbis-tools-1.4.2/po/da.po0000644000175000017500000023631214002243560012446 00000000000000# Dansk oversættelse af vorbis-tools. # Copyright (C) 2002 Free Software Foundation, Inc. # Keld Simonsen , 2002. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 0.99.1.3.1\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2002-11-09 14:59+0100\n" "Last-Translator: Keld Simonsen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Fejl: Slut på hukommelse i malloc_action().\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "Fejl: Kunne ikke reservere hukommelse i malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Fejl: Enhed ikke tilgængelig.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "Fejl: %s behøver et udfilnavn angivet med -f.\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Fejl: Ukendt flagværdi til enhed %s.\n" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Fejl: Kan ikke åbne enhed %s.\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Fejl: Fejl på enhed %s.\n" #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "Fejl: Udfil kan ikke angives for %s-enhed.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Fejl: Kan ikke åbne filen %s for at skrive.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Fejl: Fil %s findes allerede.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "Fejl: Denne fejl bør aldrig ske (%d). Panik!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "Fejl: Slut på hukommelse i new_audio_reopen_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "Fejl: Slut på hukommelse i new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "Fejl: Slut på hukommelse i new_status_message_arg().\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Fejl: Slut på hukommelse i decoder_buffered_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Fejl: Slut på hukommelse i decoder_buffered_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "Systemfejl" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Tolkningsfejl: %s på linje %d i %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Navn" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Beskrivelse" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Type" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Standardværdi" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(ingen)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Lykkedes" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Nøgle fandtes ikke" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Ingen nøgle" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Fejlagtig værdi" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Fejlagtig type i argumentliste" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Ukendt fejl" #: ogg123/cmdline_options.c:84 #, fuzzy msgid "Internal error parsing command line options.\n" msgstr "Intern fejl ved tolkning af kommandoflag\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Ind-bufferens størrelse mindre end minimumstørrelsen %dkB." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Fejl \"%s\" under tolkning af konfigurationsflag fra kommandolinjen.\n" "=== Flaget var: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "Tilgængelige flag:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== Ingen enhed %s.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== Drivrutine %s er ikke for filer.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "== Kan ikke angive udfil uden at angiv drivrutine.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Fejlagtigt format på argument: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Ugyldig værdi til prebuffer. Muligt interval er 0-100.\n" #: ogg123/cmdline_options.c:202 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 fra %s %s\n" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Kan ikke spille hver 0'te blok!\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Kan ikke spille hver blok 0 gange.\n" "--- For at lave en testafkodning, brug null-driveren for uddata.\n" #: ogg123/cmdline_options.c:233 #, fuzzy, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "FEJL: Kan ikke åbne indfil \"%s\": %s\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- Drivrutine %s angivet i konfigurationsfil ugyldig.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Kunne ikke indlæse standard-drivrutine, og ingen er specificeret i " "konfigurationsfilen. Afslutter.\n" #: ogg123/cmdline_options.c:307 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:314 #, fuzzy, c-format msgid "Available codecs: " msgstr "Tilgængelige flag:\n" #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:342 #, fuzzy, c-format msgid "File:" msgstr "Fil: %s" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" #: ogg123/cmdline_options.c:361 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Tilgængelige flag:\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:369 #, fuzzy, c-format msgid "Input options\n" msgstr "Inddata ikke ogg.\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:374 #, fuzzy, c-format msgid "Decode options\n" msgstr "Beskrivelse" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Tilgængelige flag:\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr "" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Fejl: Slut på hukommelse.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "Fejl: Kunne ikke reservere hukommelse i malloc_decoder_stats()\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Fejl: Kunne ikke sætte signalmaske." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Fejl: Kan ikke oprette ind-buffer\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "forvalgt udenhed" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "bland spillelisten" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:230 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Mislykkedes at overspringe %f sekunder lyd." #: ogg123/ogg123.c:375 #, fuzzy, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Enhed: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Forfatter: %s" #: ogg123/ogg123.c:377 #, fuzzy, c-format msgid "Comments: %s" msgstr "Kommentarer: %s\n" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Kunne ikke oprette katalog \"%s\": %s\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Fejl: Kan ikke oprette lydbuffer.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Finder intet modul til at læse fra %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Kan ikke åbne %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Filformatet på %s understøttes ikke.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "Fejl under åbning af %s med %s-modulet. Filen kan være beskadiget.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "Spiller: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Mislykkedes at overspringe %f sekunder lyd." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Fejl: Afkodning mislykkedes.\n" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Færdig." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Hul i strømmen; nok ufarligt\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== Vorbis-biblioteket rapporterede en fejl i strømmen.\n" #: ogg123/oggvorbis_format.c:361 #, fuzzy, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "Bitstrømmen har %d kanaler, %ldHz" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "Forslag for bithastigheder: øvre=%ld nominel=%ld nedre=%ld vindue=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Kodet af: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "Fejl: Slut på hukommelse i new_status_message_arg().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, fuzzy, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Kunne ikke oprette katalog \"%s\": %s\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "Fejl: Slut på hukommelse i malloc_action().\n" #: ogg123/speex_format.c:366 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Bitstrømmen har %d kanaler, %ldHz" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Version: %s" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Fejlagtigt sekundær-hoved." #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, fuzzy, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sForbufr til %1.f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sPauseret" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Hukommelsestildelingsfejl i stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Fil: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "Tid: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "af %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Gennemsnitlig bithastighed: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Indbuffer %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " Udbuffer %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "Fejl: Kunne ikke reservere hukommelse i malloc_data_source_stats()\n" #: ogg123/vorbis_comments.c:41 #, fuzzy msgid "Track number:" msgstr "Spor: %s" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain (Reference loudness):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:45 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:46 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:47 #, fuzzy msgid "Copyright" msgstr "Ophavsret %s" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 #, fuzzy msgid "Comment:" msgstr "Kommentar: %s" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 fra %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: oggdec/oggdec.c:59 #, fuzzy, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "Brug: vcut indfil.ogg udfil1.ogg udfil2.ogg skærepunkt\n" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "FEJL: Kan ikke åbne indfil \"%s\": %s\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "FEJL: Kan ikke åbne udfil \"%s\": %s\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Mislykkedes at åbne fil som vorbis-type: %s\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Kodning af \"%s\" færdig\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "standard ind" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "standard ud" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Fejl ved åbning af indfil \"%s\".\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "FEJL: Ingen indfil angivet. Brug -h for hjælp.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "FEJL: Flere indfiler med angivet udfilnavn: anbefaler at bruge -n\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "WAV-fillæser" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "AIFF/AIFC-fillæser" #: oggenc/audio.c:50 #, fuzzy msgid "FLAC file reader" msgstr "WAV-fillæser" #: oggenc/audio.c:51 #, fuzzy msgid "Ogg FLAC file reader" msgstr "WAV-fillæser" #: oggenc/audio.c:129 oggenc/audio.c:459 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "Advarsel: Uventet EOF under læsning af WAV-hoved\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Overspringer bid af type \"%s\", længde %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Advarsel: Uventet EOF i AIFF-blok\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Advarsel: Ingen fælles blok i AIFF-fil\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Advarsel: Afkortet fælles blok i AIFF-hoved\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "Advarsel: Uventet EOF under læsning af AIFF-hoved\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "Advarsel: Afkortet fælles blok i AIFF-hoved\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Advarsel: AIFF-C-hoved afkortet.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "Advarsel: Kan ikke håndtere komprimeret AIFF-C\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "Advarsel: Finder ingen SSND-blok i AIFF-fil\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Advarsel: Fejlagtig SSND-blok i AIFF-hoved\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Advarsel: Uventet EOF under læsning af AIFF-hoved\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "Advarsel: OggEnc understøtter ikke denne type AIFF/AIFC-fil.\n" "Skal være 8 eller 16 bit PCM.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Advarsel: ukendt format på blok i Wav-hoved\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "Advarsel: UGYLDIGT format på blok i wav-hoved.\n" " Forsøger at læse alligevel (fungerer måske ikke)...\n" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" #: oggenc/audio.c:546 #, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" #: oggenc/audio.c:615 #, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:799 #, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "%s: ukendt flag \"--%s\"\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "" #: oggenc/encode.c:117 #, fuzzy, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "%s: ukendt flag \"--%s\"\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "" #: oggenc/encode.c:374 #, c-format msgid "WARNING: no language specified for %s\n" msgstr "" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "Mislykkedes at skrive hoved til udstrømmen\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Mislykkedes at skrive hoved til udstrømmen\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "Mislykkedes at skrive hoved til udstrømmen\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Mislykkedes at skrive hoved til udstrømmen\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Mislykkedes at skrive data til udstrømmen\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, fuzzy, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [%2dm%.2ds resterer] %c" #: oggenc/encode.c:726 #, fuzzy, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tKoder [%2dm%.2ds til nu] %c" #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Kodning af \"%s\" færdig\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Kodning klar.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tFillængde: %dm %04.1fs\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tForløbet tid: %dm %04.1fs\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tHastighed: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tGennemsnitlig bithastighed: %.1f kb/s\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Koder %s%s%s til \n" " %s%s%s med kvalitet %2.2f\n" #: oggenc/encode.c:803 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Koder %s%s%s til\n" " %s%s%s med bithastighed %d kbps,\n" "med komplet bithastighedhåndteringsmotor\n" #: oggenc/encode.c:811 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Koder %s%s%s til \n" " %s%s%s med kvalitet %2.2f\n" #: oggenc/encode.c:818 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Koder %s%s%s til \n" " %s%s%s med kvalitet %2.2f\n" #: oggenc/encode.c:824 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Koder %s%s%s til\n" " %s%s%s med bithastighed %d kbps,\n" "med komplet bithastighedhåndteringsmotor\n" #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Mislykkedes at åbne fil som vorbis-type: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Fejl: Slut på hukommelse.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "FEJL: Kan ikke åbne indfil \"%s\": %s\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 #, fuzzy msgid "RAW file reader" msgstr "WAV-fillæser" #: oggenc/oggenc.c:131 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "FEJL: Ingen indfil angivet. Brug -h for hjælp.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "FEJL: Flere filer angivne med stdin\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "FEJL: Flere indfiler med angivet udfilnavn: anbefaler at bruge -n\n" #: oggenc/oggenc.c:217 #, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "FEJL: Kan ikke åbne indfil \"%s\": %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Åbner med %s-modul: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "FEJL: Indfil \"%s\" er ikke i et kendt format\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "FEJL: Indfil \"%s\" er ikke i et kendt format\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "ADVARSEL: Intet filnavn, bruger forvalgt navn \"default.ogg\"\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "FEJL: Kunne ikke oprette kataloger nødvendige for udfil \"%s\"\n" #: oggenc/oggenc.c:363 #, fuzzy, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "FEJL: Kunne ikke oprette kataloger nødvendige for udfil \"%s\"\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "FEJL: Kan ikke åbne udfil \"%s\": %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "" #: oggenc/oggenc.c:441 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 fra %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "ADVARSEL: Ignorerer ikke tilladt specialtegn '%c' i navneformat\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "" #: oggenc/oggenc.c:773 #, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "Kunne ikke tolke skærepunkt \"%s\"\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "" #: oggenc/oggenc.c:831 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" #: oggenc/oggenc.c:870 #, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:878 #, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:892 #, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Kunne ikke oprette katalog \"%s\": %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "" #: ogginfo/ogginfo2.c:115 #, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" #: ogginfo/ogginfo2.c:127 #, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:216 msgid "WARNING: Invalid header page, no packet found\n" msgstr "" #: ogginfo/ogginfo2.c:246 #, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" #: ogginfo/ogginfo2.c:278 #, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:305 #, fuzzy, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Fejl ved åbning af indfil \"%s\".\n" #: ogginfo/ogginfo2.c:310 #, fuzzy, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "\n" "\n" "Kodning af \"%s\" færdig\n" #: ogginfo/ogginfo2.c:319 #, fuzzy msgid "Could not find a processor for stream, bailing\n" msgstr "Kunne ikke åbne %s for læsning\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:337 #, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "" #: ogginfo/ogginfo2.c:352 #, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:355 #, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:361 #, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "" #: ogginfo/ogginfo2.c:384 #, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:395 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 fra %s %s\n" #: ogginfo/ogginfo2.c:400 #, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:401 #, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:422 #, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" #: ogginfo/ogginfo2.c:456 #, fuzzy, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "" "%s%s\n" "FEJL: Ingen indfil angivet. Brug -h for hjælp.\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: flag \"%s\" er flertydigt\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: flag \"--%s\" tager intet argument\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: flag \"%c%s\" tager intet argument\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: flag \"%s\" kræver et argument\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: ukendt flag \"--%s\"\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: ukendt flag \"%c%s\"\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: ikke tilladt flag -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: ugyldigt flag -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: flaget kræver et argument -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: flaget `-W %s' er flertydigt\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: flaget `-W %s' tager intet argument\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Kunne ikke tolke skærepunkt \"%s\"\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Kunne ikke tolke skærepunkt \"%s\"\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Kunne ikke åbne %s for skrivning\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "Brug: vcut indfil.ogg udfil1.ogg udfil2.ogg skærepunkt\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Kunne ikke åbne %s for læsning\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Kunne ikke tolke skærepunkt \"%s\"\n" #: vcut/vcut.c:287 #, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "" #: vcut/vcut.c:289 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Nøgle fandtes ikke" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Mislykkedes at skrive kommentar til udfil: %s\n" #: vcut/vcut.c:505 #, c-format msgid "BOS not set on first page of stream\n" msgstr "" #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Intern fejl ved tolkning af kommandoflag\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Sekundært hoved fejlagtigt\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Fejl i primært hoved: ikke vorbis?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "Inddata ikke ogg.\n" #: vcut/vcut.c:616 #, c-format msgid "Page error, continuing\n" msgstr "" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "" #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "" #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "Inddata trunkeret eller tomt." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "Inddata er ikke en Ogg-bitstrøm." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Ogg-bitstrøm indeholder ikke vorbisdata." #: vorbiscomment/vcedit.c:555 #, fuzzy msgid "EOF before recognised stream." msgstr "EOF før slutningen på vorbis-hovedet." #: vorbiscomment/vcedit.c:568 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Ogg-bitstrøm indeholder ikke vorbisdata." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Fejlagtigt sekundær-hoved." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "EOF før slutningen på vorbis-hovedet." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "Data ødelagt eller mangler, fortsætter..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "Fejl under skrivning af udstrøm. Kan være ødelagt eller trunkeret." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Mislykkedes at åbne fil som vorbis-type: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Fejlagtig kommentar: \"%s\"\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "fejlagtig kommentar: \"%s\"\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Mislykkedes at skrive kommentar til udfil: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "Kunne ikke konvertere til UTF8, kan ikke tilføje\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:622 #, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:632 #, fuzzy, c-format msgid "Editing options\n" msgstr "Fejlagtig type i argumentliste" #: vorbiscomment/vcomment.c:633 #, c-format msgid " -a, --append Update comments\n" msgstr "" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" #: vorbiscomment/vcomment.c:672 #, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Intern fejl ved tolkning af kommandoflag\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Fejl ved åbning af indfil \"%s\".\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Fejl ved åbning af udfil \"%s\".\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Fejl ved åbning af kommentarfil \"%s\".\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Fejl ved åbning af kommentarfil \"%s\"\n" #: vorbiscomment/vcomment.c:927 #, fuzzy, c-format msgid "Error removing old file %s\n" msgstr "Fejl ved åbning af udfil \"%s\".\n" #: vorbiscomment/vcomment.c:929 #, fuzzy, c-format msgid "Error renaming %s to %s\n" msgstr "Fejl ved åbning af indfil \"%s\".\n" #: vorbiscomment/vcomment.c:938 #, fuzzy, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Fejl ved åbning af udfil \"%s\".\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "WAV-fillæser" #, fuzzy #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Intern fejl ved tolkning af kommandoflag\n" #, fuzzy #~ msgid "oggenc from %s %s" #~ msgstr "ogg123 fra %s %s\n" #, fuzzy #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Version: %s" #, fuzzy #~ msgid "Vendor: %s\n" #~ msgstr "leverandør=%s\n" #, fuzzy #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "" #~ "\tGennemsnitlig bithastighed: %.1f kb/s\n" #~ "\n" #, fuzzy #~ msgid "Version: %d\n" #~ msgstr "Version: %s" #, fuzzy #~ msgid "Vendor: %s (%s)\n" #~ msgstr "leverandør=%s\n" #, fuzzy #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "Dato: %s" #, fuzzy #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "" #~ "\tGennemsnitlig bithastighed: %.1f kb/s\n" #~ "\n" #, fuzzy #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "" #~ "\tGennemsnitlig bithastighed: %.1f kb/s\n" #~ "\n" #, fuzzy #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "" #~ "\tGennemsnitlig bithastighed: %.1f kb/s\n" #~ "\n" #, fuzzy #~ msgid "Version: %d.%d\n" #~ msgstr "Version: %s" #, fuzzy #~ msgid "Category: %s\n" #~ msgstr "Dato: %s" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "Skærepunkt uden for strømmen. Anden fil vil være tom\n" #, fuzzy #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "Skærepunkt uden for strømmen. Anden fil vil være tom\n" #~ msgid "Error in first page\n" #~ msgstr "Fejl på første side\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "fejl i første pakke\n" #~ msgid "EOF in headers\n" #~ msgstr "EOF i hoved\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "ADVARSEL: vcut er stadigvæk et eksperimentelt program.\n" #~ "Undersøg resultatet inden kilderne slettes.\n" #~ "\n" #~ msgid "Internal error: long option given when none expected.\n" #~ msgstr "Intern fejl: langt flag brugt når det ikke forventedes.\n" #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiphophorus Team (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 fra %s %s\n" #~ " af Xiphophorus-gruppen (http://www.xiph.org/)\n" #~ "\n" #~ "Brug: ogg123 [] ...\n" #~ "\n" #~ " -h, --help denne hjælpeteksten\n" #~ " -V, --version vis Ogg123's version\n" #~ " -d, --device=d brug 'd' som ud-enhed\n" #~ " Mulige enheder er ('*'=direkte, '@'=fil):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -b n, --buffer n use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n load n%% of the input buffer before playing\n" #~ " -v, --verbose display progress and other status information\n" #~ " -q, --quiet don't display anything (no title)\n" #~ " -x n, --nth play every 'n'th block\n" #~ " -y n, --ntimes repeat every played block 'n' times\n" #~ " -z, --shuffle shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=filnavn Angiv udfilens navn for tidligere valgt \n" #~ " filenhed (med -d).\n" #~ " -k n, --skip n Overspring de første n sekunder\n" #~ " -o, --device-option=k:v videresend særligt\n" #~ " flag k med værdi v til tidligere valgt enhed (med -d).\n" #~ " Se manualen for mere information.\n" #~ " -b n, --buffer n brug en ind-buffer på n kilobyte\n" #~ " -p n, --prebuffer n indlæs n%% af ind-bufferen inden afspilning\n" #~ " -v, --verbose vis fremadskridende og anden statusinformation\n" #~ " -q, --quiet vis ingenting (ingen titel)\n" #~ " -x n, --nth spil hver n'te blok\n" #~ " -y n, --ntimes gentag hvert spillet blok n gange\n" #~ " -z, --shuffle spil i tilfældig rækkefølge\n" #~ "\n" #~ "ogg123 hoppar til næste spor hvis den får en SIGINT (Ctrl-C); to SIGINT\n" #~ "inden for s millisekunder gør at ogg123 afsluttes.\n" #~ " -l, --delay=s sæt s [millisekunder] (standard 500).\n" #~ msgid "Error: Out of memory in new_curl_thread_arg().\n" #~ msgstr "Fejl: Slut på hukommelse i new_curl_thread_arg().\n" #~ msgid "Artist: %s" #~ msgstr "Artist: %s" #~ msgid "Album: %s" #~ msgstr "Album: %s" #~ msgid "Title: %s" #~ msgstr "Titel: %s" #~ msgid "Organization: %s" #~ msgstr "Organisation: %s" #~ msgid "Genre: %s" #~ msgstr "Genre: %s" #~ msgid "Description: %s" #~ msgstr "Beskrivelse: %s" #~ msgid "Location: %s" #~ msgstr "Sted: %s" #~ msgid "Version is %d" #~ msgstr "Version %d" #~ msgid "" #~ "Warning: Vorbis is not currently tuned for this input (%.3f kHz).\n" #~ " At other than 44.1/48 kHz quality will be degraded.\n" #~ msgstr "" #~ "Advarsel: Vorbis er i øjeblikket ikke justeret for denne\n" #~ "samplingsfrekvens på inddata (%.3f kHz). Kvaliteten bliver forværret\n" #~ "ved anden frekvens end 44.1/48 kHz.\n" #~ msgid "" #~ "Warning: Vorbis is not currently tuned for this input (%.3f kHz).\n" #~ " At other than 44.1/48 kHz quality will be significantly degraded.\n" #~ msgstr "" #~ "Advarsel: Vorbis er i øjeblikket ikke justeret for denne\n" #~ " samplingsfrekvens (%.3f kHz). Ved andet end 44.1 eller 48 kHz bliver\n" #~ " kvaliteten væsentligt forværret.\n" #, fuzzy #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel.\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications.\n" #~ " -q, --quality Specify quality between 0 (low) and 10 (high),\n" #~ " instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times.\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 16 or 8 bit PCM WAV, AIFF, or AIFF/" #~ "C\n" #~ " files. Files may be mono or stereo (or more channels) and any sample " #~ "rate.\n" #~ " However, the encoder is only tuned for rates of 44.1 and 48 kHz and " #~ "while\n" #~ " other rates will be accepted quality will be significantly degraded.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an outfile filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "Brug: oggenc [flag] indfil.wav [...]\n" #~ "\n" #~ "FLAG:\n" #~ " Generelle:\n" #~ " -Q, --quiet Skriv ikke på stderr\n" #~ " -h, --help Vis denne hjælpetekst\n" #~ " -r, --raw Rå-tilstand. Indfiler læses direkte som PCM-data\n" #~ " -B, --raw-bits=n Vælg bit/sample for rå-inddata. Standardværdi er " #~ "16\n" #~ " -C, --raw-chan=n Vælg antal kanaler for rå-inddata. Standardværdi er " #~ "2\n" #~ " -R, --raw-rate=n Vælg samplinger/sekund for rå-inddata. " #~ "Standardværdi er 44100\n" #~ " -b, --bitrate Vælg en nominel bithastighed at kode\n" #~ " i. Forsøger at kode med en bithastighed som i\n" #~ " gennemsnit bliver denne. Tager et argument i kbps.\n" #~ " -m, --min-bitrate Angiv minimal bithastighed (i kbps). Brugbart\n" #~ " til at kode for en kanal med bestemt størrelse.\n" #~ " -M, --max-bitrate Angiv maksimal bithastighed (i kbps). Nyttigt\n" #~ " for strømmende applikationer.\n" #~ " -q, --quality Angiv kvalitet mellem 0 (lav) og 10 (høj),\n" #~ " i stedet til at angiv særlige bithastigheder.\n" #~ " Dette er den normale arbejdsmåde. Kvalitet i\n" #~ " brøkdele (fx 2.75) er tilladt.\n" #~ " -s, --serial Angiv et serienummer for strømmen. Hvis flere\n" #~ " filer kodes vil dette blive øget for hver\n" #~ " strøm efter den første.\n" #~ "\n" #~ " Navngivning:\n" #~ " -o, --output=fn Skriv til fil fn (kun gyldig for enkeltstående " #~ "fil)\n" #~ " -n, --names=streng Opret filer med navn ifølge streng, hvor %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d erstattes med artist, titel, album, spor\n" #~ " respektive dato (se nedenfor for at angive\n" #~ " disse). %%%% giver et bogstaveligt %%.\n" #~ " -X, --name-remove=s Fjern angivne tegn fra parametrene til\n" #~ " formatstrengen for -n. God til at forsikre sig\n" #~ " om gyldige filnavne.\n" #~ " -P, --name-replace=s Erstat tegn fjernet af --name-remove med\n" #~ " angivet tegn. Hvis denne streng er kortere end\n" #~ " listen til --name-remove, eller udeladt, fjernes\n" #~ " ekstra tegn.\n" #~ " Forvalgte værdier for de to ovenstående\n" #~ " argumenter afhænger af platformen.\n" #~ " -c, --comment=c Tilføj argumentstrengen som en ekstra\n" #~ " kommentar. Kan bruges flere gange.\n" #~ " -d, --date Dato for sporet (almindeligvis dato for optræden)\n" #~ " -N, --tracknum Spornummer for dette spor\n" #~ " -t, --title Titel for dette spor\n" #~ " -l, --album Navn på albummet\n" #~ " -a, --artist Navn på artisten\n" #~ " -G, --genre Sporets genre\n" #~ " Hvis flere indfiler angives vil flere tilfælde af " #~ "de\n" #~ " fem foregående flag bruges i given\n" #~ " rækkefølge. Hvis antal titler er færre end antal\n" #~ " indfiler viser OggEnc en advarsel og genbruger\n" #~ " det sidste argument. Hvis antal spornumre er\n" #~ " færre bliver de resterende filer unummererede. For\n" #~ " øvrige flag genbruges det sidste mærke uden\n" #~ " advarsel (så du fx kan angive en dato en gang\n" #~ " og bruge den for alle filer).\n" #~ "\n" #~ "INDFILER:\n" #~ " Indfiler til OggEnc skal i øjeblikket være 16 eller 8 bit RCM\n" #~ " WAV, AIFF eller AIFF/C. De kan være mono eller stereo (eller flere\n" #~ " kanaler) med vilkårlig samplingshastighed. Dog er koderen kun\n" #~ " justeret for 44.1 og 48 kHz samplingshastighed, og også selvom andre\n" #~ " hastigheder accepteres bliver kvaliteten væsentligt\n" #~ " forværret. Alternativt kan flaget --raw bruges til at bruge en\n" #~ " fil med rå PCM-data, hvilken skal være 16 bit stereo little-endian\n" #~ " PCM ('headerless wav') hvis ikke yderligere flag for rå-tilstand\n" #~ " bruges.\n" #~ " Du kan læse fra stdin gennem at angive - som navn for indfilen. I denne\n" #~ " tilstand går uddata til stdout hvis intet filnavn angives med -o\n" #~ "\n" #~ msgid "Usage: %s [filename1.ogg] ... [filenameN.ogg]\n" #~ msgstr "Brug: %s [filnavn1.ogg] ... [filnavnN.ogg]\n" #~ msgid "filename=%s\n" #~ msgstr "filnavn=%s\n" #~ msgid "" #~ "version=%d\n" #~ "channels=%d\n" #~ "rate=%ld\n" #~ msgstr "" #~ "version=%d\n" #~ "kanaler=%d\n" #~ "hastighed=%ld\n" #~ msgid "bitrate_nominal=" #~ msgstr "nominel bithastighed=" #~ msgid "bitrate_lower=" #~ msgstr "nedre bithastighed=" #~ msgid "bitrate_average=%ld\n" #~ msgstr "gennemsnitlig bithastighed=%ld\n" #~ msgid "length=%f\n" #~ msgstr "længde=%f\n" #~ msgid "playtime=%ld:%02ld\n" #~ msgstr "spilletid=%ld:%02ld\n" #~ msgid "Unable to open \"%s\": %s\n" #~ msgstr "Kan ikke åbne \"%s\": %s\n" #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ msgstr "" #~ "Brug:\n" #~ " vorbiscomment [-l] fil.ogg (lister kommentarer)\n" #~ " vorbiscomment -a ind.ogg ud.ogg (tilføjer kommentarer)\n" #~ " vorbiscomment -w ind.ogg ud.ogg (ændrer kommentarer)\n" #~ "\tfor skrivning forventes nye kommentarer på formen 'TAG=værdi'\n" #~ "\tpå stdin. Disse erstatter helt de gamle.\n" #~ " Både -a og -w accepterer et filnavn, i så fald bruges en temporær\n" #~ " fil.\n" #~ " -c kan bruges til at læse kommentarer fra en fil i stedet for\n" #~ " stdin.\n" #~ " Eksempel: vorbiscomment -a ind.ogg -c kommentarer.txt\n" #~ " tilføjer kommentarerne i kommentarer.txt til ind.ogg\n" #~ " Til slut kan du angive mærker der skal tilføjes på kommandolinjen med\n" #~ " flaget -t. Fx\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Nogen Artist\" -t \"TITLE=En titel" #~ "\"\n" #~ " (når du bruger dette flag er læsning fra kommentarfil eller\n" #~ " stdin deaktiveret)\n" vorbis-tools-1.4.2/po/hr.po0000644000175000017500000015666214002243560012504 00000000000000# Croatian translation of vorbis-tools. # Copyright (C) 2002 Free Software Foundation, Inc. # Vlatko Kosturjak , 2002. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 0.99.1.3.1\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2002-06-16 02:15-01\n" "Last-Translator: Vlatko Kosturjak \n" "Language-Team: Croatian \n" "Language: hr\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?0:1);\n" "X-Generator: TransDict server\n" #: ogg123/buffer.c:118 #, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "" #: ogg123/buffer.c:384 #, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "" #: ogg123/callbacks.c:76 msgid "ERROR: Device not available.\n" msgstr "" #: ogg123/callbacks.c:79 #, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "" #: ogg123/callbacks.c:82 #, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Ne mogu otvoriti %s.\n" #: ogg123/callbacks.c:90 #, c-format msgid "ERROR: Device %s failure.\n" msgstr "" #: ogg123/callbacks.c:93 #, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "" #: ogg123/callbacks.c:96 #, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "" #: ogg123/callbacks.c:100 #, c-format msgid "ERROR: File %s already exists.\n" msgstr "" #: ogg123/callbacks.c:103 #, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "" #: ogg123/callbacks.c:238 msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Ime" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Opis" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Tip" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "UobiÄajeno" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "niÅ¡ta" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "niz znakova" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "dvostruki" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "drugi" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(nijedan)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Uspjeh" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "KljuÄ nije pronaÄ‘en" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Nema kljuÄa" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Neispravna vrijednost" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Neispravni tip u popisu opcija" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Nepoznata greÅ¡ka" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "" #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "Raspoložive opcije:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "" #: ogg123/cmdline_options.c:144 msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "" #: ogg123/cmdline_options.c:202 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 iz %s %s\n" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" #: ogg123/cmdline_options.c:307 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:314 #, fuzzy, c-format msgid "Available codecs: " msgstr "Raspoložive opcije:\n" #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:342 #, fuzzy, c-format msgid "File:" msgstr "Datoteka: %s" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" #: ogg123/cmdline_options.c:361 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Raspoložive opcije:\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:369 #, c-format msgid "Input options\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:374 #, fuzzy, c-format msgid "Decode options\n" msgstr "Opis" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Raspoložive opcije:\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr "" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "GreÅ¡ka: Nedovoljno memorije.\n" #: ogg123/format.c:90 #, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "" #: ogg123/http_transport.c:145 msgid "ERROR: Could not set signal mask." msgstr "" #: ogg123/http_transport.c:202 msgid "ERROR: Unable to create input buffer.\n" msgstr "" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:230 #, c-format msgid "Could not skip to %f in audio stream." msgstr "" #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Autor: %s" #: ogg123/ogg123.c:377 #, fuzzy, c-format msgid "Comments: %s" msgstr "Komentari: %s\n" #: ogg123/ogg123.c:421 #, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Ne mogu otvoriti %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "Reproduciram: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "" #: ogg123/ogg123.c:666 msgid "ERROR: Decoding failure.\n" msgstr "" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Gotovo." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "" #: ogg123/oggvorbis_format.c:361 #, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Enkodirao: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "" #: ogg123/speex_format.c:366 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:372 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "InaÄica: %s" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 msgid "Cannot read header" msgstr "" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Datoteka: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "Vrijeme: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr "" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr "" #: ogg123/transport.c:71 #, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "" #: ogg123/vorbis_comments.c:41 #, fuzzy msgid "Track number:" msgstr "Broj pjesme: %s" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain (Reference loudness):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:45 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:46 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:47 #, fuzzy msgid "Copyright" msgstr "Autorska prava %s" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 #, fuzzy msgid "Comment:" msgstr "Komentar: %s" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 iz %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "" #: oggdec/oggdec.c:219 #, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "" #: oggdec/oggdec.c:268 #, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "" #: oggdec/oggdec.c:294 #, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, c-format msgid "Error writing to file: %s\n" msgstr "" #: oggdec/oggdec.c:384 #, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" #: oggdec/oggdec.c:389 #, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" #: oggenc/audio.c:47 msgid "WAV file reader" msgstr "" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "" #: oggenc/audio.c:50 msgid "FLAC file reader" msgstr "" #: oggenc/audio.c:51 msgid "Ogg FLAC file reader" msgstr "" #: oggenc/audio.c:129 oggenc/audio.c:459 #, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "" #: oggenc/audio.c:166 #, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "" #: oggenc/audio.c:264 #, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "" #: oggenc/audio.c:270 #, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "" #: oggenc/audio.c:278 #, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "" #: oggenc/audio.c:289 #, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "" #: oggenc/audio.c:298 #, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "" #: oggenc/audio.c:312 #, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "" #: oggenc/audio.c:319 #, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "" #: oggenc/audio.c:325 #, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "" #: oggenc/audio.c:331 #, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "" #: oggenc/audio.c:381 #, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" #: oggenc/audio.c:439 #, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "" #: oggenc/audio.c:452 #, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" #: oggenc/audio.c:546 #, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" #: oggenc/audio.c:615 #, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:799 #, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "%s: neprepoznata opcija `--%s'\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "" #: oggenc/encode.c:117 #, fuzzy, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "%s: neprepoznata opcija `--%s'\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "" #: oggenc/encode.c:374 #, c-format msgid "WARNING: no language specified for %s\n" msgstr "" #: oggenc/encode.c:396 msgid "Failed writing fishead packet to output stream\n" msgstr "" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 msgid "Failed writing fisbone header packet to output stream\n" msgstr "" #: oggenc/encode.c:510 msgid "Failed writing skeleton eos packet to output stream\n" msgstr "" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "" #: oggenc/encode.c:726 #, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "" #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" #: oggenc/lyrics.c:66 #, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "GreÅ¡ka: Nedovoljno memorije.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 msgid "RAW file reader" msgstr "" #: oggenc/oggenc.c:131 #, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" #: oggenc/oggenc.c:217 #, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "" #: oggenc/oggenc.c:290 #, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "" #: oggenc/oggenc.c:349 #, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" #: oggenc/oggenc.c:363 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "" #: oggenc/oggenc.c:441 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 iz %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "" #: oggenc/oggenc.c:773 #, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" #: oggenc/oggenc.c:784 #, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "" #: oggenc/oggenc.c:831 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" #: oggenc/oggenc.c:870 #, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:878 #, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:892 #, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "" #: ogginfo/ogginfo2.c:115 #, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" #: ogginfo/ogginfo2.c:127 #, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:216 msgid "WARNING: Invalid header page, no packet found\n" msgstr "" #: ogginfo/ogginfo2.c:246 #, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" #: ogginfo/ogginfo2.c:278 #, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:337 #, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "" #: ogginfo/ogginfo2.c:352 #, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:355 #, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:361 #, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "" #: ogginfo/ogginfo2.c:384 #, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:395 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 iz %s %s\n" #: ogginfo/ogginfo2.c:400 #, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:401 #, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:422 #, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: opcija `%s' je nejednoznaÄna\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: opcija `--%s' ne dopuÅ¡ta argument\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: opcija `%c%s' ne dopuÅ¡ta argument\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: opcija `%s' zahtijeva argument\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: neprepoznata opcija `--%s'\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: neprepoznata opcija `%c%s'\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: nedozvoljena opcija -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: nedozvoljena opcija -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: opcija zahtijeva argument -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: opcija `-W %s' je nejednoznaÄna\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: opcija `-W %s' ne dopuÅ¡ta argument\n" #: vcut/vcut.c:129 #, c-format msgid "Couldn't flush output stream\n" msgstr "" #: vcut/vcut.c:149 #, c-format msgid "Couldn't close output file\n" msgstr "" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "" #: vcut/vcut.c:250 #, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "" #: vcut/vcut.c:287 #, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "" #: vcut/vcut.c:289 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "KljuÄ nije pronaÄ‘en" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, c-format msgid "Couldn't write packet to output file\n" msgstr "" #: vcut/vcut.c:505 #, c-format msgid "BOS not set on first page of stream\n" msgstr "" #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, c-format msgid "Internal stream parsing error\n" msgstr "" #: vcut/vcut.c:545 #, c-format msgid "Header packet corrupt\n" msgstr "" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "" #: vcut/vcut.c:561 #, c-format msgid "Error in header: not vorbis?\n" msgstr "" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "" #: vcut/vcut.c:616 #, c-format msgid "Page error, continuing\n" msgstr "" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "" #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "" #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "" #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "" #: vorbiscomment/vcedit.c:541 msgid "Ogg bitstream does not contain Vorbis data." msgstr "" #: vorbiscomment/vcedit.c:555 msgid "EOF before recognised stream." msgstr "" #: vorbiscomment/vcedit.c:568 msgid "Ogg bitstream does not contain a supported data-type." msgstr "" #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "" #: vorbiscomment/vcedit.c:630 msgid "EOF before end of Vorbis headers." msgstr "" #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "" #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "" #: vorbiscomment/vcomment.c:465 #, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:622 #, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:632 #, fuzzy, c-format msgid "Editing options\n" msgstr "Neispravni tip u popisu opcija" #: vorbiscomment/vcomment.c:633 #, c-format msgid " -a, --append Update comments\n" msgstr "" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" #: vorbiscomment/vcomment.c:672 #, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "" #: vorbiscomment/vcomment.c:938 #, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "" #, fuzzy #~ msgid "oggenc from %s %s" #~ msgstr "ogg123 iz %s %s\n" #, fuzzy #~ msgid "Version: %d.%d.%d\n" #~ msgstr "InaÄica: %s" #, fuzzy #~ msgid "Vendor: %s\n" #~ msgstr "Žanr: %s" #, fuzzy #~ msgid "Version: %d\n" #~ msgstr "InaÄica: %s" #, fuzzy #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "Nadnevak: %s" #, fuzzy #~ msgid "Version: %d.%d\n" #~ msgstr "InaÄica: %s" #, fuzzy #~ msgid "Category: %s\n" #~ msgstr "Nadnevak: %s" #~ msgid "Artist: %s" #~ msgstr "Umjetnik: %s" #~ msgid "Album: %s" #~ msgstr "Album: %s" #~ msgid "Title: %s" #~ msgstr "Naslov: %s" #~ msgid "Organization: %s" #~ msgstr "Organizacija: %s" #~ msgid "Description: %s" #~ msgstr "Opis: %s" #~ msgid "Location: %s" #~ msgstr "Mjesto: %s" #~ msgid "Version is %d" #~ msgstr "InaÄica je %d" vorbis-tools-1.4.2/po/ro.po0000644000175000017500000026737414002243560012516 00000000000000# Mesajele în limba românã pentru pachetul vorbis-tools # Copyright (C) 2003 Free Software Foundation, Inc. # Eugen Hoanca , 2003. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.0\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2003-04-14 06:17+0000\n" "Last-Translator: Eugen Hoanca \n" "Language-Team: Romanian \n" "Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Eroare: memorie plinã în malloc_action().\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "Eroare: nu s-a putut aloca memorie în malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Eroare: Dispozitiv(device) indisponibil.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "Eroare: %s necesitã un fiºier de output specificat cu -f.\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Eroare: valoare opþiune nesuportatã pentru device-ul %s.\n" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Eroare: nu am putut deschide dispozitivul %s\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Eroare: Probleme dispozitiv %s.\n" #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "Eroare: un fiºier de output nu a putut fi dat pentru device-ul %s.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Eroare: nu s-a putut deschide fiºierul %s pentru scriere.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Eroare: Fiºierul %s existã deja.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "Eroare: Aceastã eroare nu ar fi trebuit sã se producã (%d). Alertã!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "Eroare: Memorie plinã în new_audio_reopen_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "Eroare: Memorie plinã în new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "Eroare: Memorie plinã în new_status_message_arg.\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Eroare: Memorie plinã în decoder_buffered_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Eroare: Memorie plinã în decoder_buffered_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "Eroare sistem" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Eroare de analizã: %s în linia %d din %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Nume" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Descriere" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Tip" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Implicit" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "nimic" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "bool" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "char" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "ºir" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "int" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "float" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "double" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "altul" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(NULL)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(nimic)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Succes" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Key negãsit" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Nici un key" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Valoare greºitã" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Tip greºit in listã opþiuni" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Eroare necunoscutã" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "Eroare internã in analizã opþiuni linie comandã.\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Buffer de intrare mai mic decât mãrimea minimã de %dkB." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Eroare \"%s\" în analizã opþiuni configurare linie comandã.\n" "=== Opþiunea a fost: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "Opþiuni disponibile:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== Nu existã device-ul %s.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== Driverul %s nu este un driver de fiºier pentru output.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "" "=== Nu se poate specifica fiºier de output fãrã specificare de driver.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Format opþiune incorect: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Valoare prebuffer invalidã. Intervalul este 0-100.\n" #: ogg123/cmdline_options.c:202 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 de la %s %s\n" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Nu se poate cânta fiecare 0 fiºier!\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Nu se poate cânta o bucatã de 0 ori.\n" "--- To do a test decode, use the null output driver.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- Nu se poate deschide playlistul %s. Omis.\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- Driver invalid %s specificat in fiºierul de configurare.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Nu s-a putut incãrca driverul implicit ºi nu s-a specificat nici un " "driver in fiºierul de configurare. Ieºire.\n" #: ogg123/cmdline_options.c:307 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:314 #, fuzzy, c-format msgid "Available codecs: " msgstr "Opþiuni disponibile:\n" #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:342 #, fuzzy, c-format msgid "File:" msgstr "Fiºier: %s" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" #: ogg123/cmdline_options.c:361 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Opþiuni disponibile:\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:369 #, fuzzy, c-format msgid "Input options\n" msgstr "Intrare non ogg.\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:374 #, fuzzy, c-format msgid "Decode options\n" msgstr "Descriere" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Opþiuni disponibile:\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr "" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Eroare: memorie plinã.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "Eroare: nu s-a putut aloca memorie în malloc_decoder_Stats()\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Eroare: Nu s-a putut seta mask semnal." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Eroare: Nu s-a putut crea buffer de intrare.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "device de ieºire implicit" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "playlist amestecat" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:230 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Nu s-au putut omite %f secunde de audio." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Dispozitiv Audio: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Autor: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "Comentarii: %s" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Avertisment: Nu s-a putut citi directorul %s.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Eroare: Nu s-a putut crea bufferul audio.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Nu s-a gãsit nici un modul din care sa se citeascã %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Nu s-a putut deschide %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Formatul de fiºier %s nu este suportat.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" "Eroare la deschiderea %s utilizând modulul %s. Fiºierul poate sã fie " "corupt.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "În rulare: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Nu s-au putut omite %f secunde de audio." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Eroare: Decodare eºuatã.\n" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Finalizat." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Pauzã în stream; probabil nedãunãtoare\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== Biblioteca Vorbis a raportat o eroare de stream.\n" #: ogg123/oggvorbis_format.c:361 #, fuzzy, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "Bitstreamul este canal %d, %ldHz" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "Sfaturi bitrate: superior=%ld nominal=%ld inferior=%ld fereastrã=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Encodat de: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "Eroare: Memorie plinã în create_playlist_member().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Avertisment: Nu s-a putut citi directorul %s.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "Avertisment din playlistul %s: Nu se poate citi directorul %s.\n" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "Eroare: Memorie plinã în playlist_to_array().\n" #: ogg123/speex_format.c:366 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Bitstreamul este canal %d, %ldHz" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Versiune: %d\n" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Eroare în citirea headerelor\n" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sPrebuf cãtre %.1f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sÎn pauzã" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Eroare alocare memorie in stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Fiºier: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "Duratã: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "din %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Bitrate mediu: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr "Buffer intrare %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr "Buffer ieºire %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "Eroare: Nu s-a putut aloca memorie în malloc_data_source_stats()\n" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "Numar pistã(track):" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain (Reference loudness):" msgstr "ReplayGain (Pistã):" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "ReplayGain (Pistã):" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:45 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr "ReplayGain (Pistã):" #: ogg123/vorbis_comments.c:46 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "Copyright" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 msgid "Comment:" msgstr "Comentariu:" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 de la %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: oggdec/oggdec.c:59 #, fuzzy, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" "Folosire: vcut fiºierintrare.ogg fiºierieºire1.ogg fiºierieºire2.ogg " "punct_secþiune\n" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "EROARE: nu s-a putut deschide fiºierul \"%s\":%s\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "EROARE: Nu s-a putut scrie fiºierul de ieºire \"%s\": %s\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Nu s-a putut deschide fiºierul ca vorbis: %s\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Encodare fiºier finalizatã \"%s\"\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "intrare standard" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "ieºire standard" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Eroare in ºtergerea fiºierului vechi %s\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "EROARE: Nici un fiºier de intrare specificat. Folosiþi -h pentru help.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "EROARE: Fiºiere intrare multiple cu fiºier ieºire specificat: sugerãm " "folosirea lui -n\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "cititor fiºiere WAV" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "cititor fiºiere AIFF/AIFC" #: oggenc/audio.c:50 #, fuzzy msgid "FLAC file reader" msgstr "cititor fiºiere WAV" #: oggenc/audio.c:51 #, fuzzy msgid "Ogg FLAC file reader" msgstr "cititor fiºiere WAV" #: oggenc/audio.c:129 oggenc/audio.c:459 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "Avertisment: EOF neaºteptat în citirea headerului WAV\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Omitere bucatã tip \"%s\", lungime %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Avertisment: EOF neaºteptat în bucatã AIFF\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Avertisment: Nu s-a gãsit nici o bucatã obiºnuitã in fiºier AIFF\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Avertisment: Bucatã obiºnuitã trunchiatã în header AIFF\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "Avertismnet: EOF neaºteptat în citirea headerului AIFF\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "Avertisment: Bucatã obiºnuitã trunchiatã în header AIFF\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Avertisment: Header AIFF-C trunchiat.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "Avertisment: Nu se poate manipula AIFF-C compresat.\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "Avertisment: Nu s-a gãsit nici o bucatã SSND in fiºierul AIFF\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Avertisment: Bucatã SSND coruptã în header AIFF\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Avertisment: EOF neaºteptat în citirea headerului AIFF\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "Avertisment: OggEnc nu suportã acest tip de fiºier AIFF/AIFC\n" "Trebuie sã fie 8 sau 16 biþi PCM.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Avertisment: Format bucata nerecunoscut în header WAV\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "Avertisment: format bucatã INVALID în header wav.\n" " Se încearcã oricum citirea (s-ar putea sã nu meargã)...\n" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "EROARE: Fiºier wav în format nesuportat (trebuie sã fie standard PCM)\n" " sau tip 3 floating point PCM\n" #: oggenc/audio.c:546 #, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "EROARE: Fiºier wav în format nesuportat (trebuie sã fie 16 biþi PCM)\n" "sau floating point PCM\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:799 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "BUG: S-au primit exemple zero din resampler: fiºierul va fi trunchiat. Vã " "rugãm raportaþi asta.\n" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "Nu s-a putut iniþializa resampler\n" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "Setãri opþiuni avansate encoder \"%s\" la %s\n" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "Setãri opþiuni avansate encoder \"%s\" la %s\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "Schimbare frecvenþã lowpass de la %f kHZ la %f kHz\n" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "Opþiune avansatã nerecunoscutã \"%s\"\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, fuzzy, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" "255 de canale ar trebui sã ajungã la oricine. (Ne pare rãu, vorbis nu " "permite mai mult)\n" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "Cererea de bitrate minim sau maxim necesitã --managed\n" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "Iniþializare mod eºuatã: parametri invalizi pentru calitate\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "Iniþializare mod eºuatã: parametri invalizi pentru bitrate\n" #: oggenc/encode.c:374 #, fuzzy, c-format msgid "WARNING: no language specified for %s\n" msgstr "AVERTISMENT: Opþiune necunoscutã specificatã, se ignorã->\n" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "Nu s-a putut scrie headerul spre streamul de ieºire\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Nu s-a putut scrie headerul spre streamul de ieºire\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "Nu s-a putut scrie headerul spre streamul de ieºire\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Nu s-a putut scrie headerul spre streamul de ieºire\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Nu s-au putut scrie date spre streamul de ieºire\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, fuzzy, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [%2dm%.2ds rãmase] %c" #: oggenc/encode.c:726 #, fuzzy, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tEncodare [%2dm%.2ds pânã acum] %c" #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Encodare fiºier finalizatã \"%s\"\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Encodare finalizatã.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tDuratã fiºier: %dm %04.1fs\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tTimp trecut: %dm %04.1fs\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tRatã: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tBitrate mediu: %.1f kb/s\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Encodare %s%s%s în \n" " %s%s%s \n" "la bitrate mediu de %d kbps " #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Encodare %s%s%s în \n" " %s%s%s \n" "la bitrate de aproximativ %d kbps (encodare VBR activatã)\n" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Encodare %s%s%s în \n" " %s%s%s \n" "la nivel de calitate %2.2f utilizând VBR constrâns" #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Encodare %s%s%s to \n" " %s%s%s \n" "la calitate %2.2f\n" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Encodare %s%s%s to \n" " %s%s%s \n" "folosind management de bitrate" #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Nu s-a putut deschide fiºierul ca vorbis: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Eroare: memorie plinã.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "EROARE: nu s-a putut deschide fiºierul \"%s\":%s\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 #, fuzzy msgid "RAW file reader" msgstr "cititor fiºiere WAV" #: oggenc/oggenc.c:131 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "EROARE: Nici un fiºier de intrare specificat. Folosiþi -h pentru help.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "EROARE: Fiºiere multiple specificate pentru utilizare stdin\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "EROARE: Fiºiere intrare multiple cu fiºier ieºire specificat: sugerãm " "folosirea lui -n\n" #: oggenc/oggenc.c:217 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" "AVERTISMENT: Titluri insuficiente specificate, implicit se ia titlul final.\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "EROARE: nu s-a putut deschide fiºierul \"%s\":%s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Deschidere cu modulul %s: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "EROARE: Fiºierul de intrare \"%s\" nu este un format suportat\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "EROARE: Fiºierul de intrare \"%s\" nu este un format suportat\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "AVERTISMENT: Nici un nume de fiºier, implicit în \"default.ogg\"\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "EROARE: Nu s-au putut crea subdirectoarele necesare pentru nume fiºier " "ieºire \"%s\"\n" #: oggenc/oggenc.c:363 #, fuzzy, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "" "Numele fiºierului de intrare poate sã nu fie acelaºi cu al celui de ieºire\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "EROARE: Nu s-a putut scrie fiºierul de ieºire \"%s\": %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "Convertire (resampling) intrare din %d Hz în %d Hz\n" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Demixare stereo în mono\n" #: oggenc/oggenc.c:441 #, fuzzy, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "EROARE: Nu se poate demixa exceptând stereo în mono\n" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 de la %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" "AVERTISMENT: Se ignorã caracterul ilegal de escape '%c' în formatul de nume\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Activare motor management bitrate\n" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "AVERTISMENT: Endianess brut specificat pentru date non-brute. Se presupune " "intrare brutã.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "AVERTISMENT: Nu s-a putut citi argumentul de endianess \"%s\"\n" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "" "AVERTISMENT: nu s-a putut citi frecvenþa de remixare (resampling) \"%s\"\n" #: oggenc/oggenc.c:773 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "Avertisment: Ratã remixare (resample) specificatã la %d Hz. Doriþi cumva %d " "Hz?\n" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "" "AVERTISMENT: nu s-a putut citi frecvenþa de remixare (resampling) \"%s\"\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Nu s-a gãsit nici o valoare pentru opþiunea avansatã de encoder\n" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "Eroare internã la analiza opþiunilor din linia de comandã\n" #: oggenc/oggenc.c:831 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "Avertisment: Comentariu invalid utilizat (\"%s\"), ignorat.\n" #: oggenc/oggenc.c:870 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Avertisment: bitrate nominal \"%s\" nerecunoscut\n" #: oggenc/oggenc.c:878 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Avertisment: bitrate minim \"%s\" nerecunoscut.\n" #: oggenc/oggenc.c:892 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Avertisment: bitrate maxim \"%s\" nerecunoscut\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Opþiune de calitate \"%s\" nerecunoscuta, ignoratã\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" "AVERTISMENT: setare de calitate prea mare, se seteazã la calitate maximã.\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" "AVERTISMENT: Nume formaturi multiple specificate, se foloseºte cel final\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" "AVERTISMENT: Nume multiple formate filtre specificate, se utilizeazã cel " "final\n" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" "AVERTISMENT: Nume multiple de înlocuiri formate filtre specificate, se " "utilizeazã cel final\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" "AVERTISMENT: Fiºiere de ieºire multiple specificate, sugerãm sa folosiþi -n\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "AVERTISMENT: Biþi/sample bruþi specificaþi pentru date non-brute. Se " "presupune intrare brutã.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "AVERTISMENT: Numãr biþi/sample invalid, se presupune 16.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "AVERTISMENT: Numãrare canal brutã specificatã pentru date non-brute. Se " "presupune intrare brutã.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "AVERTISMENT: Numãrare canal specificatã invalidã, se presupune 2.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "AVERTISMENT: Ratã de sample specificatã brutã pentru date non-brute. Se " "presupune intrare brutã.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "AVERTISMENT: Ratã sample specificatã invalidã, se presupune 44100.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "AVERTISMENT: Opþiune necunoscutã specificatã, se ignorã->\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "Nu se poate converti comentariu înb UTF-8, nu se poate adãuga\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "Nu se poate converti comentariu înb UTF-8, nu se poate adãuga\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" "AVERTISMENT: Titluri insuficiente specificate, implicit se ia titlul final.\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Nu s-a putut crea directorul \"%s\": %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Eroare în verificarea existenþei directorului %s: %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "Eroare: calea segmentului \"%s\" nu este director\n" #: ogginfo/ogginfo2.c:115 #, fuzzy, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" "Stream Vorbis %d:\n" "\tLungime totalã date: %ld octeþi\n" "\tLungime playback: %ldm:%02lds\n" "\tBitrate mediu: %f kbps\n" #: ogginfo/ogginfo2.c:127 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Avertisment: EOS nesetat în streamul %d\n" #: ogginfo/ogginfo2.c:216 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Avertisment: Paginã header invalid, nici un pachet gasit\n" #: ogginfo/ogginfo2.c:246 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" "Avertisment: Paginã header invalid în streamul %d, conþine pachete multiple\n" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" #: ogginfo/ogginfo2.c:278 #, fuzzy, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "Avertisment: Lipsã de date la offsetul aproximativ" #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Eroare în deschiderea fiºierului de intrare \"%s\": %s\n" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Procesare fiºier \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "Nu s-a gãsit procesor pentru stream, se merge pe încredere\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:337 #, fuzzy, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" "Avertisment: paginã(i) plasate invalid pentru streamul logic %d\n" "Aceasta indicã un fiºier ogg corupt.\n" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "Stream logic nou (# %d, serial %08x): tip %s\n" #: ogginfo/ogginfo2.c:352 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "Avertisment: Marcajul(flag) de început al stream-ului %d nesetat\n" #: ogginfo/ogginfo2.c:355 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "" "Avertisment: Marcajul(flag) de început al stream-ului %d gãsit la mijlocul " "stream-ului\n" #: ogginfo/ogginfo2.c:361 #, fuzzy, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" "Avertisment: pauzã numãr secvenþã în stream-ul %d. S-a gãsit pagina %ld în " "loc de pagina % ld. Indicã date lipsã.\n" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "Stream logic %d terminat.\n" #: ogginfo/ogginfo2.c:384 #, fuzzy, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" "Eroare: Nu s-au gasit date ogg în fiºierul \"%s\".\n" "Intrare probabil non-ogg.\n" #: ogginfo/ogginfo2.c:395 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 de la %s %s\n" #: ogginfo/ogginfo2.c:400 #, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:401 #, fuzzy, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" "ogginfo 1.0\n" "(c) 2002 Michael Smith \n" "\n" "Folosire: ogginfo [parametri] fiºiere1.ogg [fiºier2.ogg ... fiºierN.ogg]\n" "Parametri acceptaþi:\n" "\t-h Afiºeazã acest mesaj de help\n" "\t-q Mai puþin detaliat. O singurã datã va elimina mesajele\n" "\t detaliate, de douã ori va elimina avertismentele\n" "\t-v Mai detaliat. Se vor putea activa mai multe verificãri\n" "\t detaliate pentru mai multe tipuri de stream-uri.\n" "\n" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:422 #, fuzzy, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" "Folosire: ogginfo [parametri] fiºier1.ogg [fiºier2.ogg ... fiºierN.ogg]\n" "\n" "Ogginfo este un instrument pentru tipãrirea informaþiilor despre\n" "fiºierele ogg ºi pentru diagnozarea problemelor acestora.\n" "Helpul întreg se afiºeazã cu \"ogginfo -h\".\n" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "Nici un fiºier de intrare specificat. \"ogginfo -h\" pentru ajutor\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: opþiunea `%s' este ambiguã\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: opþiunea `--%s' nu acceptã parametri\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: opþiunea `%c%s' nu permite parametri\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: opþiunea `%s' necesitã un parametru\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s opþiune nerecunoscuta `--%s'\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: opþiune nerecunoscutã `%c%s'\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: opþiune invalidã -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: opþiune invalidã -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: opþiunea necesitã un parametru -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: opþiunea `-W %s' este ambiguã\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: opþiunea `-W %s' nu permite parametri\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Nu s-a putut analiza punctul de secþiune \"%s\"\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Nu s-a putut analiza punctul de secþiune \"%s\"\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Nu s-a putut deschide %s pentru scriere\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" "Folosire: vcut fiºierintrare.ogg fiºierieºire1.ogg fiºierieºire2.ogg " "punct_secþiune\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Nu s-a putut deschide %s pentru citire\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Nu s-a putut analiza punctul de secþiune \"%s\"\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Procesare: Secþionare la %lld\n" #: vcut/vcut.c:289 #, fuzzy, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Procesare: Secþionare la %lld\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "Procesare eºuatã\n" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Key negãsit" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Nu s-au putut scrie comentarii în fiºierul de ieºire: %s\n" #: vcut/vcut.c:505 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Eroare în citirea primei pagini a bitstreamului Ogg." #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Eroare bitstream recuperabilã\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Header secundar corupt\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Eroare bitstream, se continuã\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Eroare în headerul primar: non vorbis?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "Intrare non ogg.\n" #: vcut/vcut.c:616 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Eroare bitstream, se continuã\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "S-a gãsit EOS înainte de punctul de secþiune(cut point).\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Eroare în citirea primei pagini a bitstreamului Ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Eroare în citirea pachetului iniþial de header." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "Intrare coruptã sau vidã." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "Intrarea(input) nu este un bitstream Ogg." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Bitstreamul Ogg nu conþine date vorbis." #: vorbiscomment/vcedit.c:555 #, fuzzy msgid "EOF before recognised stream." msgstr "EOF înainte de headerele vorbis." #: vorbiscomment/vcedit.c:568 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Bitstreamul Ogg nu conþine date vorbis." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Header secundar corupt." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "EOF înainte de headerele vorbis." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "Date corupte sau lipsã, se continuã..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Eroare în scrierea streamului spre ieºire. Streamul de ieºire poate fi " "corupt sau trunchiat. " #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Nu s-a putut deschide fiºierul ca vorbis: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Comentariu greºit: \"%s\"\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "comentariu greºit: \"%s\"\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Nu s-au putut scrie comentarii în fiºierul de ieºire: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "nici o acþiune specificatã\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "Nu s-a putut converti comentariul în UTF8, nu s-a putut adãuga\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:622 #, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:632 #, fuzzy, c-format msgid "Editing options\n" msgstr "Tip greºit in listã opþiuni" #: vorbiscomment/vcomment.c:633 #, c-format msgid " -a, --append Update comments\n" msgstr "" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" #: vorbiscomment/vcomment.c:672 #, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Eroare internã în analiza opþiunilor din linia comandã\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Eroare în deschiderea fiºierului '%s'.\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" "Numele fiºierului de intrare poate sã nu fie acelaºi cu al celui de ieºire\n" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Eroare în deschiderea fiºierului de ieºire '%s'.\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Eroare în deschiderea fiºierului de comentarii '%s'.\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Eroare în deschiderea fiºierului de comentarii '%s'\n" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "Eroare in ºtergerea fiºierului vechi %s\n" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "Eroare în redenumirea %s în %s\n" #: vorbiscomment/vcomment.c:938 #, fuzzy, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Eroare in ºtergerea fiºierului vechi %s\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "cititor fiºiere WAV" #, fuzzy #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Eroare internã în analiza opþiunilor din linia comandã\n" #, fuzzy #~ msgid "oggenc from %s %s" #~ msgstr "ogg123 de la %s %s\n" #, fuzzy #~ msgid "" #~ "WARNING: Comment %d in stream %d has invalid format, does not contain " #~ "'=': \"%s\"\n" #~ msgstr "" #~ "Avertisment: Comentariul %d în streamul %d este formatat invalid, nu " #~ "conþine '=': \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #~ msgstr "" #~ "Avertisment: Nume câmp comentariu invalid în comentariul %d (stream %d): " #~ "\"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #~ msgstr "" #~ "Avertisment: Secvenþã UTF-8 invalidã în comentariul %d (stream %d): " #~ "marker de lungime greºit\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #~ msgstr "" #~ "Avertisment: Secvenþã UTF-8 invalidã în comentariul %d (stream %d): prea " #~ "puþini octeþi\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence \"%s\": %s\n" #~ msgstr "" #~ "Avertisment: Secvenþã UTF-8 invalidã în comentariul %d (stream %d): " #~ "secvenþã invalidã\n" #, fuzzy #~ msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" #~ msgstr "" #~ "Avertisment: Eroare în decodorul utf8. Asta n-ar trebui sa fie posibilã.\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Theora header packet - invalid Theora stream " #~ "(%d)\n" #~ msgstr "" #~ "Avertisment: Nu s-a putut decoda header-ul packetului vorbis -- stream " #~ "vorbis invalid (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Theora stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Avertisment: Streamul vorbis %d nu are headerele corect încadrate.Pagina " #~ "de headere terminalã conþine pachete adiþionale sau granule (granulepos) " #~ "diferite de zero\n" #, fuzzy #~ msgid "Theora headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "Headerele vorbis analizate pentru streamul %d, urmeazã informaþie...\n" #, fuzzy #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Versiune: %d\n" #~ msgid "Vendor: %s\n" #~ msgstr "Vânzãtor: %s\n" #, fuzzy #~ msgid "Height: %d\n" #~ msgstr "Versiune: %d\n" #, fuzzy #~ msgid "Colourspace unspecified\n" #~ msgstr "nici o acþiune specificatã\n" #, fuzzy #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "Bitrate superior: %f kb/s\n" #~ msgid "User comments section follows...\n" #~ msgstr "Urmeaza secþiunea comentariilor utilizator..\n" #, fuzzy #~ msgid "WARNING: granulepos in stream %d decreases from %" #~ msgstr "Avertisment: granulele (granulepos) în streamul %d scad din " #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream " #~ "(%d)\n" #~ msgstr "" #~ "Avertisment: Nu s-a putut decoda header-ul packetului vorbis -- stream " #~ "vorbis invalid (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Avertisment: Streamul vorbis %d nu are headerele corect încadrate.Pagina " #~ "de headere terminalã conþine pachete adiþionale sau granule (granulepos) " #~ "diferite de zero\n" #~ msgid "Vorbis headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "Headerele vorbis analizate pentru streamul %d, urmeazã informaþie...\n" #~ msgid "Version: %d\n" #~ msgstr "Versiune: %d\n" #~ msgid "Vendor: %s (%s)\n" #~ msgstr "Vânzãtor: %s (%s)\n" #~ msgid "Channels: %d\n" #~ msgstr "Canale: %d\n" #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "" #~ "Ratã: %ld\n" #~ "\n" #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "Bitrate nominal: %f kb/s\n" #~ msgid "Nominal bitrate not set\n" #~ msgstr "Bitrate nominal nesetat\n" #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "Bitrate superior: %f kb/s\n" #~ msgid "Upper bitrate not set\n" #~ msgstr "Bitrate superior nesetat\n" #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "Bitrate inferior: %fkb/s\n" #~ msgid "Lower bitrate not set\n" #~ msgstr "Bitrate inferior nesetat\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Kate header packet %d - invalid Kate stream " #~ "(%d)\n" #~ msgstr "" #~ "Avertisment: Nu s-a putut decoda header-ul packetului vorbis -- stream " #~ "vorbis invalid (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Kate stream %d does not have headers correctly framed. Terminal " #~ "header page contains additional packets or has non-zero granulepos\n" #~ msgstr "" #~ "Avertisment: Streamul vorbis %d nu are headerele corect încadrate.Pagina " #~ "de headere terminalã conþine pachete adiþionale sau granule (granulepos) " #~ "diferite de zero\n" #, fuzzy #~ msgid "Kate headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "Headerele vorbis analizate pentru streamul %d, urmeazã informaþie...\n" #, fuzzy #~ msgid "Version: %d.%d\n" #~ msgstr "Versiune: %d\n" #, fuzzy #~ msgid "Category: %s\n" #~ msgstr "Vânzãtor: %s\n" #, fuzzy #~ msgid "No category set\n" #~ msgstr "Bitrate nominal nesetat\n" #~ msgid "\n" #~ msgstr "\n" #~ msgid "Page error. Corrupt input.\n" #~ msgstr "Eroare paginã. Intrare coruptã.\n" #, fuzzy #~ msgid "Setting EOS: update sync returned 0\n" #~ msgstr "Setare eos: update-sync a returnat valoarea 0.\n" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "" #~ "Punctul de secþiune(cutpoint) nu este în stream. Al doilea fiºier va fi " #~ "gol\n" #~ msgid "Unhandled special case: first file too short?\n" #~ msgstr "Caz special: primul fiºier prea scurt?\n" #, fuzzy #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "" #~ "Punctul de secþiune(cutpoint) nu este în stream. Al doilea fiºier va fi " #~ "gol\n" #, fuzzy #~ msgid "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " Ogg page. File may not decode correctly.\n" #~ msgstr "" #~ "EROARE: Primele 2 pachete audio nu s-au potrivit într-o\n" #~ " paginã ogg. Fiºierul s-ar putea sã nu se decodeze corect.\n" #, fuzzy #~ msgid "Update sync returned 0, setting EOS\n" #~ msgstr "Update sync a returnat 0, setând eos\n" #~ msgid "Bitstream error\n" #~ msgstr "Eroare bitstream\n" #~ msgid "Error in first page\n" #~ msgstr "Eroare în prima paginã\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "eroare în primul pachet\n" #~ msgid "EOF in headers\n" #~ msgstr "EOF în headere\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "AVERTISMENT: vcut este încã în cod experimental.\n" #~ "Verificaþi dacã fiºierele de ieºire sunt corecte înainte de a ºterge " #~ "sursele.\n" #~ "\n" #~ msgid "Error reading headers\n" #~ msgstr "Eroare în citirea headerelor\n" #~ msgid "Error writing first output file\n" #~ msgstr "Eroare în scrierea primului fiºier de ieºire\n" #~ msgid "Error writing second output file\n" #~ msgstr "Eroare în scrierea celui de-al doilea fiºier de ieºire\n" #~ msgid "malloc" #~ msgstr "malloc" #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 de la %s %s\n" #~ " de Fundaþia Xiph.org (http://www.xiph.org/)\n" #~ "\n" #~ "Folosire: ogg123 [] ...\n" #~ "\n" #~ " -h, --help acest mesaj\n" #~ " -V, --version afiºare versiune Ogg123\n" #~ " -d, --device=d foloseºte 'd' ca device de ieºire\n" #~ " Device-uri posibile sunt ('*'=live, '@'=fiºier):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -b n, --buffer n use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n load n%% of the input buffer before playing\n" #~ " -v, --verbose display progress and other status information\n" #~ " -q, --quiet don't display anything (no title)\n" #~ " -x n, --nth play every 'n'th block\n" #~ " -y n, --ntimes repeat every played block 'n' times\n" #~ " -z, --shuffle shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=nume fiºier Setare nume fiºier ieºire pentru un fiºier\n" #~ " device specificat anterior (cu -d).\n" #~ " -k n, --skip n Omitere primele 'n' secunde\n" #~ " -o, --device-option=k:v trimitere opþiune specialã k cu valoare\n" #~ " v spre device specificat anterior (cu -d). Vezi\n" #~ " pagina de manual pentru informaþii.\n" #~ " -b n, --buffer n foloseºte un buffer de intrare de 'n' kiloocteþi\n" #~ " -p n, --prebuffer n încarcã n%% din bufferul de intrare înainte de a " #~ "începe\n" #~ " -v, --verbose afiºeazã progres ºi alte informaþii de stare\n" #~ " -q, --quiet nu afiºa nimic (fãrã titlu)\n" #~ " -x n, --nth cântã fiecare 'n' bucatã'\n" #~ " -y n, --ntimes repetã fiecare bucatã de 'n' ori\n" #~ " -z, --shuffle amestecare cântece\n" #~ "\n" #~ "ogg123 va sãri la urmatorul cântec la SIGINT (Ctrl-C);2 SIGINTuri în\n" #~ "s milisecunde va opri ogg123.\n" #~ " -l, --delay=s setare întârziere s [milisecunde] (implicit 500).\n" #~ msgid "ReplayGain (Track) Peak:" #~ msgstr "ReplayGain (Pistã) Vârf:" #~ msgid "ReplayGain (Album) Peak:" #~ msgstr "ReplayGain (Album) Vârf:" #~ msgid "Version is %d" #~ msgstr "Versiunea: %d" #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps. This uses the bitrate management\n" #~ " engine, and is not recommended for most users.\n" #~ " See -q, --quality for a better alternative.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel.\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications.\n" #~ " -q, --quality Specify quality between 0 (low) and 10 (high),\n" #~ " instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " Quality -1 is also possible, but may not be of\n" #~ " acceptable quality.\n" #~ " --resample n Resample input data to sampling rate n (Hz)\n" #~ " --downmix Downmix stereo to mono. Only allowed on stereo\n" #~ " input.\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times.\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 16 or 8 bit PCM WAV, AIFF, or AIFF/" #~ "C\n" #~ " files, or 32 bit IEEE floating point WAV. Files may be mono or stereo\n" #~ " (or more channels) and any sample rate.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an outfile filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "Folosire: oggenc [opþiuni] intrare.wav [...]\n" #~ "\n" #~ "OPÞIUNI:\n" #~ " Generale:\n" #~ " -Q, --quiet Nu produce output la stderr\n" #~ " -h, --help Tipãreºte acest text de ajutor.\n" #~ " -r, --raw Mod brut. Fiºierele intrare sunt citite direct ca " #~ "date PCM\n" #~ " -B, --raw-bits=n Setare biþi/exemplu(sample) pentru intrare brutã. " #~ "Implicit este 16\n" #~ " -C, --raw-chan=n Setare numãr canale pentru intrare brutã. Implicit " #~ "este 2\n" #~ " -R, --raw-rate=n Setare exemple(samples)/sec pentru intrare brutã. " #~ "Implicit este 44100\n" #~ " --raw-endianness 1 pentru bigendian, 0 pentru puþin (little) - " #~ "(implicit 0)\n" #~ " -b, --bitrate Alegere nominalã a bitrate-ului pentru encodare. " #~ "Încercare\n" #~ " de encodare la acest bitrate aproximând aceasta. " #~ "Necesitã un\n" #~ " parametru în kbps. Foloseºte motorul de management\n" #~ " de bitrate, ºi nu este recomandat pentru mulþi " #~ "utilizatori.\n" #~ " Vedeþi -q, --quality pentru o mai bunã " #~ "alternativã.\n" #~ " -m, --min-bitrate Specificare bitrate minim (în kbps). Folositor\n" #~ " pentru encodare a unui canal cu dimensiune fixã.\n" #~ " -M, --max-bitrate Specificare bitrate maxim în kbps. Folositor\n" #~ " pentru aplicaþii de streaming.\n" #~ " -q, --quality Specificare calitate între 0 (slabã) and 10 " #~ "(superioarã),\n" #~ " în loc de specifica un anumit bitrate .\n" #~ " Acesta este modul normal de operare.\n" #~ " Calitãþi fracþionale (ex. 2.75) sunt permise.\n" #~ " E posibilã ºi calitatea -1, dar s-ar putea sa nu " #~ "fie\n" #~ " de o calitate acceptabilã.\n" #~ " --resample n Remixare date intrare în ratã sampling de n (Hz)\n" #~ " --downmix Demixare stereo în mono.Permisã doar la intrare\n" #~ " stereo.\n" #~ " -s, --serial Specificare numãr serial pentru stream. Dacã se " #~ "vor\n" #~ " encoda fiºiere multiple, acesta va fi incrementat " #~ "la\n" #~ " fiecare stream dupã primul.\n" #~ "\n" #~ " De nume:\n" #~ " -o, --output=fn Scrie fiºier în fn (valid doar în mod single-file)\n" #~ " -n, --names=ºir Produce nume fiºiere ca acest ºir cu %%a, %%p, %%l,\n" #~ " %%n, %%d înlocuite de artist, titlu, album, pistã " #~ "numãr,\n" #~ " ºi datã, respectiv (vedeþi mai jos pentru " #~ "specificarea acestora).\n" #~ " %%%% oferã cu exactitate %%.\n" #~ " -X, --name-remove=s ªterge caracterele specificate în parametri " #~ "pentru \n" #~ " formatul ºirului -n. Folositor pentru nume fiºiere " #~ "corecte.\n" #~ " -P, --name-replace=s Înlocuieºte caracterele eliminate de --name-remove " #~ "cu\n" #~ " caracterele specificate. Dacã acest ºir e mai scurt " #~ "decât\n" #~ " --name-remove list sau nu e specificat, " #~ "caracterele\n" #~ " în plus sunt pur ºi simplu ºterse.\n" #~ " Setãrile implicite pentru cele douã argumente de " #~ "mai sus sunt specifice\n" #~ " de la o platformã la alta.\n" #~ " -c, --comment=c Adãugare ºir dat ca ºi comentariu. Poate fi " #~ "folosit\n" #~ " de mai multe ori.\n" #~ " -d, --date Data pistei (de obicei data când a fost fãcut " #~ "cântecul)\n" #~ " -N, --tracknum Numãr pistã pentru aceastã pistã\n" #~ " -t, --title Titlu pentru aceastã pistã\n" #~ " -l, --album Nume album\n" #~ " -a, --artist Nume artist\n" #~ " -G, --genre Gen muzical pistã\n" #~ " Dacã se dau mai multe fiºiere de intrare\n" #~ " vor fi folosite instanþe ale anterioarelor " #~ "cinciargumente,\n" #~ " în oridnea datã. Dacã sunt specificate mai \n" #~ " puþine titluri decât fiºiere, OggEnc va tipãri un " #~ "avertisment, ºi\n" #~ " va utiliza ultimul titlu pentru restul de fiºiere " #~ "Dacã e\n" #~ " dat un numãr mai mic de piste, fiºierele rãmase nu " #~ "vor fi\n" #~ " numerotate. Pentru celelalte ultima etichetã (tag) " #~ "va fi refolositã\n" #~ " pentru toate celelalte fãrã avertisment (pentru a " #~ "putea specifica o datã\n" #~ " undeva, de exemplu, ºi a fi folositã pentru toate " #~ "fiºierele)\n" #~ "\n" #~ "FIªIERE DE INTRARE::\n" #~ " Fiºierele de intrare OggEnc trebuie sã fie fiºiere de 16 sau 8 biþi PCM " #~ "WAV, AIFF, sau AIFF/C\n" #~ " sau WAV 32 biþi IEEE în virgulã mobilã. Fiºierele pot fi mono sau " #~ "stereo\n" #~ " (sau mai multe canale) ºi la orice ratã de sample.\n" #~ " Alternativ, opþiunea --raw poate fi folositã pentru a utiliza un fiºier " #~ "de date PCM brut , care\n" #~ " trebuie sã fie 16biþi stereo little-endian PCM ('headerless wav'), dacã " #~ "nu sunt specificaþi\n" #~ " parametri suplimentari pentru modul brut.\n" #~ " Puteþi specifica luarea fiºierului din stdin folosind - ca nume fiºier " #~ "deintrare.\n" #~ " În acest mod, ieºirea e la stdout dacã nu este specificat nume fiºier de " #~ "ieºire\n" #~ " cu -o\n" #~ "\n" #~ msgid " to " #~ msgstr " spre " #~ msgid " bytes. Corrupted ogg.\n" #~ msgstr " octeþi. Ogg corupt.\n" #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ " Raw mode (--raw, -R) will read and write comments in utf8,\n" #~ " rather than converting to the user's character set. This is\n" #~ " useful for using vorbiscomment in scripts. However, this is\n" #~ " not sufficient for general round-tripping of comments in all\n" #~ " cases.\n" #~ msgstr "" #~ "Folosire: \n" #~ " vorbiscomment [-l] fiºier.ogg (pentru listã comentarii)\n" #~ " vorbiscomment -a in.ogg out.ogg (pentru adãugare comentarii)\n" #~ " vorbiscomment -w in.ogg out.ogg (pentru modificare comentarii)\n" #~ "\tîn caz de scriere, un set nou de comentarii de forma\n" #~ "\t'ETICHETÃ=valoare' se aºteaptã la stdin. Acest set va\n" #~ "\tînlocui complet setul existent.\n" #~ " Cu oricare din -a ºi -w putem lua un singur nume fiºier,\n" #~ " caz în care se va folosi un fiºier temporar.\n" #~ " -c poate fi folosit pentru extragere comentarii din fiºier \n" #~ " specificat în loc de stdin.\n" #~ " Exemplu: vorbiscomment -a in.ogg -c comments.txt\n" #~ " va adãuga comentariile din comments.txt în in.ogg\n" #~ " În final, puteþi specifica orice numar de tag-uri pentru \n" #~ " linia comandã folosind opþiunea -t option. ex.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Un tip\" -t \"TITLE=Un titlu\"\n" #~ " (notãm ca atunci când se foloseºte aceasta, cititrea comentariilor " #~ "din\n" #~ " fiºiere sau de la stdin este dezactivatã)\n" #~ " Modul brut (--raw, -R) va citi ºi scrie comentarii în utf8 mai " #~ "degrabã,\n" #~ " decât sã converteascã în setul de caractere al utilizatorului. Este\n" #~ " folositor pentru utilizarea vorbiscomment în scripturi. Oricum aceasta " #~ "nu\n" #~ " este suficientã pentru acoperirea întregului interval de comentarii în " #~ "toate\n" #~ " cazurile.\n" vorbis-tools-1.4.2/po/remove-potcdate.sin0000644000175000017500000000066013767140576015352 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 } vorbis-tools-1.4.2/po/hu.po0000644000175000017500000026012314002243560012473 00000000000000# Hungarian translate of the GNU vorbis-tools. # Copyright (C) 2002 Free Software Foundation, Inc. # Gábor István , 2002. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.0\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2004-05-07 11:38GMT\n" "Last-Translator: Gábor István \n" "Language-Team: Hungarian \n" "Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Hiba: Elfogyott a memória a malloc_action()-ban.\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "Hiba: Nem lehet lefoglalni memóriát malloc_buffer_stats()-ban\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Hiba: Eszköz nem áll rendelkezésre.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "Hiba: %s-nek szükséges egy kimeneti fájlnevet meghatározni a -f el.\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Hiba: Nem támogatott opcióérték a %s eszköznek.\n" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Hiba: Nem lehet megnyitni a %s eszközt.\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Hiba: %s eszköz hibás.\n" #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "Hiba: A kimeneti fájlt nem lehet átadni a %s eszköznek.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Hiba: A %s fájlt nem lehet megnyitni írásra.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Hiba: A %s fájl már létezik.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "Hiba: Ez a hiba soha nem történhet meg (%d). Baj van!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "Hiba: Elfogyott a memória a new_audio_reopen_arg()-ban.\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "Hiba: Elfogyott a memória a new_print_statistics_arg()-ban .\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "Hiba: Elfogyott a memória a new_status_message_arg()-ban .\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "" "Hiba: Elfogyott a memória a decoder_buffered_metadata_callback()-ban .\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "" "Hiba: Elfogyott a memória a decoder_buffered_metadata_callback()-ban .\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "Rendszerhiba" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Értelmezési hiba: %s a(z) %d. sorban %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Név" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Leírás" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Típus" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Alapértelmezett" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "nincs" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "logikai" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "karakter" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "karakterlánc" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "egész" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "lengõpontos szám" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "duplapontos" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "más" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(NULL)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(nincs)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Sikerült" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Kulcs nem található" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Nincs kulcs" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Rossz érték" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Rossz típus az opciók között" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Ismeretlen hiba" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "Belsõ hiba a parancssori opciók elemzése során\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Bevitel puffer mérete kisebb, mint %d kB." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "===Hiba \"%s\" a parancssori opciók értelmezése közben.\n" "===A hibás opció: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "Rendelkezésre álló opciók:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== Nincs ilyen eszköz: %s.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== Meghajtó %s nem kimeneti fájlba irányítható meghajtó.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "" "=== Nem lehet meghatározni a kimeneti fájlt meghajtó meghatározása nélkül.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "==== Érvénytelen kimeneti formátum: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Elõbuffer értéke érvénytelen. Érvényes tartomány: 0-100.\n" #: ogg123/cmdline_options.c:202 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 a %s %s -ból\n" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Nem lehet lejátszani a 0-dik csonkokat!\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Nem lehet lejátszani minden csonkot 0-szor.\n" "--- A dekódólás kipróbálásához használja a null kimeneti meghajtót.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- Nem lehet megnyitni a lejátszandó számok fájlját: %s. Átugorva.\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "" "--- A konfigurációs állományban meghatározott %s meghajtó érvénytelen.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Nem lehet betölteni az alapértelmezés szerinti meghajtót, és nincs " "meghajtó meghatározva a konfigurációs fájlban. Kilépés.\n" #: ogg123/cmdline_options.c:307 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:314 #, fuzzy, c-format msgid "Available codecs: " msgstr "Rendelkezésre álló opciók:\n" #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:342 #, fuzzy, c-format msgid "File:" msgstr "Fájl: %s" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" #: ogg123/cmdline_options.c:361 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Rendelkezésre álló opciók:\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:369 #, fuzzy, c-format msgid "Input options\n" msgstr "A bemenet nem ogg.\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:374 #, fuzzy, c-format msgid "Decode options\n" msgstr "Leírás" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Rendelkezésre álló opciók:\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr "" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Hiba: Elfogyott a memória.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "Hiba: Nem lehet lefoglalni memóriát a malloc_decoder_stats()-ban\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Hiba: Nem lehet beállítani a szignálmaszkot." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Hiba: Nem lehet létrehozni a bemeneti puffert.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "alapértelmezés szerinti kimeneti eszköz" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "véletelen lejátszási lista" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:230 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Nem lehet átugrani %f másodpercet ." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Audioeszköz: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Szerzõ: %s" #: ogg123/ogg123.c:377 #, fuzzy, c-format msgid "Comments: %s" msgstr "Megjegyzések: %s\n" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Figyelmeztetés: Nem lehet olvasni a könyvtárat: %s.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Hiba: Nem lehet létrehozni az audiopuffert.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Nem találtam modult a %s beolvasása során.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Nem lehet megnyitni %s-t.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "A(z) %s fájl formátum nem támogatott.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" "Hiba a %s megnyitása közben, ami a %s modult használna. A fájl lehet, hogy " "sérült.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "Lejátszás: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Nem lehet átugrani %f másodpercet ." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Hiba: Dekódolás nem sikerült.\n" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Kész." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Lyuk a adatfolyamban, valószínûleg ártalmatlan\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== A vorbis programozói könyvtár adatfolyamhibát jelentett.\n" #: ogg123/oggvorbis_format.c:361 #, fuzzy, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "A bitfolyam %d csatornás, %ld Hz" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "Bitráta adatok: felsõ=%ld névleges=%ld alsó=%ld ablak=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Kódolva: %s módszerrel" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "Hiba: Elfogyott a memória a create_playlist_member()-ben.\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Figyelmeztetés: Nem lehet olvasni a könyvtárat: %s.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "Hiba: Elfogyott a memória a playlist_to_array()-ben.\n" #: ogg123/speex_format.c:366 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "A bitfolyam %d csatornás, %ld Hz" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Verzió: %s" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Hiba a fejléc olvasása közben\n" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sElõpufferelés %1.f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sMegállítva" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Memóriakiosztási hiba a stats_init()-ben\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Fájl: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "Idõ: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "/ %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Átl. bitráta: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr "Bemeneti puffer %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr "Kimeneti puffer %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "" "Hiba: Nem tudom lefoglalni a memóriát a malloc_data_source_stats()-ban\n" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "Sáv száma:" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain (Reference loudness):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:45 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:46 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "Copyright" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 msgid "Comment:" msgstr "Megjegyzés:" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 a %s %s -ból\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: oggdec/oggdec.c:59 #, fuzzy, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "Használat: vcut befájl.ogg kifájl1.ogg kifájl2.ogg vágásipont\n" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "HIBA: Nem lehet megnyitni a \"%s\":%s fájlt\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "HIBA: Nem lehet megnyitni a \"%s\":%s kimenet fájlt\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Sikertelen a '%s' fájl megnyitása mint vorbis\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Kész a \"%s\" fájl kódolása \n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "szabványos bemenet" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "szabványos kimenet" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Hiba a '%s' megjegyzés fájl megnyitása során.\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "HIBA: Nincs bemeneti fájl meghatározva. Használja a '-h' segítségért.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "HIBA: Több bemeneti fájlt adott meg mikor határozta a kimeneti fájlnevet, " "javaslom használja a '-n'-t\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "WAV-fájl olvasó" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "AIFF/AIFC-fájl olvasó" #: oggenc/audio.c:50 #, fuzzy msgid "FLAC file reader" msgstr "WAV-fájl olvasó" #: oggenc/audio.c:51 #, fuzzy msgid "Ogg FLAC file reader" msgstr "WAV-fájl olvasó" #: oggenc/audio.c:129 oggenc/audio.c:459 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "Figyelmeztetés: Váratlan fájlvég a WAV-fejlécben\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "\"%s\" típusú csonk átugrása, hossz: %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Figyelmeztetés: Váratlan fájl vég az AIFF csonkban\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Figyelmeztetés: Nem találtam közös csonkot az AIFF fájlban\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Figyelmeztetés: Csonkított közös csonk az AIFF fejlécben\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "Figyelmeztetés: Váratlan fájl vég az AIFF fejlécben\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "Figyelmeztetés: Csonkított közös csonk az AIFF fejlécben\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Figyelmeztetés: AIFF-C fejléc csonkított.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "Figyelmeztetés: Nem tudom kezelni a tömörített AIFF-C-t\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "Figyelmeztetés: Nem találtam SSND csonkot az AIFF fájlban\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Figyelmeztetés: Sérült az SSND csonk az AIFF fájlban\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Figyelmeztetés: Váratlan fájlvég az AIFF fejlécben\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "Figyelmeztetés: Az OggEnc nem támogatja ezt a típusú AIFF/AIFC fájlt\n" " 8 vagy 16 bit-es PCM kell hogy legyen.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Figyelmeztetés: Ismeretlen formátumú csonk a WAV fejlécben\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "Figyelmeztetés: ÉRVÉNYTELEN formátumú csonk a wav fejlécben\n" " Megprobálom mindenkép elolvasni (lehet hogy nem fog mûködni)...\n" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "HIBA: A Wav fájl nem támogatott típusú (normális PCM\n" " vagy 5-as típusú lebegõ pontos PCM)\n" #: oggenc/audio.c:546 #, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "HIBA: A WAV fájl nem támogatott alformátumott tartalmazz( 16-bites PCM \n" "vagy lebegõ pontos PCM-nek kell lennie)\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:799 #, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "%s: a `--%s' kapcsoló ismeretlen\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "" #: oggenc/encode.c:117 #, fuzzy, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "%s: a `--%s' kapcsoló ismeretlen\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "" "Mód installáció nem sikerült: ennek a minõségnek érvénytelen a paramétere\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "" "Mód installáció nem sikerült: ennek a bitrátának érvénytelen a paramétere\n" #: oggenc/encode.c:374 #, fuzzy, c-format msgid "WARNING: no language specified for %s\n" msgstr "FIGYELEM Ismeretlen opciót határozott meg, elutasítva->\n" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "Nem sikerült a fejléc kiírása\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Nem sikerült a fejléc kiírása\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "Nem sikerült a fejléc kiírása\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Nem sikerült a fejléc kiírása\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Nem sikerült az adatfolyam írása\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, fuzzy, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [%2dm%.2ds van még hátra] %c" #: oggenc/encode.c:726 #, fuzzy, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tKódólás [%2dm%.2ds telt el eddig] %c" #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Kész a \"%s\" fájl kódolása \n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Kódólás kész.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tFájl mérete: %dm %04.1fs\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tEltelt idõ: %dm %04.1fs\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tRáta: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tÁtlagos bitráta: %.1f kb/s\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Kódólás %s%s%s \n" " %s%s%s midõségben %2.2f\n" #: oggenc/encode.c:803 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Kódólás %s%s%s \n" " %s%s%s bitráta %d kbps,\n" "teljes bitrátakezelõ motort használom\n" #: oggenc/encode.c:811 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Kódólás %s%s%s \n" " %s%s%s midõségben %2.2f\n" #: oggenc/encode.c:818 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Kódólás %s%s%s \n" " %s%s%s midõségben %2.2f\n" #: oggenc/encode.c:824 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Kódólás %s%s%s \n" " %s%s%s bitráta %d kbps,\n" "teljes bitrátakezelõ motort használom\n" #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Sikertelen a '%s' fájl megnyitása mint vorbis\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Hiba: Elfogyott a memória.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "HIBA: Nem lehet megnyitni a \"%s\":%s fájlt\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 #, fuzzy msgid "RAW file reader" msgstr "WAV-fájl olvasó" #: oggenc/oggenc.c:131 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "HIBA: Nincs bemeneti fájl meghatározva. Használja a '-h' segítségért.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "HIBA: Több fájlt határozott meg amikor az stdin-t használta\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "HIBA: Több bemeneti fájlt adott meg mikor határozta a kimeneti fájlnevet, " "javaslom használja a '-n'-t\n" #: oggenc/oggenc.c:217 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "FIGYELEM: Kevés címet adott meg, az utolsó címet használom.\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "HIBA: Nem lehet megnyitni a \"%s\":%s fájlt\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "A %s megnyitása %s modullal \n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "HIBA Bemeneti fájl \"%s\" formátuma nem támogatott\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "HIBA Bemeneti fájl \"%s\" formátuma nem támogatott\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "" "FIGYELEM: Nem határozott meg fájlnevet, az alapértelmezés szerinti \"default." "ogg\"-t használom\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "HIBA: Nem lehet létrehozni az igényelt könyvtárat a '%s' kimeneti fájlnak\n" #: oggenc/oggenc.c:363 #, fuzzy, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "" "HIBA: Nem lehet létrehozni az igényelt könyvtárat a '%s' kimeneti fájlnak\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "HIBA: Nem lehet megnyitni a \"%s\":%s kimenet fájlt\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "" #: oggenc/oggenc.c:441 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 a %s %s -ból\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "FIGYELEM: Érvénytelen eszkép karakter a '%c' a névben\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "A bitrára kezelés motor engedélyezése\n" #: oggenc/oggenc.c:757 #, fuzzy, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "FIGYELEM:Nyers csatorna számlálót határozott meg nem nyers adatra. A " "bemenetet nyersként használom.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "" #: oggenc/oggenc.c:773 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "FIGYELEM: Événytelen mintavételezést határott meg 44100-at használom.\n" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "Nem tudom értelmezni a vágásipontot\"%s\"\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "Belsõ hiba a parancs sori opció elemzése során\n" #: oggenc/oggenc.c:831 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" #: oggenc/oggenc.c:870 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Figyelmeztetés: névleges \"%s\" nem értelmezhetõ\n" #: oggenc/oggenc.c:878 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Figyelmeztetés: minimális \"%s\" nem értelmezhetõ\n" #: oggenc/oggenc.c:892 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Figyelmeztetés: maximális \"%s\" nem értelmezhetõ\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Minõség opciók \"%s\" nem értelmezhetõ\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" "FIGYELEM: a minõség túl magasra lett állítva, a maximálisra beállítva.\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" "FIGYELEM: Többszörös név formátumot hatázott meg, az utolsót használom\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" "FIGYELEM: Többszörös név formátum szûröt hatázott meg, az utolsót használom\n" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" "FIGYELEM: Többszörös név formátum szûrõ cserét hatázott meg, az utolsót " "használom\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "FIGYELEM: Több kimeneti fájlt hatázott meg használja a '-n'-t\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "FIGYELEM:Nyers bitmintát határozott meg nem nyers adatra. A bemenetet " "nyersként használom.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "" "FIGYELEM: Érénytelen mintavételezést határozott meg, 16-ost használom.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "FIGYELEM:Nyers csatorna számlálót határozott meg nem nyers adatra. A " "bemenetet nyersként használom.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "" "FIGYELEM: Érvénytelen csatorna számlálót határozott meg, 2-est használom.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "FIGYELEM:Nyers mintavételezést határozott meg nem nyers adatra. A bemenetet " "nyersként használom.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" "FIGYELEM: Événytelen mintavételezést határott meg 44100-at használom.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "FIGYELEM Ismeretlen opciót határozott meg, elutasítva->\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "" "Nem lehet a megjegyzést átalakítani UTF-8 -ra, hozzáadás nem sikertelen\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "" "Nem lehet a megjegyzést átalakítani UTF-8 -ra, hozzáadás nem sikertelen\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "FIGYELEM: Kevés címet adott meg, az utolsó címet használom.\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Nem lehet létrehozni a könyvtárat \"%s\": %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Hiba a könyvtár létezésének a vizsgálata során %s: %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "Hiba: az útvonal \"%s\" része nem könyvtár\n" #: ogginfo/ogginfo2.c:115 #, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" #: ogginfo/ogginfo2.c:127 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Figyelmeztetés: maximális \"%s\" nem értelmezhetõ\n" #: ogginfo/ogginfo2.c:216 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "" "FIGYELEM: Érvénytelen csatorna számlálót határozott meg, 2-est használom.\n" #: ogginfo/ogginfo2.c:246 #, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" #: ogginfo/ogginfo2.c:278 #, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:305 #, fuzzy, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Hiba a '%s' bemeneti fájl megnyitása során.\n" #: ogginfo/ogginfo2.c:310 #, fuzzy, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "Feldolgozás sikertelen\n" #: ogginfo/ogginfo2.c:319 #, fuzzy msgid "Could not find a processor for stream, bailing\n" msgstr "A '%s'-t nem lehet megnyitni olvasásra\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:337 #, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "" #: ogginfo/ogginfo2.c:352 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "Figyelmeztetés: maximális \"%s\" nem értelmezhetõ\n" #: ogginfo/ogginfo2.c:355 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "Figyelmeztetés: maximális \"%s\" nem értelmezhetõ\n" #: ogginfo/ogginfo2.c:361 #, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "" #: ogginfo/ogginfo2.c:384 #, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:395 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 a %s %s -ból\n" #: ogginfo/ogginfo2.c:400 #, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:401 #, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:422 #, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" #: ogginfo/ogginfo2.c:456 #, fuzzy, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "" "%s%s\n" "HIBA: Nincs bemeneti fájl meghatározva. Használja a '-h' segítségért.\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: a `%s' kapcsoló nem egyértelmû\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: a `--%s' kapcsoló nem enged meg argumentumot\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: a `%c%s' kapcsoló nem enged meg argumentumot\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: a `%s' kapcsolóhoz argumentum szükséges\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: a `--%s' kapcsoló ismeretlen\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: a `%c%s' kapcsoló ismeretlen\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: illegális kapcsoló -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: érvénytelen kapcsoló -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: a kapcsolónak szüksége van egy argumentumra -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: a `-W %s' kapcsoló nem egyértelmû\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: a `-W %s' kapcsoló nem enged meg argumentumot\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Nem tudom értelmezni a vágásipontot\"%s\"\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Nem tudom értelmezni a vágásipontot\"%s\"\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "A '%s'-t nem lehet megnyitni írásra\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "Használat: vcut befájl.ogg kifájl1.ogg kifájl2.ogg vágásipont\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "A '%s'-t nem lehet megnyitni olvasásra\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Nem tudom értelmezni a vágásipontot\"%s\"\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Feldolgozás: Vágás a %lld -nél\n" #: vcut/vcut.c:289 #, fuzzy, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Feldolgozás: Vágás a %lld -nél\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "Feldolgozás sikertelen\n" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Kulcs nem található" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Nem sikerült megjegyzések írása a '%s' kimeneti fájlba\n" #: vcut/vcut.c:505 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Hiba az elsõ oldal Ogg adatfolyam olvasása közben." #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Helyrehozható adatfolyam hiba\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Másodlagos fejléc sérült\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Bitfolyamat hiba, folyatatás\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Hiba az elsõdleges fejlécben: lehet, hogy nem vorbis?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "A bemenet nem ogg.\n" #: vcut/vcut.c:616 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Bitfolyamat hiba, folyatatás\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "EOS-t találtam a kivágási pont elõtt.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Hiba az elsõ oldal Ogg adatfolyam olvasása közben." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Hiba a kezdõ fejléc csomag olvasása közben." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "A bemenet megcsonkított vagy üres." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "A bemenet nem Ogg adatfolyam." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Ogg adatfolyam nem tartalmaz vorbis adatokat." #: vorbiscomment/vcedit.c:555 #, fuzzy msgid "EOF before recognised stream." msgstr "Fájl vég jel a vorbis fejléc vége elõtt." #: vorbiscomment/vcedit.c:568 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Ogg adatfolyam nem tartalmaz vorbis adatokat." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Sérült másodlagos fejléc." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "Fájl vég jel a vorbis fejléc vége elõtt." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "Sérült vagy hiányzó adatok, folytatás..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Hiba az adatfolyam írása közben. A kimeneti adatfolyam lehet hogy sérült " "vagy megcsonkított." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Sikertelen a '%s' fájl megnyitása mint vorbis\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Rossz megjegyzés: '%s'\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "rossz megjegyzés: '%s'\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Nem sikerült megjegyzések írása a '%s' kimeneti fájlba\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "nem határozott meg mûveletet\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "" "Nem lehet a megjegyzést átalakítani UTF-8 -ra, hozzáadás nem sikertelen\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:622 #, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:632 #, fuzzy, c-format msgid "Editing options\n" msgstr "Rossz típus az opciók között" #: vorbiscomment/vcomment.c:633 #, c-format msgid " -a, --append Update comments\n" msgstr "" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" #: vorbiscomment/vcomment.c:672 #, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Belsõ hiba a parancs opciójának az értelmezése során\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Hiba a '%s' bemeneti fájl megnyitása során.\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Hiba a '%s' kimeneti fájl megnyitása során.\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Hiba a '%s' megjegyzés fájl megnyitása során.\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Hiba a '%s' megjegyzés fájl megnyitása során.\n" #: vorbiscomment/vcomment.c:927 #, fuzzy, c-format msgid "Error removing old file %s\n" msgstr "Hiba a '%s' megjegyzés fájl megnyitása során.\n" #: vorbiscomment/vcomment.c:929 #, fuzzy, c-format msgid "Error renaming %s to %s\n" msgstr "Hiba a fejléc olvasása közben\n" #: vorbiscomment/vcomment.c:938 #, fuzzy, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Hiba a '%s' megjegyzés fájl megnyitása során.\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "WAV-fájl olvasó" #, fuzzy #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Belsõ hiba a parancs opciójának az értelmezése során\n" #, fuzzy #~ msgid "oggenc from %s %s" #~ msgstr "ogg123 a %s %s -ból\n" #, fuzzy #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Verzió: %s" #, fuzzy #~ msgid "Vendor: %s\n" #~ msgstr "forgalmazó=%s\n" #, fuzzy #~ msgid "Height: %d\n" #~ msgstr "Verzió: %s" #, fuzzy #~ msgid "Colourspace unspecified\n" #~ msgstr "nem határozott meg mûveletet\n" #, fuzzy #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "" #~ "\tÁtlagos bitráta: %.1f kb/s\n" #~ "\n" #, fuzzy #~ msgid "Version: %d\n" #~ msgstr "Verzió: %s" #, fuzzy #~ msgid "Vendor: %s (%s)\n" #~ msgstr "forgalmazó=%s\n" #, fuzzy #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "Dátum: %s" #, fuzzy #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "" #~ "\tÁtlagos bitráta: %.1f kb/s\n" #~ "\n" #, fuzzy #~ msgid "Nominal bitrate not set\n" #~ msgstr "Figyelmeztetés: névleges \"%s\" nem értelmezhetõ\n" #, fuzzy #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "" #~ "\tÁtlagos bitráta: %.1f kb/s\n" #~ "\n" #, fuzzy #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "" #~ "\tÁtlagos bitráta: %.1f kb/s\n" #~ "\n" #, fuzzy #~ msgid "Version: %d.%d\n" #~ msgstr "Verzió: %s" #, fuzzy #~ msgid "Category: %s\n" #~ msgstr "forgalmazó=%s\n" #, fuzzy #~ msgid "No category set\n" #~ msgstr "Figyelmeztetés: névleges \"%s\" nem értelmezhetõ\n" #~ msgid "Page error. Corrupt input.\n" #~ msgstr "Lap hiba. Sérült bemenet.\n" #, fuzzy #~ msgid "Setting EOS: update sync returned 0\n" #~ msgstr "EOS beállítás: szinkronizálás 0-val tért vissza\n" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "Nincs kivágási pont az adatfolyamban. A második fájl üres lesz\n" #~ msgid "Unhandled special case: first file too short?\n" #~ msgstr "Kezelhetlen speciális eset: az elsõ fájl túl rövid?\n" #, fuzzy #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "Nincs kivágási pont az adatfolyamban. A második fájl üres lesz\n" #, fuzzy #~ msgid "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " Ogg page. File may not decode correctly.\n" #~ msgstr "" #~ "HIBA: Az elsõ két audio csomagot nem lehet egy\n" #~ " ogg lapra helyezni. A fájl visszakódólás nem helyes.\n" #, fuzzy #~ msgid "Update sync returned 0, setting EOS\n" #~ msgstr "A szinkronizálás 0-val tért vissza, EOS beállítása\n" #~ msgid "Bitstream error\n" #~ msgstr "Adatfolyam hiba\n" #~ msgid "Error in first page\n" #~ msgstr "Hiba elsõ oldalon\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "hiba az elsõ csomagban\n" #~ msgid "EOF in headers\n" #~ msgstr "Fájl vég jel a fejlécben\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "FIGYELEM: a vcut még mindig nincs teljesen kész\n" #~ " Ellenõrizze a kimeneti fájl helyeséges mielõtt letörli az eredetit\n" #~ "\n" #~ msgid "Error reading headers\n" #~ msgstr "Hiba a fejléc olvasása közben\n" #~ msgid "Error writing first output file\n" #~ msgstr "Hiba az elsõ kimeneti fájl írása közben\n" #~ msgid "Error writing second output file\n" #~ msgstr "Hiba az második kimeneti fájl írása közben\n" #~ msgid "malloc" #~ msgstr "malloc" #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 a %s %s-ból\n" #~ "Xiphophorus Team (http://www.xiph.org/)\n" #~ "Magyarra fordította Gábor István \n" #~ "Használat: ogg123 [] ...\n" #~ "\n" #~ " -h, --help ez a segítség\n" #~ " -V, --version az Ogg123 verziójának a megjelenítése\n" #~ " -d, --device=d a 'd' kimeneti eszköz meghatározása\n" #~ " Lehetséges eszközök ('*'=live, '@'=file):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -b n, --buffer n use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n load n%% of the input buffer before playing\n" #~ " -v, --verbose display progress and other status information\n" #~ " -q, --quiet don't display anything (no title)\n" #~ " -x n, --nth play every 'n'th block\n" #~ " -y n, --ntimes repeat every played block 'n' times\n" #~ " -z, --shuffle shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=fájlnév Beállítja a kimeneti fájlnevet az elõzõleg\n" #~ " meghatározott eszközhöz (a '-d'-vel).\n" #~ " -k n, --skip n Átugorja az elsõ 'n' másodpercet\n" #~ " -o, --device-option=k:v átírja a speciális opciót a k értékével\n" #~ " a v elõzõleg meghatázott eszközt (a '-d'-vel). További\n" #~ " információhoz nézze meg man lapot.\n" #~ " -b n, --buffer n 'n' kilobájt bemeneti puffert használ\n" #~ " -p n, --prebuffer n betölt n%% a bemeneti pufferbe lejátszás elõtt\n" #~ " -v, --verbose megjeleníti a folyamatot és egyéb adatokat\n" #~ " -q, --quiet nem ír ki semmit (még a címet sem)\n" #~ " -x n, --nth minden 'n'-edik blokkot játsz le\n" #~ " -y n, --ntimes megismétel minden lejátszott blokkot 'n'-szer\n" #~ " -z, --shuffle véletlen lejátszás\n" #~ "\n" #~ "ogg123 átugrik a következõ számra ha egy SIGINT (Ctrl-C) jelet kap; két " #~ "SIGINT\n" #~ "s ezredmásodpercen belül akkor megszakad az ogg123 futása.\n" #~ " -l, --delay=s beállítja s [ezredmásodperc] (alapból 500).\n" #~ msgid "Version is %d" #~ msgstr "Verzió: %d" #, fuzzy #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps. This uses the bitrate management\n" #~ " engine, and is not recommended for most users.\n" #~ " See -q, --quality for a better alternative.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel.\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications.\n" #~ " -q, --quality Specify quality between 0 (low) and 10 (high),\n" #~ " instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " Quality -1 is also possible, but may not be of\n" #~ " acceptable quality.\n" #~ " --resample n Resample input data to sampling rate n (Hz)\n" #~ " --downmix Downmix stereo to mono. Only allowed on stereo\n" #~ " input.\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times.\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 16 or 8 bit PCM WAV, AIFF, or AIFF/" #~ "C\n" #~ " files, or 32 bit IEEE floating point WAV. Files may be mono or stereo\n" #~ " (or more channels) and any sample rate.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an outfile filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "Használat: oggenc [opciók] input.wav [...]\n" #~ "\n" #~ "OPCIÓK:\n" #~ " Általásnos:\n" #~ " -Q, --quiet Nemír kisemmit az stderr-re\n" #~ " -h, --help Kiírja ezt a szöveget\n" #~ " -r, --raw Nyers mód. A bemeneti fájlt közvetleül mint PCM " #~ "adat olvassa\n" #~ " -B, --raw-bits=n Beállítja a bitenkénti minta vételezést a nyers " #~ "bemenethez. Alapból 16\n" #~ " -C, --raw-chan=n Beállítja a csatornák számát. Alapbólis 2\n" #~ " -R, --raw-rate=n Beállítja a másodpercenkéni mintavételezések számát " #~ "a nyers bemenethez. Alapból 44100\n" #~ " -b, --bitrate A kódólás átlagos bitrátájának kiválasztása. Ez " #~ "használja\n" #~ " a kódólás átlagos bitrátájaként. Ez az érték\n" #~ " kbps-ban értendõ.\n" #~ " -m, --min-bitrate Meghatározza az minimális bitrátát(kbps-ban). " #~ "Hasznos\n" #~ " fix méretû csatornáknál.\n" #~ " -M, --max-bitrate Meghatározza az maximális bitrátát(kbps-ban). " #~ "Hasznos\n" #~ " az adatfolyamoknál.\n" #~ " -q, --quality A minõség meghatározása 0 (alacsony) és 10 (magas) " #~ "között,\n" #~ " használhatja a bitráta meghatározás helyett.\n" #~ " Ez a normális mûvelet.\n" #~ " Meghatározhat tört értékeket (pl. 2.75) \n" #~ " -s, --serial A folyamat sorozat számának a meghatározása. Ha " #~ "több fájlt\n" #~ " kódól akkor ez a szám automatikusan növekszik\n" #~ " minden folyamat után.\n" #~ "\n" #~ " Nevezés:\n" #~ " -o, --output=fn Kiírja a fájlt fn névvel (csak egy fájlos módban " #~ "használható)\n" #~ " -n, --names=sztring Ezzel a sztringgel nevezi el a fájlokat, ahol a %" #~ "%a az elõadót, %%t a címet\n" #~ " %%l az albumot,%%n a sáv számot és a %%d " #~ "pedig a dátumot jelenti\n" #~ " %%%% %%.\n" #~ " -X, --name-remove=s Eltávolítja a meghatározott karakterket a '-n' " #~ "formájú\n" #~ " sztringekbõl . Hasznos lehet az érvényes formátumú " #~ "fájlnevek létrehozását.\n" #~ " -P, --name-replace=s Kicseréli az eltávolított karaktereket amit a --" #~ "name-remove-vel\n" #~ " határozott. Ha a lista rövidebb mint a \n" #~ " --name-remove lista vagy nincs meghatározva akkor " #~ "az extra\n" #~ " karaktereket egyszerûen eltávolítja.\n" #~ " Az alapbeállítások platformfüggõ\n" #~ " -c, --comment=c A meghatározott sztringek megjegyzésként hozzádja a " #~ "fájlhoz. Ezt sok helyen\n" #~ " használható.\n" #~ " -d, --date A sáv dátumának meghatározása \n" #~ " -N, --tracknum A sáv számának a meghatározása\n" #~ " -t, --title A sáv címe\n" #~ " -l, --album Az album neve\n" #~ " -a, --artist Az elõadó neve\n" #~ " -G, --genre A sáv stílusa\n" #~ " Ha több bementi fájl ad meg akkor az elõzõ öt\n" #~ " paramétert használja fel,\n" #~ " Ha kevesebb címet határozz meg\n" #~ " mint ahány fájl van akkor az OggEnc egy " #~ "figyelmezetést küld\n" #~ " és felhasználja az utolsó címet a fájl átnevezésre. " #~ "Ha kevesebb\n" #~ " sávot ad meg akkor nem fogja számozni a fájlokat.\n" #~ " Egyébként minden utolsó tagot újra felhasznál\n" #~ " minden további figyelmezetés nélkül(pl. így csak " #~ "egyszer kell meghatározni a dátumot\n" #~ " és az összes fájl ezt használja)\n" #~ "\n" #~ "BEMENETI FÁJLOK:\n" #~ " Az OggEnc bemeneti fájljai jelenleg 16 vagy 8 bites PCM WAV, AIFF, vagy " #~ "AIFF/C\n" #~ " fájlok. A fájlok lehetnek monok vagy sztereók (vagy több csatornások) és " #~ "bármilyen mintavételezésû.\n" #~ " Habár a kódoló csak 44.1 és 48 kHz mûködik és minden egyéb\n" #~ " frekvencia a minõség romlásához vezet.\n" #~ " Esetleg, a '--raw' opcióval használhat nyers PCM adat fájlokat, amelyek\n" #~ " 16 bites sztereó little-endian PCM ('headerless wav') kell lennie, de " #~ "semilyen egyéb\n" #~ " paramétert nem használhat a nyers módban.\n" #~ " A '-' -el meghatározhatja hogy stdin-t használja mint bemeneti fájlnév.\n" #~ " Ebben a módban az alapértelemezett kimenet az stdout. A kimeneti " #~ "fájlt \n" #~ "a '-o'-val hatázhatja meg\n" #~ "\n" #, fuzzy #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ " Raw mode (--raw, -R) will read and write comments in utf8,\n" #~ " rather than converting to the user's character set. This is\n" #~ " useful for using vorbiscomment in scripts. However, this is\n" #~ " not sufficient for general round-tripping of comments in all\n" #~ " cases.\n" #~ msgstr "" #~ "Használat: \n" #~ " vorbiscomment [-l] fájl.ogg (a megjegyzések listája)\n" #~ " vorbiscomment -a be.ogg ki.ogg (megjegyzés hozzáadása)\n" #~ " vorbiscomment -w be.ogg ki.ogg (megjegyzés módosítása)\n" #~ "\taz új parancsokat a következõ formában várja\n" #~ "\t'TAG=érték' az stdin-en. Így teljes mértékben\n" #~ "\tkicserélheti a létezõ adatokat.\n" #~ " A '-a'-t és a '-w'-t használhatja egy fájl névvel,\n" #~ " ekkor egy ideiglenes fájlt fog használni.\n" #~ " '-c'-vel meghatározhat egy fájlt ahonnan veszi a megjegyzéseket\n" #~ " az stdin helyet.\n" #~ " Pl: vorbiscomment -a be.ogg -c megjegyzések.txt\n" #~ " ez hozzáfûzi a 'megjegyzések.txt' tartalmát a 'be.ogg'-hoz\n" #~ " Végezetül, a '-t'-vel heghatározhatja parancssorban \n" #~ " a TAGokat. pl.\n" #~ " vorbiscomment -a be.ogg -t \"ARTIST=Egy srác\" -t \"TITLE=Egy cím\"\n" #~ " (megjegyzés ha ezt a lehetõséget használja, akkor a fájlból olvasás\n" #~ " vagy az stdin használata le van tiltva)\n" #~ msgid "Internal error: long option given when none expected.\n" #~ msgstr "Belsõ hiba: hosszú opciót használt amikor nem azt vártam.\n" #~ msgid "Error: Out of memory in new_curl_thread_arg().\n" #~ msgstr "Hiba: Elfogyott a memória a new_curl_thread_arg()-ban.\n" #~ msgid "Artist: %s" #~ msgstr "Elõadó: %s" #~ msgid "Album: %s" #~ msgstr "Album: %s" #~ msgid "Title: %s" #~ msgstr "Cím: %s" #~ msgid "Organization: %s" #~ msgstr "Szervezet: %s" #~ msgid "Genre: %s" #~ msgstr "Mûfaj: %s" #~ msgid "Description: %s" #~ msgstr "Leírás: %s" #~ msgid "Location: %s" #~ msgstr "Helyszín: %s" #~ msgid "" #~ "Warning: Vorbis is not currently tuned for this input (%.3f kHz).\n" #~ " At other than 44.1/48 kHz quality will be degraded.\n" #~ msgstr "" #~ "Figyelmeztetés:A vorbis jelenleg nincs erre a bemenetre hangolva(%.3f " #~ "kHz).\n" #~ " Minden 44.1/48 kHz-tõl eltérõ frekvencia a minõség romlásához vezethet.\n" #~ msgid "" #~ "Warning: Vorbis is not currently tuned for this input (%.3f kHz).\n" #~ " At other than 44.1/48 kHz quality will be significantly degraded.\n" #~ msgstr "" #~ "Figyelmeztetés:A vorbis jelenleg nincs erre a bemenetre hangolva(%.3f " #~ "kHz).\n" #~ " Minden 44.1/48 kHz-tõl eltérõ frekvencia a minõség romlásához vezethet.\n" #~ msgid "" #~ "WARNING: Usage of the bitrate options (-b, -m, -M) has been deprecated\n" #~ "To use these, you must specify that you wish to use managed mode, using\n" #~ "the --managed option.\n" #~ "This will cause oggenc to enable the full bitrate management engine.\n" #~ "You should do this ONLY if bitrate management is critical to your usage\n" #~ "(for example, certain audio streaming applications).\n" #~ "Usage of the bitrate management engine will generally decrease quality,\n" #~ "using the normal fully VBR modes (quality specified using -q) is\n" #~ "very highly recommended for most users.\n" #~ "Usage of the -managed option will become MANDATORY in the next release.\n" #~ "\n" #~ msgstr "" #~ "FIGYELEM: A bitráta opciót használata (-b, -m, -M) nem lehetséges\n" #~ "Ezek használatához a kezelõ módot kell kiválasztania\n" #~ "a --managed opcióval.\n" #~ "Ez hozzáférhet az oggenc teljes bitráta kezelõ motorjához.\n" #~ "Javaslom hogy CSAK végszükség esetén használja\n" #~ "(pl. bizonyos audio folyam alkalmazásoknál).\n" #~ "A bitráta kezelõ motor általában minõség romláshoz vezet,\n" #~ "használja a normális VBR módokat (a minõséget a '-q'val határozhatja " #~ "meg) \n" #~ "nagyon ajánlott, hogy értse a dolgát.\n" #~ "A -managed opció használata kötelezõ lesz a következõ kiadásban.\n" #~ "\n" #~ msgid "WARNING: negative quality specified, setting to minimum.\n" #~ msgstr "" #~ "FIGYELEM: a minõség túl alacsonyra lett állítva, a minimálisra " #~ "beállítva.\n" #~ msgid "Usage: %s [filename1.ogg] ... [filenameN.ogg]\n" #~ msgstr "Használat: %s [fájlnév1.ogg] ... [fájlnévN.ogg]\n" #~ msgid "filename=%s\n" #~ msgstr "fájlnév=%s\n" #~ msgid "" #~ "version=%d\n" #~ "channels=%d\n" #~ "rate=%ld\n" #~ msgstr "" #~ "verzió=%d\n" #~ "csatorna=%d\n" #~ "arány=%ld\n" #~ msgid "bitrate_upper=" #~ msgstr "felsõ_bitráta=" #~ msgid "none\n" #~ msgstr "nincs\n" #~ msgid "bitrate_nominal=" #~ msgstr "névleges_bitráta=" #~ msgid "bitrate_lower=" #~ msgstr "alsó_bitráta=" #~ msgid "%ld\n" #~ msgstr "%ld\n" #~ msgid "bitrate_average=%ld\n" #~ msgstr "átlagos_bitráta=%ld\n" #~ msgid "length=%f\n" #~ msgstr "hosszúság=%f\n" #~ msgid "playtime=%ld:%02ld\n" #~ msgstr "lejátszási idõ=%ld:%02ld\n" #~ msgid "Unable to open \"%s\": %s\n" #~ msgstr "Nem lehet megnyitni \"%s\": %s\n" #~ msgid "" #~ "\n" #~ "serial=%ld\n" #~ msgstr "" #~ "\n" #~ "sorszám=%ld\n" #~ msgid "header_integrity=pass\n" #~ msgstr "fejléc_épség=jó\n" #~ msgid "header_integrity=fail\n" #~ msgstr "fejléc_épség=sérült\n" #~ msgid "stream_integrity=pass\n" #~ msgstr "adatfolyam_épség=jó\n" #~ msgid "stream_integrity=fail\n" #~ msgstr "adatfolyam_épség=\n" #~ msgid "stream_truncated=false\n" #~ msgstr "adatfolyam_megcsonkított=hamis\n" #~ msgid "stream_truncated=true\n" #~ msgstr "adatfolyam_megcsonkított=igaz\n" #~ msgid "" #~ "\n" #~ "total_length=%f\n" #~ msgstr "" #~ "\n" #~ "Teljes_hosszúság=%f\n" #~ msgid "total_playtime=%ld:%02ld\n" #~ msgstr "teljes_lejátszási_idõ=%ld:%02ld\n" vorbis-tools-1.4.2/po/eo.po0000644000175000017500000034351414002243560012470 00000000000000# Several Ogg Vorbis Tools Esperanto i18n # Copyright (C) 2008 Free Software Foundation, Inc. # This file is distributed under the same license as the vorbis-tools package. # Felipe Castro , 2008. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.2.1\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2008-09-21 16:26-0300\n" "Last-Translator: Felipe Castro \n" "Language-Team: Esperanto \n" "Language: eo\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Eraro: Mankis memoro en malloc_action().\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "Eraro: Ne eblis rezervi memoron en malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Eraro: Aparato ne disponebla.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "Eraro: %s postulas ke elig-dosiernomo estu indikita per -f.\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Eraro: Nesubtenata opcia valoro por la aparato %s.\n" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Eraro: Ne eblas malfermi la aparaton %s.\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Eraro: Aparato %s misfunkcias.\n" #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "Eraro: Elig-dosiero ne povas esti uzata por aparato %s.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Eraro: Ne eblas malfermi la dosieron %s por skribi.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Eraro: La dosiero %s jam ekzistas.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "Eraro: Tiu ĉi eraro devus neniam okazi (%d). Paniko!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "Eraro: Mankis memoro en new_audio_reopen_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "Eraro: Mankis memoro en new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "Eraro: Mankis memoro en new_status_message_arg().\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Eraro: Mankis memoro en decoder_bufferd_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Eraro: Mankis memoro en decoder_bufferd_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "Eraro de la sistemo" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Eraro de malkomponado: %s ĉe linio %d de %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Nomo" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Priskribo" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Tipo" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "AntaÅ­supoze" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "neniu" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "buleo" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "signo" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "ĉeno" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "entjero" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "glitkoma" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "duobla precizeco" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "alia" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(NULL)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(neniu)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Sukceso" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Åœlosilo ne trovita" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Neniu Ålosilo" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Malbona valoro" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Malbona tipo en la listo de opcioj" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Nekonata eraro" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "Interna eraro dum analizado de la opcioj de la komandlinio.\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "La grandeco de la eniga bufro malpligrandas ol permesite: %dkB." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Eraro \"%s\" dum analizado de agorda opcio el la komandlinio.\n" "=== La opcio estis: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "Disponeblaj opcioj:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== Neniu tia aparato: %s.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== La pelilo %s ne estas pelilo por eliga dosiero.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "=== Ne eblas indiki eligan dosieron sen indiki pelilon.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== MalÄusta opcia formo: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- AntaÅ­bufra valoro ne validas. La intervalo estas 0-100.\n" #: ogg123/cmdline_options.c:202 #, c-format msgid "ogg123 from %s %s" msgstr "ogg123 el %s %s" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Ne eblas ludi ĉiun 0-an pecon!\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Ne eblas ludi ĉiun pecon 0 foje.\n" "--- Por testi dekodigon, uzu la nulan eligan pelilon.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- Ne eblas malfermi la dosieron kun la ludlisto %s. Preterpasite.\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "=== Malkohero en opcioj: La fina tempo estas antaÅ­ la komenca.\n" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- La pelilo %s indikita en la agordo-dosiero malvalidas.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Ne eblis Åargi je antaÅ­supozita pelilo kaj neniu alia estas indikita en " "la agordo-dosiero. Nepras eliro.\n" #: ogg123/cmdline_options.c:307 #, fuzzy, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" "ogg123 el %s %s\n" " farite de Xiph.Org Fondaĵo (http://www.xiph.org/)\n" "\n" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" "Uzado: ogg123 [opcioj] dosiero ...\n" "Ludi son-dosierojn kaj retfluojn Ogg.\n" "\n" #: ogg123/cmdline_options.c:314 #, c-format msgid "Available codecs: " msgstr "Disponeblaj dekodiloj: " #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "FLAC, " #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "Speex, " #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" "Ogg Vorbis.\n" "\n" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "Eligaj opcioj\n" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" " -d dev, --device dev Uzu la eligan aparaton \"dev\". Disponeblaj " "aparatoj:\n" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "Samtempe:" #: ogg123/cmdline_options.c:342 #, c-format msgid "File:" msgstr "Dosiero:" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" " -f dosiero, --file dosiero\n" " Difinas la eligan dosiernomon por\n" " dosiero-aparato antaÅ­e indikita per --device.\n" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr " --audio-buffer n Uzas eligan son-bufron el 'n' kilobajtoj\n" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" " -o k:v, --device-option k:v\n" " Pasas specialan opcion 'k' kun valoro 'v' al la\n" " aparato antaÅ­e specifita per --device. Vidu\n" " la man-paÄon de ogg123 por koni la disponeblajn\n" " aparatajn opciojn.\n" #: ogg123/cmdline_options.c:361 #, c-format msgid "Playlist options\n" msgstr "Muziklistaj opcioj\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" " -@ dosiero, --list dosiero\n" " Legas muzikliston de dosieroj kaj URL-oj el " "\"dosiero\"\n" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr " -r, --repeat Ripetadas la muzikliston nedifinite\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr " -R, --remote Uzas demalprokiman reg-interfacon\n" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr " -z, --shuffle Miksas la liston de dosieroj antaÅ­ ol ludi\n" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr " -Z, --random Ludas la dosierojn hazarde Äis haltigo\n" #: ogg123/cmdline_options.c:369 #, c-format msgid "Input options\n" msgstr "Enigaj opcioj\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr " -b n, --buffer n Uzas enigan bufron el 'n' kilobajtoj\n" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" " -p n, --prebuffer n Åœargas je n%% el la eniga bufro antaÅ­ ol ludi\n" #: ogg123/cmdline_options.c:374 #, c-format msgid "Decode options\n" msgstr "Dekodaj opcioj\n" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" " -k n, --skip n Pretersaltas la unuajn 'n' sekundoj (aÅ­ laÅ­ hh:mm:" "ss)\n" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr " -K n, --end n Haltas ĉe 'n' sekundoj (aÅ­ laÅ­ hh:mm:ss)\n" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr " -x n, --nth n Ludas ĉiun 'n'-an blokon\n" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr " -y n, --ntimes n Ripetas ĉiun luditan blokon 'n' foje\n" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, c-format msgid "Miscellaneous options\n" msgstr "Mikstemaj opcioj\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" " -l s, --delay s Difinas ĉesigan tempo-limon per milisekundoj. " "ogg123\n" " pretersaltos al la sekvonta muziko okaze de " "SIGINT\n" " (Ctrl-C), kaj ĉesiÄos se du SIGINT-oj estos " "ricevitaj\n" " ene de la specifita tempo-limo 's'. (implicite " "500)\n" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr " -h, --help Montrigas ĉi tiun helpon\n" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr " -q, --quiet Ne montrigas ion ajn (neniu titolo)\n" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" " -v, --verbose Montrigas evoluan kaj aliajn statusajn informojn\n" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr " -V, --version Montrigas la version de ogg123\n" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Eraro: Mankis memoro.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "Eraro: Ne eblis rezervi memoron en malloc_decoder_stats()\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Eraro: Ne eblis difini signalan maskon." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Eraro: Ne eblas krei enigan bufron.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "implicita eliga aparato" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "hazard-orda ludlisto" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "ripeti muzikliston ĉiame" #: ogg123/ogg123.c:230 #, c-format msgid "Could not skip to %f in audio stream." msgstr "Ne eblis pretersalti al %f en la sonfluo." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Soniga Aparato: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "AÅ­toro: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "Komentoj: %s" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Averto: Ne eblis legi la dosierujon %s.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Eraro: Ne eblis krei sonigan bufron.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Neniu modulo povus esti trovita por legi el %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Ne eblas malfermi %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "La dosierformo de %s ne estas subtenata.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" "Eraro dum malfermo de %s uzante la modulon %s-on. La dosiero povas esti " "disrompita.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "Oni ludas: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Ne eblis pretersalti %f sekundoj da sonigo." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Eraro: dekoda malsukceso.\n" #: ogg123/ogg123.c:709 #, fuzzy msgid "ERROR: buffer write failed.\n" msgstr "Eraro: bufra skribado malsukcesis.\n" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Farita." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Truo en la fluo; probable ne malutile\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== La biblioteko de Vorbis raportis eraron pri fluo.\n" #: ogg123/oggvorbis_format.c:361 #, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "Fluo de Ogg Vorbis: %d kanalo, %ld Hz" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "Formo de Vorbis: Versio %d" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "" "Konsiletoj pri bitrapido: supra=%ld meznombra=%ld suba=%ld intervalo=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Enkodita de: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "Eraro: Mankis memoro en create-playlist_member().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Averto: Ne eblis legi la dosierujon %s.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "Averto el ludlisto %s: Ne eblis legi la dosierujon %s.\n" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "Eraro: Mankis memoro en playlist_to_array().\n" #: ogg123/speex_format.c:366 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "Fluo de Ogg Vorbis: %d kanalo, %ld Hz" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Fluo de Ogg Vorbis: %d kanalo, %ld Hz" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Versio: %d\n" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Eraro dum la legado de datumkapoj\n" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sAntaÅ­bufro al %.1f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sPaÅ­zita" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sEOS (flufino)" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Eraro pri rezervo de memoro en stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Dosiero: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "Horo: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "de %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Avg bitrapido: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Eniga Bufro %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " Eliga Bufro %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "Eraro: Ne eblis rezervi memoron en malloc_data_source_stats()\n" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain (Reference loudness):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:45 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:46 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 #, fuzzy msgid "Comment:" msgstr "Komentoj: %s" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, c-format msgid "oggdec from %s %s\n" msgstr "oggdec el %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, fuzzy, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" " farite de Xiph.Org Fondaĵo (http://www.xiph.org/)\n" "\n" #: oggdec/oggdec.c:59 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" "Uzado: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "Subtenataj opcioj:\n" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr " --quiet, -Q Silenta reÄimo. Neniu konzola eligo.\n" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr " --help, -h Produktas tiun ĉi help-mesaÄon.\n" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr " --version, -V Montrigas la versi-numeron.\n" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr " --bits, -b Bit-profundeco por eligo (8 kaj 16 subtenatas)\n" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" " --endianness, -e Eliga bajtordo por 16-bita eligo; 0 por\n" " pezfina ordo (implicite), 1 por pezkomenca.\n" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" " --sign, -s Negativeco por eliga PCM; 0 por sensignita, 1 por\n" " signita (implicite 1).\n" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr " --raw, -R Kruda (senkapa) eligo.\n" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" " --output, -o Eligas al specifita dosiernomo. Nur eblas esti\n" " uzata se ekzistas nur unu eniga dosiero, krom en\n" " kruda reÄimo.\n" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "ERARO: Ne eblas malfermi la enig-dosieron \"%s\": %s\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "ERARO: Ne eblas malfermi la elig-dosieron \"%s\": %s\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Malsukcesis malfermo de dosiero kiel vorbis: %s\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Farita: enkodado de la dosiero \"%s\"\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "ordinara enigo" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "ordinara eligo" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Eraro dum forigo de la malnova dosiero '%s'\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "ERARO: Neniu enig-dosiero estis indikita. Uzu la opcion -h por helpo.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "ERARO: Pluraj enig-dosieroj kun elig-dosiernomo indikita: ni sugestas uzon " "de -n\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "Legilo de dosiero AU" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "Legilo de dosiero AIFF/AIFC" #: oggenc/audio.c:50 msgid "FLAC file reader" msgstr "Legilo de dosiero FLAC" #: oggenc/audio.c:51 msgid "Ogg FLAC file reader" msgstr "Legilo de dosiero Ogg FLAC" #: oggenc/audio.c:129 oggenc/audio.c:459 #, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "Averto: Neatendita EOF (fino de dosiero) dum lego de WAV-kapo\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Oni preterpasas pecon el tipo \"%s\", grandeco %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Averto: Neatendita EOF (fino de dosiero) en AIFF-a peco\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Averto: Neniu komuna peco estis trovita en la AIFF-a dosiero\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Averto: Distranĉita komuna peco en AIFF-kapo\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "Averto: Neatendita EOF (fino de dosiero) dum lego de WAV-kapo\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "Averto: Neatendita EOF (fino de dosiero) dum lego de WAV-kapo\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Averto: AIFF-C-kapo estas distranĉita.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "Averto: Ne eblas trakti kompaktitan AIFF-C-on (%c%c%c%c)\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "Averto: Neniu SSND-peco estis trovita en la AIFF-dosiero\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Averto: Disrompita SSND-peco en AIFF-kapo\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Averto: Neatendita EOF (fino de dosiero) dum lego de WAV-kapo\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "Averto: OggEnc ne subtenas tiu tipo de AIFF/AIFC-dosiero\n" " Devas esti 8 aÅ­ 16-bita PCM.\n" "\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Averto: Nerekonita form-difiniga peco en la kapo de 'Wave'\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "Averto: NEVALIDA form-difiniga peco en kapo de 'Wave'.\n" " Ni provos legi tiel mem (eble sensukcese)...\n" #: oggenc/audio.c:472 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "Averto: Neatendita EOF (fino de dosiero) dum lego de WAV-kapo\n" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "ERARO: La 'Wave'-dosiero prezentas nesubtenatan tipon (devas esti laÅ­norma " "PCM\n" " aÅ­ glitkoma PCM tipo 3)\n" #: oggenc/audio.c:546 #, fuzzy, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" "Averto: WAV-a valoro 'block alignment' estas malÄusta, ni ignoras.\n" "La programo kiu kreis tiun ĉi dosieron estas malkorekta.\n" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "ERARO: La Wav-dosiero prezentas nesubtenatan subformon (devas esti 8,16,24 " "aÅ­ 32-bita PCM\n" " aÅ­ glitkoma PCM)\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" "Pezkomenca 24-bita PCM-a datumaro ne estas aktuale subtenata, ni ĉesigas.\n" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "Interna eraro: provo legi nesubtenatan bitprofundecon %d\n" #: oggenc/audio.c:799 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "MALÄœUSTAÄ´O: Ni trovis nulajn specimenojn el la specimen-reakirilo: via " "dosiero estos tranĉita. Bonvolu raporti ĉi tion.\n" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "Ne eblis lanĉi la specimen-reakirilon\n" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "Ni difinas la alnivelan enkodilan opcion \"%s\" al %s\n" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "Ni difinas la alnivelan enkodilan opcion \"%s\" al %s\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "La malaltpasa frekvenco ÅanÄis de %f kHz al %f kHz\n" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "Nerekonita altnivela opcio \"%s\"\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "Malsukceso dum difino de altnivelaj rapidec-administraj parametroj\n" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" "Tiu ĉi versio de 'libvorbisenc' ne povas difini alnivelajn rapidec-" "administrajn parametrojn\n" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" "255 kanaloj devus sufiĉi por ĉiuj. (Pardonon, Vorbis ne subtenas pli ol " "tiom)\n" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "Peti minimuman aÅ­ maksimuman bitrapidon postulas la opcion --managed\n" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "La ekdifino de reÄimo malsukcesis: nevalidaj parametroj por kvalito\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "Difinu kromajn postuligajn kvalito-limigojn\n" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "Malsukceso dum difino de bitrapido min/maks en kvalita reÄimo\n" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "" "La ekdifino de reÄimo malsukcesis: nevalidaj parametroj por bitrapido\n" #: oggenc/encode.c:374 #, fuzzy, c-format msgid "WARNING: no language specified for %s\n" msgstr "AVERTO: Nekonata opcio estis specifita, ni preteratentas->\n" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "Malsukceso dum skribado de kapo al la elfluo\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Malsukceso dum skribado de kapo al la elfluo\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "Malsukceso dum skribado de kapo al la elfluo\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Malsukceso dum skribado de kapo al la elfluo\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Malsukceso dum skribado de datumaro al la elfluo\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [%2dm%.2ds restas] %c " #: oggenc/encode.c:726 #, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tEnkodado [%2dm%.2ds farita] %c " #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Farita: enkodado de la dosiero \"%s\"\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Enkodado farita.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tDosier-grandeco: %dm %04.1fs\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tPasita tempo: %dm %04.1fs\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tRapideco: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tMeza rapideco: %.1f kb/s\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Enkodado de %s%s%s al \n" " %s%s%s \n" "je meza bitrapido %d kbps " #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Enkodado de %s%s%s al \n" " %s%s%s \n" "je proksimuma bitrapido %d kbps (VBR-enkodado ebligita)\n" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Enkodado de %s%s%s al \n" " %s%s%s \n" "je kvalitnivelo %2.2f uzante limigitan VBR-on " #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Enkodado de %s%s%s al \n" " %s%s%s \n" "je kvalitnivelo %2.2f\n" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Enkodado de %s%s%s al \n" " %s%s%s \n" "uzante regadon de bitrapido " #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Malsukcesis malfermo de dosiero kiel vorbis: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Eraro: Mankis memoro.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "ERARO: Ne eblas malfermi la enig-dosieron \"%s\": %s\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 msgid "RAW file reader" msgstr "Legilo de dosiero RAW" #: oggenc/oggenc.c:131 #, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "ERARO: Neniu enig-dosiero estis indikita. Uzu la opcion -h por helpo.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "ERARO: Pluraj dosieroj estis indikitaj dum uzo de 'stdin'\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "ERARO: Pluraj enig-dosieroj kun elig-dosiernomo indikita: ni sugestas uzon " "de -n\n" #: oggenc/oggenc.c:217 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" "AVERTO: Nesufiĉe da titoloj estis specifitaj: promanke al la lasta titolo.\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "ERARO: Ne eblas malfermi la enig-dosieron \"%s\": %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Malfermado kun %s-modulo: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "ERARO: La enig-dosiero \"%s\" ne estas subtenata formo\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "ERARO: La enig-dosiero \"%s\" ne estas subtenata formo\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "AVERTO: Neniu dosiernomo, apriore ni uzu \"default.ogg\"-on\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "ERARO: Ne eblis krei postulatajn subdosierujojn por la elig-dosiernomo \"%s" "\"\n" #: oggenc/oggenc.c:363 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "ERARO: La enig-dosieromo estas la sama ol la elig-dosiernomo \"%s\"\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "ERARO: Ne eblas malfermi la elig-dosieron \"%s\": %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "Reakirado de enigo el %d Hz al %d Hz\n" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Enmiksado de dukanalo al unukanalo\n" #: oggenc/oggenc.c:441 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "AVERTO: Ne eblas enmiksi, krom de dukanalo al unukanalo\n" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "Reskalado de la enigo al %f\n" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, c-format msgid "oggenc from %s %s\n" msgstr "oggenc el %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" "Uzado: oggenc [opcioj] enigdosiero [...]\n" "\n" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" "OPCIOJ:\n" " Äœenerale:\n" " -Q, --quiet Produktas neniun eligon al 'stderr'\n" " -h, --help Montrigas tiun ĉi helpo-tekston\n" " -V, --version Montrigas la versi-numeron\n" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" " -k, --skeleton Aldonas bitfluon 'Ogg Skeleton'\n" " -r, --raw Kruda reÄimo. Enig-dosieroj estas legataj rekte kiel " "PCM-datumaro\n" " -B, --raw-bits=n Difinas bitoj/specimeno por kruda enigo; implicite " "estas 16\n" " -C, --raw-chan=n Difinas la nombron da kanaloj por kruda enigo; " "implicite estas 2\n" " -R, --raw-rate=n Difinas specimenojn/sek por kruda enigo; implicite " "estas 44100\n" " --raw-endianness 1 por pezkomenca, 0 por pezfina (implicite estas 0)\n" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" " -b, --bitrate Elektas meznombran bitrapidon por enkodigo. Äœi provas\n" " enkodi je bitrapido ĉirkaÅ­ tiu ĉi valoro. Äœi prenas " "argumenton\n" " je kbps. AntaÅ­supoze, tio produktas VBR-enkodon, " "ekvivalenta\n" " al tia, kiam oni uzas la opcion -q aÅ­ --quality.\n" " Vidu la opcion --managed por uzi mastrumitan " "bitrapidon,\n" " kiu celu la elektitan valoron.\n" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" " --managed Åœaltas la motoron por mastrumado de bitrapido. Tio\n" " permesos multe pli grandan precizecon por specifi la " "uzata(j)n\n" " bitrapido(j)n, tamen la enkodado estos multe pli\n" " malrapida. Ne uzu tion, krom se vi bezonegas bonan\n" " precizecon por bitrapido, ekzemple dum sonfluo.\n" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" " -m, --min-bitrate Specifas minimuman bitrapidon (po kbps). Utilas por\n" " enkodado de kanalo kun fiksita grandeco. Tio aÅ­tomate\n" " ebligos la reÄimon de mastrumado de bitrapido\n" " (vidu la opcion --managed).\n" " -M, --max-bitrate Specifas maksimuman bitrapidon po kbps. Utilas por\n" " sonfluaj aplikaĵoj. Tio aÅ­tomate ebligos la reÄimon " "de\n" " mastrumado de bitrapido (vidu la opcion --managed).\n" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" " --advanced-encode-option opcio=valoro\n" " Difinas alnivelan enkodigan opcion por la indikita " "valoro.\n" " La validaj opcioj (kaj ties valoroj) estas " "priskribitaj\n" " en la 'man'-paÄo disponigita kun tiu ĉi programo. Ili\n" " celas precipe alnivelajn uzantojn, kaj devus esti " "uzata\n" " tre singarde.\n" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" " -q, --quality Specifas kvaliton, inter -1 (tre malalta) kaj 10 (tre\n" " alta), anstataÅ­ indiki specifan bitrapidon.\n" " Tio estas la normala reÄimo de funkciado.\n" " Frakciaj kvalitoj (ekz. 2.75) estas permesitaj.\n" " La implicita kvalito-nivelo estas 3.\n" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" " --resample n Reakiradas enigan datumaron per rapideco 'n' (Hz).\n" " --downmix Enmiksas dukanalon al unukanalo. Nur ebligita por\n" " dukanala enigo.\n" " -s, --serial Specifas serian numeron por la fluo. Se oni enkodas\n" " multoblajn dosierojn, tiu numero kreskas post ĉiu " "fluo.\n" #: oggenc/oggenc.c:561 #, fuzzy, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" " --discard-comments Evitas komentojn en FLAC aÅ­ Ogg-FLAC-dosieroj por ke\n" " ili ne estu kopiitaj al la elig-dosiero de Ogg " "Vorbis.\n" " --ignorelength Ignoras la datumlongecon en la kapoj de 'wav'. Tio\n" " ebligos subtenon de dosierojn > 4GB kaj datumfluojn " "'STDIN'.\n" "\n" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" " Nomigo:\n" " -o, --output=dn Skribas dosieron kun la nomo 'dn' (nur validas por " "unuop-\n" " dosiera reÄimo)\n" " -n, --names=ĉeno Produktas dosiernomojn laÅ­ tiu 'ĉeno', kun %%a, %%t,\n" " %%l, %%n, %%d anstataÅ­itaj per artisto, titolo, " "albumo,\n" " bendnumero kaj dato, respektive (vidu sube kiel " "specifi\n" " tion). %%%% rezultigas la signon %%.\n" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" " -X, --name-remove=s Forigas la indikitajn signojn en 's' el la parametroj " "de\n" " la ĉeno post -n. Utilas por validigi dosiernomojn\n" " -P, --name-replace=s AnstataÅ­igas signojn forigitaj de --name-remove per " "la\n" " specifitaj signoj en la ĉeno 's'. Se tiu ĉeno estos " "pli\n" " mallonga ol la listo en --name-remove aÅ­ tiu ne estas\n" " specifita, la signoj estos simple forigitaj.\n" " Implicitaj valoroj por la supraj du argumentoj " "dependas de\n" " la platformo de via sistemo.\n" #: oggenc/oggenc.c:583 #, fuzzy, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" " -c, --comment=k Aldonas la ĉenon 'k' kiel kroman komenton. Tio povas " "esti\n" " uzata plurfoje. La argumento devas esti laÅ­ la formo\n" " \"etikedo=valoro\".\n" " -d, --date Dato por la bendo (ordinare temas pri la dato de " "ludado)\n" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" " -N, --tracknum Bendnumero por tiu ĉi bendo\n" " -t, --title Titolo por tiu ĉi bendo\n" " -l, --album Nomo de la albumo\n" " -a, --artist Nomo de la artisto\n" " -G, --genre Muzikstilo de la bendo\n" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, fuzzy, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" " Se multopaj enig-dosieroj estas indikitaj, tiaokaze\n" " multopaj ekzemploj de la antaÅ­aj kvin argumentoj " "estos\n" " uzitaj, laÅ­ la donita ordo. Se oni indikis malpli da\n" " titoloj ol dosieroj, OggEnc montros averton, kaj " "reuzos\n" " la lastan por la restantaj dosieroj. Se malpli da " "bend-\n" " numeroj estas indikitaj, la restantaj dosieroj estos\n" " nenumeritaj. Por la aliaj, la lasta etikedo estos " "reuzata\n" " por ĉiuj restantaj sen ajna averto (tiel ekzemple vi\n" " povas specifigi daton kaj aplikigi Äin por ĉiuj aliaj\n" " dosieroj.\n" "\n" #: oggenc/oggenc.c:613 #, fuzzy, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" "ENIG-DOSIEROJ:\n" " Enigaj dosieroj de OggEnc aktuale devas esti laÅ­ la formoj 24, 16 aÅ­ 8-" "bitaj\n" " PCM WAV, AIFF aÅ­ AIFF/C, 32-bitaj IEEE-glitkomaj Wave kaj, laÅ­dezire, FLAC " "aÅ­\n" " Ogg FLAC. Dosieroj povas esti unukanalaj aÅ­ dukanalaj (aÅ­ plurkanalaj) kaj " "je\n" " iu ajn akiro-rapido. Alternative, la opcio --raw povas esti indikata por ke " "oni\n" " uzu krudan PCM-datuman dosieron, kiu devas esti 16-bita dukanala pezfina " "PCM\n" " ('senkapa wav'), krom se oni specifu kromajn parametrojn por kruda reÄimo.\n" " Vi povas indiki akiradon de dosiero el 'stdin' uzante la signon '-' kiel\n" " enig-dosiernomon.\n" " LaÅ­ tiu reÄimo, eligo iras al 'stdout', krom se elig-dosiernomo estis\n" " indikita per -o\n" "\n" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" "AVERTO: ni preteratentas malpermesitan specialan signon '%c' en la nomformo\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Ni ebligas la motoron kiu regas bitrapidon\n" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "AVERTO: Kruda pez-ordo estis specifita por nekruda datumaro. Ni konsideros " "ke la enigo estas kruda.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "AVERTO: Ne eblis legi pez-ordan argumenton \"%s\"\n" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "AVERTO: Ne eblis legi reakiradan frekvencon \"%s\"\n" #: oggenc/oggenc.c:773 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "Averto: La reakirada rapideco estis specifita kiel %d Hz. Eble vi volis " "indiki %d Hz, ĉu?\n" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "Averto: Ne eblis malkomponi skalan faktoron \"%s\"\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Neniu valoro por la opcio de alnivela enkodilo estis trovita\n" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "Interna eraro dum analizado de la komandlinaj opcioj\n" #: oggenc/oggenc.c:831 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "Averto: Malpermesita komento estis uzata (\"%s\"), ni preteratentas.\n" #: oggenc/oggenc.c:870 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Averto: la meznombra bitrapido \"%s\" ne estis rekonita\n" #: oggenc/oggenc.c:878 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Averto: la minimuma bitrapido \"%s\" ne estis rekonita\n" #: oggenc/oggenc.c:892 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Averto: la maksimuma bitrapido \"%s\" ne estis rekonita\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "La kvalita opcio \"%s\" ne estis rekonita, ni preteratentas\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" "AVERTO: la kvalito nivelo estas tro alta, ni uzos la maksimuman valoron.\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" "AVERTO: Tromultaj formo-indikoj por nomoj estis specifitaj, ni uzos la " "lastan\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" "AVERTO: Tromultaj filtriloj de nomformo-indikoj estis specifitaj, ni uzos la " "lastan\n" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" "AVERTO: Tromultaj anstataÅ­igoj de filtriloj de nomformo-indikoj estis " "specifitaj, ni uzos la lastan\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" "AVERTO: Tromultaj eligaj dosieroj estis specifitaj, tio sugestas uzon de -n\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "AVERTO: Kruda bitoj/specimeno estis specifita por nekruda datumaro. Ni " "konsideros ke la enigo estas kruda.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "" "AVERTO: Nevalida bitoj/specimeno estis specifita, ni konsideros kiel 16.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "AVERTO: Kruda kanal-nombro estis specifita por nekruda datumaro. Ni " "konsideros ke la enigo estas kruda.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "AVERTO: Nevalida kanal-nombro estis specifita, ni konsideros kiel 2.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "AVERTO: Kruda akiro-rapido estis specifita por nekruda datumaro. Ni " "konsideros ke la enigo estas kruda.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" "AVERTO: Nevalida akiro-rapido estis specifita, ni konsideros kiel 44100.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "AVERTO: Nekonata opcio estis specifita, ni preteratentas->\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "Ne eblis konverti la komenton al UTF-8, ne eblas aldoni\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "Ne eblis konverti la komenton al UTF-8, ne eblas aldoni\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" "AVERTO: Nesufiĉe da titoloj estis specifitaj: promanke al la lasta titolo.\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Ne eblis krei la dosierujon \"%s\": %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Okazis eraro kiam ni kontrolis ekziston de la dosierujo %s: %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "Eraro: la pado-segmento \"%s\" ne estas dosierujo\n" #: ogginfo/ogginfo2.c:115 #, fuzzy, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" "'Vorbis'-a fluo %d:\n" "\tTuta datum-grandeco: %I64d bitokoj\n" "\tSonluda grandeco: %ldm:%02ld.%03lds\n" "\tMeznombra bitrapido: %f kb/s\n" #: ogginfo/ogginfo2.c:127 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Averto: Neniu EOS (flufino) estis difinita en la fluo %d\n" #: ogginfo/ogginfo2.c:216 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Averto: Nevalida kap-paÄo, neniu pako estis trovita\n" #: ogginfo/ogginfo2.c:246 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" "Averto: Nevalida kap-paÄo en la fluo %d, Äi enhavas tromultajn pakojn\n" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" "Rimarko: La fluo %d havas seri-numero %d, kiu estas permesita, sed Äi povas " "kaÅ­zi problemojn kun kelkaj iloj.\n" #: ogginfo/ogginfo2.c:278 #, fuzzy, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "" "Averto: Truo estis trovita en la datumaro proksimume ĉe la deÅovo je %I64d " "bitokoj. Disrompita 'ogg'.\n" #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Eraro dum malfermado de la enig-dosiero \"%s\": %s\n" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Procezado de la dosiero \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "Ne eblis trovi procezilon por la fluo, do ni forlasas Äin\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "Estis trovita paÄo por la fluo post signo EOS (flufino)" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" "Oni preterobservis la limojn por intermiksado: aperis nova fluo antaÅ­ la " "fino de ĉiuj antaÅ­aj fluoj" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "Eraro nekonata." #: ogginfo/ogginfo2.c:337 #, fuzzy, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" "Averto: malvalide lokita(j) paÄo(j) por la logika fluo %d\n" "Tio indikas ke la ogg-dosiero estas disrompita: %s.\n" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "Nova logika datum-fluo (num.: %d, serio: %08x): tipo %s\n" #: ogginfo/ogginfo2.c:352 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "" "Averto: komenco-signalo por fluo ne estis difinita en la datum-fluo %d\n" #: ogginfo/ogginfo2.c:355 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "" "Averto: komenco-signalo por fluo ne estis trovita en la mezo de la datum-" "fluo %d\n" #: ogginfo/ogginfo2.c:361 #, fuzzy, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" "Averto: aperis intervalo en numer-sekvoj de la fluo %d. Oni ricevis la paÄon " "%ld atendinte la paÄon %ld. Tio indikas nekompletan datumaron.\n" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "La logika fluo %d finiÄis\n" #: ogginfo/ogginfo2.c:384 #, fuzzy, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" "Eraro: Neniu ogg-datumaro estis trovita en la dosiero \"%s\".\n" "La enigo probable ne estas Ogg.\n" #: ogginfo/ogginfo2.c:395 #, c-format msgid "ogginfo from %s %s\n" msgstr "ogginfo el %s %s\n" #: ogginfo/ogginfo2.c:400 #, fuzzy, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" " farite de Xiph.Org Fondaĵo (http://www.xiph.org/)\n" "\n" #: ogginfo/ogginfo2.c:401 #, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" "(k) 2003-2005 Michael Smith \n" "\n" "Uzado: ogginfo [opcioj] dosiero1.ogg [dosiero2.ogx ... dosieroN.ogv]\n" "Subtenataj opcioj:\n" "\t-h Montras tiun ĉi help-mesaÄon\n" "\t-q FariÄas malpli mesaÄema. Unuope, forigas detaligajn informajn\n" "\t mesaÄojn; duope, forigas avertojn.\n" "\t-v FariÄas pli mesaÄema. Tio ebligos pli detalajn kontrolojn\n" "\t por kelkaj tipoj de fluoj.\n" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "\t-V Eligas eligan informaron kaj ĉesiÄas\n" #: ogginfo/ogginfo2.c:422 #, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" "Uzado: ogginfo [opcioj] dosiero1.ogg [dosiero2.ogx ... dosieroN.ogv]\n" "\n" "ogginfo estas ilo kiu montras informaron pri Ogg-dosieroj\n" "kaj helpas malkovri problemojn pri ili.\n" "Kompleta helpo estas montrata per \"ogginfo -h\".\n" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "Neniu enig-dosiero estis specifica. Uzu \"ogginfo -h\" por helpo\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: la opcio '%s' estas plursignifebla\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: la opcio '--%s' ne permesas argumentojn\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: la opcio '%c%s' ne permesas argumentojn\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: la opcio '%s' postulas argumenton\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: nerekonita opcio '--%s'\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: nerekonita opcio '--%c%s'\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: malpermesita opcio -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: malvalida opcio -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: la opcio postulas argumenton -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: la opcio '-W %s' estas plursignifebla\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: opcio '-W %s' ne permesas argumenton\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Ne eblis malkomponi la tondpunkton \"%s\"\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Ne eblis malkomponi la tondpunkton \"%s\"\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Ne eblis malfermi %s-on por skribado\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" "Uzado: vcut enigdosiero.ogg eligdosiero1.ogg eligdosiero2.ogg [tondpunkto | " "+tondpunkto]\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Ne eblis malfermi %s-on por legado\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Ne eblis malkomponi la tondpunkton \"%s\"\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Procezado: Ni tondas je %lld sekundoj\n" #: vcut/vcut.c:289 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Procezado: Ni tondas je %lld specimenoj\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "La procezado malsukcesis\n" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Åœlosilo ne trovita" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Malsukcesis skribo de komentoj al la elig-dosiero: %s\n" #: vcut/vcut.c:505 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Eraro dum legado de la unua paÄo de Ogg-bitfluo." #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Riparebla bitflua eraro\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "La dua datumkapo estas disrompita\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Bitflua eraro, ni daÅ­rigas\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Eraro en la unua datumkapo: ĉu ne estas 'vorbis'?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "La enigo ne esta ogg.\n" #: vcut/vcut.c:616 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Bitflua eraro, ni daÅ­rigas\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "Flufino estis trovita antaÅ­ tondpunkto.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "Ne eblis disponi sufiĉe da memoro por eniga bufrado." #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Eraro dum legado de la unua paÄo de Ogg-bitfluo." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Eraro dum legado de la komenca kapo-pako." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" "Ne eblis disponi sufiĉe da memoro por registri novan seri-numeron de fluo." #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "La enigo estas tranĉita aÅ­ malplena." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "La enigo ne estas Ogg-bitfluo." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "La Ogg-bitfluo ne enhavas vorbis-datumaron." #: vorbiscomment/vcedit.c:555 msgid "EOF before recognised stream." msgstr "EOF (dosier-fino) antaÅ­ rekonita fluo." #: vorbiscomment/vcedit.c:568 msgid "Ogg bitstream does not contain a supported data-type." msgstr "La Ogg-bitfluo ne enhavas subtenatan datum-tipon." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Disrompita dua datumkapo." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "Finfluo antaÅ­ la fino de la vorbis-datumkapoj." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "Disrompita aÅ­ malkompleta datumaro, ni daÅ­rigas..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Eraro dum skribado de fluo al la eligo. La elig-fluo povas esti disrompita " "aÅ­ tranĉita." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Malsukcesis malfermo de dosiero kiel vorbis: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Malbona komento: \"%s\"\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "malbona komento: \"%s\"\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Malsukcesis skribo de komentoj al la elig-dosiero: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "neniu ago estis indikita\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "Ne eblis konverti la komenton al UTF-8, ne eblas aldoni\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" "vorbiscomment el %s %s\n" " farite de Fondaĵo Xiph.Org (http://www.xiph.org/)\n" "\n" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "Listigi aÅ­ redakti komentojn en dosieroj Ogg Vorbis.\n" #: vorbiscomment/vcomment.c:622 #, fuzzy, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" "Uzado: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lR] dosiero\n" " vorbiscomment [-R] [-c dosiero] [-t etikedo] <-a|-w> enigdosiero " "[eligdosiero]\n" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "Listigaj opcioj\n" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" " -l, --list Listigas la komentojn (implicite, se neniu opcio " "estas indikita)\n" #: vorbiscomment/vcomment.c:632 #, c-format msgid "Editing options\n" msgstr "Redaktadaj opcioj\n" #: vorbiscomment/vcomment.c:633 #, fuzzy, c-format msgid " -a, --append Update comments\n" msgstr " -a, --append Postaldonas komentojn\n" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" " -t \"nomo=valoro\", --tag \"nomo=valoro\"\n" " Specifas komentan etikedon ĉe la komand-linio\n" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" " -w, --write Skribas komentojn, anstataÅ­igante la jam " "ekzistantajn\n" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" " -c dosiero, --commentfile dosiero\n" " Dum listigo, skribas komentojn al la indikita " "dosiero.\n" " Dum redaktado, legas komentojn el la indikita " "dosiero.\n" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr " -R, --raw Legas kaj skribas komentojn per UTF-8\n" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr " -V, --version Eligas versian informon kaj ĉesiÄas\n" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" "Se neniu elig-dosiero estas indikita, vorbiscomment modifos la enig-" "dosieron. Tio\n" "estas traktata per provizora dosiero, tiel ke la enig-dosiero ne estu " "modifita\n" "okaze de iu eraro dum la procezado.\n" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" "vorbiscomment traktas komentojn kiuj estu laÅ­ la formo \"nomo=valoro\", po " "unu por\n" "linio. Implicite, komentoj estas skribitaj al 'stdout' dum listado, kaj " "estas legitaj\n" "el 'stdin' dum redaktado. Alternative, dosiero povas esti indikita per la " "opcio -c,\n" "aÅ­ etikedoj povas esti indikitaj en la komand-linio per -t \"nomo=valoro\". " "Uzo de\n" "-c aÅ­ -t malebligas legi el 'stdin'.\n" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" "Ekzemploj:\n" " vorbiscomment -a enig.ogg -c komentoj.txt\n" " vorbiscomment -a enig.ogg -t \"ARTIST=Iu Homo\" -t \"TITLE=Iu Titolo\"\n" #: vorbiscomment/vcomment.c:672 #, fuzzy, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" "ATENTU: kruda reÄimo (--raw, -R) legos kaj skribos komentojn per UTF-8 " "anstataÅ­\n" "konverti al la signaro de la uzanto, kio utilas por skriptoj. Tamen, tio ne " "sufiĉas\n" "por Äenerala difinado de komentoj en ĉiuj situacioj.\n" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Interna eraro dum malkomponado de la komandliniaj opcioj\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Eraro dum malfermo de la enig-dosiero '%s'.\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "La enig-dosiernomo eble ne estas la sama ol la elig-dosiernomo\n" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Eraro dum malfermo de la elig-dosiero '%s'.\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Eraro dum malfermo de la koment-dosiero '%s'.\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Eraro dum malfermo de la koment-dosiero '%s'\n" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "Eraro dum forigo de la malnova dosiero '%s'\n" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "Eraro dum renomigo de '%s' al '%s'\n" #: vorbiscomment/vcomment.c:938 #, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Eraro dum forigo de malÄusta provizora dosiero %s\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "Legilo de dosiero WAV" #, fuzzy #~ msgid "WARNING: Unexpected EOF in reading Wave header\n" #~ msgstr "" #~ "Averto: Neatendita EOF (fino de dosiero) dum legado de kapo de 'Wave'\n" #, fuzzy #~ msgid "WARNING: Unexpected EOF in reading AIFF header\n" #~ msgstr "Averto: Neatendita EOF (fino de dosiero) dum lego de AIFF-kapo\n" #, fuzzy #~ msgid "WARNING: Unexpected EOF reading AIFF header\n" #~ msgstr "Averto: Neatendita EOF (fino de dosiero) dum lego de AIFF-kapo\n" #~ msgid "Big endian 32 bit PCM data is not currently supported, aborting.\n" #~ msgstr "" #~ "Pezkomenca 32-bita PCM-datumaro ne estas aktuale subtenata, ni ĉesigas.\n" #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Interna eraro! Bonvolu raporti tiun ĉi problemon.\n" #~ msgid "oggenc from %s %s" #~ msgstr "oggenc el %s %s" #, fuzzy #~ msgid "" #~ "WARNING: Comment %d in stream %d has invalid format, does not contain " #~ "'=': \"%s\"\n" #~ msgstr "" #~ "Averto: La komendo %d en la fluo %d havas nevalidan formon, Äi ne enhavas " #~ "la simbolon '=': \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #~ msgstr "" #~ "Averto : Nevalida komenta nomo-kampo en la komento %d (fluo %d): \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #~ msgstr "" #~ "Averto: Malpermesita UTF-8-a signo-sekvo en la komento %d (fluo %d): la " #~ "grandeca marko malÄustas\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #~ msgstr "" #~ "Averto: Malpermesita UTF-8-a signo-sekvo en la komento %d (fluo %d): tro " #~ "malmultaj bitokoj\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence \"%s\": %s\n" #~ msgstr "" #~ "Averto: Malpermesita UTF-8-a signo-vico en la komento %d (fluo %d): " #~ "nevalida signo-sekvo \"%s\": %s\n" #, fuzzy #~ msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" #~ msgstr "Averto: Malsukceso en utf8-a dekodilo. Tio ĉi devus esti malebla\n" #, fuzzy #~ msgid "WARNING: discontinuity in stream (%d)\n" #~ msgstr "Averto: malkontinuaĵo en fluo (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Theora header packet - invalid Theora stream " #~ "(%d)\n" #~ msgstr "" #~ "Averto: Ne eblis dekodi 'theora' kapo-pako - nevalida 'theora' fluo (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Theora stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Averto: La 'theora' fluo %d ne havas Äuste enkadrigitan kapdatumaron. La " #~ "kap-paÄo de la terminalo enhavas kromajn pakojn aÅ­ Äi havas la atributon " #~ "'granulepos' ne-nula\n" #~ msgid "Theora headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "'Theora'-kapoj estis malkomponitaj por la fluo %d, jen pli da informo...\n" #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Versio: %d.%d.%d\n" #~ msgid "Vendor: %s\n" #~ msgstr "Vendanto: %s\n" #~ msgid "Width: %d\n" #~ msgstr "LarÄeco: %d\n" #~ msgid "Height: %d\n" #~ msgstr "Alteco: %d\n" #~ msgid "Total image: %d by %d, crop offset (%d, %d)\n" #~ msgstr "Tuta bildo: %d je %d, marÄena deÅovo (%d, %d)\n" #~ msgid "Frame offset/size invalid: width incorrect\n" #~ msgstr "Malvalida deÅovo/grandeco de kadro: malÄusta larÄeco\n" #~ msgid "Frame offset/size invalid: height incorrect\n" #~ msgstr "Malvalida deÅovo/grandeco de kadro: malÄusta alteco\n" #~ msgid "Invalid zero framerate\n" #~ msgstr "Malvalida nula kadro-rapido\n" #~ msgid "Framerate %d/%d (%.02f fps)\n" #~ msgstr "Kadro-rapido %d/%d (%.02f pkps)\n" #~ msgid "Aspect ratio undefined\n" #~ msgstr "Nedifinita kadra proporcio\n" #~ msgid "Pixel aspect ratio %d:%d (%f:1)\n" #~ msgstr "Bildera proporcio %d:%d (%f:1)\n" #~ msgid "Frame aspect 4:3\n" #~ msgstr "Kadra proporcio 4:3\n" #~ msgid "Frame aspect 16:9\n" #~ msgstr "Kadra proporcio 16:9\n" #~ msgid "Frame aspect %f:1\n" #~ msgstr "Kadra proporcio %f:1\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" #~ msgstr "Kolorspaco: Rec. ITU-R BT.470-6 System M (NTSC)\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" #~ msgstr "Kolorspaco: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" #~ msgid "Colourspace unspecified\n" #~ msgstr "Nespecifita kolorspaco\n" #~ msgid "Pixel format 4:2:0\n" #~ msgstr "Bildero-formo 4:2:0\n" #~ msgid "Pixel format 4:2:2\n" #~ msgstr "Bildero-formo 4:2:2\n" #~ msgid "Pixel format 4:4:4\n" #~ msgstr "Bildero-formo 4:4:4\n" #~ msgid "Pixel format invalid\n" #~ msgstr "Malvalida bildero-formo\n" #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "Celata bitrapido: %d kbps\n" #~ msgid "Nominal quality setting (0-63): %d\n" #~ msgstr "Meznombra kvalito alÄustigo (0-63: %d\n" #~ msgid "User comments section follows...\n" #~ msgstr "Jen sekcio de uzant-komentoj...\n" #, fuzzy #~ msgid "WARNING: Expected frame %" #~ msgstr "Averto: Atendita kadro %" #, fuzzy #~ msgid "WARNING: granulepos in stream %d decreases from %" #~ msgstr "Averto: 'granulepos' en la fluo %d malpliiÄas de %" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "'Theora'-fluo %d:\n" #~ "\tTotala datum-longeco: %" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream " #~ "(%d)\n" #~ msgstr "" #~ "Averto: Ne eblis dekodi 'vorbis'-an kapo-pakon %d - malvalida 'vorbis'-a " #~ "fluo (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Averto: La 'vorbis'-a fluo %d ne havas Äuste enkadrigitan kapdatumaron. " #~ "La kap-paÄo de la terminalo enhavas kromajn pakojn aÅ­ Äi havas la " #~ "atributon 'granulepos' ne-nula\n" #~ msgid "Vorbis headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "'Vorbis'-kapoj estis malkomponitaj por la fluo %d, jen pli da informo...\n" #~ msgid "Version: %d\n" #~ msgstr "Versio: %d\n" #~ msgid "Vendor: %s (%s)\n" #~ msgstr "Vendanto: %s (%s)\n" #~ msgid "Channels: %d\n" #~ msgstr "Kanaloj: %d\n" #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "" #~ "Rapido: %ld\n" #~ "\n" #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "Meznombra bitrapido: %f kb/s\n" #~ msgid "Nominal bitrate not set\n" #~ msgstr "La meznombra bitrapido ne estas difinita\n" #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "Supera bitrapido: %f kb/s\n" #~ msgid "Upper bitrate not set\n" #~ msgstr "La supera bitrapido ne esta difinita\n" #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "Malsupera bitrapido: %f kb/s\n" #~ msgid "Lower bitrate not set\n" #~ msgstr "La malsupera bitrapido ne estas difinita\n" #, fuzzy #~ msgid "Negative or zero granulepos (%" #~ msgstr "Malvalida nula 'granulepos'-rapido\n" #~ msgid "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "Fluo Vorbis %d:\n" #~ "\tEntuta datumlongeco: %" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Kate header packet %d - invalid Kate stream " #~ "(%d)\n" #~ msgstr "" #~ "Averto: Ne eblis dekodi 'kate'-an kapo-pakon %d - nevalida 'kate'-a fluo " #~ "(%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: packet %d does not seem to be a Kate header - invalid Kate " #~ "stream (%d)\n" #~ msgstr "" #~ "Averto: la pako %d ne Åajnas esti 'kate'-kapo - nevalida 'kate'-a fluo " #~ "(%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Kate stream %d does not have headers correctly framed. Terminal " #~ "header page contains additional packets or has non-zero granulepos\n" #~ msgstr "" #~ "Averto: La 'kate'-fluo %d ne havas Äuste enkadrigitan kapdatumaron. La " #~ "fina kap-paÄo enhavas kromajn pakojn aÅ­ Äi havas ne-nulan 'granulepos'-" #~ "atributon\n" #~ msgid "Kate headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "'Kate'-kapoj estis disanalizitaj por la fluo %d, jen pli da informo...\n" #~ msgid "Version: %d.%d\n" #~ msgstr "Versio: %d.%d\n" #~ msgid "Language: %s\n" #~ msgstr "Lingvo: %s\n" #~ msgid "No language set\n" #~ msgstr "Neniu lingvo estis difinita\n" #~ msgid "Category: %s\n" #~ msgstr "Kategorio: %s\n" #~ msgid "No category set\n" #~ msgstr "Neniu kategorio estis difinita\n" #~ msgid "utf-8" #~ msgstr "utf-8" #~ msgid "Character encoding: %s\n" #~ msgstr "Sign-enkodo: %s\n" #~ msgid "Unknown character encoding\n" #~ msgstr "Nekonata sign-enkodo\n" #~ msgid "left to right, top to bottom" #~ msgstr "maldekstre dekstren, supre malsupren" #~ msgid "right to left, top to bottom" #~ msgstr "dekstre maldekstren, supre malsupren" #~ msgid "top to bottom, right to left" #~ msgstr "supre malsupren, dekstre maldekstren" #~ msgid "top to bottom, left to right" #~ msgstr "supre malsupren, maldekstre dekstren" #~ msgid "Text directionality: %s\n" #~ msgstr "Direkto de teksto: %s\n" #~ msgid "Unknown text directionality\n" #~ msgstr "Nekonata direkto de teksto\n" #~ msgid "Invalid zero granulepos rate\n" #~ msgstr "Malvalida nula 'granulepos'-rapido\n" #~ msgid "Granulepos rate %d/%d (%.02f gps)\n" #~ msgstr "'Granulepos'-rapido %d/%d (%.02f gps)\n" #~ msgid "\n" #~ msgstr "\n" #~ msgid "" #~ "Kate stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "Fluo Kate %d:\n" #~ "\tEntuta datumlongeco: %" #, fuzzy #~ msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" #~ msgstr "" #~ "Averto: Truo estis trovita en la datumaro (%d bajtoj) proksimume ĉe la " #~ "deÅovo %" #~ msgid "Page error. Corrupt input.\n" #~ msgstr "PaÄa eraro. Disrompita enigo.\n" #, fuzzy #~ msgid "Setting EOS: update sync returned 0\n" #~ msgstr "Difinado de flufino: Äisdatigo de sinkronigo respondis per 0\n" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "Tondpunkto ne ene de fluo. Dua dosiero ĉiam malplenos\n" #~ msgid "Unhandled special case: first file too short?\n" #~ msgstr "" #~ "Netraktebla speciala okazo: ĉu la unua dosiero estas tro mallonga?\n" #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "" #~ "Tondpunkto tro proksima de la dosierfino. Dua dosiero malpleniÄos.\n" #, fuzzy #~ msgid "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " Ogg page. File may not decode correctly.\n" #~ msgstr "" #~ "ERARO: La unuaj du son-pakoj ne enteniÄas en unu\n" #~ " ogg-paÄo. La dosiero eble ne estos Äuste dekodita.\n" #, fuzzy #~ msgid "Update sync returned 0, setting EOS\n" #~ msgstr "La Äisdatigo de sinkronigo respondis per 0, ni almetas flufinon\n" #~ msgid "Bitstream error\n" #~ msgstr "Bitflua eraro\n" #~ msgid "Error in first page\n" #~ msgstr "Eraro en la unua paÄo\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "eraro en la unua pako\n" #~ msgid "EOF in headers\n" #~ msgstr "Finfluo en datumkapoj\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "AVERTO: vcut ankoraÅ­ estas eksperimenta programeto.\n" #~ "Certigu ke la eligitaj dosieroj estas korektaj antaÅ­ ol forigi la " #~ "fontdosierojn.\n" #~ "\n" #~ msgid "Error reading headers\n" #~ msgstr "Eraro dum la legado de datumkapoj\n" #~ msgid "Error writing first output file\n" #~ msgstr "Eraro dum skribado de la unua elig-dosiero\n" #~ msgid "Error writing second output file\n" #~ msgstr "Eraro dum skribado de la dua elig-dosiero\n" #~ msgid "Out of memory opening AU driver\n" #~ msgstr "Manko de memoro dun malfermo de AU-pelilo\n" #~ msgid "At this moment, only linear 16 bit .au files are supported\n" #~ msgstr "" #~ "Je tiu ĉi momento, nur linearaj 16-bitaj '.au'-dosieroj estas subtenataj\n" #~ msgid "" #~ "Negative or zero granulepos (%lld) on vorbis stream outside of headers. " #~ "This file was created by a buggy encoder\n" #~ msgstr "" #~ "Negativa aÅ­ nula 'granulepos' (%lld) aperis for de kapdatumaro en " #~ "'vorbis'-a fluo. Tiu ĉi dosiero estis kreita de fuÅa enkodilo\n" #~ msgid "" #~ "Negative granulepos (%lld) on kate stream outside of headers. This file " #~ "was created by a buggy encoder\n" #~ msgstr "" #~ "Negativa 'granulepos' (%lld) aperis for de kapdatumaro en 'kate'-fluo. " #~ "Tiu ĉi dosiero estis kreita de fuÅa enkodilo\n" #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 el %s %s\n" #~ " farite de Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Sintakso: ogg123 [] ...\n" #~ "\n" #~ " -h, --help tiu ĉi helpo\n" #~ " -V, --version montras la version de Ogg123\n" #~ " -d, --device=d uzas 'd'-on kiel eligan aparaton\n" #~ " Eblaj aparatoj estas ('*'=samtempe, '@'=dosiere):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" #~ " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -@, --list=filename Read playlist of files and URLs from \"filename" #~ "\"\n" #~ " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n Load n%% of the input buffer before playing\n" #~ " -v, --verbose Display progress and other status information\n" #~ " -q, --quiet Don't display anything (no title)\n" #~ " -x n, --nth Play every 'n'th block\n" #~ " -y n, --ntimes Repeat every played block 'n' times\n" #~ " -z, --shuffle Shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s Set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=dosiernomo Difinas la eligan dosiernomon por antaÅ­e\n" #~ " indikita aparat-dosiero (kun -d).\n" #~ " -k n, --skip n Preterpasas la unuajn 'n' sekundojn (aÅ­ laÅ­ formo hh:mm:" #~ "ss)\n" #~ " -K n, --end n Finas je la sekundo 'n' (aÅ­ laÅ­ formo hh:mm:ss)\n" #~ " -o, --device-option=k:v pasas specialan opcion 'k' kun valoro\n" #~ " 'v' al antaÅ­e indikita aparato (kun -d). Vidu\n" #~ " \"man\"-an paÄon por pli da informo.\n" #~ " -@, --list=dosiernomo Legas dosierojn kaj URL-ojn el 'dosiernomo' kun " #~ "ludlisto\n" #~ " -b n, --buffer n Uzas enigan bufron el 'n' kilobajtoj\n" #~ " -p n, --prebuffer n ÅœarÄas je 'n'%% el la eniga bufro antaÅ­ ol ekludi\n" #~ " -v, --verbose Montras progreson kaj ceteran informaron pri stato\n" #~ " -q, --quiet Ne montras ion ajn (neniu titolo)\n" #~ " -x n, --nth Ludas ĉiun 'n'-an blokon\n" #~ " -y n, --ntimes Ripetas ĉiun luditan blokon 'n' foje\n" #~ " -z, --shuffle Hazarda ludado\n" #~ "\n" #~ "ogg123 pretersaltos al la sekvan muzikon pro SIGINT (Ctrl-C); du SIGINT-" #~ "oj ene de\n" #~ "'s' milisekundoj finigas ogg123-on.\n" #~ " -l, --delay=s Difinas 's'-on [milisekundoj] (antaÅ­supoze al 500).\n" #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -v, --version Print the version number\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps. By default, this produces a VBR\n" #~ " encoding, equivalent to using -q or --quality.\n" #~ " See the --managed option to use a managed bitrate\n" #~ " targetting the selected bitrate.\n" #~ " --managed Enable the bitrate management engine. This will " #~ "allow\n" #~ " much greater control over the precise bitrate(s) " #~ "used,\n" #~ " but encoding will be much slower. Don't use it " #~ "unless\n" #~ " you have a strong need for detailed control over\n" #~ " bitrate, such as for streaming.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel. Using this will\n" #~ " automatically enable managed bitrate mode (see\n" #~ " --managed).\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications. Using this will " #~ "automatically\n" #~ " enable managed bitrate mode (see --managed).\n" #~ " --advanced-encode-option option=value\n" #~ " Sets an advanced encoder option to the given " #~ "value.\n" #~ " The valid options (and their values) are " #~ "documented\n" #~ " in the man page supplied with this program. They " #~ "are\n" #~ " for advanced users only, and should be used with\n" #~ " caution.\n" #~ " -q, --quality Specify quality, between -1 (very low) and 10 " #~ "(very\n" #~ " high), instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " The default quality level is 3.\n" #~ " --resample n Resample input data to sampling rate n (Hz)\n" #~ " --downmix Downmix stereo to mono. Only allowed on stereo\n" #~ " input.\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" #~ " being copied to the output Ogg Vorbis file.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times. The argument should be in the\n" #~ " format \"tag=value\".\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 24, 16, or 8 bit PCM WAV, AIFF, or " #~ "AIFF/C\n" #~ " files, 32 bit IEEE floating point WAV, and optionally FLAC or Ogg FLAC. " #~ "Files\n" #~ " may be mono or stereo (or more channels) and any sample rate.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16 bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an output filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "Sintakso: oggenc [opcioj] enigo.wav [...]\n" #~ "\n" #~ "OPCIOJ:\n" #~ " Äœenerale:\n" #~ " -Q, --quiet Skribas nenion al 'stderr'\n" #~ " -h, --help Montras tiun ĉi helpan tekston\n" #~ " -v, --version Montras la version de la programo\n" #~ " -r, --raw Kruda reÄimo. Enig-dosieroj estas rekte legataj " #~ "kiel\n" #~ " PCM-datumaron\n" #~ " -B, --raw-bits=n Difinas po bitoj/specimeno dum kruda enigo. " #~ "AntaÅ­supoze al 16\n" #~ " -C, --raw-chan=n Difinas la nombron da kanaloj dum kruda enigo. " #~ "AntaÅ­supoze\n" #~ " al 2\n" #~ " -R, --raw-rate=n Difinas po specimenoj/sekundo dum kruda enigo. " #~ "AntaÅ­supoze al\n" #~ " 44100\n" #~ " --raw-endianness 1 por pezkomenceco, 0 por pezfineco (antaÅ­supoze al " #~ "0)\n" #~ " -b, --bitrate Elektas meznombran bitrapidon por enkodigo. Oni " #~ "provas\n" #~ " enkodi je bitrapido ĉirkaÅ­ tio. Äœi prenas " #~ "argumenton\n" #~ " je kbps. AntaÅ­supoze, tio produktas VBR-enkodon " #~ "ekvivalentan\n" #~ " al tia, kiam oni uzas la opcion -q aÅ­ --quality.\n" #~ " Vidu la opcion --managed por uzi regitan " #~ "bitrapidon\n" #~ " kiu celu elektitan valoron.\n" #~ " --managed Åœaltas la motoron por regado de bitrapido. Tio " #~ "permesos\n" #~ " multe pli grandan precizecon por specifi la " #~ "uzata(j)n\n" #~ " bitrapido(j)n, tamen la enkodado estos multe pli\n" #~ " malrapida. Ne uzu tion, krom se vi bezonegas bonan\n" #~ " precizecon por bitrapido, ekzemple dum sonfluo.\n" #~ " -m, --min-bitrate Specifas minimuman bitrapidon (po kbps). Utilas " #~ "por\n" #~ " enkodado de kanalo kun fiksita grandeco. Tio " #~ "aÅ­tomate\n" #~ " ebligos la reÄimon de regado de bitrapido\n" #~ " (vidu la opcion --managed).\n" #~ " -M, --max-bitrate Specifas maksimuman bitrapidon po kbps. Utilas por\n" #~ " sonfluaj aplikaĵoj. Tio aÅ­tomate ebligos la reÄimon " #~ "de\n" #~ " regado de bitrapido (vidu la opcion --managed).\n" #~ " --advanced-encode-option option=value\n" #~ " Difinas alnivelan enkodan opcion por la indikita " #~ "valoro.\n" #~ " La validaj opcioj (kaj ties valoroj) estas " #~ "priskribitaj\n" #~ " en la 'man'-paÄo disponigita kun tiu ĉi programo. " #~ "Ili\n" #~ " celas precipe alnivelajn uzantojn, kaj devus esti " #~ "uzata\n" #~ " tre singarde.\n" #~ " -q, --quality Specifas kvaliton, inter -1 (tre malalta) kaj 10 " #~ "(tre\n" #~ " alta), anstataÅ­ indiki specifan bitrapidon.\n" #~ " Tio estas la normala reÄimo de funkciado.\n" #~ " Frakciaj kvalitoj (ekz. 2.75) estas permesitaj.\n" #~ " La antaÅ­supozita kvalita nivelo estas 3.\n" #~ " --resample n Reakiras enigan datumaron per rapideco 'n' (Hz).\n" #~ " --downmix Enmiksas dukanalon al unukanalo. Nur ebligita por\n" #~ " dukanala enigo.\n" #~ " -s, --serial Specifas serian numeron por la fluo. Se oni " #~ "enkodas\n" #~ " multopajn dosierojn, tio estos pliigita por ĉiu " #~ "fluo\n" #~ " post la unua.\n" #~ " --discard-comments Evitas komentojn en FLAC aÅ­ Ogg-FLAC-dosieroj por " #~ "ke\n" #~ " ili ne estu kopiitaj al la elig-dosiero de Ogg " #~ "Vorbis.\n" #~ "\n" #~ " Nomado:\n" #~ " -o, --output=dn Skribas dosieron kun la nomo 'dn' (nur validas por " #~ "unuop-\n" #~ " dosiera reÄimo)\n" #~ " -n, --names=ĉeno Produktas dosiernomojn laÅ­ tiu 'ĉeno', kun %%a, %" #~ "%t,\n" #~ " %%l, %%n, %%d anstataÅ­itaj per artisto, titolo, " #~ "albumo,\n" #~ " bendnumero kaj dato, respektive (vidu sube kiel " #~ "specifi\n" #~ " tion). %%%% rezultigas la signon %%.\n" #~ " -X, --name-remove=s Forigas la indikitajn signojn en 's' el la " #~ "parametroj de\n" #~ " la ĉeno post -n. Utilas por certigi validajn " #~ "dosiernomojn\n" #~ " -P, --name-replace=s AnstataÅ­igas signojn forigitaj de --name-remove per " #~ "la\n" #~ " specifitaj signoj en la ĉeno 's'. Se tiu ĉeno estos " #~ "pli\n" #~ " mallonga ol la listo en --name-remove aÅ­ tiu ne " #~ "estas\n" #~ " specifita, la signoj estos simple forigitaj.\n" #~ " AntaÅ­supozitaj valoroj por la supraj du argumentoj " #~ "dependas de\n" #~ " la platformo de via sistemo.\n" #~ " -c, --comment=k Aldonas la ĉenon 'k' kiel kroman komenton. Tio " #~ "povas esti\n" #~ " uzata plurfoje. La argumento devas laÅ­i la formon\n" #~ " \"etikedo=valoro\".\n" #~ " -d, --date Dato por la bendo (ordinare temas pri la dato de " #~ "ludado)\n" #~ " -N, --tracknum Bendnumero por tiu ĉi bendo\n" #~ " -t, --title Titolo por tiu ĉi bendo\n" #~ " -l, --album Nomo de la albumo\n" #~ " -a, --artist Nomo de la artisto\n" #~ " -G, --genre Muzikstilo de la bendo\n" #~ " Se multopaj enig-dosieroj estas indikitaj, " #~ "tiaokaze\n" #~ " multopaj ekzemploj de la antaÅ­aj kvin argumentoj " #~ "estos\n" #~ " uzitaj, laÅ­ la donita ordo. Se oni indikis malpli " #~ "da\n" #~ " titoloj ol dosieroj, OggEnc montros averton, kaj " #~ "reuzos\n" #~ " la lastan por la restantaj dosieroj. Se malpli da " #~ "bend-\n" #~ " numeroj estas indikitaj, la restantaj dosieroj " #~ "estos\n" #~ " nenumeritaj. Por la aliaj, la lasta etikedo estos " #~ "reuzata\n" #~ " por ĉiuj restantaj sen ajna averto (tiel ekzemple " #~ "vi\n" #~ " povas specifi daton kaj aplikigi Äin por ĉiuj " #~ "aliaj\n" #~ " dosieroj.\n" #~ "\n" #~ "ENIG-DOSIEROJ:\n" #~ " Enigaj dosieroj de OggEnc aktuale devas esti laÅ­ la formoj 24, 16 aÅ­ 8-" #~ "bitaj\n" #~ " PCM WAV, AIFF aÅ­ AIFF/C, 32-bitaj IEEE-glitkomaj WAV kaj, laÅ­dezire, " #~ "FLAC aÅ­\n" #~ " Ogg FLAC. Dosieroj povas esti unukanalaj aÅ­ dukanalaj (aÅ­ plurkanalaj) " #~ "kaj je\n" #~ " iu ajn akiro-rapido. Alternative, la opcio --raw povas esti indikata por " #~ "ke oni\n" #~ " uzu krudan PCM-datuman dosieron, kiu devas esti 16-bita dukanala pezfina " #~ "PCM\n" #~ " ('senkapa wav'), krom se oni specifu kromajn parametrojn por kruda " #~ "reÄimo.\n" #~ " Vi povas indiki akiron de dosiero el 'stdin' uzante la signon '-' kiel\n" #~ " enig-dosiernomon.\n" #~ " LaÅ­ tiu reÄimo, eligo iras al 'stdout', krom se elig-dosiernomo estis\n" #~ " indikita per -o\n" #~ "\n" #~ msgid "Frame aspect 1:%d\n" #~ msgstr "Kadra proporcio 1:%d\n" #~ msgid "Warning: granulepos in stream %d decreases from %I64d to %I64d" #~ msgstr "Averto: 'granulepos' en la fluo %d malpliiÄas de %I64d al %I64d" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %I64d bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "'Theora' fluo %d:\n" #~ "\tTuta datum-grandeco: %I64d bitokoj\n" #~ "\tSonluda grandeco: %ldm:%02ld.%03lds\n" #~ "\tMeznombra bitrapido: %f kb/s\n" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %lld bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "'Theora' fluo %d:\n" #~ "\tTuta datum-grandeco: %lld bitokoj\n" #~ "\tSonluda grandeco: %ldm:%02ld.%03lds\n" #~ "\tMeznombra bitrapido: %f kb/s\n" #~ msgid "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %lld bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "'Vorbis'-a fluo %d:\n" #~ "\tTuta datum-grandeco: %lld bitokoj\n" #~ "\tSonluda grandeco: %ldm:%02ld.%03lds\n" #~ "\tMeznombra bitrapido: %f kb/s\n" #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ " Raw mode (--raw, -R) will read and write comments in UTF-8,\n" #~ " rather than converting to the user's character set. This is\n" #~ " useful for using vorbiscomment in scripts. However, this is\n" #~ " not sufficient for general round-tripping of comments in all\n" #~ " cases.\n" #~ msgstr "" #~ "Sintakso: \n" #~ " vorbiscomment [-l] dosiero.ogg (por listigi la komentojn)\n" #~ " vorbiscomment -a en.ogg el.ogg (por postaldoni komentojn)\n" #~ " vorbiscomment -w en.ogg el.ogg (por modifi la komentojn)\n" #~ "\ten la skriba okazo, nova aro da komentoj laÅ­ la formo\n" #~ "\t'ETIKEDO=valoro' estas atendata el 'stdin'. Tiu aro tute\n" #~ "\tanstataÅ­igos la ekzistantan aron.\n" #~ " AmbaÅ­ -a kaj -w povas trakti nur unuopan dosiernomon,\n" #~ " kaj tiel provizora dosiero estos uzata.\n" #~ " -c povas esti uzata por preni komentojn el specifita dosiero\n" #~ " anstataÅ­ el 'stdin'.\n" #~ " Ekzemplo: vorbiscomment -a en.ogg -c komentoj.txt\n" #~ " postaldonos la komentojn de 'komentoj.txt' al 'en.ogg'\n" #~ " Fine, vi povas specifi kiom ajn etikedojn por aldoni en\n" #~ " la komandlinio uzante la opcion -t. Ekz.:\n" #~ " vorbiscomment -a en.ogg -t \"ARTIST=Iu homo\" -t \"TITLE=Iu Titolo\"\n" #~ " (rimarku ke uzante tion, legado de komentoj el la koment-dosiero\n" #~ " aÅ­ el 'stdin' estas malebligita)\n" #~ " Kruda reÄimo (--raw, -R) legos kaj skribos komentojn kvazaÅ­ UTF-8,\n" #~ " anstataÅ­ per konvertado el la uzula signaro. Tio utilas por\n" #~ " uzi 'vorbiscomment' en skriptoj. Tamen, tio estas\n" #~ " ne kontentiga por Äenerala aranÄado de komentoj en ĉiuj okazoj.\n" vorbis-tools-1.4.2/po/en_GB.po0000644000175000017500000026075414002243560013043 00000000000000# The translation of vorbis-tools messages to British English # Copyright (C) 2004 Free Software Foundation, Inc. # Gareth Owen , 2004 # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.0\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2004-04-26 10:36-0400\n" "Last-Translator: Gareth Owen \n" "Language-Team: English (British) \n" "Language: en_GB\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Error: Out of memory in malloc_action().\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "Error: Could not allocate memory in malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Error: Device not available.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "Error: %s requires an output filename to be specified with -f.\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Error: Unsupported option value to %s device.\n" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Error: Cannot open device %s.\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Error: Device %s failure.\n" #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "Error: An output file cannot be given for %s device.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Error: Cannot open file %s for writing.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Error: File %s already exists.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "Error: This error should never happen (%d). Panic!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "Error: Out of memory in new_audio_reopen_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "Error: Out of memory in new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "Error: Out of memory in new_status_message_arg().\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Error: Out of memory in decoder_buffered_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Error: Out of memory in decoder_buffered_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "System error" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Parse error: %s on line %d of %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Name" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Description" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Type" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Default" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "none" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "bool" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "char" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "string" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "int" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "float" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "double" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "other" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(NULL)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(none)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Success" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Key not found" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "No key" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Bad value" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Bad type in options list" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Unknown error" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "Internal error parsing command line options.\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Input buffer size smaller than minimum size of %dkB." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "Available options:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== No such device %s.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== Driver %s is not a file output driver.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "=== Cannot specify output file without specifying a driver.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Incorrect option format: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Prebuffer value invalid. Range is 0-100.\n" #: ogg123/cmdline_options.c:202 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 from %s %s\n" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Cannot play every 0th chunk!\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- Cannot open playlist file %s. Skipped.\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- Driver %s specified in configuration file invalid.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" #: ogg123/cmdline_options.c:307 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:314 #, fuzzy, c-format msgid "Available codecs: " msgstr "Available options:\n" #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:342 #, fuzzy, c-format msgid "File:" msgstr "File: %s" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" #: ogg123/cmdline_options.c:361 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Available options:\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:369 #, fuzzy, c-format msgid "Input options\n" msgstr "Input not ogg.\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:374 #, fuzzy, c-format msgid "Decode options\n" msgstr "Description" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Available options:\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr "" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Error: Out of memory.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "Error: Could not allocate memory in malloc_decoder_stats()\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Error: Could not set signal mask." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Error: Unable to create input buffer.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "default output device" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "shuffle playlist" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:230 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Could not skip %f seconds of audio." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Audio Device: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Author: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "Comments: %s" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Warning: Could not read directory %s.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Error: Could not create audio buffer.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "No module could be found to read from %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Cannot open %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "The file format of %s is not supported.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "Error opening %s using the %s module. The file may be corrupted.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "Playing: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Could not skip %f seconds of audio." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Error: Decoding failure.\n" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Done." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Hole in the stream; probably harmless\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== Vorbis library reported a stream error.\n" #: ogg123/oggvorbis_format.c:361 #, fuzzy, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "Bitstream is %d channel, %ldHz" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Encoded by: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "Error: Out of memory in create_playlist_member().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Warning: Could not read directory %s.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "Warning from playlist %s: Could not read directory %s.\n" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "Error: Out of memory in playlist_to_array().\n" #: ogg123/speex_format.c:366 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Bitstream is %d channel, %ldHz" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Version: %d\n" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Error reading headers\n" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sPrebuf to %.1f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sPaused" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Memory allocation error in stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "File: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "Time: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "of %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Avg bitrate: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Input Buffer %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " Output Buffer %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "Error: Could not allocate memory in malloc_data_source_stats()\n" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "Track number:" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain (Reference loudness):" msgstr "ReplayGain (Track):" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "ReplayGain (Track):" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:45 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr "ReplayGain (Track):" #: ogg123/vorbis_comments.c:46 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "Copyright" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 msgid "Comment:" msgstr "Comment:" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 from %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: oggdec/oggdec.c:59 #, fuzzy, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg cutpoint\n" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "ERROR: Cannot open input file \"%s\": %s\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "ERROR: Cannot open output file \"%s\": %s\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Failed to open file as vorbis: %s\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Done encoding file \"%s\"\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "standard input" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "standard output" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Error removing old file %s\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "ERROR: No input files specified. Use -h for help.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "WAV file reader" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "AIFF/AIFC file reader" #: oggenc/audio.c:50 #, fuzzy msgid "FLAC file reader" msgstr "WAV file reader" #: oggenc/audio.c:51 #, fuzzy msgid "Ogg FLAC file reader" msgstr "WAV file reader" #: oggenc/audio.c:129 oggenc/audio.c:459 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "Warning: Unexpected EOF in reading WAV header\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Skipping chunk of type \"%s\", length %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Warning: Unexpected EOF in AIFF chunk\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Warning: No common chunk found in AIFF file\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Warning: Truncated common chunk in AIFF header\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "Warning: Unexpected EOF in reading AIFF header\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "Warning: Truncated common chunk in AIFF header\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Warning: AIFF-C header truncated.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "Warning: Can't handle compressed AIFF-C\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "Warning: No SSND chunk found in AIFF file\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Warning: Corrupted SSND chunk in AIFF header\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Warning: Unexpected EOF reading AIFF header\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Warning: Unrecognised format chunk in WAV header\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" #: oggenc/audio.c:546 #, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "ERROR: Wav file is unsupported subformat (must be 16 bit PCM\n" "or floating point PCM\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:799 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "Couldn't initialise resampler\n" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "Setting advanced encoder option \"%s\" to %s\n" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "Setting advanced encoder option \"%s\" to %s\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "Changed lowpass frequency from %f kHz to %f kHz\n" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "Unrecognised advanced option \"%s\"\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, fuzzy, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" "255 channels should be enough for anyone. (Sorry, vorbis doesn't support " "more)\n" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "Requesting a minimum or maximum bitrate requires --managed\n" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "Mode initialisation failed: invalid parameters for quality\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "Mode initialisation failed: invalid parameters for bitrate\n" #: oggenc/encode.c:374 #, fuzzy, c-format msgid "WARNING: no language specified for %s\n" msgstr "WARNING: Unknown option specified, ignoring->\n" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "Failed writing header to output stream\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Failed writing header to output stream\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "Failed writing header to output stream\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Failed writing header to output stream\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Failed writing data to output stream\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, fuzzy, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [%2dm%.2ds remaining] %c" #: oggenc/encode.c:726 #, fuzzy, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tEncoding [%2dm%.2ds so far] %c" #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Done encoding file \"%s\"\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Done encoding.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tFile length: %dm %04.1fs\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tElapsed time: %dm %04.1fs\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tRate: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tAverage bitrate: %.1f kb/s\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Failed to open file as vorbis: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Error: Out of memory.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "ERROR: Cannot open input file \"%s\": %s\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 #, fuzzy msgid "RAW file reader" msgstr "WAV file reader" #: oggenc/oggenc.c:131 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "ERROR: No input files specified. Use -h for help.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "ERROR: Multiple files specified when using stdin\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" #: oggenc/oggenc.c:217 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "WARNING: Insufficient titles specified, defaulting to final title.\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "ERROR: Cannot open input file \"%s\": %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Opening with %s module: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "ERROR: Input file \"%s\" is not a supported format\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "ERROR: Input file \"%s\" is not a supported format\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "WARNING: No filename, defaulting to \"default.ogg\"\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" #: oggenc/oggenc.c:363 #, fuzzy, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "Input filename may not be the same as output filename\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "ERROR: Cannot open output file \"%s\": %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "Resampling input from %d Hz to %d Hz\n" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Downmixing stereo to mono\n" #: oggenc/oggenc.c:441 #, fuzzy, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "ERROR: Can't downmix except from stereo to mono\n" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 from %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "WARNING: Ignoring illegal escape character '%c' in name format\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Enabling bitrate management engine\n" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "WARNING: Couldn't read endianness argument \"%s\"\n" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "WARNING: Couldn't read resampling frequency \"%s\"\n" #: oggenc/oggenc.c:773 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "Warning: Resample rate specified as %d Hz. Did you mean %d Hz?\n" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "WARNING: Couldn't read resampling frequency \"%s\"\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "No value for advanced encoder option found\n" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "Internal error parsing command line options\n" #: oggenc/oggenc.c:831 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "Warning: Illegal comment used (\"%s\"), ignoring.\n" #: oggenc/oggenc.c:870 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Warning: nominal bitrate \"%s\" not recognised\n" #: oggenc/oggenc.c:878 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Warning: minimum bitrate \"%s\" not recognised\n" #: oggenc/oggenc.c:892 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Warning: maximum bitrate \"%s\" not recognised\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Quality option \"%s\" not recognised, ignoring\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "WARNING: quality setting too high, setting to maximum quality.\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "WARNING: Multiple name formats specified, using final\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "WARNING: Multiple name format filters specified, using final\n" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" "WARNING: Multiple name format filter replacements specified, using final\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "WARNING: Multiple output files specified, suggest using -n\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "WARNING: Invalid bits/sample specified, assuming 16.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "WARNING: Invalid channel count specified, assuming 2.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "WARNING: Invalid sample rate specified, assuming 44100.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "WARNING: Unknown option specified, ignoring->\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "Couldn't convert comment to UTF-8, cannot add\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "Couldn't convert comment to UTF-8, cannot add\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "WARNING: Insufficient titles specified, defaulting to final title.\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Couldn't create directory \"%s\": %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Error checking for existence of directory %s: %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "Error: path segment \"%s\" is not a directory\n" #: ogginfo/ogginfo2.c:115 #, fuzzy, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" "Vorbis stream %d:\n" "\tTotal data length: %ld bytes\n" "\tPlayback length: %ldm:%02lds\n" "\tAverage bitrate: %f kbps\n" #: ogginfo/ogginfo2.c:127 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Warning: EOS not set on stream %d\n" #: ogginfo/ogginfo2.c:216 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Warning: Invalid header page, no packet found\n" #: ogginfo/ogginfo2.c:246 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "Warning: Invalid header page in stream %d, contains multiple packets\n" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" #: ogginfo/ogginfo2.c:278 #, fuzzy, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "Warning: Hole in data found at approximate offset " #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Error opening input file \"%s\": %s\n" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Processing file \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "Could not find a processor for stream, bailing\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:337 #, fuzzy, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" "Warning: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt ogg file.\n" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "New logical stream (#%d, serial: %08x): type %s\n" #: ogginfo/ogginfo2.c:352 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "Warning: stream start flag not set on stream %d\n" #: ogginfo/ogginfo2.c:355 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "Warning: stream start flag found in mid-stream on stream %d\n" #: ogginfo/ogginfo2.c:361 #, fuzzy, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" "Warning: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "Logical stream %d ended\n" #: ogginfo/ogginfo2.c:384 #, fuzzy, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" "Error: No ogg data found in file \"%s\".\n" "Input probably not ogg.\n" #: ogginfo/ogginfo2.c:395 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 from %s %s\n" #: ogginfo/ogginfo2.c:400 #, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:401 #, fuzzy, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" "ogginfo 1.0\n" "(c) 2002 Michael Smith \n" "\n" "Usage: ogginfo [flags] files1.ogg [file2.ogg ... fileN.ogg]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" "\n" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:422 #, fuzzy, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" "Usage: ogginfo [flags] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" "Ogginfo is a tool for printing information about ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "No input files specified. \"ogginfo -h\" for help\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: option `%s' is ambiguous\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: option `--%s' doesn't allow an argument\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: option `%c%s' doesn't allow an argument\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: option `%s' requires an argument\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: unrecognised option `--%s'\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: unrecognised option `%c%s'\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: illegal option -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: invalid option -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: option requires an argument -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: option `-W %s' is ambiguous\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: option `-W %s' doesn't allow an argument\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Couldn't parse cutpoint \"%s\"\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Couldn't parse cutpoint \"%s\"\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Couldn't open %s for writing\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg cutpoint\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Couldn't open %s for reading\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Couldn't parse cutpoint \"%s\"\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Processing: Cutting at %lld\n" #: vcut/vcut.c:289 #, fuzzy, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Processing: Cutting at %lld\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "Processing failed\n" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Key not found" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Failed to write comments to output file: %s\n" #: vcut/vcut.c:505 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Error reading first page of Ogg bitstream." #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Recoverable bitstream error\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Secondary header corrupt\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Bitstream error, continuing\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Error in primary header: not vorbis?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "Input not ogg.\n" #: vcut/vcut.c:616 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Bitstream error, continuing\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "Found EOS before cut point.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Error reading first page of Ogg bitstream." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Error reading initial header packet." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "Input truncated or empty." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "Input is not an Ogg bitstream." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Ogg bitstream does not contain vorbis data." #: vorbiscomment/vcedit.c:555 #, fuzzy msgid "EOF before recognised stream." msgstr "EOF before end of vorbis headers." #: vorbiscomment/vcedit.c:568 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Ogg bitstream does not contain vorbis data." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Corrupt secondary header." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "EOF before end of vorbis headers." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "Corrupt or missing data, continuing..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Error writing stream to output. Output stream may be corrupted or truncated." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Failed to open file as vorbis: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Bad comment: \"%s\"\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "bad comment: \"%s\"\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Failed to write comments to output file: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "no action specified\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "Couldn't convert comment to UTF8, cannot add\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:622 #, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:632 #, fuzzy, c-format msgid "Editing options\n" msgstr "Bad type in options list" #: vorbiscomment/vcomment.c:633 #, c-format msgid " -a, --append Update comments\n" msgstr "" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" #: vorbiscomment/vcomment.c:672 #, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Internal error parsing command options\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Error opening input file '%s'.\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "Input filename may not be the same as output filename\n" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Error opening output file '%s'.\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Error opening comment file '%s'.\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Error opening comment file '%s'\n" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "Error removing old file %s\n" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "Error renaming %s to %s\n" #: vorbiscomment/vcomment.c:938 #, fuzzy, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Error removing old file %s\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "WAV file reader" #, fuzzy #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Internal error parsing command options\n" #, fuzzy #~ msgid "oggenc from %s %s" #~ msgstr "ogg123 from %s %s\n" #, fuzzy #~ msgid "" #~ "WARNING: Comment %d in stream %d has invalid format, does not contain " #~ "'=': \"%s\"\n" #~ msgstr "" #~ "Warning: Comment %d in stream %d is invalidly formatted, does not contain " #~ "'=': \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #~ msgstr "" #~ "Warning: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #~ msgstr "" #~ "Warning: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #~ msgstr "" #~ "Warning: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence \"%s\": %s\n" #~ msgstr "" #~ "Warning: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence\n" #, fuzzy #~ msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" #~ msgstr "Warning: Failure in utf8 decoder. This should be impossible\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Theora header packet - invalid Theora stream " #~ "(%d)\n" #~ msgstr "" #~ "Warning: Could not decode vorbis header packet - invalid vorbis stream " #~ "(%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Theora stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Warning: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #, fuzzy #~ msgid "Theora headers parsed for stream %d, information follows...\n" #~ msgstr "Vorbis headers parsed for stream %d, information follows...\n" #, fuzzy #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Version: %d\n" #~ msgid "Vendor: %s\n" #~ msgstr "Vendor: %s\n" #, fuzzy #~ msgid "Height: %d\n" #~ msgstr "Version: %d\n" #, fuzzy #~ msgid "Colourspace unspecified\n" #~ msgstr "no action specified\n" #, fuzzy #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "Upper bitrate: %f kb/s\n" #~ msgid "User comments section follows...\n" #~ msgstr "User comments section follows...\n" #, fuzzy #~ msgid "WARNING: granulepos in stream %d decreases from %" #~ msgstr "Warning: granulepos in stream %d decreases from " #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream " #~ "(%d)\n" #~ msgstr "" #~ "Warning: Could not decode vorbis header packet - invalid vorbis stream " #~ "(%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Warning: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgid "Vorbis headers parsed for stream %d, information follows...\n" #~ msgstr "Vorbis headers parsed for stream %d, information follows...\n" #~ msgid "Version: %d\n" #~ msgstr "Version: %d\n" #~ msgid "Vendor: %s (%s)\n" #~ msgstr "Vendor: %s (%s)\n" #~ msgid "Channels: %d\n" #~ msgstr "Channels: %d\n" #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "" #~ "Rate: %ld\n" #~ "\n" #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "Nominal bitrate: %f kb/s\n" #~ msgid "Nominal bitrate not set\n" #~ msgstr "Nominal bitrate not set\n" #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "Upper bitrate: %f kb/s\n" #~ msgid "Upper bitrate not set\n" #~ msgstr "Upper bitrate not set\n" #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "Lower bitrate: %f kb/s\n" #~ msgid "Lower bitrate not set\n" #~ msgstr "Lower bitrate not set\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Kate header packet %d - invalid Kate stream " #~ "(%d)\n" #~ msgstr "" #~ "Warning: Could not decode vorbis header packet - invalid vorbis stream " #~ "(%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Kate stream %d does not have headers correctly framed. Terminal " #~ "header page contains additional packets or has non-zero granulepos\n" #~ msgstr "" #~ "Warning: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #, fuzzy #~ msgid "Kate headers parsed for stream %d, information follows...\n" #~ msgstr "Vorbis headers parsed for stream %d, information follows...\n" #, fuzzy #~ msgid "Version: %d.%d\n" #~ msgstr "Version: %d\n" #, fuzzy #~ msgid "Category: %s\n" #~ msgstr "Vendor: %s\n" #, fuzzy #~ msgid "No category set\n" #~ msgstr "Nominal bitrate not set\n" #~ msgid "\n" #~ msgstr "\n" #~ msgid "Page error. Corrupt input.\n" #~ msgstr "Page error. Corrupt input.\n" #, fuzzy #~ msgid "Setting EOS: update sync returned 0\n" #~ msgstr "Setting eos: update sync returned 0\n" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "Cutpoint not within stream. Second file will be empty\n" #~ msgid "Unhandled special case: first file too short?\n" #~ msgstr "Unhandled special case: first file too short?\n" #, fuzzy #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "Cutpoint not within stream. Second file will be empty\n" #, fuzzy #~ msgid "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " Ogg page. File may not decode correctly.\n" #~ msgstr "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " ogg page. File may not decode correctly.\n" #, fuzzy #~ msgid "Update sync returned 0, setting EOS\n" #~ msgstr "Update sync returned 0, setting eos\n" #~ msgid "Bitstream error\n" #~ msgstr "Bitstream error\n" #~ msgid "Error in first page\n" #~ msgstr "Error in first page\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "error in first packet\n" #~ msgid "EOF in headers\n" #~ msgstr "EOF in headers\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgid "Error reading headers\n" #~ msgstr "Error reading headers\n" #~ msgid "Error writing first output file\n" #~ msgstr "Error writing first output file\n" #~ msgid "Error writing second output file\n" #~ msgstr "Error writing second output file\n" #~ msgid "malloc" #~ msgstr "malloc" #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 from %s %s\n" #~ " by the Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -b n, --buffer n use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n load n%% of the input buffer before playing\n" #~ " -v, --verbose display progress and other status information\n" #~ " -q, --quiet don't display anything (no title)\n" #~ " -x n, --nth play every 'n'th block\n" #~ " -y n, --ntimes repeat every played block 'n' times\n" #~ " -z, --shuffle shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -b n, --buffer n use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n load n%% of the input buffer before playing\n" #~ " -v, --verbose display progress and other status information\n" #~ " -q, --quiet don't display anything (no title)\n" #~ " -x n, --nth play every 'n'th block\n" #~ " -y n, --ntimes repeat every played block 'n' times\n" #~ " -z, --shuffle shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s set s [milliseconds] (default 500).\n" #~ msgid "ReplayGain (Track) Peak:" #~ msgstr "ReplayGain (Track) Peak:" #~ msgid "ReplayGain (Album) Peak:" #~ msgstr "ReplayGain (Album) Peak:" #~ msgid "Version is %d" #~ msgstr "Version is %d" #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps. This uses the bitrate management\n" #~ " engine, and is not recommended for most users.\n" #~ " See -q, --quality for a better alternative.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel.\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications.\n" #~ " -q, --quality Specify quality between 0 (low) and 10 (high),\n" #~ " instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " Quality -1 is also possible, but may not be of\n" #~ " acceptable quality.\n" #~ " --resample n Resample input data to sampling rate n (Hz)\n" #~ " --downmix Downmix stereo to mono. Only allowed on stereo\n" #~ " input.\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times.\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 16 or 8 bit PCM WAV, AIFF, or AIFF/" #~ "C\n" #~ " files, or 32 bit IEEE floating point WAV. Files may be mono or stereo\n" #~ " (or more channels) and any sample rate.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an outfile filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " --raw-endianness 1 for big endian, 0 for little (defaults to 0)\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps. This uses the bitrate management\n" #~ " engine, and is not recommended for most users.\n" #~ " See -q, --quality for a better alternative.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel.\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications.\n" #~ " -q, --quality Specify quality between 0 (low) and 10 (high),\n" #~ " instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " Quality -1 is also possible, but may not be of\n" #~ " acceptable quality.\n" #~ " --resample n Resample input data to sampling rate n (Hz)\n" #~ " --downmix Downmix stereo to mono. Only allowed on stereo\n" #~ " input.\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times.\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 16 or 8 bit PCM WAV, AIFF, or AIFF/" #~ "C\n" #~ " files, or 32 bit IEEE floating point WAV. Files may be mono or stereo\n" #~ " (or more channels) and any sample rate.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an outfile filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgid " to " #~ msgstr " to " #~ msgid " bytes. Corrupted ogg.\n" #~ msgstr " bytes. Corrupted ogg.\n" #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ " Raw mode (--raw, -R) will read and write comments in utf8,\n" #~ " rather than converting to the user's character set. This is\n" #~ " useful for using vorbiscomment in scripts. However, this is\n" #~ " not sufficient for general round-tripping of comments in all\n" #~ " cases.\n" #~ msgstr "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ " Raw mode (--raw, -R) will read and write comments in utf8,\n" #~ " rather than converting to the user's character set. This is\n" #~ " useful for using vorbiscomment in scripts. However, this is\n" #~ " not sufficient for general round-tripping of comments in all\n" #~ " cases.\n" vorbis-tools-1.4.2/po/sv.po0000644000175000017500000023643614002243560012521 00000000000000# Svensk översättning av vorbis-tools. # Copyright (C) 2002 Free Software Foundation, Inc. # Mikael Hedin , 2002. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 0.99.1.3.1\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2002-02-20 14:59+0100\n" "Last-Translator: Mikael Hedin \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Fel: Slut på minne i malloc_action().\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "Fel: Kunde inte reservera minne i malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Fel: Enhet inte tillgänglig.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "Fel: %s behöver ett utfilnamn angivet med -f.\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Fel: Okänt flaggvärde till enhet %s.\n" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Fel: Kan inte öppna enhet %s.\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Fel: Fel på enhet %s.\n" #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "Fel: Utfil kan inte anges för %s-enhet.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Fel: Kan inte öppna filen %s för att skriva.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Fel: Fil %s finns redan.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "Fel: Detta fel skall aldrig inträffa (%d). Panik!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "Fel: Slut på minne i new_audio_reopen_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "Fel: Slut på minne i new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "Fel: Slut på minne i new_status_message_arg().\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Fel: Slut på minne i decoder_buffered_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Fel: Slut på minne i decoder_buffered_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "Systemfel" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Tolkningsfel: %s på rad %d i %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Namn" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Beskrivning" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Typ" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Standardvärde" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Lyckades" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Nyckel hittades inte" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Ingen nyckel" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Felaktigt värde" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Felaktig typ i argumentlista" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Okänt fel" #: ogg123/cmdline_options.c:84 #, fuzzy msgid "Internal error parsing command line options.\n" msgstr "Internt fel vid tolkning av kommandoflaggor\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "In-buffertens storlek mindre än minimistorkeken %dkB." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Fel \"%s\" under tolkning av konfigurationsflaggor från kommandoraden.\n" "=== Flaggan var: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "Tillgängliga flaggor:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== Ingen enhet %s.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== Drivrutin %s är inte för filer.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "== Kan inte ange utfil utan att ange drivrutin.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Felaktigt format på argument: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Ogiltigt värde till prebuffer. Möjligt intervall är 0-100.\n" #: ogg123/cmdline_options.c:202 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 från %s %s\n" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Kan inte spela var 0:te block!\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Kan inte spela varje block 0 gånger.\n" "--- För att göra en testavkodning, använd null-drivern för utdata.\n" #: ogg123/cmdline_options.c:233 #, fuzzy, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "FEL: Kan inte öppna infil \"%s\": %s\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- Drivrutin %s angiven i konfigurationsfil ogiltig.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Kunde inte ladda standard-drivrutin, och ingen är specificerad i " "konfigurationsfilen. Avslutar.\n" #: ogg123/cmdline_options.c:307 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:314 #, fuzzy, c-format msgid "Available codecs: " msgstr "Tillgängliga flaggor:\n" #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:342 #, fuzzy, c-format msgid "File:" msgstr "Fil: %s" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" #: ogg123/cmdline_options.c:361 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Tillgängliga flaggor:\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:369 #, fuzzy, c-format msgid "Input options\n" msgstr "Indata inte ogg.\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:374 #, fuzzy, c-format msgid "Decode options\n" msgstr "Beskrivning" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Tillgängliga flaggor:\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr "" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Fel: Slut på minne.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "Fel: Kunde inte reservera minne i malloc_decoder_stats()\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Fel: Kunde inte sätta signalmask." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Fel: Kan inte skapa in-buffer\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "förvald utenhet" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "blanda spellistan" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:230 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Misslyckades med att hoppa över %f sekunder ljud." #: ogg123/ogg123.c:375 #, fuzzy, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Enhet: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Författare: %s" #: ogg123/ogg123.c:377 #, fuzzy, c-format msgid "Comments: %s" msgstr "Kommentarer: %s\n" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Kunde inte skapa katalog \"%s\": %s\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Fel: Kan inte skapa ljudbuffer.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Hittar ingen modul för att läsa från %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Kan inte öppna %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Filformatet på %s stöds inte.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "Fel under öppnandet av %s med %s-modulen. Filen kan vara skadad.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "Spelar: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Misslyckades med att hoppa över %f sekunder ljud." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Fel: Avkodning misslyckades.\n" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Klar." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Hål i strömmen; antagligen ofarligt\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== Vorbis-biblioteket rapporterade ett fel i strömmen.\n" #: ogg123/oggvorbis_format.c:361 #, fuzzy, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "Bitströmmen har %d kanal(er), %ldHz" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "" "Förslag för bithastigheter: övre=%ld nominell=%ld undre=%ld fönster=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Kodad av: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "Fel: Slut på minne i new_status_message_arg().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, fuzzy, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Kunde inte skapa katalog \"%s\": %s\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "Fel: Slut på minne i malloc_action().\n" #: ogg123/speex_format.c:366 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Bitströmmen har %d kanal(er), %ldHz" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Version: %s" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Felaktigt sekundär-huvud." #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, fuzzy, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sFörbuffra %1.f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sPausad" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Minnestilldelningsfel i stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Fil: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "Tid: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "av %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Genomsnittlig bithastighet: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Inbuffer %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " Utbuffer %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "Fel: Kunde inte reservera minne i malloc_data_source_stats()\n" #: ogg123/vorbis_comments.c:41 #, fuzzy msgid "Track number:" msgstr "Spår: %s" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain (Reference loudness):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:45 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:46 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:47 #, fuzzy msgid "Copyright" msgstr "Copyright %s" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 #, fuzzy msgid "Comment:" msgstr "Kommentar: %s" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 från %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: oggdec/oggdec.c:59 #, fuzzy, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "Användning: vcut infil.ogg utfil1.ogg utfil2.ogg skärpunkt\n" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "FEL: Kan inte öppna infil \"%s\": %s\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "FEL: Kan inte öppna utfil \"%s\": %s\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Misslyckades att öppna fil som vorbis-typ: %s\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Kodning av \"%s\" klar\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "standard in" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "standard ut" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Misslyckades att öppna infil \"%s\".\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "FEL: Ingen infil angiven. Använd -h för hjälp.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "FEL: Flera infiler med angivet utfilnamn: rekommenderar att använda -n\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "WAV-filläsare" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "AIFF/AIFC-filläsare" #: oggenc/audio.c:50 #, fuzzy msgid "FLAC file reader" msgstr "WAV-filläsare" #: oggenc/audio.c:51 #, fuzzy msgid "Ogg FLAC file reader" msgstr "WAV-filläsare" #: oggenc/audio.c:129 oggenc/audio.c:459 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "Varning: Oväntad EOF under läsning av WAV-huvud\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Hoppar över bit av typ \"%s\", längd %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Varning: Oväntad EOF i AIFF-block\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Varning: Ingen gemensamt block i AIFF-fil\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Varning: Stympat gemensamt block i AIFF-huvud\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "Varning: Oväntad EOF under läsning av AIFF-huvud\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "Varning: Stympat gemensamt block i AIFF-huvud\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Varning: AIFF-C-huvud stympat.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "Varning: Kan inte hantera komprimerad AIFF-C\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "Varning: Hittar inget SSND-block i AIFF-fil\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Varning: Felaktigt SSND-block i AIFF-huvud\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Varinig: Oväntad EOF under läsning av AIFF-huvud\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "Varning: OggEnc stödjer inte denna typ AIFF/AIFC-fil.\n" "Måste vara 8 eller 16 bitars PCM.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Varning: okänt format på block i Wav-huvud\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "Varning: OGILTIGT format på block i wav-huvud.\n" " Försöker läsa i alla fall (kanske inte fungerar)...\n" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" #: oggenc/audio.c:546 #, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" #: oggenc/audio.c:615 #, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:799 #, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "%s: okänd flagga \"--%s\"\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "" #: oggenc/encode.c:117 #, fuzzy, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "%s: okänd flagga \"--%s\"\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "" #: oggenc/encode.c:374 #, c-format msgid "WARNING: no language specified for %s\n" msgstr "" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "Mislyckades att skriva huvud till utströmmen\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Mislyckades att skriva huvud till utströmmen\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "Mislyckades att skriva huvud till utströmmen\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Mislyckades att skriva huvud till utströmmen\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Misslyckades att skriva data till utströmmen\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, fuzzy, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [%2dm%.2ds återstår] %c" #: oggenc/encode.c:726 #, fuzzy, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tKodar [%2dm%.2ds hittills] %c" #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Kodning av \"%s\" klar\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Kodning klar.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tFillängd: %dm %04.1fs\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tFörlupen tid: %dm %04.1fs\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tFörhålland: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tGenomsnittlig bithastighet: %.1f kb/s\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Kodar %s%s%s till \n" " %s%s%s med kvalitet %2.2f\n" #: oggenc/encode.c:803 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Kodar %s%s%s till\n" " %s%s%s med bithastighet %d kbps,\n" "med komplett bithastighethanteringsmotor\n" #: oggenc/encode.c:811 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Kodar %s%s%s till \n" " %s%s%s med kvalitet %2.2f\n" #: oggenc/encode.c:818 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Kodar %s%s%s till \n" " %s%s%s med kvalitet %2.2f\n" #: oggenc/encode.c:824 #, fuzzy, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Kodar %s%s%s till\n" " %s%s%s med bithastighet %d kbps,\n" "med komplett bithastighethanteringsmotor\n" #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Misslyckades att öppna fil som vorbis-typ: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Fel: Slut på minne.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "FEL: Kan inte öppna infil \"%s\": %s\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 #, fuzzy msgid "RAW file reader" msgstr "WAV-filläsare" #: oggenc/oggenc.c:131 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "FEL: Ingen infil angiven. Använd -h för hjälp.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "FEL: Flera filer angivna med stdin\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "FEL: Flera infiler med angivet utfilnamn: rekommenderar att använda -n\n" #: oggenc/oggenc.c:217 #, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "FEL: Kan inte öppna infil \"%s\": %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Öppnar med %s-modul: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "FEL: Infil \"%s\" är inte i ett känt format\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "FEL: Infil \"%s\" är inte i ett känt format\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "VARNING: Inget filnamn, använder förvalt namn \"default.ogg\"\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "FEL: Kunde inte skapa kataloger nödvändiga för utfil \"%s\"\n" #: oggenc/oggenc.c:363 #, fuzzy, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "FEL: Kunde inte skapa kataloger nödvändiga för utfil \"%s\"\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "FEL: Kan inte öppna utfil \"%s\": %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "" #: oggenc/oggenc.c:441 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 från %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "VARNING: Ignorerar otillåtet specialtecken '%c' i namnformat\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "" #: oggenc/oggenc.c:773 #, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "Kunde inte tolka skärpunkt \"%s\"\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "" #: oggenc/oggenc.c:831 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" #: oggenc/oggenc.c:870 #, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:878 #, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:892 #, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Kunde inte skapa katalog \"%s\": %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "" #: ogginfo/ogginfo2.c:115 #, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" #: ogginfo/ogginfo2.c:127 #, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:216 msgid "WARNING: Invalid header page, no packet found\n" msgstr "" #: ogginfo/ogginfo2.c:246 #, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" #: ogginfo/ogginfo2.c:278 #, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:305 #, fuzzy, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Misslyckades att öppna infil \"%s\".\n" #: ogginfo/ogginfo2.c:310 #, fuzzy, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "\n" "\n" "Kodning av \"%s\" klar\n" #: ogginfo/ogginfo2.c:319 #, fuzzy msgid "Could not find a processor for stream, bailing\n" msgstr "Kunde inte öppna %s för att läsa\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:337 #, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "" #: ogginfo/ogginfo2.c:352 #, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:355 #, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:361 #, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "" #: ogginfo/ogginfo2.c:384 #, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:395 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 från %s %s\n" #: ogginfo/ogginfo2.c:400 #, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:401 #, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:422 #, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" #: ogginfo/ogginfo2.c:456 #, fuzzy, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "" "%s%s\n" "FEL: Ingen infil angiven. Använd -h för hjälp.\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: flagga \"%s\" är tvetydig\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: flagga \"--%s\" tar inget argument\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: flagga \"%c%s\" tar inget argument\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: flagga \"%s\" kräver ett argument\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: okänd flagga \"--%s\"\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: okänd flagga \"%c%s\"\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: otillåten flagga -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: ogiltig flagga -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: flaggan kräver ett argument -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: flaggan `-W %s' är tvetydig\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: flaggan `-W %s' tar inget argument\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Kunde inte tolka skärpunkt \"%s\"\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Kunde inte tolka skärpunkt \"%s\"\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Kunde inte öppna %s för att skriva\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "Användning: vcut infil.ogg utfil1.ogg utfil2.ogg skärpunkt\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Kunde inte öppna %s för att läsa\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Kunde inte tolka skärpunkt \"%s\"\n" #: vcut/vcut.c:287 #, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "" #: vcut/vcut.c:289 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Nyckel hittades inte" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Misslyckades att skriva kommentar till utfil: %s\n" #: vcut/vcut.c:505 #, c-format msgid "BOS not set on first page of stream\n" msgstr "" #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Internt fel vid tolkning av kommandoflaggor\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Sekundärt huvud felaktigt\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Fel i primärt huvud: inte vorbis?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "Indata inte ogg.\n" #: vcut/vcut.c:616 #, c-format msgid "Page error, continuing\n" msgstr "" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "" #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Error reading initial header packet." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "Indata stympat eller tomt." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "Indata är inte en Ogg-bitström." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Ogg-bitström inehåller inte vorbisdata." #: vorbiscomment/vcedit.c:555 #, fuzzy msgid "EOF before recognised stream." msgstr "EOF innan slutet på vorbis-huvudet." #: vorbiscomment/vcedit.c:568 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Ogg-bitström inehåller inte vorbisdata." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Felaktigt sekundär-huvud." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "EOF innan slutet på vorbis-huvudet." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "Data felaktigt eller saknas, fortsätter..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "Fel under skrivande av utström. Kan vara felaktig eller stympad." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Misslyckades att öppna fil som vorbis-typ: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Felaktig kommentar: \"%s\"\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "felaktig kommentar: \"%s\"\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Misslyckades att skriva kommentar till utfil: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "Kunde inte konvertera till UTF8, kan inte lägga till\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:622 #, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:632 #, fuzzy, c-format msgid "Editing options\n" msgstr "Felaktig typ i argumentlista" #: vorbiscomment/vcomment.c:633 #, c-format msgid " -a, --append Update comments\n" msgstr "" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" #: vorbiscomment/vcomment.c:672 #, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Internt fel vid tolkning av kommandoflaggor\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Misslyckades att öppna infil \"%s\".\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Misslyckades att öppna utfil \"%s\".\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Misslyckades att öppna kommentarfil \"%s\".\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Misslyckades att öppna kommentarfil \"%s\"\n" #: vorbiscomment/vcomment.c:927 #, fuzzy, c-format msgid "Error removing old file %s\n" msgstr "Misslyckades att öppna utfil \"%s\".\n" #: vorbiscomment/vcomment.c:929 #, fuzzy, c-format msgid "Error renaming %s to %s\n" msgstr "Misslyckades att öppna infil \"%s\".\n" #: vorbiscomment/vcomment.c:938 #, fuzzy, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Misslyckades att öppna utfil \"%s\".\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "WAV-filläsare" #, fuzzy #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Internt fel vid tolkning av kommandoflaggor\n" #, fuzzy #~ msgid "oggenc from %s %s" #~ msgstr "ogg123 från %s %s\n" #, fuzzy #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Version: %s" #, fuzzy #~ msgid "Vendor: %s\n" #~ msgstr "säljare=%s\n" #, fuzzy #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "" #~ "\tGenomsnittlig bithastighet: %.1f kb/s\n" #~ "\n" #, fuzzy #~ msgid "Version: %d\n" #~ msgstr "Version: %s" #, fuzzy #~ msgid "Vendor: %s (%s)\n" #~ msgstr "säljare=%s\n" #, fuzzy #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "Datum: %s" #, fuzzy #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "" #~ "\tGenomsnittlig bithastighet: %.1f kb/s\n" #~ "\n" #, fuzzy #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "" #~ "\tGenomsnittlig bithastighet: %.1f kb/s\n" #~ "\n" #, fuzzy #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "" #~ "\tGenomsnittlig bithastighet: %.1f kb/s\n" #~ "\n" #, fuzzy #~ msgid "Version: %d.%d\n" #~ msgstr "Version: %s" #, fuzzy #~ msgid "Category: %s\n" #~ msgstr "Datum: %s" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "Skärpunkt utanför strömmen. Andra filen kommer att vara tom\n" #, fuzzy #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "Skärpunkt utanför strömmen. Andra filen kommer att vara tom\n" #~ msgid "Error in first page\n" #~ msgstr "Fel på första sidan\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "fel i första paketet\n" #~ msgid "EOF in headers\n" #~ msgstr "EOF i huvud\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "VARNING: vcut är fortfarande ett experimentellt program.\n" #~ "Undersök resultatet innan källorna raderas.\n" #~ "\n" #~ msgid "Internal error: long option given when none expected.\n" #~ msgstr "Internt fel: lång flagga använd när det inte förväntades.\n" #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiphophorus Team (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 från %s %s\n" #~ " av Xiphophorusgruppen (http://www.xiph.org/)\n" #~ "\n" #~ "Användning: ogg123 [] ...\n" #~ "\n" #~ " -h, --help den här hjälptexten\n" #~ " -V, --version visa Ogg123:s version\n" #~ " -d, --device=d använd 'd' som ut-enhet\n" #~ " Möjliga enheter är ('*'=direkt, '@'=fil):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -b n, --buffer n use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n load n%% of the input buffer before playing\n" #~ " -v, --verbose display progress and other status information\n" #~ " -q, --quiet don't display anything (no title)\n" #~ " -x n, --nth play every 'n'th block\n" #~ " -y n, --ntimes repeat every played block 'n' times\n" #~ " -z, --shuffle shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=filename Ange utfilens namn för tidigar vald \n" #~ " filenhet (med -d).\n" #~ " -k n, --skip n Hoppa över de första n sekunderna\n" #~ " -o, --device-option=k:v vidarebefordra särskild\n" #~ " flagga k med värde v till tidigare vald enhet (med -d).\n" #~ " Se manualen för mer information.\n" #~ " -b n, --buffer n använd en in-buffer på n kilobyte\n" #~ " -p n, --prebuffer n ladda n%% av in-buffern innan uppspelning\n" #~ " -v, --verbose visa framåtskridande och annan statusinformation\n" #~ " -q, --quiet visa ingenting (ingen titel)\n" #~ " -x n, --nth spela var n:te block\n" #~ " -y n, --ntimes upprepa varje spelat block n gånger\n" #~ " -z, --shuffle spela i slumpvis ordning\n" #~ "\n" #~ "ogg123 hoppar till nästa spår om den får en SIGINT (Ctrl-C); två SIGINT\n" #~ "inom s millisekunder gör att ogg123 avslutas.\n" #~ " -l, --delay=s sätt s [millisekunder] (standard 500).\n" #~ msgid "Error: Out of memory in new_curl_thread_arg().\n" #~ msgstr "Fel: Slut på minne i new_curl_thread_arg().\n" #~ msgid "Artist: %s" #~ msgstr "Artist: %s" #~ msgid "Album: %s" #~ msgstr "Album: %s" #~ msgid "Title: %s" #~ msgstr "Titel: %s" #~ msgid "Organization: %s" #~ msgstr "Organisation: %s" #~ msgid "Genre: %s" #~ msgstr "Genre: %s" #~ msgid "Description: %s" #~ msgstr "Beskrivning: %s" #~ msgid "Location: %s" #~ msgstr "Plats: %s" #~ msgid "Version is %d" #~ msgstr "Version %d" #~ msgid "" #~ "Warning: Vorbis is not currently tuned for this input (%.3f kHz).\n" #~ " At other than 44.1/48 kHz quality will be degraded.\n" #~ msgstr "" #~ "Varning: Vorbis är för närvarande inte justerad för denna\n" #~ "samplingsfrekvens på in-data (%.3f kHz). Kvaliteten blir försämrad\n" #~ "vid annan frekvens än 44.1/48 kHz.\n" #~ msgid "" #~ "Warning: Vorbis is not currently tuned for this input (%.3f kHz).\n" #~ " At other than 44.1/48 kHz quality will be significantly degraded.\n" #~ msgstr "" #~ "Varning: Vorbis är för närvarande inte justerad för denna\n" #~ " samplingsfrekvens (%.3f kHz). Vid andra än 44.1 eller 48 kHz blir\n" #~ " kvaliteten påtagligt försämrad.\n" #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel.\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications.\n" #~ " -q, --quality Specify quality between 0 (low) and 10 (high),\n" #~ " instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times.\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 16 or 8 bit PCM WAV, AIFF, or AIFF/" #~ "C\n" #~ " files. Files may be mono or stereo (or more channels) and any sample " #~ "rate.\n" #~ " However, the encoder is only tuned for rates of 44.1 and 48 kHz and " #~ "while\n" #~ " other rates will be accepted quality will be significantly degraded.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an outfile filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "Användning: oggenc [flaggor] infil.wav [...]\n" #~ "\n" #~ "FLAGGOR:\n" #~ " Allmänna:\n" #~ " -Q, --quiet Skriv inte på stderr\n" #~ " -h, --help Visa denna hjälptext\n" #~ " -r, --raw Rå-läge. Infiler läses direkt som PCM-data\n" #~ " -B, --raw-bits=n Välj bitar/sample för rå-indata. Standardväre är " #~ "16\n" #~ " -C, --raw-chan=n Välj antal kanaler för rå-indata. Standardväre är " #~ "2\n" #~ " -R, --raw-rate=n Välj samples/sekund för rå-indata. Standardväre är " #~ "44100\n" #~ " -b, --bitrate Välj en nominell bithastighet att koda\n" #~ " i. Försöker koda med en bithastighet som i\n" #~ " genomsnitt blir denna. Tar ett argument i kbps.\n" #~ " -m, --min-bitrate Ange minimal bithastighet (i kbps). Användbart\n" #~ " för att koda för en kanal med bestämd storlek.\n" #~ " -M, --max-bitrate Ange maximal bithastighet (i kbps). Andvändbart\n" #~ " för strömmande applikationer.\n" #~ " -q, --quality Ange kvalitet mellan 0 (låg) och 10 (hög),\n" #~ " istället för att ange särskilda bithastigheter.\n" #~ " Detta är det normala arbetssättet. Kvalitet i\n" #~ " bråkdelar (t.ex. 2.75) går bra.\n" #~ " -s, --serial Ange ett serienummer för strömmen. Om flera\n" #~ " filer kodas kommer detta att ökas för varje\n" #~ " ström efter den första.\n" #~ "\n" #~ " Namngivning:\n" #~ " -o, --output=fn Skriv till fil fn (endast giltig för enstaka fil)\n" #~ " -n, --names=sträng Skapa filer med namn enligt sträng, med %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d ersatta med artist, titel, album, spår\n" #~ " respektive datum (se nedan för att ange\n" #~ " dessa). %%%% ger ett bokstavligt %%.\n" #~ " -X, --name-remove=s Ta bort angivna tecken från parametrarna till\n" #~ " formatsträngen för -n. Bra för att försäkra sig\n" #~ " om giltiga filnamn.\n" #~ " -P, --name-replace=s Ersätt tecken borttagna av --name-remove med\n" #~ " angivet tecken. Om denna sträng är kortare än\n" #~ " listan till --name-remove, eller utelämnad, tas\n" #~ " extra tecken bort.\n" #~ " Förvalda värden för de två ovanstående\n" #~ " argumenten beror på plattformen.\n" #~ " -c, --comment=c Lägg till argumentsträngen som en extra\n" #~ " kommentar. Kan användas flrea gånger.\n" #~ " -d, --date Datum för spåret (vanligtvis datum för " #~ "framträdande)\n" #~ " -N, --tracknum Spårnummer för detta spår\n" #~ " -t, --title Titel för detta spår\n" #~ " -l, --album Namn på albumet\n" #~ " -a, --artist Namn på artisten\n" #~ " -G, --genre Spårets genre\n" #~ " Om flera infiler anges kommer flera fall av de\n" #~ " fem föregående flaggorna användas i given\n" #~ " orgdning. Om antalet titlar är färre än antalet\n" #~ " infiler visar OggEnc en varning och återanvänder\n" #~ " det sista argumentet. Om antalet spårnummer är\n" #~ " färre blir de resterande filerna onumrerade. För\n" #~ " övriga flaggor återanvänds den sista taggen utan\n" #~ " varning (så att du t.ex. kan ange datum en gång\n" #~ " och använda det för alla filer).\n" #~ "\n" #~ "INFILER:\n" #~ " Infiler till OggEnc måste för närvarande vara 16 eller 8 bitar RCM\n" #~ " WAV, AIFF eller AIFF/C. De kan vara mono eller stereo (eller fler\n" #~ " kanaler) med godtycklig samplingshastighet. Dock är kodaren bara\n" #~ " justerad för 44.1 och 48 kHz samplingshastighet, och även om andra\n" #~ " hastigheter accepteras blir kvaliteten påtagligt\n" #~ " försämrad. Alternativt kan flaggan --raw användas för att använda en\n" #~ " file med rå PCM-data, vilken måste vara 16 bitar stereo little-endian\n" #~ " PCM ('headerless wav') om inte ytterligare flaggor för rå-läge\n" #~ " används.\n" #~ " Du kan läsa från stdin genom att ange - som namn för infilen. I detta\n" #~ " läge går utdata till stdout om inget filnamn anges med -o\n" #~ "\n" #~ msgid "Usage: %s [filename1.ogg] ... [filenameN.ogg]\n" #~ msgstr "Användning: %s [filenamn1.ogg] ... [filenamnN.ogg]\n" #~ msgid "filename=%s\n" #~ msgstr "filenamn=%s\n" #~ msgid "" #~ "version=%d\n" #~ "channels=%d\n" #~ "rate=%ld\n" #~ msgstr "" #~ "version=%d\n" #~ "kanaler=%d\n" #~ "hastighet=%ld\n" #~ msgid "bitrate_nominal=" #~ msgstr "nominell bithastighet=" #~ msgid "bitrate_lower=" #~ msgstr "undre bithastighet=" #~ msgid "bitrate_average=%ld\n" #~ msgstr "genomsnittlig bithastighet=%ld\n" #~ msgid "length=%f\n" #~ msgstr "längd=%f\n" #~ msgid "playtime=%ld:%02ld\n" #~ msgstr "speltid=%ld:%02ld\n" #~ msgid "Unable to open \"%s\": %s\n" #~ msgstr "Kan inte öppna \"%s\": %s\n" #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ msgstr "" #~ "Användning:\n" #~ " vorbiscomment [-l] fil.ogg (listar kommentarer)\n" #~ " vorbiscomment -a in.ogg ut.ogg (lägger till kommentarer)\n" #~ " vorbiscomment -w in.ogg out.ogg (ändrar kommentarer)\n" #~ "\tför skrivning förväntas nya kommentarer på formen 'TAG=värde'\n" #~ "\tpå stdin. Dessa ersätter helt de gamla.\n" #~ " Både -a och -w accepterar ett filnamn, i vilket fall en temporär\n" #~ " fil används.\n" #~ " -c kan användas för att läsa kommentarer från en fil istället för\n" #~ " stdin.\n" #~ " Exempel: vorbiscomment -a in.ogg -c kommentarer.txt\n" #~ " lägger till kommentarerna i kommentarer.txt till in.ogg\n" #~ " Till slut kan du ange taggar att lägga till på kommandoraden med\n" #~ " flaggan -t. T.ex.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Någon Artist\" -t \"TITLE=En titel" #~ "\"\n" #~ " (när du använder den här flaggan är läsning från kommentarfil eller\n" #~ " stdin avslaget)\n" vorbis-tools-1.4.2/po/be.gmo0000644000175000017500000005227414002243560012617 00000000000000Þ•¬|åÜ pq«ÀÝø 4Ke,¬%Ê,ð- K&l“³ÓÙâõü,!0ZR7­*å-S>+’Q¾!2*J,u¢ ¸ÅÙìÿ 9"\y0Š» Ä Ñ&Û/#L.p#ŸÃâ< DPV'q(™IÂ1 1>Mp#¾â[ñ@M6ŽRÅ>1WB‰ Ì!í"2 R*s$žÃßLø&E>l4«,à, %:'`ˆ4‘6Æý,,F-s'¡ É×(ð;;U‘0–0Çø*ÿ+*V r~‘-«Ùí; %= +c ' · ¿ (Ì õ þ  ! !"!0B!1s!?¥!Cå!5)"6_"8–"IÏ"=#6W#;Ž#LÊ#N$Kf$L²$.ÿ$?.%7n%&¦%Í%à%å%ê%&& &&&&+&1&7&H&W&g&~n&3í'-!(#O(1s(&¥()Ì(!ö() 7)2X).‹)Jº)/*85*Jn*I¹*2+86+1o+1¡+Ó+Ù+î+ , ,~,Dœ,¿á,k¡-L .aZ.¦¼.;c/Ÿ/80,X0B…0WÈ0! 1B1_1$1$¤12É1!ü1h2>‡2(Æ2?ï2/3A3X3Pv39Ç3Z48\4i•4<ÿ4:<5=w59µ5Gï576F6Y6Kk6O·6Q7‰Y7]ã7€A8¤Â8Xg9)À9ê9h{:Kä:€0;x±;R*<}}<Gû<HC=AŒ=>Î=? >\M>Yª>A?;F?‚?J@S]@I±@\û@NXAE§AIíA 7BcDBX¨BCCEC*[CZ†C_áCQAD “D4´DAéD|+Ez¨E #FF.F\uFÒFMæF~4G)³GÝG"üG'HYGH¡H¼HkÕH9AIV{IBÒIJ!*J@LJ J˜J±J!¸J5ÚJfK_wKx×KzPLgËLq3Mb¥MyNl‚N]ïNfMOˆ´O“=P‰ÑP€[Q]ÜQt:Rf¯RAS$XS}SS,ŸSÌSÓSæS)ûS %T0T6T/?ToTT­T0@‚=R2-—W"O ”•B`4M^hq {¦€cXx¢l†'‰¨j:6|™ i5vJ;Ž–%<Š*©sHGP}¡Y‡˜V§>pyfS“ke£’?_¥r)m¬+„z«¤!KE.šuU#o[‹3…L› žIndŸNgt9ZDTF/(C‘w8$7 bQªƒ & A~\1aœ,]Œˆ Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Rate: %.4f File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s Input Buffer %5.1f%% Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%(NULL)(none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Changed lowpass frequency from %f kHz to %f kHz Comment:Comments: %sCopyrightCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" DefaultDescriptionDone.Downmixing stereo to mono ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing old file %s Error renaming %s to %s Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File: %sInput buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Key not foundLogical stream %d ended Memory allocation error in stats_init() Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Opening with %s module: %s Playing: %sProcessing failed Processing file "%s"... Quality option "%s" not recognised, ignoring ReplayGain (Album):ReplayGain (Track):Requesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d SuccessSystem errorThe file format of %s is not supported. Time: %sTrack number:TypeUnknown errorUnrecognised advanced option "%s" WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: Ignoring illegal escape character '%c' in name format WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid sample rate specified, assuming 44100. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Unknown option specified, ignoring-> WARNING: quality setting too high, setting to maximum quality. Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sothershuffle playliststandard inputstandard outputstringProject-Id-Version: vorbis-tools 1.0 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2003-10-21 11:45+0300 Last-Translator: Ales Nyakhaychyk Language-Team: Belarusian Language: be MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: KBabel 0.9.6 СÑÑ€Ñдні бітрÑйт: %.1f Кбіт/Ñ. Прайшло чаÑу: %d хв %04.1f Ñ. ХуткаÑьць: %.4f. Ð”Ð°ÑžÐ¶Ñ‹Ð½Ñ Ñ„Ð°Ð¹Ð»Ð°: %d хв %04.1f Ñ. Файл "%s" закадаваны. Кадаваньне Ñкончана. Прылада аўдыё: %s буфÑÑ€ уводу %5.1f%% БуфÑÑ€ вываду %5.1f%%%s: Ð½ÐµÐ´Ð°Ð¿ÑƒÑˆÑ‡Ð°Ð»ÑŒÐ½Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ -- %c %s: нÑÐ¿Ñ€Ð°Ð²Ñ–Ð»ÑŒÐ½Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ -- %c %s: Ð¾Ð¿Ñ†Ñ‹Ñ `%c%s' не Ð¿Ð°Ð²Ñ–Ð½Ð½Ð°Ñ Ð¼ÐµÑ†ÑŒ парамÑтраў %s: Ð¾Ð¿Ñ†Ñ‹Ñ `%s' двухÑÑнÑÐ¾ÑžÐ½Ð°Ñ %s: Ð¾Ð¿Ñ†Ñ‹Ñ `%s' патрабуе парамÑтар %s: Ð¾Ð¿Ñ†Ñ‹Ñ `--%s' не Ð¿Ð°Ð²Ñ–Ð½Ð½Ð°Ñ Ð¼ÐµÑ†ÑŒ парамÑтраў %s: Ð¾Ð¿Ñ†Ñ‹Ñ `-W %s' не Ð¿Ð°Ð²Ñ–Ð½Ð½Ð°Ñ Ð¼ÐµÑ†ÑŒ парамÑтра %s: Ð¾Ð¿Ñ†Ñ‹Ñ `-W %s' двухÑÑнÑÐ¾ÑžÐ½Ð°Ñ %s: опцыÑпатрабуе парамÑтар -- %c %s: нераÑÐ¿Ð°Ð·Ð½Ð°Ð½Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ `%c%s' %s: нераÑÐ¿Ð°Ð·Ð½Ð°Ð½Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ `--%s' %sEOS%sПрыпынена%sПрÑбуф да %.1f%%(NULL)(ніÑкі)--- Ðемагчыма прачытаць ÑÑŒÐ¿Ñ–Ñ Ñ„Ð°Ð¹Ð»Ð°Ñž %s Ð´Ð»Ñ Ð¿Ñ€Ð°Ð¹Ð³Ñ€Ð°Ð²Ð°Ð½ÑŒÐ½Ñ. Прапушчана. --- Ðемагчыма граць кожны 0-вы кавалак! --- Ðемагчыма граць кожны кавалак 0 разоў. --- Каб праверыць дÑкаваньне, выкарыÑтоўвайце драйвÑÑ€ вываду null. --- ДрайвÑÑ€ %s, Ñкі вызначаны Ñž файле наладак, недапушчальны. --- Дзірка Ñž плыні; магчыма, гÑта бÑÑшкодна --- Ðедапушчальнае значÑньне прÑбуфÑра. Прамежак: 0-100. === Ðемагчыма загрузіць дапомны драйвÑÑ€ Ñ– нÑма вызначÑÐ½ÑŒÐ½Ñ Ð´Ñ€Ð°Ð¹Ð²Ñра Ñž файле наладак. Выхад. === ДрайвÑÑ€ %s Ð½Ñ Ð²Ñ‹Ð²Ð¾Ð´Ð·Ñ–Ñ†ÑŒ у файл. === Памылка "%s" разбору выбараў, вызначаных у загадным радку. === Выбар: %s === Ðедакладны фармат выбара: %s. === ÐÑма такой прылады: %s. === Памылка разбору: %s у радку %d з %s (%s) === БібліÑÑ‚Ñка Vorbis паведаміла пра памылку плыні. Чытач файлаў AIFF/AIFCСтваральнік: %sÐœÐ°Ð³Ñ‡Ñ‹Ð¼Ñ‹Ñ Ð²Ñ‹Ð±Ð°Ñ€Ñ‹: СÑÑ€Ñдні бітрÑйт: %5.1fКепÑкі камÑнтар: "%s" КепÑкі від у ÑьпіÑе выбараўКепÑкае значÑньнеПадказкі бітрÑйту: верхні=%ld пачатковы=%ld ніжні=%ld вакно=%ldПамылка бітавагай плыні, працÑг... Ðемагчыма адчыніць %s. ЧаÑÑŒÑ†Ñ–Ð½Ñ Ð·ÑŒÐ¼ÐµÐ½ÐµÐ½Ð°Ñ Ð· %f кГц у %f кГц. КамÑнтар:КамÑнтары: %sÐўтарÑÐºÑ–Ñ Ð¿Ñ€Ð°Ð²Ñ‹ÐŸÐ°ÑˆÐºÐ¾Ð´Ð¶Ð°Ð½Ñ‹Ñ Ñ†Ñ– Ð¿Ñ€Ð°Ð¿ÑƒÑˆÑ‡Ð°Ð½Ñ‹Ñ Ð´Ð°Ð½ÑŒÐ½Ñ–, працÑг...Пашкоджаны другаÑны загаловак.Ðемагчыма знайÑьці апрацоўшчыка Ð´Ð»Ñ Ð¿Ð°Ñ‚Ð¾ÐºÐ°, bailing Ðемагчыма абмінуць %f ÑÑкундаў.Ðемагчыма ÑканвÑртаваць камÑнтар у UTF-8, немагчыма дадаць Ðемагчыма Ñтварыць каталёг "%s": %s Ðемагчыма раÑпачаць Ñ€ÑÑÑмплер. Ðемагчыма адкрыць %s Ð´Ð»Ñ Ñ‡Ñ‹Ñ‚Ð°Ð½ÑŒÐ½Ñ Ðемагчыма адкрыць %s Ð´Ð»Ñ Ð·Ð°Ð¿Ñ–Ñу Ðемагчыма разабраць пункт разрÑзкі "%s" ДапомнаÐпіÑаньнеЗроблена.ПераўтварÑньне ÑкаÑьці Ñа ÑÑ‚ÑÑ€Ñа Ñž мона. ПÐМЫЛКÐ: немагчыма адкрыць файл уводу "%s": %s ПÐМЫЛКÐ: немагчыма адкрыць файл вываду "%s": %s ПÐМЫЛКÐ: немагчыма Ñтварыць падтÑчкі, патрÑÐ±Ð½Ñ‹Ñ Ð´Ð»Ñ Ð½Ð°Ð·Ð²Ñ‹ файла вываду "%s". ПÐМЫЛКÐ: фармат файла ўводу "%s" не падтрымліваецца. Памылка: некалькі файлаў вызначана пры ўжываньні Ñтандартнага ўводу. ПÐМЫЛКÐ: некалькі файлаў уводу з вызначанай назвай файла вываду; лепей выкарыÑтоўвайце -n Задзейнічаньне мÑханізму ÐºÑ–Ñ€Ð°Ð²Ð°Ð½ÑŒÐ½Ñ Ð±Ñ–Ñ‚Ñ€Ñйтам Закадавана ўжываючы: %sКадаваньне %s%s%s у %s%s%s з прыблізным бітрÑйтам %d Кбіт/Ñ (з выкарыÑтаньнем VBR) Кадаваньне %s%s%s у %s%s%s зь ÑÑÑ€Ñднім бітрÑйтам %d кбіт/ÑКадаваньне %s%s%s у %s%s%s зь ÑкаÑьцю %2.2f Кадаваньне %s%s%s у %s%s%s з узроўнем ÑкаÑьці %2.2f ужываючы вымушаны VBR Кадаваньне %s%s%s Ñž %s%s%s выкарыÑтоўваючы кіраваньне бітрÑйтам Памылка праверкі на Ñ–Ñнаваньне каталёгу %s: %s Памылка Ð°Ð´Ñ‡Ñ‹Ð½ÐµÐ½ÑŒÐ½Ñ %s з дапамогай Ð¼Ð¾Ð´ÑƒÐ»Ñ %s. Магчыма файл пашкоджаны. Памылка Ð°Ð´ÐºÑ€Ñ‹Ñ†ÑŒÑ†Ñ Ñ„Ð°Ð¹Ð»Ð° камÑнтараў "%s" Памылка Ð°Ð´ÐºÑ€Ñ‹Ñ†ÑŒÑ†Ñ Ñ„Ð°Ð¹Ð»Ð° камÑнтараў "%s". Памылка Ð°Ð´ÐºÑ€Ñ‹Ñ†ÑŒÑ†Ñ Ñ„Ð°Ð¹Ð»Ð° ўводу "%s": %s Памылка Ð°Ð´ÐºÑ€Ñ‹Ñ†ÑŒÑ†Ñ Ñ„Ð°Ð¹Ð»Ð° ўводу "%s". Памылка Ð°Ð´ÐºÑ€Ñ‹Ñ†ÑŒÑ†Ñ Ñ„Ð°Ð¹Ð»Ð° вываду "%s" Памылка Ñ‡Ñ‹Ñ‚Ð°Ð½ÑŒÐ½Ñ Ð¿ÐµÑ€ÑˆÐ°Ð¹ Ñтаронкі бітавае плыні ogg.Памылка Ñ‡Ñ‹Ñ‚Ð°Ð½ÑŒÐ½Ñ Ð¿Ð°Ñ‡Ð°Ñ‚ÐºÐ¾Ð²Ð°Ð³Ð° Ñкрутка загалоўка.Памылка Ð²Ñ‹Ð´Ð°Ð»ÐµÐ½ÑŒÐ½Ñ Ñтарога файла %s Памылка Ð¿ÐµÑ€Ð°Ð¹Ð¼ÐµÐ½Ð°Ð²Ð°Ð½ÑŒÐ½Ñ "%s" у "%s" Памылка запіÑу плыні Ñž вывад. Ð’Ñ‹Ñ…Ð¾Ð´Ð½Ð°Ñ Ð¿Ð»Ñ‹Ð½ÑŒ можа быць пашкоджана ці абрÑзана.Памылка: немагчыма Ñтварыць аўдыёбуфÑÑ€. Памылка: неÑтае памÑці Ñž decoder_buffered_metadata_callback(). Памылка: неÑтае памÑці Ñž new_print_statistics_arg(). Памылка: ÑÑгмÑнт шлÑху "%s" не зьÑўлÑецца каталёгам Памылка запіÑу камÑнтароў у файл вываду: %s ÐÑўдалы Ð·Ð°Ð¿Ñ–Ñ Ð´Ð°Ð½ÑŒÐ½ÑÑž у плыню вываду. ÐÑўдалы Ð·Ð°Ð¿Ñ–Ñ Ð·Ð°Ð³Ð°Ð»Ð¾ÑžÐºÑƒ Ñž плыню вываду. Файл: %sПамер буфÑра ўводу меншы за найменшы памер, роўны %d Кб.Ðазвы файлаў уводу й вываду не павінны Ñупадаць Увод не зьÑўлÑецца бітавый плынÑй ogg.Увод - Ð½Ñ ogg. Увод абрÑзаны ці пуÑты.ÐÑƒÑ‚Ñ€Ð°Ð½Ð°Ñ Ð¿Ð°Ð¼Ñ‹Ð»ÐºÐ° разбору опцый каманднага радка Ð£Ð½ÑƒÑ‚Ñ€Ð°Ð½Ð°Ñ Ð¿Ð°Ð¼Ñ‹Ð»ÐºÐ° разбору выбараў загаднага радка. Ð£Ð½ÑƒÑ‚Ñ€Ð°Ð½Ð°Ñ Ð¿Ð°Ð¼Ñ‹Ð»ÐºÐ° апрацоўкі выбараў загаду Ключ Ð½Ñ Ð·Ð½Ð¾Ð¹Ð´Ð·ÐµÐ½Ñ‹Ð›ÑÐ³Ñ–Ñ‡Ð½Ð°Ñ Ð¿Ð»Ñ‹Ð½Ñ %d ÑкончылаÑÑ ÐŸÐ°Ð¼Ñ‹Ð»ÐºÐ° Ð°Ñ‚Ñ€Ñ‹Ð¼Ð°Ð½ÑŒÐ½Ñ Ð¿Ð°Ð¼Ñці Ñž stats_init() ÐÑўдалае раÑпачынаньне Ñ€Ñжыму: недапушчальнае значÑньне бітрÑйту. ÐÑўдалае раÑпачынаньне Ñ€Ñжыму: недапушчальнае значÑньне ÑкаÑьці. ÐазваÐовы лÑгічны паток (#%d, нумар: %08x): тып %s ÐÑ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð° ўваходных файлаў. "ogginfo -h" Ð´Ð»Ñ Ð´Ð°Ð²ÐµÐ´ÐºÑ– Ключа нÑмаÐемагчыма адшукаць модуль, каб чытаць з %s. ÐÑ Ð·Ð½Ð¾Ð¹Ð´Ð·ÐµÐ½Ð° значÑньне Ð´Ð»Ñ Ð·Ð°Ð´Ð°Ð´Ð·ÐµÐ½Ð°Ð¹ пашыранай опцыі кадаваньніка Ðдкрыцьцё модулем %s: %s Прайграваньне: %sПамылка апрацоўкі Ðпрацоўка файла "%s"... Ðе раÑÐ¿Ð°Ð·Ð½Ð°Ð½Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ ÑкаÑьці "%s", Ð¿Ñ€Ð°Ñ–Ð³Ð½Ð°Ñ€Ð°Ð²Ð°Ð½Ð°Ñ ReplayGain (Ðльбом):ReplayGain (ЗапіÑ):Запыт найменшага ці найбольшага бітрÑйту патрабуе "--managed". РÑÑÑмплінг уводу з %d Гц да %d Гц. Пашыраны выбар "%s" кадавальніка ÑžÑталÑваны Ñž %s. ПропуÑк кавалка віду "%s", даўжынёй %d. ПаÑьпÑховаСыÑÑ‚ÑÐ¼Ð½Ð°Ñ Ð¿Ð°Ð¼Ñ‹Ð»ÐºÐ°Ð¤Ð°Ñ€Ð¼Ð°Ñ‚ файла %s не падтрымліваецца. ЧаÑ: %sÐумар запіÑа:ВідÐевÑÐ´Ð¾Ð¼Ð°Ñ Ð¿Ð°Ð¼Ñ‹Ð»ÐºÐ°ÐевÑдомы дадатковы выбар "%s". УВÐГÐ: немагчыма прачытаць парамÑтар парадку байтаў "%s" УВÐГÐ: немагчыма прачытаць чаÑьціню Ñ€ÑÑÑмплінгу "%s" УВÐГÐ: праігнараваны нÑправільны запабежны знак '%c' у фармаце Ñ–Ð¼Ñ Ð£Ð’ÐГÐ: вызначана замала загалоўкаў, даўнімаецца апошні загаловак. УВÐГÐ: Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹Ñ Ð±Ñ–Ñ‚Ñ‹ на ÑÑмпл нÑправільныÑ, прынÑта 16. УВÐГÐ: Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð°Ñ Ð½ÑÐ¿Ñ€Ð°Ð²Ñ–Ð»ÑŒÐ½Ð°Ñ ÐºÐ¾Ð»ÑŒÐºÐ°Ñьць каналаў, прынÑта 2. УВÐГÐ: Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð°Ñ Ð½ÑÐ¿Ñ€Ð°Ð²Ñ–Ð»ÑŒÐ½Ð°Ñ Ñ‡Ð°ÑьцінÑ, прынÑта 44100. УВÐГÐ: вызначана колькі фільтраў замены фармату імÑ, ужыты апошні УВÐГÐ: вызначана колькі фільтраў фармату імÑ, ужыты апошні УВÐГÐ: вызначана колькі фарматаў імÑ, ужыты апошні УВÐГÐ: вызначана колькі выходных файлаў, лепей ужывай -n УВÐГÐ: Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹Ñ Ð±Ñ–Ñ‚Ñ‹ на ÑÑмпл Ð´Ð»Ñ Ð½ÑпроÑтых даных. Лічым уваход проÑтым. УВÐГÐ: Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð°Ñ ÐºÐ¾Ð»ÑŒÐºÐ°Ñьць каналаў Ð´Ð»Ñ Ð½ÑпроÑтых даных. Лічым уваход проÑтым. УВÐГÐ: вызначаны парадак байтаў Ð´Ð»Ñ Ð½ÑпроÑтых даных. Лічым уваход проÑтым. УВÐГÐ: Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð°Ñ Ñ‡Ð°ÑÑŒÑ†Ñ–Ð½Ñ Ð´Ð»Ñ Ð½ÑпроÑтых даных. Лічым уваход проÑтым. УВÐГÐ: вызначана невÑÐ´Ð¾Ð¼Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ, праігнараванаÑ-> УВÐГÐ: запытана завыÑÐ¾ÐºÐ°Ñ ÑкаÑьць, уÑтаноўлена Ñž макÑымальную. ПапÑÑ€Ñджаньне ад ÑьпіÑу %s: немагчыма прачытаць Ñ‚Ñчку %s. Увага: немагчыма прачытаць Ñ‚Ñчку %s. кепÑкі камÑнтар: "%s" лÑгічаÑÐºÑ–Ð·Ð½Ð°ÐºÐ°Ð²Ñ‹Ð´Ð°Ð¿Ð¾Ð¼Ð½Ð°Ñ Ð¿Ñ€Ñ‹Ð»Ð°Ð´Ð° вывадуdoubleÑапраўндыцÑлалікавыдзеÑньне Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð° ніÑкіз %sіншывыпадковае прайграваньнеÑтандартны ўводÑтандартны вывадрадковыvorbis-tools-1.4.2/po/fr.po0000644000175000017500000027575514002243560012507 00000000000000# translation of vorbis-tools-1.0.fr.po to French # Copyright (C) 2002, 2003 Free Software Foundation, Inc. # Martin Quinson , 2002, 2003. # # # Choix de traduction : # bitrate = débit # bits/samples = bits/échantillons # chanel = canaux # chunk = tronçon (comme Guillaume Allègre a mis dans la trad de png) # cutpoint = point de césure (utilisé pour l'outil vcut) # downmix = démultiplexe (c'est en fait la convertion stéréo -> mono) # low-pass = passe-bas (terme de traitement du signal. Définition plus complète # de granddictionnaire.com : Filtre qui laisse passer les signaux de # basse fréquence) # parse = analyse # playtime = durée d'écoute # raw = brut [adjectif] # sample rate = taux d'échantillonnage # streaming = diffusion en flux (streaming) # # # Problématiques: # granulepos = granulepos (c'est en fait le nom propre d'un index spécial dans le # format vorbis, les développeurs m'ont déconseillé de traduire) # replaygain = replaygain (replaygain is a tag added such that the gain is # modified on playback so that all your tracks sound like they're at # the same volume/loudness/whatever). Je sais toujours pas dire ca # en français. msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.0\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2003-03-06 15:15+0100\n" "Last-Translator: Martin Quinson \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Erreur : Plus de mémoire dans malloc_action().\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "" "Erreur : Impossible d'allouer de la mémoire dans malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Erreur : Périphérique indisponible.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "Erreur : %s a besoin d'un fichier de sortie à spécifier avec -f.\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Erreur : Valeur d'option invalide pour le périphérique %s.\n" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Erreur : Impossible d'ouvrir le périphérique %s.\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Erreur : Erreur de périphérique %s.\n" #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "" "Erreur : Impossible d'attribuer un fichier de sortie pour le périphérique " "%s.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Erreur : Impossible d'ouvrir le fichier %s en écriture.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Erreur : Le fichier %s existe déjà.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "Erreur : Cette erreur ne devrait jamais se produire (%d). Panique !\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "Erreur : Plus de mémoire dans new_print_statistics_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "Erreur : Plus de mémoire dans new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "Erreur : Plus de mémoire dans new_status_message_arg().\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Erreur : Plus de mémoire dans decoder_buffered_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Erreur : Plus de mémoire dans decoder_buffered_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "Erreur du système" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Erreur d'analyse : %s à la ligne %d de %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Nom" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Description" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Type" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Par défaut" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "aucun" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "booléen" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "caractère" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "chaîne" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "entier" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "flottant" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "double" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "Autre" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(NUL)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(aucun)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Réussite" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Clé introuvable" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Pas de clé" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Valeur invalide" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Mauvais typage dans la liste des options" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Erreur inconnue" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "Erreur interne lors de l'analyse des options de la ligne de commande\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Le tampon d'entré est plus petit que le minimum valide (%dkO)." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Erreur « %s » lors de l'analyse de l'option donnée sur la ligne de " "commande\n" "=== L'option était : %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "Options disponibles :\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== Pas de tel périphérique %s.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== Le pilote %s n'est pas un pilote de fichier de sortie.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "" "=== Impossible de spécifier quel fichier de sortie utiliser sans pilote.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Format d'option incorrecte : %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Valeur de prétampon invalide. L'intervalle est 0-100.\n" #: ogg123/cmdline_options.c:202 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 de %s %s\n" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Impossible de jouer tous les « zéroièmes » tronçons !\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Impossible de jouer chaque tronçon zéro fois.\n" "--- Pour tester un décodeur, utilisez le pilote de sortie null.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- impossible d'ouvrir le fichier de liste %s. Omis. \n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "" "--- Le pilote %s indiqué dans le fichier de configuration est invalide.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Impossible de charger le pilote par défaut, et aucun autre pilote n'est " "indiqué dans le fichier de configuration. Terminaison.\n" #: ogg123/cmdline_options.c:307 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:314 #, fuzzy, c-format msgid "Available codecs: " msgstr "Options disponibles :\n" #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:342 #, fuzzy, c-format msgid "File:" msgstr "Fichier : %s" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" #: ogg123/cmdline_options.c:361 #, fuzzy, c-format msgid "Playlist options\n" msgstr "Options disponibles :\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:369 #, fuzzy, c-format msgid "Input options\n" msgstr "L'entrée n'est pas un ogg.\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:374 #, fuzzy, c-format msgid "Decode options\n" msgstr "Description" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "Options disponibles :\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr "" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Erreur : Plus de mémoire.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "" "Erreur : Impossible d'allouer de la mémoire dans malloc_decoder_stat()\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Erreur : Impossible de fixer le masque de signal." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Erreur : Impossible de créer le tampon d'entrée.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "pilote de sortie par défaut" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "mélange la liste des morceaux" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:230 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Impossible d'omettre %f secondes d'audio." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Périphérique audio : %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Auteur : %s" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "Commentaires : %s" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Attention : Impossible de lire le répertoire %s.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Erreur : Impossible de créer les tampons audio.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Aucun module à lire depuis %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Impossible d'ouvrir %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Le format de fichier de %s n'est pas supporté.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" "Erreur lors de l'ouverture de %s avec le module %s. Le fichier est peut-être " "corrompu.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "Écoute de : %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Impossible d'omettre %f secondes d'audio." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Erreur : Échec du décodage.\n" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Terminé." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Trou dans le flux ; sans doute inoffensif\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== La bibliothèque Vorbis indique une erreur de flux.\n" #: ogg123/oggvorbis_format.c:361 #, fuzzy, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "Le flux a %d canaux, %ldHz" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "Débit : max=%ld nominal=%ld min=%ld fenêtre=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Encodé par : %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "Erreur : Plus de mémoire dans create_playlist_member().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Attention : Impossible de lire le répertoire %s.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "Attention : dans la liste %s, impossible de lire le répertoire %s.\n" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "Erreur : Plus de mémoire dans playlist_to_array().\n" #: ogg123/speex_format.c:366 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Le flux a %d canaux, %ldHz" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Version : %d\n" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Erreur lors de la lecture des entêtes\n" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sPrétampon à %.1f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sEn pause" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Erreur d'allocation mémoire dans stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Fichier : %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "Temps : %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "de %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Débit moyen : %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Tampon d'entrée %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " Tampon de sortie %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "" "Erreur : Impossible d'allouer de la mémoire dans malloc_data_source_stats()\n" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "Numéro de chanson :" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain (Reference loudness):" msgstr "ReplayGain (Morceau) :" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "ReplayGain (Morceau) :" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "ReplayGain (Album) :" #: ogg123/vorbis_comments.c:45 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr "ReplayGain (Morceau) :" #: ogg123/vorbis_comments.c:46 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr "ReplayGain (Album) :" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "Copyright" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 msgid "Comment:" msgstr "Commentaire :" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 de %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: oggdec/oggdec.c:59 #, fuzzy, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" "Usage : vcut fichier_entrée.ogg fichier_sortie1.ogg fichier_sortie2.ogg " "césure\n" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "Erreur : impossible d'ouvrir le fichier d'entrée « %s » : %s\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "Erreur : impossible d'ouvrir le fichier de sortie « %s » : %s\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Impossible d'ouvrir le fichier comme un vorbis : %s\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Fin de l'encodage du fichier « %s »\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "entrée standard" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "sortie standard" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Erreur lors de la suppression du vieux fichier %s\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "Erreur : aucun fichier d'entrée n'a été spécifié. Voir -h pour de l'aide.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "Erreur : plusieurs fichiers d'entrée pour le fichier de sortie spécifié : \n" " vous devriez peut-être utiliser -n\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "lecteur de fichier WAV" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "lecteur de fichier AIFF/AIFC" #: oggenc/audio.c:50 #, fuzzy msgid "FLAC file reader" msgstr "lecteur de fichier WAV" #: oggenc/audio.c:51 #, fuzzy msgid "Ogg FLAC file reader" msgstr "lecteur de fichier WAV" #: oggenc/audio.c:129 oggenc/audio.c:459 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "" "Attention : fin de fichier inattendue lors de la lecture des entêtes WAV\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "Omition d'un tronçon de type « %s » et de longueur %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Attention : fin de fichier inattendue dans un tronçon AIFF\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Attention : aucun tronçon commun dans le fichier AIFF\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Attention : tronçon commun tronqué dans l'entête AIFF\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "Attention : fin de fichier inattendue dans l'entête AIFF\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "Attention : tronçon commun tronqué dans l'entête AIFF\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Attention : l'entête AIFF-C est tronqué.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "Attention : Je ne sais pas gérer l'AIFF-C compressé\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "Attention : le fichier AIFF ne contient pas de tronçon SSND\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Attention : tronçon SSND corrompu dans l'entête AIFF\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Attention : fin de fichier inattendue dans l'entête AIFF\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "Attention : OggEnc ne supporte pas ce type de fichier AIFF/AIFC\n" " Il doit s'agir de PCM en 8 ou 16 bits.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Attention : format de tronçon inconnu dans l'entête WAV\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "Attention : format de tronçon invalide dans l'entête WAV.\n" " Tentative de lecture malgrès tout (cela peut ne pas marcher)...\n" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "Erreur : Fichier WAV de type non supporté (doit être un PCM standard,\n" " ou un PCM en virgule flottante de type 3\n" #: oggenc/audio.c:546 #, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "Erreur : Fichier WAV de sous-type non supporté (doit être un PCM 16 bits,\n" " ou un PCM en nombre flottant\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:799 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "BOGUE : zéro échantillon reçu du rééchantilloneur : votre fichier sera " "tronqué.\n" "Veuillez rapporter ce problème.\n" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "Impossible d'initialiser le rééchantilloneur\n" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "Réglage de l'option avancée « %s » à %s\n" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "Réglage de l'option avancée « %s » à %s\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "Modification de la fréquence passe-bas de %f kHz à %f kHz\n" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "Option avancée « %s » inconnue\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, fuzzy, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" "255 canaux devrait être suffisant pour tous. (désolé, vorbis ne permet pas " "d'en utiliser plus)\n" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "Demander un débit minimum ou maximum impose l'usage de --managed\n" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "Échec de l'initialisation du mode : paramètres de qualité invalides\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "" "Échec de l'initialisation du mode : paramètres invalides pour le débit\n" #: oggenc/encode.c:374 #, fuzzy, c-format msgid "WARNING: no language specified for %s\n" msgstr "Attention : Option inconnue donnée, ignorée ->\n" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "Écriture d'entêtes du flux de sortie infructueuse\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Écriture d'entêtes du flux de sortie infructueuse\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "Écriture d'entêtes du flux de sortie infructueuse\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Écriture d'entêtes du flux de sortie infructueuse\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Écriture dans le flux de sortie infructueuse\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, fuzzy, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [%2dm%.2ds restant] %c" #: oggenc/encode.c:726 #, fuzzy, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tEncodage [%2dm%.2ds pour l'instant] %c" #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Fin de l'encodage du fichier « %s »\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Fin de l'encodage.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tLongueur de fichier : %dm %04.1fs\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tTemps écoulé : %dm %04.1fs\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tTaux: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tDébit moyen : %.1f kb/s\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Encodage de %s%s%s \n" " en %s%s%s \n" "au débit moyen de %d kbps " #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Encodage de %s%s%s \n" " en %s%s%s \n" "au débit approximatif de %d kbps (encodage VBR en cours)\n" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Encodage de %s%s%s \n" " en %s%s%s \n" "au niveau de qualité %2.2f en utilisant un VBR contraint " #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Encodage de %s%s%s \n" " en %s%s%s \n" "à la qualité %2.2f\n" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Encodage de %s%s%s \n" " en %s%s%s \n" "en utilisant la gestion du débit " #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Impossible d'ouvrir le fichier comme un vorbis : %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Erreur : Plus de mémoire.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "Erreur : impossible d'ouvrir le fichier d'entrée « %s » : %s\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 #, fuzzy msgid "RAW file reader" msgstr "lecteur de fichier WAV" #: oggenc/oggenc.c:131 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "Erreur : aucun fichier d'entrée n'a été spécifié. Voir -h pour de l'aide.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "Erreur : plusieurs fichiers spécifiés lors de l'usage de stdin\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "Erreur : plusieurs fichiers d'entrée pour le fichier de sortie spécifié : \n" " vous devriez peut-être utiliser -n\n" #: oggenc/oggenc.c:217 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" "Attention : pas assez de titres spécifiés, utilisation du dernier par " "défaut.\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "Erreur : impossible d'ouvrir le fichier d'entrée « %s » : %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Ouverture avec le module %s : %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "Erreur : le fichier d'entrée « %s » n'est pas dans un format reconnu\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "Erreur : le fichier d'entrée « %s » n'est pas dans un format reconnu\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "" "Attention : pas de nom de fichier. Utilisation de « default.ogg » par " "défaut.\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "Erreur : impossible de créer les sous répertoires nécessaires pour le " "fichier de sortie « %s »\n" #: oggenc/oggenc.c:363 #, fuzzy, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "Le fichier de sortie doit être différent du fichier d'entrée\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "Erreur : impossible d'ouvrir le fichier de sortie « %s » : %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "Rééchantillonage de l'entrée de %d Hz à %d Hz\n" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Démultiplexage de la stéréo en mono\n" #: oggenc/oggenc.c:441 #, fuzzy, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "" "ERREUR : impossible de démultiplexer autre chose que de la stéréo en mono\n" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 de %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" "Attention : omition du caractère d'échappement illégal « %c » dans le nom de " "format\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Mise en route du mécanisme de gestion du débit\n" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "ATTENTION : nombre de canaux bruts spécifiés pour des données non-brutes. \n" " Les données sont supposées brutes.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" "ATTENTION : impossible de lire l'argument « %s » indiquant si le flux doit\n" "être petit ou grand boutiste (little ou big endian)\n" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "" "ATTENTION : Impossible de lire la fréquence de rééchantillonage « %s »\n" #: oggenc/oggenc.c:773 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "Attention : le taux de rééchantillonage spécifié est %d Hz. Vouliez vous " "dire %d Hz ?\n" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "" "ATTENTION : Impossible de lire la fréquence de rééchantillonage « %s »\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Valeur pour l'option avancée d'encodage introuvable\n" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "" "Erreur interne lors de l'analyse des options sur la ligne de commande\n" #: oggenc/oggenc.c:831 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "Attention : commande illégale (« %s »). ignorée.\n" #: oggenc/oggenc.c:870 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Attention : le débit nominal « %s » n'est pas reconnu\n" #: oggenc/oggenc.c:878 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Attention : le débit minimum « %s » n'est pas reconnu\n" #: oggenc/oggenc.c:892 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Attention : le débit maximum « %s » n'est pas reconnu\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Option de qualité « %s » inconnue, ignorée\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" "ATTENTION : le réglage de la qualité est trop haut, retour au maximum " "possible.\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" "ATTENTION : plusieurs noms de formats spécifiés. Utilisation du dernier\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" "ATTENTION : plusieurs noms de filtres de formats spécifiés. Utilisation du " "dernier\n" # JCPCAP #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" "ATTENTION : plusieurs noms de filtres de formats en remplacement spécifiés. " "Utilisation du dernier\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" "ATTENTION : Plusieurs fichiers de sortie spécifiés, vous devriez peut-être \n" "utiliser -n\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "ATTENTION : bits/échantillon bruts spécifiés pour des données non-brutes. \n" " Les données sont supposées brutes.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "" "ATTENTION : le bits/échantillon spécifié est invalide. Utilisation de 16.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "ATTENTION : nombre de canaux bruts spécifiés pour des données non-brutes. \n" " Les données sont supposées brutes.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "Attention : Nombre de canaux invalide. Utilisation de 2.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "Attention : taux d'échantillonnage brut spécifié pour des données non-" "brutes.\n" " Les données sont supposées brutes.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" "Attention : Le taux d'échantillonage spécifié n'est pas valide. Utilisation " "de 44100.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "Attention : Option inconnue donnée, ignorée ->\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "" "Impossible de convertir les commentaires en UTF-8. Impossible de les " "ajouter\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "" "Impossible de convertir les commentaires en UTF-8. Impossible de les " "ajouter\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" "Attention : pas assez de titres spécifiés, utilisation du dernier par " "défaut.\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Impossible de créer le répertoire « %s » : %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Erreur lors de la vérification du répertoire %s : %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "Erreur : le segment de chemin « %s » n'est pas un répertoire\n" #: ogginfo/ogginfo2.c:115 #, fuzzy, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" "Flux Vorbis %d :\n" "\tLongueur totale des données : %ld octets\n" "\tDurée totale : %ldm:%02lds\n" "\tDébit moyen : %f kbps\n" #: ogginfo/ogginfo2.c:127 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Attention: EOS non positionné dans le flux %d\n" #: ogginfo/ogginfo2.c:216 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Attention : Page d'entête invalide, aucun paquet trouvé\n" #: ogginfo/ogginfo2.c:246 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" "Attention : Page d'entête invalide pour le flux %d, elle contient plusieurs " "paquets\n" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" #: ogginfo/ogginfo2.c:278 #, fuzzy, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "Attention : trou trouvé dans les données après environ " #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Erreur lors de l'ouverture du fichier d'entrée « %s » : %s\n" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Traitement du fichier « %s »...\n" "\n" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "Impossible de trouver un processeur pour le flux, parachute déployé\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:337 #, fuzzy, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" "Attention : page(s) mal placée(s) dans le flux logique %d\n" "Ceci indique un fichier ogg corrompu.\n" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "Nouveau flux logique (n°%d, n° de série : %08x) : type %s\n" #: ogginfo/ogginfo2.c:352 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "" "Attention : le fanion de début de flux n'est pas positionné dans le flux %d\n" #: ogginfo/ogginfo2.c:355 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "Attention : fanion de début de flux au milieu du flux %d\n" #: ogginfo/ogginfo2.c:361 #, fuzzy, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" "Attention : trou dans les séquences du flux %d. Reçu la page %ld à la place " "de la page %ld escomptée. Il manque des données.\n" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "Fin du flux logique %d\n" #: ogginfo/ogginfo2.c:384 #, fuzzy, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" "Erreur : aucune donnée ogg trouvée dans le fichier « %s ».\n" "L'entrée n'est sans doute pas au format ogg.\n" #: ogginfo/ogginfo2.c:395 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 de %s %s\n" #: ogginfo/ogginfo2.c:400 #, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:401 #, fuzzy, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" "ogginfo 1.0\n" "(c) 2002 Michael Smith \n" "\n" "Usage : ogginfo [options] fich1.ogg [fich2.ogg ... fichN.ogg]\n" "Options possibles :\n" "\t-h Afficher cette aide\n" "\t-q Rendre moins verbeux. Une fois supprimera les messages\n" " informatifs détaillés. Deux fois supprimera les avertissements.\n" "\t-v Rendre plus verbeux. Cela peut permettre des tests plus \n" " détaillés pour certains types de flux.\n" "\n" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:422 #, fuzzy, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" "Usage : ogginfo [options] fich1.ogg [fich2.ogg ... fichN.ogg]\n" "\n" "Ogginfo est un outil permettant d'afficher des informations\n" "à propos de fichiers ogg et de diagnostiquer des problèmes les\n" "concernant.\n" "Pour avoir toute l'aide, faites « ogginfo -h ».\n" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "" "Aucun fichier d'entrée n'a été spécifié. Faites « ogginfo -h » pour de " "l'aide.\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s : l'option « %s » est ambiguë\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s : l'option « %s » n'admet pas d'argument\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s : l'option « %c%s » n'admet pas d'argument\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s : l'option « %s » nécessite un argument\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s : option « --%s » inconnue\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s : option « %c%s » inconnue\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s : option illégale -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s : option invalide -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s : cette option nécessite un argument -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s : l'option « -W %s » est ambiguë\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s : l'option « -W %s » n'admet pas d'argument\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "point de césure « %s » incompréhensible\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "point de césure « %s » incompréhensible\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Impossible d'ouvrir %s pour y écrire\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" "Usage : vcut fichier_entrée.ogg fichier_sortie1.ogg fichier_sortie2.ogg " "césure\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Impossible d'ouvrir %s pour le lire\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "point de césure « %s » incompréhensible\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Traitement : Coupure à %lld\n" #: vcut/vcut.c:289 #, fuzzy, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Traitement : Coupure à %lld\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "Échec du traitement\n" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Clé introuvable" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Impossible d'écrire les commentaires dans le fichier de sortie : %s\n" #: vcut/vcut.c:505 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Erreur lors de la lecture de la première page du flux Ogg." #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Erreur non fatale dans le flux\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Entête secondaire corrompu\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Erreur de flux, on continue\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Erreur dans l'entête primaire : pas du vorbis ?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "L'entrée n'est pas un ogg.\n" #: vcut/vcut.c:616 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Erreur de flux, on continue\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "Fin de flux trouvée avant le point de césure.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Erreur lors de la lecture de la première page du flux Ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Erreur lors de la lecture du paquet d'entête initial." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "Entrée tronquée ou vide." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "L'entrée n'est pas un flux Ogg." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Le flux Ogg ne contient pas de données vorbis." #: vorbiscomment/vcedit.c:555 #, fuzzy msgid "EOF before recognised stream." msgstr "Fin de fichier avant la fin des entêtes vorbis." #: vorbiscomment/vcedit.c:568 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Le flux Ogg ne contient pas de données vorbis." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Entête secondaire corrompu." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "Fin de fichier avant la fin des entêtes vorbis." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "Données corrompues ou manquantes, on continue..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Échec de l'écriture du flux. Le flux de sortie peut être corrompu ou tronqué." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Impossible d'ouvrir le fichier comme un vorbis : %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Mauvais commentaire : « %s »\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "mauvais commentaire : « %s »\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Impossible d'écrire les commentaires dans le fichier de sortie : %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "Pas d'action spécifiée\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "" "Impossible de convertir les commentaires en UTF8, impossible de les ajouter\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:622 #, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:632 #, fuzzy, c-format msgid "Editing options\n" msgstr "Mauvais typage dans la liste des options" #: vorbiscomment/vcomment.c:633 #, c-format msgid " -a, --append Update comments\n" msgstr "" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" #: vorbiscomment/vcomment.c:672 #, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Erreur interne lors de l'analyse des options de commande.\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Erreur lors de l'ouverture du fichier d'entrée « %s ».\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "Le fichier de sortie doit être différent du fichier d'entrée\n" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Erreur lors de l'ouverture du fichier de sortie « %s ».\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Erreur lors de l'ouverture du fichier de commentaires « %s ».\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Erreur lors de l'ouverture du fichier de commentaires « %s »\n" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "Erreur lors de la suppression du vieux fichier %s\n" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "Erreur lors du renommage de %s en %s\n" #: vorbiscomment/vcomment.c:938 #, fuzzy, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Erreur lors de la suppression du vieux fichier %s\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "lecteur de fichier WAV" #, fuzzy #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Erreur interne lors de l'analyse des options de commande.\n" #, fuzzy #~ msgid "oggenc from %s %s" #~ msgstr "ogg123 de %s %s\n" #, fuzzy #~ msgid "" #~ "WARNING: Comment %d in stream %d has invalid format, does not contain " #~ "'=': \"%s\"\n" #~ msgstr "" #~ "Attention le commentaire %d dans le flux %d est mal formaté car il ne " #~ "contient pas '=' : « %s »\n" #, fuzzy #~ msgid "" #~ "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #~ msgstr "" #~ "Attention : nom de champ invalide dans le commentaire %d du flux %d : « " #~ "%s »\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #~ msgstr "" #~ "Attention : séquence UTF-8 illégale dans le commentaire %d du flux %d : " #~ "mauvais marqueur de longueur\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #~ msgstr "" #~ "Attention : séquence UTF-8 illégale dans le commentaire %d du flux %d : " #~ "trop peu d'octets\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence \"%s\": %s\n" #~ msgstr "" #~ "Attention : séquence UTF-8 illégale dans le commentaire %d du flux %d : " #~ "séquence invalide\n" #, fuzzy #~ msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" #~ msgstr "" #~ "Attention : échec dans le décodeur utf8. Cela devrait être impossible\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Theora header packet - invalid Theora stream " #~ "(%d)\n" #~ msgstr "" #~ "Attention : Impossible de décoder l'entête du paquet vorbis - flux vorbis " #~ "invalide (%d)\n" # FIXME #, fuzzy #~ msgid "" #~ "WARNING: Theora stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Attention : paquets des entêtes du flux Vorbis %d malformés. La dernière " #~ "page des entêtes contient des paquets supplémentaires ou a un granulepos " #~ "non-nul.\n" #, fuzzy #~ msgid "Theora headers parsed for stream %d, information follows...\n" #~ msgstr "Entêtes Vorbis du flux %d analysés, les informations suivent...\n" #, fuzzy #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Version : %d\n" #~ msgid "Vendor: %s\n" #~ msgstr "Vendeur : %s\n" #, fuzzy #~ msgid "Height: %d\n" #~ msgstr "Version : %d\n" #, fuzzy #~ msgid "Colourspace unspecified\n" #~ msgstr "Pas d'action spécifiée\n" #, fuzzy #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "Débit maximal : %f kb/s\n" #~ msgid "User comments section follows...\n" #~ msgstr "Les commentaires de l'utilisateur suivent...\n" #, fuzzy #~ msgid "WARNING: granulepos in stream %d decreases from %" #~ msgstr "Attention : le granulepos du flux %d a décru de " #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream " #~ "(%d)\n" #~ msgstr "" #~ "Attention : Impossible de décoder l'entête du paquet vorbis - flux vorbis " #~ "invalide (%d)\n" # FIXME #, fuzzy #~ msgid "" #~ "WARNING: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Attention : paquets des entêtes du flux Vorbis %d malformés. La dernière " #~ "page des entêtes contient des paquets supplémentaires ou a un granulepos " #~ "non-nul.\n" #~ msgid "Vorbis headers parsed for stream %d, information follows...\n" #~ msgstr "Entêtes Vorbis du flux %d analysés, les informations suivent...\n" #~ msgid "Version: %d\n" #~ msgstr "Version : %d\n" #~ msgid "Vendor: %s (%s)\n" #~ msgstr "Vendeur : %s (%s)\n" #~ msgid "Channels: %d\n" #~ msgstr "Canaux : %d\n" #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "" #~ "Taux : %ld\n" #~ "\n" #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "Débit nominal : %f kb/s\n" #~ msgid "Nominal bitrate not set\n" #~ msgstr "Pas de débit nominal indiqué\n" #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "Débit maximal : %f kb/s\n" #~ msgid "Upper bitrate not set\n" #~ msgstr "Pas de débit maximal indiqué\n" #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "Débit minimal : %f kb/s\n" #~ msgid "Lower bitrate not set\n" #~ msgstr "Pas de débit minimal indiqué\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Kate header packet %d - invalid Kate stream " #~ "(%d)\n" #~ msgstr "" #~ "Attention : Impossible de décoder l'entête du paquet vorbis - flux vorbis " #~ "invalide (%d)\n" # FIXME #, fuzzy #~ msgid "" #~ "WARNING: Kate stream %d does not have headers correctly framed. Terminal " #~ "header page contains additional packets or has non-zero granulepos\n" #~ msgstr "" #~ "Attention : paquets des entêtes du flux Vorbis %d malformés. La dernière " #~ "page des entêtes contient des paquets supplémentaires ou a un granulepos " #~ "non-nul.\n" #, fuzzy #~ msgid "Kate headers parsed for stream %d, information follows...\n" #~ msgstr "Entêtes Vorbis du flux %d analysés, les informations suivent...\n" #, fuzzy #~ msgid "Version: %d.%d\n" #~ msgstr "Version : %d\n" #, fuzzy #~ msgid "Category: %s\n" #~ msgstr "Vendeur : %s\n" #, fuzzy #~ msgid "No category set\n" #~ msgstr "Pas de débit nominal indiqué\n" #~ msgid "\n" #~ msgstr "\n" #~ msgid "Page error. Corrupt input.\n" #~ msgstr "Erreur de page. Entrée corrompue.\n" #, fuzzy #~ msgid "Setting EOS: update sync returned 0\n" #~ msgstr "Placement de eos : la mise à jour de sync a retourné 0\n" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "Point de césure au delà du flux. Le second fichier sera vide\n" #~ msgid "Unhandled special case: first file too short?\n" #~ msgstr "Cas spécial non traité : le premier fichier est il trop petit ?\n" #, fuzzy #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "Point de césure au delà du flux. Le second fichier sera vide\n" #, fuzzy #~ msgid "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " Ogg page. File may not decode correctly.\n" #~ msgstr "" #~ "Erreur : Les deux premiers paquets audio ne rentrent pas sur une page " #~ "ogg.\n" #~ " Il sera peut-être impossible de décoder ce fichier.\n" #, fuzzy #~ msgid "Update sync returned 0, setting EOS\n" #~ msgstr "La mise à jour de sync a retourné 0, positionnement de eos\n" #~ msgid "Bitstream error\n" #~ msgstr "Erreur dans le flux\n" #~ msgid "Error in first page\n" #~ msgstr "Erreur à la première page\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "erreur dans le premier paquet\n" #~ msgid "EOF in headers\n" #~ msgstr "EOF dans les entêtes\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "Attention : vcut est encore un code expérimental.\n" #~ "Vérifiez que les fichiers produits soient corrects avant d'effacer les " #~ "sources.\n" #~ "\n" #~ msgid "Error reading headers\n" #~ msgstr "Erreur lors de la lecture des entêtes\n" #~ msgid "Error writing first output file\n" #~ msgstr "Erreur lors de l'écriture du premier fichier de sortie\n" #~ msgid "Error writing second output file\n" #~ msgstr "Erreur lors de l'écriture du second fichier de sortie\n" #~ msgid "malloc" #~ msgstr "malloc" # Ce « live » est la sortie audio de la machine (par opposition à sortie fichier) #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 de %s %s\n" #~ " par la fondation Xiph.org (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help cette aide\n" #~ " -V, --version indique la version d'Ogg123\n" #~ " -d, --device=d utiliser « d » comme périphérique de sortie\n" #~ " Les périphériques possibles sont ('*'=live, '@'=fichier):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -b n, --buffer n use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n load n%% of the input buffer before playing\n" #~ " -v, --verbose display progress and other status information\n" #~ " -q, --quiet don't display anything (no title)\n" #~ " -x n, --nth play every 'n'th block\n" #~ " -y n, --ntimes repeat every played block 'n' times\n" #~ " -z, --shuffle shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=fichier Spécifie le fichier de sortie pour " #~ "un périphérique de\n" #~ " fichier spécifié précédemment (à l'aide de -d).\n" #~ " -k n, --skip n Omet les « n » premières secondes\n" #~ " -o, --device-option=k:v Passe la valeur v à l'option " #~ "spéciale k du périphérique\n" #~ " précédemment spécifié (à l'aide de -d). Voir la page " #~ "de\n" #~ " manuel pour plus de détails.\n" #~ " -b n, --buffer n\n" #~ " Utilise un tampon d'entrée de « n » kilooctets\n" #~ " -p n, --prebuffer n\n" #~ " Charger n%% du tampon d'entrée avant de jouer\n" #~ " -v, --verbose Afficher les progrès et autres informations d'état\n" #~ " -q, --quiet N'affiche rien du tout (pas de titre)\n" #~ " -x n, --nth Joue chaque «n»ième bloc\n" #~ " -y n, --ntimes Répète chaque bloc joué « n » fois\n" #~ " -z, --shuffle Ordre aléatoire\n" #~ "\n" #~ "ogg123 passera à la chanson suivante à la réception de SIGINT (Ctrl-C) ;\n" #~ "Deux SIGINT en moins de s millisecondes et ogg123 s'arrêtera.\n" #~ " -l, --delay=s Fixe s [millisecondes] (500 par défaut).\n" #~ msgid "ReplayGain (Track) Peak:" #~ msgstr "ReplayGain de crête (Morceau) :" #~ msgid "ReplayGain (Album) Peak:" #~ msgstr "ReplayGain de crête (Album) :" #~ msgid "Version is %d" #~ msgstr "Version est %d" #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps. This uses the bitrate management\n" #~ " engine, and is not recommended for most users.\n" #~ " See -q, --quality for a better alternative.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel.\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications.\n" #~ " -q, --quality Specify quality between 0 (low) and 10 (high),\n" #~ " instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " Quality -1 is also possible, but may not be of\n" #~ " acceptable quality.\n" #~ " --resample n Resample input data to sampling rate n (Hz)\n" #~ " --downmix Downmix stereo to mono. Only allowed on stereo\n" #~ " input.\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times.\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 16 or 8 bit PCM WAV, AIFF, or AIFF/" #~ "C\n" #~ " files, or 32 bit IEEE floating point WAV. Files may be mono or stereo\n" #~ " (or more channels) and any sample rate.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an outfile filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "Usage: oggenc [options] entrée.wav [...]\n" #~ "\n" #~ "OPTIONS :\n" #~ " Géneral :\n" #~ " -Q, --quiet Ne rien afficher sur stderr\n" #~ " -h, --help Afficher ce message d'aide\n" #~ " -r, --raw Mode brut. Les fichiers d'entrée sont des données " #~ "PCM\n" #~ " -B, --raw-bits=n Indique bits/échantillon pour l'entrée brute. Par " #~ "défaut : 16\n" #~ " -C, --raw-chan=n Indique le nombre de canaux pour l'entrée brute. " #~ "Par défaut : 2\n" #~ " -R, --raw-rate=n Indique échantillon/sec pour l'entrée brute. Par " #~ "défaut : 44100\n" #~ " --raw-endianness 1 pour grand-boutiste (bigendian), 0 pour petit-" #~ "boutiste.\n" #~ " Par défaut : 0\n" #~ " -b, --bitrate Choisi un débit nominal auquel encoder. Essaye " #~ "d'encoder à ce\n" #~ " débit en moyenne. Prend un argument en kbps. Cela " #~ "utilise\n" #~ " le mécanisme de gestion du débit et n'est pas " #~ "conseillé à \n" #~ " tout le monde. Voir -q pour une meilleure " #~ "solution.\n" #~ " -m, --min-bitrate Indique le débit minimum (en kbps). Utile pour " #~ "encoder \n" #~ " pour un canal de taille fixe.\n" #~ " -M, --max-bitrate Indique le débit minimum (en kbps). Utile les " #~ "applications\n" #~ " de diffusion en flux (streaming).\n" #~ " -q, --quality Indique une qualité entre 0 (basse) et 10 (haute), " #~ "au lieu\n" #~ " d'indiquer un débit particulier. C'est le mode " #~ "normal.\n" #~ " Les quantités fractionnaires (comme 2,75) sont " #~ "possibles.\n" #~ " La qualité -1 est aussi possible mais peut ne pas " #~ "être\n" #~ " d'une qualité acceptable.\n" #~ " --resample n Rééchantillone les données en entrée à n Hz.\n" #~ " --downmix Démultiplexe de la stéréo vers le mono. Possible " #~ "uniquement \n" #~ " pour des données en stéréo.\n" #~ " -s, --serial Indique le numéro de série du flux. Lors de " #~ "l'encodage de\n" #~ " plusieurs fichiers, ceci sera incrémenté de 1 pour " #~ "chacun \n" #~ " d'entre eux après le premier.\n" #~ "\n" #~ " Nommage :\n" #~ " -o, --output=fich Écrit dans fich (uniquement pour écrire un seul " #~ "fichier)\n" #~ " -n, --names=chaîne Produit des noms de fichier à partir de cette " #~ "chaîne, avec\n" #~ " %%a, %%t, %%l, %%n, %%d remplacés respectivement " #~ "par \n" #~ " artiste, titre, album, numéro de chanson et date\n" #~ " (voir plus bas pour les spécifications).\n" #~ " %%%% donne un %% littéral.\n" #~ " -X, --name-remove=s Retire les caractères indiqués des arguments passés " #~ "à la\n" #~ " chaîne de formatage de -n. Pratique pour s'assurer " #~ "de noms \n" #~ " de fichiers légaux.\n" #~ " -P, --name-replace=s Remplace les caractères retirés avec --name-remove " #~ "par ceux\n" #~ " spécifier. Si cette chaîne est plus courte que " #~ "celle passée à\n" #~ " l'option précédente ou si elle est omise, les " #~ "caractères \n" #~ " supplémentaires sont simplement supprimés.\n" #~ " Les réglages par défaut de ces deux arguments " #~ "dépendent de la\n" #~ " plate-forme.\n" #~ " -c, --comment=c Ajoute la chaîne indiquée en commentaire " #~ "supplémentaire. Cette\n" #~ " option peut être utilisé plusieurs fois.\n" #~ " -d, --date Date du morceau (habituellement, date " #~ "d'enregistrement)\n" #~ " -N, --tracknum Numéro du morceau \n" #~ " -t, --title Titre du morceau\n" #~ " -l, --album Nom de l'album\n" #~ " -a, --artist Nom de l'artiste\n" #~ " -G, --genre Genre du morceau\n" #~ " Si plusieurs fichiers d'entrées sont utilisés, " #~ "plusieurs\n" #~ " instances des 5 arguments précédents vont être " #~ "utilisés\n" #~ " dans l'ordre où ils sont donnés. \n" #~ " Si vous spécifiez moins de titre qu'il n'y a de " #~ "fichiers, \n" #~ " OggEnc affichera un avertissement et réutilisera " #~ "le \n" #~ " dernier donné pour les suivants.\n" #~ " Si vous spécifiez moins de numéro de morceau que " #~ "de \n" #~ " fichiers, les suivants ne seront pas numérotés.\n" #~ " Pour les autres tags, la dernière valeur donnée " #~ "sera\n" #~ " réutilisée sans avertissement (vous pouvez donc " #~ "spécifier\n" #~ " la date une seule fois et la voir utilisée pour " #~ "tous les\n" #~ " fichiers)\n" #~ "\n" #~ "FICHIERS D'ENTRÉE :\n" #~ " Les fichiers d'entrée d'OggEnc doivent actuellement être des fichiers " #~ "PCM WAV,\n" #~ " AIFF, ou AIFF/C en 16 ou 8 bit, ou bien des WAV en 32 bit et en " #~ "virgule\n" #~ " flottante IEEE. Les fichiers peuvent être en mono ou stéréo (ou " #~ "comporter\n" #~ " plus de canaux), et peuvent être à n'importe quel taux " #~ "d'échantillonnage.\n" #~ " Alternativement, l'option --raw permet d'utiliser un fichier PCM brut, " #~ "qui doit\n" #~ " être un wav sans entête, c'est à dire être 16bit stéréo petit-" #~ "boutiste\n" #~ " (little-endian), à moins que d'autres options ne soient utilisées " #~ "pour\n" #~ " modifier le mode brut.\n" #~ " Il est possible d'indiquer que le fichier à traiter doit être lu depuis\n" #~ " l'entrée standard en utilisant - comme nom de fichier. Dans ce cas, la " #~ "sortie\n" #~ " est la sortie standard à moins qu'une autre destination ne soit " #~ "indiquée avec\n" #~ " -o. \n" #~ "\n" #~ msgid " to " #~ msgstr " à " #~ msgid " bytes. Corrupted ogg.\n" #~ msgstr " octets. Ogg corrompu.\n" #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ " Raw mode (--raw, -R) will read and write comments in utf8,\n" #~ " rather than converting to the user's character set. This is\n" #~ " useful for using vorbiscomment in scripts. However, this is\n" #~ " not sufficient for general round-tripping of comments in all\n" #~ " cases.\n" #~ msgstr "" #~ "Usage: \n" #~ " vorbiscomment [-l] fichier.ogg (pour lister les commentaires)\n" #~ " vorbiscomment -a entrée.ogg sortie.ogg (pour ajouter des commentaires)\n" #~ " vorbiscomment -w entrée.ogg sortie.ogg (pour modifier les " #~ "commentaires)\n" #~ "\tLors de l'écriture, un nouvel ensemble de commentaires de forme\n" #~ "\t'TAG=valeur' est attendu sur stdin. Cet ensemble remplacera\n" #~ "\tcomplètement les commentaires existants.\n" #~ " -a et -w peuvent aussi s'utiliser avec un seul nom de fichier.\n" #~ " Dans ce cas, un fichier temporaire sera utilisé.\n" #~ " -c peut être utilisé pour lire les commentaires depuis le \n" #~ " fichier spécifié à la place de stdin.\n" #~ " Exemple : vorbiscomment -a entrée.ogg -c commentaires.txt\n" #~ " Ceci ajoutera les commentaires contenus dans commentaires.txt\n" #~ " à ceux déjà présents dans entrée.ogg\n" #~ " Enfin, vous pouvez spécifier des tags additionnels grâce à l'option\n" #~ " de ligne de commande -t. Par exemple :\n" #~ " vorbiscomment -a entrée.ogg -t \"ARTIST=Un mec\" -t \"TITLE=Un titre" #~ "\"\n" #~ " (remarquez qu'utiliser ceci empêche de lire les commentaires depuis\n" #~ " l'entrée standard ou depuis un fichier)\n" #~ " Le mode brut (--raw, -R) permet de lire et d'écrire les commentaires\n" #~ " en utf8 au lieu de les convertir dans l'encodage de l'utilisateur.\n" #~ " C'est pratique pour utiliser vorbiscomment dans des scripts, mais \n" #~ " ce n'est pas suffisant pour résoudre les problèmes d'encodage dans\n" #~ " tous les cas.\n" vorbis-tools-1.4.2/po/sk.gmo0000644000175000017500000004662214002243561012647 00000000000000Þ•ºìû¼ ¨©Ç ã$>[vˆœ²Éã,ý*%H,n-› É&ê1QW`sz,!®ZÐ7+*c-ŽS¼+Q<!ް4È*ý,(U kxŒŸ² ËAÕ9Qn0 °&½ä/þ#..R#¥Äâ &28'S({I¤1î: 1[M#Ûÿ[@j6«Râ>51tB¦ é! ",O o*$»àüL$&q>˜4×, 9.J,y%¦'Ìô4ý62iˆ˜,²-ß' 85 n | (• ;¾ ;ú 6!0;!0l!!*¤!+Ï!]û!Y"%n"N”"ã"$ÿ" $#0#C#$]#-‚#;°#%ì#$''$+O$'{$£$ «$(¸$á$ê$ ï$"ý$ %2:%0m%1ž%?Ð%C&5T&6Š&8Á&Iú&=D'6‚';¹'Lõ'NB(K‘(LÝ(.*)?Y)7™)&Ñ)ø) ***+*2*8*<*Q*V*\*b*s*‚*’*ë™*…,¥, Ä,å,"û,-">-a-x-'‘-)¹- ã- .7%.)].(‡.7°.8è.,!/)N/!x/!š/¼/ Â/Ð/ã/ ê/?ô//40‰d0@î0//12_1u’172i@2(ª2$Ó2?ø2983,r3Ÿ3 ¹3Æ3Þ3ó3" 404L@4F4#Ô4ø4/5 >51L5#~5=¢5$à576$=6'b6 Š6«6 Ë6 ì6ø6þ67173O7Tƒ7;Ø7C83X8_Œ8!ì89^9E~95Ä9Xú9?S:0“:KÄ:/;0@;1q;1£;3Õ;6 <-@</n<'ž<Æ<cÖ<5:=Bp=8³=*ì=>E.>4t>-©>/×> ?T?Qg?¹?Ø?ê?I@DR@<—@EÔ@A/A%KA>qA>°AïA<öA83BlB/|BB¬B‰ïByC+”CnÀC!/D3QD…D–D¬D'ÈD4ðDG%E)mE—E0³E7äE'FDFLF&^F…FŽF’F+¡FÍF/çF7G>OG<ŽGVËGF"HAiHL«HOøHIHIB’IIÕImJfJeôJpZK5ËKTL>VL2•LÈLâLçL!ìLMMMM8M@MEMJMeMwM‹MjŸMµ/¬;^¢¦~'Zk]Ž8<4«³yCXnº¡ƒl¥©9žŠ_&‰N®q!i•˜We§“„xYht…H (-Rr’E*? v±pJšzA”†Œ¨#€‹3gwªIV"PO|1% u¤$–o{.7L ´¯›—f}5­T,6™‘¸m GFœUQ°s@·c¹ =+2d¶aSb:`)‚ 0²‡£BKDˆ>[\ Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Encoding [%2dm%.2ds so far] %c Rate: %.4f [%5.1f%%] [%2dm%.2ds remaining] %c File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s Input Buffer %5.1f%% Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%(NULL)(none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Option conflict: End time is before start time. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBig endian 24 bit PCM data is not currently supported, aborting. Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Changed lowpass frequency from %f kHz to %f kHz Comments: %sCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" DefaultDescriptionDone.Downmixing stereo to mono ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Input filename is the same as output filename "%s" ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing old file %s Error renaming %s to %s Error unknown.Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory FLAC file readerFailed to set bitrate min/max in quality mode Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File: %sInput buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Internal error: attempt to read unsupported bitdepth %d Key not foundLogical stream %d ended Memory allocation error in stats_init() Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Note: Stream %d has serial number %d, which is legal but may cause problems with some tools. Ogg FLAC file readerOgg Vorbis stream: %d channel, %ld HzOgg muxing constraints violated, new stream before EOS of all previous streamsOpening with %s module: %s Page found for stream after EOS flagPlaying: %sProcessing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring Requesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Scaling input to %f Set optional hard quality restrictions Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d SuccessSystem errorThe file format of %s is not supported. Time: %sTypeUnknown errorUnrecognised advanced option "%s" Vorbis format: Version %dWARNING: Can't downmix except from stereo to mono WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: Ignoring illegal escape character '%c' in name format WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid sample rate specified, assuming 44100. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Unknown option specified, ignoring-> WARNING: quality setting too high, setting to maximum quality. Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sothershuffle playliststandard inputstandard outputstringProject-Id-Version: vorbis-tools 1.1.1 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2008-03-20 20:15+0100 Last-Translator: Peter Tuhársky Language-Team: Slovak Language: sk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2; X-Poedit-Language: Slovak X-Poedit-Country: SLOVAKIA PrůmÄ›r bitrate: %.1f kb/s Strávený Äas: %dm %04.1fs Kódujem [zatiaľ %2dm%.2ds] %c PomÄ›r: %.4f [%5.1f%%] [zostáva %2dm%.2ds] %c Délka souboru: %dm %04.1fs Kódování souboru "%s" hotovo Kódování hotovo. Zvukové zariadenie: %s Vstupní vyrovnávací paměť %5.1f%% Výstupní vyrovnávací paměť %5.1f%%%s: neznámý pÅ™epínaÄ -- %c %s: neznámý pÅ™epínaÄ -- %c %s: pÅ™epínaÄ `%c%s' musí být zadán bez argumentu %s: pÅ™epínaÄ `%s' není jednoznaÄný %s: pÅ™epínaÄ `%s' vyžaduje argument %s: pÅ™epínaÄ `--%s' musí být zadán bez argumentu %s: pÅ™epínaÄ `-W %s' musí být zadán bez argumentu %s: pÅ™epínaÄ `-W %s' není jednoznaÄný %s: pÅ™epínaÄ vyžaduje argument -- %c %s: neznámý pÅ™epínaÄ `%c%s' %s: neznámý pÅ™epínaÄ `--%s' %sEOS%sPozastaveno%sPrebuf na %.1f%%(NULL)(žiadny)--- Nedá sa otvoriÅ¥ súbor zoznamu skladieb %s. Preskakujem. --- Nedá sa prehrávaÅ¥ každý nultý úsek! --- Nedá sa každý úsek prehrávaÅ¥ nulakrát. --- Na vykonanie testovacieho dekódovania prosím použite výstupný ovládaÄ null. --- OvládaÄ %s zadaný v konfiguraÄnom súbore je neplatný. --- Díra v proudu; pravdÄ›podobnÄ› neÅ¡kodná --- Hodnota prebuffer neplatná. Rozsah je 0-100. === Nedá sa naÄítaÅ¥ implicitný ovládaÄ a v konfiguraÄnom súbore nie je zadaný žiadny ovládaÄ. KonÄím. === OvládaÄ %s nie je ovládaÄ výstupu do súboru. === Chyba "%s" pri spracúvaní prepínaÄa konfigurácie z príkazového riadku. === PrepínaÄ bol: %s === Nesprávny formát prepínaÄa: %s. === Také zariadenie %s neexistuje. === Konflikt predvolieb: Koncový Äas je pred zaÄiatoÄným. === Chyba v spracovaní: %s na riadku %d súboru %s (%s) === Knihovna vorbis ohlásila chybu proudu. ÄŒteÄ souborů AIFF/AIFCAutor: %sDostupné prepínaÄe: Prům bitrate: %5.1fÅ patná poznámka: "%s" Chybný typ v zozname prepínaÄovChybná hodnotaÚdaje big endian 24-bit PCM v súÄasnosti nie sú podporované, konÄím. NápovÄ›dy bitrate: vyšší=%ld nominální=%ld nižší=%ld okno=%ldChyba bitového proudu, pokraÄuji Nemohu otevřít %s. ZmÄ›nÄ›na frekvence lowpass z %f kHz na %f kHz Poznámky: %sPoÅ¡kozená nebo chybÄ›jící data, pokraÄuji...PoÅ¡kozená sekundární hlaviÄka.Nepodarilo sa nájsÅ¥ obsluhu pre prúd údajov, vzdávam sa Nemohu pÅ™eskoÄit %f vteÅ™in zvuku.Nemohu pÅ™evést poznámku do UTF-8, nemohu ji pÅ™idat Nemohu vytvoÅ™it adresář "%s": %s Nemohu inicializovat pÅ™evzorkovávaÄ Nemohu otevřít %s pro Ätení Nemohu otevřít %s pro zápis Nemohu zpracovat bod Å™ezu "%s" PredvolenéPopisHotovo.Mixuji stereo na mono CHYBA: Nemohu otevřít vstupní soubor "%s": %s CHYBA: Nemohu otevřít výstupní soubor "%s": %s CHYBA: Nemohu vytvoÅ™it požadované podadresáře pro jméno souboru výstupu "%s" CHYBA: Vstupní soubor "%s" není v podporovaném formátu CHYBA: Názov vstupného súboru je rovnaký ako výstupného "%s" CHYBA: PÅ™i použití stdin urÄeno více souborů CHYBA: Více vstupních souborů s urÄeným názvem souboru výstupu: doporuÄuji použít -n Povoluji systém správy bitrate Kódováno s: %sKóduji %s%s%s do %s%s%s pÅ™i průmÄ›rné bitrate %d kb/s (VBR kódování povoleno) Kóduji %s%s%s do %s%s%s pÅ™i průmÄ›rné bitrate %d kb/s Kóduji %s%s%s do %s%s%s pÅ™i kvalitÄ› %2.2f Kóduji %s%s%s do %s%s%s pÅ™i úrovni kvality %2.2f s použitím omezeného VBR Kóduji %s%s%s do %s%s%s s použitím správy bitrate Chyba pÅ™i kontrole existence adresáře %s: %s Chyba pÅ™i otevírání %s pomocí modulu %s. Soubor je možná poÅ¡kozen. Chyba pÅ™i otevírání souboru poznámek '%s' Chyba pÅ™i otevírání souboru poznámek '%s'. Chyba pri otváraní vstupného súboru "%s": %s Chyba pÅ™i otevírání vstupního souboru '%s'. Chyba pÅ™i otevírání výstupního souboru '%s'. Chyba pÅ™i Ätení první strany bitového proudu Ogg.Chyba pÅ™i Ätení prvního paketu hlaviÄky.Chyba pÅ™i odstraňování starého souboru %s Chyba pÅ™i pÅ™ejmenovávání %s na %s Neznáma chyba.Chyba pÅ™i zapisování proudu na výstup. Výstupní proud může být poÅ¡kozený nebo useknutý.Chyba: Nemohu vytvoÅ™it vyrovnávací paměť zvuku. Chyba: Nedostatok pamäti v decoder_buffered_metadata_callback(). Chyba: Nedostatok pamäti v new_print_statistics_arg(). Chyba: segment cesty "%s" není adresář ČítaÄ súborov FLACNepodarilo sa nastaviÅ¥ min/max bitovú rýchlosÅ¥ v režime kvality Nemohu zapsat poznámky do výstupního souboru: %s Nemohu zapisovat data do výstupního proudu Nemohu zapsat hlaviÄku do výstupního proudu Soubor: %sVeľkosÅ¥ vstupnej vyrovnávacej pamäte je menÅ¡ia než minimálna veľkosÅ¥ %d kB.Název vstupního souboru nemůže být stejný jako název výstupního souboru Vstup není bitový proud Ogg.Vstup není ogg. Vstup useknut nebo prázdný.Interní chyba pÅ™i zpracovávání pÅ™epínaÄů příkazového řádku Interná chyba pri spracúvaní prepínaÄov na príkazovom riadku. Interní chyba pÅ™i zpracovávání pÅ™epínaÄů příkazu Vnútorná chyba: pokus o Äítanie nepodporovanej bitovej hĺbky %d KÄ¾ÃºÄ sa nenaÅ¡ielLogický proud %d skonÄil Chyba alokace pamÄ›ti v stats_init() Inicializace režimu selhala: neplatné parametry pro bitrate Inicializace režimu selhala: neplatné parametry pro kvalitu NázovNový logický prúd údajov (#%d, sériové: %08x): typ %s Nezadány vstupní soubory. "ogginfo -h" pro nápovÄ›du Žiadny kľúÄNebyl nalezen žádný modul pro Ätení z %s. Nenalezena žádná hodnota pro pokroÄilý pÅ™epínaÄ enkodéru Upozornenie: Prúd údajov %d má sériové Äíslo %d, Äo je síce prípustné, ale môže spôsobiÅ¥ problémy niektorým nástrojom, Ogg ÄítaÄ súborov FLACPrúd údajov Ogg Vorbis: %d kanál, %ld HzObmedzenia pre Ogg muxing boli poruÅ¡ené, nový prúd údajov pred EOS vÅ¡etkých predchádzajúcich prúdochOtevírám pomocí modulu %s: %s NaÅ¡la sa stránka pre prúd údajov po znaÄke EOSPÅ™ehrávám: %sZpracování selhalo Spracúvam súbor "%s"... Spracúvam: Strihám na %lld vzorkách PÅ™epínaÄ kvality "%s" nerozpoznán, ignoruji jej Požadování minimální nebo maximální bitrate vyžaduje --managed PÅ™evzorkovávám vstup z %d Hz do %d Hz Prispôsobujem vstup na %f NastaviÅ¥ voliteľné tvrdé obmedzenia kvality Nastavuji pokroÄilý pÅ™epínaÄ "%s" enkodéru na %s PÅ™eskakuji úsek typu "%s", délka %d ÚspechSystémová chybaFormát souboru %s není podporován. ÄŒas: %sTypNeznáma chybaNerozpoznaný pokroÄilý pÅ™epínaÄ "%s" Vorbis formát: Verzia %dVAROVANIE: Neviem mixovaÅ¥, iba stereo do mono VAROVÃNÃ: Nemohu pÅ™eÄíst argument endianness "%s" VAROVÃNÃ: Nemohu pÅ™eÄíst frekvenci pÅ™evzorkování "%s" VAROVÃNÃ: Ignoruji neplatný znak '%c' ve formátu názvu VAROVÃNÃ: Zadáno nedostateÄnÄ› názvů, implicitnÄ› používám poslední název. VAROVÃNÃ: Zadán neplatný poÄet bitů/vzorek, pÅ™edpokládám 16. VAROVÃNÃ: Zadán neplatný poÄet kanálů, pÅ™edpokládám 2. VAROVÃNÃ: UrÄena neplatná vzorkovací frekvence, pÅ™edpokládám 44100. VAROVÃNÃ: Zadáno více náhrad filtr formátu názvu, používám poslední VAROVÃNÃ: Zadáno více filtrů formátu názvu, používám poslední VAROVÃNÃ: Zadáno více formátů názvu, používám poslední VAROVÃNÃ: Zadáno více výstupních souborů, doporuÄuji použít -n VAROVÃNÃ: Přímý poÄet bitů/vzorek zadán pro nepřímá data. PÅ™edpokládám, že vstup je přímý. VAROVÃNÃ: Přímý poÄet kanálů zadán po nepřímá data. PÅ™edpokládám, že vstup je přím. VAROVÃNÃ: Přímá endianness zadána pro nepřímá data. PÅ™edpokládám, že vstup je přímý. VAROVÃNÃ: Přímá vzorkovací frekvence zadána pro nepřímá data. PÅ™edpokládám, že vstup je přímý. VAROVÃNÃ: Zadán neplatný pÅ™epínaÄ, ignoruji-> VAROVÃNÃ: nastavení kvality příliÅ¡ vysoké, nastavuji na maximální kvalitu. Varování ze seznamu skladeb %s: Nemohu Äíst adresář %s. Varovanie: Nepodarilo sa preÄítaÅ¥ adresár %s. Å¡patná poznámka: "%s" boolcharimplicitné výstupné zariadeniedoublefloatintneurÄena žádná akce žiadnyz %sinýpomieÅ¡aÅ¥ zoznam skladiebstandardní vstupstandardní výstupstringvorbis-tools-1.4.2/po/Makevars0000644000175000017500000000343213767140576013235 00000000000000# Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ # 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 = Xiph.Org Foundation # 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 = https://trac.xiph.org/ # 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 = vorbis-tools-1.4.2/po/ro.gmo0000644000175000017500000004173214002243561012647 00000000000000Þ•¬|åÜ pq«ÀÝø 4Ke,¬%Ê,ð- K&l“³ÓÙâõü,!0ZR7­*å-S>+’Q¾!2*J,u¢ ¸ÅÙìÿ 9"\y0Š» Ä Ñ&Û/#L.p#ŸÃâ< DPV'q(™IÂ1 1>Mp#¾â[ñ@M6ŽRÅ>1WB‰ Ì!í"2 R*s$žÃßLø&E>l4«,à, %:'`ˆ4‘6Æý,,F-s'¡ É×(ð;;U‘0–0Çø*ÿ+*V r~‘-«Ùí; %= +c ' · ¿ (Ì õ þ  ! !"!0B!1s!?¥!Cå!5)"6_"8–"IÏ"=#6W#;Ž#LÊ#N$Kf$L²$.ÿ$?.%7n%&¦%Í%à%å%ê%&& &&&&+&1&7&H&W&g&‰n&ø'(/(D("c(†(ž(¶(Í(ã(ÿ())E)(e))Ž)*¸)"ã))*!0* R*s* y*„*š*¡*/©*(Ù*^+=a++Ÿ+7Ë+s,;w,V³,! -,-2I-5|-²- Ì-Ø-î-..8.DH..¬.3Ç. û./ /& /G/;_/(›/>Ä/&0"*0'M0(u0.ž0Í0 Ö0 à0ë0/1741Sl1<À1<ý1W:2"’2µ2_Ä2A$37f3Xž3C÷35;4Nq44À45õ45+5'a51‰54»5/ð5( 6I6]i6*Ç6?ò65270h79™71Ó748 :87E8K}8)É8ó89:91Z97Œ9 Ä9Ð9'ë9;:<O:Œ:-‘:A¿: ;7 ;@E;†; ¤;²;Ä;1ß;<%<69<3p<+¤<$Ð<õ< ü<( = 3=>=R=V=$i=<Ž=GË=L>L`>9­>Bç>C*?\n?OË?I@Le@^²@aAZsAaÎA:0BJkB?¶B.öB%C>CCCHCbCiCoCsCC•CœC¢CµCÆCÖC0@‚=R2-—W"O ”•B`4M^hq {¦€cXx¢l†'‰¨j:6|™ i5vJ;Ž–%<Š*©sHGP}¡Y‡˜V§>pyfS“ke£’?_¥r)m¬+„z«¤!KE.šuU#o[‹3…L› žIndŸNgt9ZDTF/(C‘w8$7 bQªƒ & A~\1aœ,]Œˆ Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Rate: %.4f File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s Input Buffer %5.1f%% Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%(NULL)(none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Changed lowpass frequency from %f kHz to %f kHz Comment:Comments: %sCopyrightCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" DefaultDescriptionDone.Downmixing stereo to mono ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing old file %s Error renaming %s to %s Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File: %sInput buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Key not foundLogical stream %d ended Memory allocation error in stats_init() Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Opening with %s module: %s Playing: %sProcessing failed Processing file "%s"... Quality option "%s" not recognised, ignoring ReplayGain (Album):ReplayGain (Track):Requesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d SuccessSystem errorThe file format of %s is not supported. Time: %sTrack number:TypeUnknown errorUnrecognised advanced option "%s" WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: Ignoring illegal escape character '%c' in name format WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid sample rate specified, assuming 44100. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Unknown option specified, ignoring-> WARNING: quality setting too high, setting to maximum quality. Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sothershuffle playliststandard inputstandard outputstringProject-Id-Version: vorbis-tools 1.0 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2003-04-14 06:17+0000 Last-Translator: Eugen Hoanca Language-Team: Romanian Language: ro MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit Bitrate mediu: %.1f kb/s Timp trecut: %dm %04.1fs Ratã: %.4f Duratã fiºier: %dm %04.1fs Encodare fiºier finalizatã "%s" Encodare finalizatã. Dispozitiv Audio: %sBuffer intrare %5.1f%%Buffer ieºire %5.1f%%%s: opþiune invalidã -- %c %s: opþiune invalidã -- %c %s: opþiunea `%c%s' nu permite parametri %s: opþiunea `%s' este ambiguã %s: opþiunea `%s' necesitã un parametru %s: opþiunea `--%s' nu acceptã parametri %s: opþiunea `-W %s' nu permite parametri %s: opþiunea `-W %s' este ambiguã %s: opþiunea necesitã un parametru -- %c %s: opþiune nerecunoscutã `%c%s' %s opþiune nerecunoscuta `--%s' %sEOS%sÎn pauzã%sPrebuf cãtre %.1f%%(NULL)(nimic)--- Nu se poate deschide playlistul %s. Omis. --- Nu se poate cânta fiecare 0 fiºier! --- Nu se poate cânta o bucatã de 0 ori. --- To do a test decode, use the null output driver. --- Driver invalid %s specificat in fiºierul de configurare. --- Pauzã în stream; probabil nedãunãtoare --- Valoare prebuffer invalidã. Intervalul este 0-100. === Nu s-a putut incãrca driverul implicit ºi nu s-a specificat nici un driver in fiºierul de configurare. Ieºire. === Driverul %s nu este un driver de fiºier pentru output. === Eroare "%s" în analizã opþiuni configurare linie comandã. === Opþiunea a fost: %s === Format opþiune incorect: %s. === Nu existã device-ul %s. === Eroare de analizã: %s în linia %d din %s (%s) === Biblioteca Vorbis a raportat o eroare de stream. cititor fiºiere AIFF/AIFCAutor: %sOpþiuni disponibile: Bitrate mediu: %5.1fComentariu greºit: "%s" Tip greºit in listã opþiuniValoare greºitãSfaturi bitrate: superior=%ld nominal=%ld inferior=%ld fereastrã=%ldEroare bitstream, se continuã Nu s-a putut deschide %s. Schimbare frecvenþã lowpass de la %f kHZ la %f kHz Comentariu:Comentarii: %sCopyrightDate corupte sau lipsã, se continuã...Header secundar corupt.Nu s-a gãsit procesor pentru stream, se merge pe încredere Nu s-au putut omite %f secunde de audio.Nu se poate converti comentariu înb UTF-8, nu se poate adãuga Nu s-a putut crea directorul "%s": %s Nu s-a putut iniþializa resampler Nu s-a putut deschide %s pentru citire Nu s-a putut deschide %s pentru scriere Nu s-a putut analiza punctul de secþiune "%s" ImplicitDescriereFinalizat.Demixare stereo în mono EROARE: nu s-a putut deschide fiºierul "%s":%s EROARE: Nu s-a putut scrie fiºierul de ieºire "%s": %s EROARE: Nu s-au putut crea subdirectoarele necesare pentru nume fiºier ieºire "%s" EROARE: Fiºierul de intrare "%s" nu este un format suportat EROARE: Fiºiere multiple specificate pentru utilizare stdin EROARE: Fiºiere intrare multiple cu fiºier ieºire specificat: sugerãm folosirea lui -n Activare motor management bitrate Encodat de: %sEncodare %s%s%s în %s%s%s la bitrate de aproximativ %d kbps (encodare VBR activatã) Encodare %s%s%s în %s%s%s la bitrate mediu de %d kbps Encodare %s%s%s to %s%s%s la calitate %2.2f Encodare %s%s%s în %s%s%s la nivel de calitate %2.2f utilizând VBR constrânsEncodare %s%s%s to %s%s%s folosind management de bitrateEroare în verificarea existenþei directorului %s: %s Eroare la deschiderea %s utilizând modulul %s. Fiºierul poate sã fie corupt. Eroare în deschiderea fiºierului de comentarii '%s' Eroare în deschiderea fiºierului de comentarii '%s'. Eroare în deschiderea fiºierului de intrare "%s": %s Eroare în deschiderea fiºierului '%s'. Eroare în deschiderea fiºierului de ieºire '%s'. Eroare în citirea primei pagini a bitstreamului Ogg.Eroare în citirea pachetului iniþial de header.Eroare in ºtergerea fiºierului vechi %s Eroare în redenumirea %s în %s Eroare în scrierea streamului spre ieºire. Streamul de ieºire poate fi corupt sau trunchiat. Eroare: Nu s-a putut crea bufferul audio. Eroare: Memorie plinã în decoder_buffered_metadata_callback(). Eroare: Memorie plinã în new_print_statistics_arg(). Eroare: calea segmentului "%s" nu este director Nu s-au putut scrie comentarii în fiºierul de ieºire: %s Nu s-au putut scrie date spre streamul de ieºire Nu s-a putut scrie headerul spre streamul de ieºire Fiºier: %sBuffer de intrare mai mic decât mãrimea minimã de %dkB.Numele fiºierului de intrare poate sã nu fie acelaºi cu al celui de ieºire Intrarea(input) nu este un bitstream Ogg.Intrare non ogg. Intrare coruptã sau vidã.Eroare internã la analiza opþiunilor din linia de comandã Eroare internã in analizã opþiuni linie comandã. Eroare internã în analiza opþiunilor din linia comandã Key negãsitStream logic %d terminat. Eroare alocare memorie in stats_init() Iniþializare mod eºuatã: parametri invalizi pentru bitrate Iniþializare mod eºuatã: parametri invalizi pentru calitate NumeStream logic nou (# %d, serial %08x): tip %s Nici un fiºier de intrare specificat. "ogginfo -h" pentru ajutor Nici un keyNu s-a gãsit nici un modul din care sa se citeascã %s. Nu s-a gãsit nici o valoare pentru opþiunea avansatã de encoder Deschidere cu modulul %s: %s În rulare: %sProcesare eºuatã Procesare fiºier "%s"... Opþiune de calitate "%s" nerecunoscuta, ignoratã ReplayGain (Album):ReplayGain (Pistã):Cererea de bitrate minim sau maxim necesitã --managed Convertire (resampling) intrare din %d Hz în %d Hz Setãri opþiuni avansate encoder "%s" la %s Omitere bucatã tip "%s", lungime %d SuccesEroare sistemFormatul de fiºier %s nu este suportat. Duratã: %sNumar pistã(track):TipEroare necunoscutãOpþiune avansatã nerecunoscutã "%s" AVERTISMENT: Nu s-a putut citi argumentul de endianess "%s" AVERTISMENT: nu s-a putut citi frecvenþa de remixare (resampling) "%s" AVERTISMENT: Se ignorã caracterul ilegal de escape '%c' în formatul de nume AVERTISMENT: Titluri insuficiente specificate, implicit se ia titlul final. AVERTISMENT: Numãr biþi/sample invalid, se presupune 16. AVERTISMENT: Numãrare canal specificatã invalidã, se presupune 2. AVERTISMENT: Ratã sample specificatã invalidã, se presupune 44100. AVERTISMENT: Nume multiple de înlocuiri formate filtre specificate, se utilizeazã cel final AVERTISMENT: Nume multiple formate filtre specificate, se utilizeazã cel final AVERTISMENT: Nume formaturi multiple specificate, se foloseºte cel final AVERTISMENT: Fiºiere de ieºire multiple specificate, sugerãm sa folosiþi -n AVERTISMENT: Biþi/sample bruþi specificaþi pentru date non-brute. Se presupune intrare brutã. AVERTISMENT: Numãrare canal brutã specificatã pentru date non-brute. Se presupune intrare brutã. AVERTISMENT: Endianess brut specificat pentru date non-brute. Se presupune intrare brutã. AVERTISMENT: Ratã de sample specificatã brutã pentru date non-brute. Se presupune intrare brutã. AVERTISMENT: Opþiune necunoscutã specificatã, se ignorã-> AVERTISMENT: setare de calitate prea mare, se seteazã la calitate maximã. Avertisment din playlistul %s: Nu se poate citi directorul %s. Avertisment: Nu s-a putut citi directorul %s. comentariu greºit: "%s" boolchardevice de ieºire implicitdoublefloatintnici o acþiune specificatã nimicdin %saltulplaylist amestecatintrare standardieºire standardºirvorbis-tools-1.4.2/po/uk.gmo0000644000175000017500000006315514002243561012651 00000000000000Þ•¿ / Kl$¦ÃÞð1K,e’%°,Ö- 1&Ry™¹¿ÈÛâ,é!Z87“*Ë-öS$+xQ¤!ö40*e,½ Óàô 3A=9¹Ö0ç ! .&8_/y#©.Í#ü ?]{™ ¡­³'Î(öI1i:›1ÖM#Vz[‰@å6&R]>°1ïB! d!…"§Ê ê* $6[wLŸ&ì>4R,‡´.Å,ô%!'Go4x6­ä  ,- -Z 'ˆ 8° é ÷ (!;9!;u!±!0¶!0ç!"*"+J"]v"Ô"%é"N#^#$z# Ÿ#«#¾#$Ø#-ý#+$?$;S$%$µ$'Ê$+ò$'%F% N%([%„% %›%  %"®%Ñ%2ë%0&1O&?&CÁ&5'6;'8r'I«'=õ'63(;j(L¦(Nó(KB)LŽ).Û)? *7J*&‚*©*¼*Á*Æ*Ü*ã*é*í*++ ++$+3+C+J+6Ú,2-7D-"|-2Ÿ-1Ò-8.)=.(g.".$³.4Ø.4 /\B/5Ÿ/QÕ/\'0]„08â0R17n17¦1Þ1 ú1#2+2 22r?2N²2Ø3_Ú3W:4n’4Ï5JÑ5¿6@Ü6)7tG7B¼7Zÿ7%Z8€8%‘8&·80Þ8D9'T9w|9„ô9Ly:+Æ:Nò:A;S;j;]ˆ;=æ;f$<F‹<hÒ<?;=F{=@Â=H>LL> ™>¦>¯>.Ã>Xò>VK?¢?`"@…ƒ@† A¼AYMB§B˜¾BgWCE¿C‰D~DTEˆcERìES?FR“FOæFK6Ge‚GEèG?.H5nH ¤HŸÅHUeIu»Ik1JJJ èJƒ K_KSíK[AL LXªLrM@vM2·M;êMQ&NnxNmçNzUOÐO4ïOW$P”|PvQ ˆQ[“Q€ïQpRK†RjÒRÌ=S$ T0/T`T1ðT<"U_U#zU#žUGÂUU V3`V5”V•ÊVN`W7¯W`çWxHXMÁX!Y1Y<QY ŽY™Y´Y»YFÛY$"ZlGZ†´Zb;[Žž[Ÿ-\{Í\{I]‡Å]£M^˜ñ^‡Š_”`¸§`·`ab¼¶bgscŠÛc‚fdVéd0@eqeve,{e¨e¯eµe¹eÕeÚe àe8ëe$f!Dfff ™”ˆ _ƒr¿‚hKs=©…¯¦³#uPYw\xQj09oHy@¼4 RbZ^pz3œ¾µ®Ž7»‰¡„&5,‹F¹ºW¬|¤•šk'O†GgqlJ·XŒ d’ªfS!“mV8 ¥nEMD¨6I½}~/>Š<`+N¸c?˜¢Ÿ¶Bv‡² *±$‘]£[Tt›:; L(Ua—­-€–A21"´{C°«ž)i%.e§ Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Encoding [%2dm%.2ds so far] %c Rate: %.4f [%5.1f%%] [%2dm%.2ds remaining] %c File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s Input Buffer %5.1f%% Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%(NULL)(none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Option conflict: End time is before start time. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBig endian 24 bit PCM data is not currently supported, aborting. Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Changed lowpass frequency from %f kHz to %f kHz Comment:Comments: %sCopyrightCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" DefaultDescriptionDone.Downmixing stereo to mono ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Input filename is the same as output filename "%s" ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing old file %s Error renaming %s to %s Error unknown.Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory FLAC file readerFailed to set bitrate min/max in quality mode Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File: %sInput buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Internal error: attempt to read unsupported bitdepth %d Key not foundLogical stream %d ended Memory allocation error in stats_init() Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Note: Stream %d has serial number %d, which is legal but may cause problems with some tools. Ogg FLAC file readerOgg Vorbis stream: %d channel, %ld HzOgg muxing constraints violated, new stream before EOS of all previous streamsOpening with %s module: %s Page found for stream after EOS flagPlaying: %sProcessing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring ReplayGain (Album):ReplayGain (Track):Requesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Scaling input to %f Set optional hard quality restrictions Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d SuccessSystem errorThe file format of %s is not supported. Time: %sTrack number:TypeUnknown errorUnrecognised advanced option "%s" Vorbis format: Version %dWARNING: Can't downmix except from stereo to mono WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: Ignoring illegal escape character '%c' in name format WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid sample rate specified, assuming 44100. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Unknown option specified, ignoring-> WARNING: quality setting too high, setting to maximum quality. Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sothershuffle playliststandard inputstandard outputstringProject-Id-Version: vorbis-tools 1.1.1 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2007-08-17 16:32+0200 Last-Translator: Maxim V. Dziumanenko Language-Team: Ukrainian Language: uk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ð¡ÐµÑ€ÐµÐ´Ð½Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ñ–Ñть: %.1f кбіт/Ñ Ð—Ð°Ð»Ð¸ÑˆÐ¸Ð»Ð¾ÑÑŒ чаÑу: %dхв %04.1fÑ ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ [виконано %2dхв%.2dÑ] %c СтиÑненнÑ: %.4f [%5.1f%%] [залишилоÑÑŒ %2dхв%.2dÑ] %c Довжина файлу: %dхв %04.1fÑ ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñƒ завершено "%s" ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ Ð·Ð°Ð²ÐµÑ€ÑˆÐµÐ½Ð¾. Звуковий приÑтрій: %s Вхідний буфер %5.1f%% Вихідний буфер %5.1f%%%s: неправильний параметр -- %c %s: неправильний параметр -- %c %s: параметр `%c%s' не допуÑкає Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ñ–Ð² %s: неоднозначний параметр `%s' %s: параметр `%s' вимагає Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ñƒ %s: параметр `--%s' не допуÑкає Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ñ–Ð² %s: параметр `-W %s' не допуÑкає Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ñ–Ð² %s: неоднозначний параметр `-W %s' %s: параметр вимагає Ð²ÐºÐ°Ð·ÑƒÐ²Ð°Ð½Ð½Ñ Ð°Ñ€Ð³ÑƒÐ¼ÐµÐ½Ñ‚Ñƒ -- %c %s: нерозпізнаний параметр `%c%s' %s: нерозпізнаний параметр `--%s' %sКінець потоку%sПауза%sПре-Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ Ð´Ð¾ %.1f%%(NULL)(немає)--- Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ файл ÑпиÑку Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ %s. Пропущений. --- Відтворити кожен 0-й фрагмент неможливо! --- Ðе можна відтворити фрагмент 0 разів. --- Ð”Ð»Ñ Ð²Ð¸ÐºÐ¾Ð½Ð°Ð½Ð½Ñ Ð¿ÐµÑ€ÐµÐ²Ñ–Ñ€Ð¾Ñ‡Ð½Ð¾Ð³Ð¾ декодуваннÑ, викориÑтовуйте драйвер виводу null. --- Вказаний у конфігурації драйвер %s - неправильний. --- ПропуÑк у потокові; можливо нічого Ñтрашного --- Ðеправильне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð¿Ñ€Ðµ-буфера. ДопуÑтимий діапазон 0-100. === Ðе вдаєтьÑÑ Ð·Ð°Ð²Ð°Ð½Ñ‚Ð°Ð¶Ð¸Ñ‚Ð¸ типовий драйвер, а у конфігураційному файлі драйвер не визначений. Ð—Ð°Ð²ÐµÑ€ÑˆÐµÐ½Ð½Ñ Ñ€Ð¾Ð±Ð¾Ñ‚Ð¸. === Драйвер %s не Ñ” драйвером файлу виводу. === Помилка "%s" під Ñ‡Ð°Ñ Ð°Ð½Ð°Ð»Ñ–Ð·Ñƒ параметрів конфігурації командного Ñ€Ñдка. === Помилку Ñпричинив параметр: %s === Ðекоректний формат параметра: %s. === ПриÑтрій %s не Ñ–Ñнує. === Конфлікт параметрів: кінцевий Ñ‡Ð°Ñ Ñ€Ð°Ð½Ñ–ÑˆÐ¸Ð¹ за початковий чаÑ. === Помилка аналізу: %s у Ñ€Ñдку %d з %s (%s) === Бібліотека VorbÑ–s ÑповіÑтила про помилку потоку. Ð§Ð¸Ñ‚Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñ–Ð² AIFF/AIFCÐвтор: %sДоÑтупні параметри: Середн. потік біт: %5.1fÐеправильний коментар: "%s" Ðеправильний тип у ÑпиÑку параметрівÐеправильне значеннÑФормат Big endian 24-біт PCM наразі не підтримуєтьÑÑ, Ð·Ð°Ð²ÐµÑ€ÑˆÐµÐ½Ð½Ñ Ñ€Ð¾Ð±Ð¾Ñ‚Ð¸. Ð—Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ð¾Ñті потоку бітів: верхнє=%ld номінальне=%ld нижнє=%ld вікно=%ldПомилка потоку бітів, Ð¿Ñ€Ð¾Ð´Ð¾Ð²Ð¶ÐµÐ½Ð½Ñ Ñ€Ð¾Ð±Ð¾Ñ‚Ð¸ Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ %s. Змінено нижню межу чаÑтоти з %f кГц на %f кГц Коментар:Коментарі: %sÐвторÑькі праваПошкоджені або відÑутні дані, Ð¿Ñ€Ð¾Ð´Ð¾Ð²Ð¶ÐµÐ½Ð½Ñ Ñ€Ð¾Ð±Ð¾Ñ‚Ð¸...Пошкоджений вторинний заголовок.Ðе вдаєтьÑÑ Ð·Ð½Ð°Ð¹Ñ‚Ð¸ обробник потоку. Ð—Ð°Ð²Ð´Ð°Ð½Ð½Ñ Ð¿Ð¾Ð²ÐµÑ€Ð½ÑƒÑ‚Ð¾ Ðе вдаєтьÑÑ Ð¿Ñ€Ð¾Ð¿ÑƒÑтити %f Ñекунд звуку.Ðе вдаєтьÑÑ Ð¿ÐµÑ€ÐµÑ‚Ð²Ð¾Ñ€Ð¸Ñ‚Ð¸ коментар у UTF-8, неможливо додати Ðе вдаєтьÑÑ Ñтворити каталог "%s": %s Ðе вдаєтьÑÑ Ñ–Ð½Ñ–Ñ†Ñ–Ð°Ð»Ñ–Ð·ÑƒÐ²Ð°Ñ‚Ð¸ реÑемплер Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ %s Ð´Ð»Ñ Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ %s Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸ÑÑƒÐ²Ð°Ð½Ð½Ñ Ðе вдаєтьÑÑ Ð¾Ð±Ñ€Ð¾Ð±Ð¸Ñ‚Ð¸ точку Ð²Ñ–Ð´Ñ€Ñ–Ð·Ð°Ð½Ð½Ñ "%s" ТиповоОпиÑЗавершено.Ð—Ð¼Ñ–ÑˆÑƒÐ²Ð°Ð½Ð½Ñ Ñтерео у моно ПОМИЛКÐ: Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ вхідний файл "%s": %s ПОМИЛКÐ: Ðе вдаєтьÑÑ Ð²Ñ–Ð´ÐºÑ€Ð¸Ñ‚Ð¸ файл виводу "%s": %s ПОМИЛКÐ: Ðе вдаєтьÑÑ Ñтворити необхідні каталоги Ð´Ð»Ñ Ñ„Ð°Ð¹Ð»Ñƒ виводу "%s" ПОМИЛКÐ: Вхідний файл "%s" має непідтримуваний формат ПОМИЛКÐ: Ðазва вхідного файлу не може збігатиÑÑ Ð· назвою файлу виводу "%s" ПОМИЛКÐ: Вказано декілька файлів, але викориÑтовуєтьÑÑ Ñтандартний ввід ПОМИЛКÐ: Декілька вхідних файлів при вказаній назві вхідного файлу: рекомендуєтьÑÑ Ð²Ð¸ÐºÐ¾Ñ€Ð¸Ñтовувати -n Ð£Ð²Ñ–Ð¼ÐºÐ½ÐµÐ½Ð½Ñ Ð¼ÐµÑ…Ð°Ð½Ñ–Ð·Ð¼Ñƒ ÐºÐµÑ€ÑƒÐ²Ð°Ð½Ð½Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ñ–Ñтю бітів КодуваннÑ: %sÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ %s%s%s у %s%s%s з приблизною щільніÑтю %d кбіт/Ñ (увімкнено ÐºÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ Ð· VBR) ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ %s%s%s у %s%s%s з Ñередньою щільніÑтю %d кбіт/Ñ ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ %s%s%s у %s%s%s з ÑкіÑтю %2.2f ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ %s%s%s у %s%s%s з рівнем ÑкоÑті %2.2f з викориÑтаннÑм обмеженого VBR ÐšÐ¾Ð´ÑƒÐ²Ð°Ð½Ð½Ñ %s%s%s у %s%s%s з викориÑтаннÑм ÐºÐµÑ€ÑƒÐ²Ð°Ð½Ð½Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ñ–Ñтю бітів Помилка при перевірці Ñ–ÑÐ½ÑƒÐ²Ð°Ð½Ð½Ñ ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ñƒ %s: %s Помилка Ð²Ñ–Ð´ÐºÑ€Ð¸Ð²Ð°Ð½Ð½Ñ %s викориÑтовуючи модуль %s. Можливо, файл пошкоджений. Помилка при відкриванні файлу коментарів '%s' Помилка при відкриванні файлу коментарів '%s'. Помилка при відкриванні вхідного файлу "%s": %s Помилка при відкриванні вхідного файлу '%s'. Помилка при відкриванні файлу виводу '%s'. Помилка при читанні першої Ñторінки бітового потоку Ogg.Помилка при Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ° пакету.Помилка Ð²Ð¸Ð´Ð°Ð»ÐµÐ½Ð½Ñ Ñтарого файлу %s Помилка Ð¿ÐµÑ€ÐµÐ¹Ð¼ÐµÐ½ÑƒÐ²Ð°Ð½Ð½Ñ %s у %s Ðевідома помилка.Помилка при запиÑувані потоку виводу. Потік виводу може бути пошкоджений чи обрізаний.Помилка: не вдаєтьÑÑ Ñтворити буфер Ð´Ð»Ñ Ð·Ð²ÑƒÐºÑƒ. Помилка: недоÑтатньо пам'Ñті при виконанні decoder_buffered_metadata_callback(). Помилка: недоÑтатньо пам'Ñті при виконанні new_print_statistics_arg(). Помилка: Ñегмент шлÑху "%s" не Ñ” каталогом Ð§Ð¸Ñ‚Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñ–Ð² FLACÐе вдаєтьÑÑ Ð²Ñтановити мін/Ð¼Ð°ÐºÑ Ñ‰Ñ–Ð»ÑŒÐ½Ñ–Ñть потоку бітів у режимі ÑкоÑті Помилка при запиÑуванні коментарів у файл виводу: %s Помилка при запиÑуванні даних у потік виводу Помилка при запиÑуванні заголовку у потік виводу Файл: %sРозмір вхідного буфера менше мінімального - %dкБ.Ðазва вхідного файлу не може Ñпівпадати з назвою файлу виводу Вхідні дані не Ñ” бітовим потоком Ogg.Вхідні дані не у форматі ogg. Вхідні дані обрізані чи порожні.Ð’Ð½ÑƒÑ‚Ñ€Ñ–ÑˆÐ½Ñ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ° аналізу командного Ñ€Ñдка Ð’Ð½ÑƒÑ‚Ñ€Ñ–ÑˆÐ½Ñ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ° при аналізі параметрів командного Ñ€Ñдка. Ð’Ð½ÑƒÑ‚Ñ€Ñ–ÑˆÐ½Ñ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ° при аналізі параметрів командного Ñ€Ñдка Ð’Ð½ÑƒÑ‚Ñ€Ñ–ÑˆÐ½Ñ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ°: Ñпроба прочитати непідтримувану розрÑдніÑть %d Ключ не знайденоЛогічний потік %d завершивÑÑ ÐŸÐ¾Ð¼Ð¸Ð»ÐºÐ° розподілу пам'Ñті при виконанні stats_init() Помилка режиму ініціалізації: неправильні параметри Ð´Ð»Ñ Ñ‰Ñ–Ð»ÑŒÐ½Ð¾Ñті потоку бітів Помилка режиму ініціалізації: неправильні параметри Ð´Ð»Ñ ÑкоÑті ÐазваÐовий логічний потік (#%d, Ñерійний номер: %08x): тип %s Ðе вказані вхідні файли. Ð”Ð»Ñ Ð¾Ñ‚Ñ€Ð¸Ð¼Ð°Ð½Ð½Ñ Ð´Ð¾Ð²Ñ–Ð´ÐºÐ¸ викориÑтовуйте "ogginfo -h" Ðемає ключаÐе знайдені модулі Ð´Ð»Ñ Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñƒ з %s. Ðе знайдено Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð´Ð¾Ð´Ð°Ñ‚ÐºÐ¾Ð²Ð¾Ð³Ð¾ параметра кодувальника Примітка: потік %d має Ñерійний номер %d, що припуÑкаєтьÑÑ, але може Ñпричинити проблеми з деÑкими інÑтрументами. Ð§Ð¸Ñ‚Ð°Ð½Ð½Ñ Ñ„Ð°Ð¹Ð»Ñ–Ð² Ogg FLACПотік Ogg Vorbis: %d канали, %ld ГцПорушено Ð¾Ð±Ð¼ÐµÐ¶ÐµÐ½Ð½Ñ Ð¼Ñ–ÐºÑˆÑƒÐ²Ð°Ð½Ð½Ñ Ogg, новий потік перед EOS уÑÑ–Ñ… попередніх котоківВідкриваєтьÑÑ %s модулем: %s Сторінка не Ñ–Ñнує піÑÐ»Ñ Ð¾Ð·Ð½Ð°ÐºÐ¸ EOSВідтвореннÑ: %sОбробка не вдалаÑÑŒ Обробка файлу "%s"... Обробка: Ð’Ð¸Ñ€Ñ–Ð·Ð°Ð½Ð½Ñ Ñƒ позиції %lld Ñекунд Параметр ÑкоÑті "%s" не розпізнано, ігноруєтьÑÑ Ð Ñ–Ð²ÐµÐ½ÑŒ Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ (альбом):Рівень Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ (доріжка):Ð”Ð»Ñ Ð·Ð°Ð¿Ð¸Ñ‚Ñƒ мінімальної чи макÑимальної щільноÑті потоку бітів вимагаєтьÑÑ --managed Зміна чаÑтоти вхідних файлів з %d Гц до %d Гц ЗмінюєтьÑÑ Ð¼Ð°Ñштаб вводу на %f Ð’Ñтановити необов'Ñзкові Ð¾Ð±Ð¼ÐµÐ¶ÐµÐ½Ð½Ñ Ð¶Ð¾Ñ€Ñткої ÑкоÑті Ð’ÑÑ‚Ð°Ð½Ð¾Ð²Ð»ÐµÐ½Ð½Ñ Ð´Ð¾Ð´Ð°Ñ‚ÐºÐ¾Ð²Ð¾Ð³Ð¾ параметра кодувальника "%s" у Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ %s ПропуÑкаєтьÑÑ Ñ„Ñ€Ð°Ð³Ð¼ÐµÐ½Ñ‚ типу "%s", довжина %d УÑпішно завершеноСиÑтемна помилкаФормат файлу %s не підтримуєтьÑÑ. ЧаÑ: %sÐомер доріжки:ТипÐевідома помилкаÐерозпізнаний додатковий параметр "%s" Формат Vorbis: ВерÑÑ–Ñ %dПОМИЛКÐ: Ð—Ð¼Ñ–ÑˆÑƒÐ²Ð°Ð½Ð½Ñ Ñигналів можливе лише зі Ñтерео у моно ПОПЕРЕДЖЕÐÐЯ: не вдаєтьÑÑ Ð¿Ñ€Ð¾Ñ‡Ð¸Ñ‚Ð°Ñ‚Ð¸ аргумент порÑдку ÑÐ»Ñ–Ð´ÑƒÐ²Ð°Ð½Ð½Ñ Ð±Ð°Ð¹Ñ‚ "%s" ПОПЕРЕДЖЕÐÐЯ: не вдаєтьÑÑ Ð¿Ñ€Ð¾Ñ‡Ð¸Ñ‚Ð°Ñ‚Ð¸ зміну чаÑтоти "%s" ПОПЕРЕДЖЕÐÐЯ: проігнорований некоректний керуючий Ñимвол '%c' у форматі назви ПОПЕРЕДЖЕÐÐЯ: вказана недоÑÑ‚Ð°Ñ‚Ð½Ñ ÐºÑ–Ð»ÑŒÐºÑ–Ñть заголовків, вÑтановлені оÑтанні значеннÑ. ПОПЕРЕДЖЕÐÐЯ: вказано некоректне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð±Ñ–Ñ‚/Ñемпл, вважаєтьÑÑ 16. ПОПЕРЕДЖЕÐÐЯ: вказана неправильна кількіÑть каналів, вважаєтьÑÑ 2. ПОПЕРЕДЖЕÐÐЯ: вказана неправильна чаÑтота диÑкретизації, вважаєтьÑÑ 44100. ПОПЕРЕДЖЕÐÐЯ: Вказано декілька замін фільтрів форматів назв, викориÑтовуєтьÑÑ Ð¾Ñтанній ПОПЕРЕДЖЕÐÐЯ: Вказано декілька фільтрів форматів назв, викориÑтовуєтьÑÑ Ð¾Ñтанній ПОПЕРЕДЖЕÐÐЯ: Вказано декілька форматів назв, викориÑтовуєтьÑÑ Ð¾Ñтанній ПОПЕРЕДЖЕÐÐЯ: Вказано декілька файлів виводу, рекомендуєтьÑÑ Ð²Ð¸ÐºÐ¾Ñ€Ð¸Ñтовувати -n ПОПЕРЕДЖЕÐÐЯ: вказано Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ñирих біт/Ñемпл Ð´Ð»Ñ Ð½Ðµ Ñирих даних. ВважаєтьÑÑ, що дані на вводі Ñирі. ПОПЕРЕДЖЕÐÐЯ: вказана кількіÑть Ñирих каналів Ð´Ð»Ñ Ð½Ðµ Ñирих даних. ВважаєтьÑÑ, що дані на вводі Ñирі. ПОПЕРЕДЖЕÐÐЯ: вказано порÑдок Ñирих байт Ð´Ð»Ñ Ð½Ðµ Ñирих даних. ВважаєтьÑÑ, що дані Ñирі. ПОПЕРЕДЖЕÐÐЯ: вказана Ñира чаÑтота вибірки даних Ð´Ð»Ñ Ð½Ðµ Ñирих даних. ВважаєтьÑÑ, що дані на вводі Ñирі. ПОПЕРЕДЖЕÐÐЯ: вказано невідомий параметр, ігноруєтьÑÑ-> ПОПЕРЕДЖЕÐÐЯ: вÑтановлено занадто виÑоку ÑкіÑть, обмежено до макÑимальної ÐŸÐ¾Ð¿ÐµÑ€ÐµÐ´Ð¶ÐµÐ½Ð½Ñ Ð·Ñ– ÑпиÑку Ð²Ñ–Ð´Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ %s: не вдаєтьÑÑ Ð¿Ñ€Ð¾Ñ‡Ð¸Ñ‚Ð°Ñ‚Ð¸ каталог %s. ПопередженнÑ: не вдаєтьÑÑ Ð¿Ñ€Ð¾Ñ‡Ð¸Ñ‚Ð°Ñ‚Ð¸ каталог %s. неправильний коментар: "%s" boolcharтиповий приÑтрій виводуdoublefloatintне вказана Ð´Ñ–Ñ noneз %sіншийперемішати ÑпиÑок програваннÑÑтандартний ввідÑтандартний вивідstringvorbis-tools-1.4.2/po/da.gmo0000644000175000017500000002147114002243560012610 00000000000000Þ•c4‰Lpq«ÀÝø  7 Q ,k ˜ %¶ ,Ü - 7 &X  Ÿ ¿ È !Ï Zñ 7L *„ -¯ SÝ +1 Q] !¯ Ñ *é , A W d x ‹ ž · 9Á û & 3#M#q•³Ñï ÷' (1IZ1¤1ÖMVBe ¨!Éë L,&y> 4ß,%A'g4˜Íìü' >(Luz*¬ È'Ôü (:C H?V–©¿ÅÖåkõ(aЦ»Öð&C%\‚!Ÿ%Á(ç!$2Wo ‡’$šh¿7(!`;‚g¾%&ZL'§Ï,ä8J]m!£¾ÝEí3)Fp+‹$·Ü!ü! @ NZ$b#‡=«,é$B; ~D‹%Ð&ö >B^"¡AÄ7 .> *m +˜ Ä :Ì !(!;!)Y!ƒ!)–!À! Å!'Ñ!ù! ")"G" P"%[""‰" Ž"@š"Û"ö"# # # -#M1^=SW7R6?<N5B:C,!\4U #; ()X[3cD PEJ8-bV.$T'] HZ/%F_KQI0+AY>L G*`@9 O2a&" Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Rate: %.4f File length: %dm %04.1fs Done encoding file "%s" Done encoding. Input Buffer %5.1f%% Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sPaused(none)--- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldCannot open %s. Corrupt or missing data, continuing...Corrupt secondary header.Could not skip %f seconds of audio.Couldn't create directory "%s": %s Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" DefaultDescriptionDone.ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n Encoded by: %sError opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file '%s'. Error opening output file '%s'. Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File: %sInput buffer size smaller than minimum size of %dkB.Input is not an Ogg bitstream.Input not ogg. Input truncated or empty.Internal error parsing command options Key not foundMemory allocation error in stats_init() NameNo keyNo module could be found to read from %s. Opening with %s module: %s Playing: %sSkipping chunk of type "%s", length %d SuccessSystem errorThe file format of %s is not supported. Time: %sTypeUnknown errorWARNING: Ignoring illegal escape character '%c' in name format bad comment: "%s" default output deviceof %sshuffle playliststandard inputstandard outputProject-Id-Version: vorbis-tools 0.99.1.3.1 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2002-11-09 14:59+0100 Last-Translator: Keld Simonsen Language-Team: Danish Language: da MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Gennemsnitlig bithastighed: %.1f kb/s Forløbet tid: %dm %04.1fs Hastighed: %.4f Fillængde: %dm %04.1fs Kodning af "%s" færdig Kodning klar. Indbuffer %5.1f%% Udbuffer %5.1f%%%s: ikke tilladt flag -- %c %s: ugyldigt flag -- %c %s: flag "%c%s" tager intet argument %s: flag "%s" er flertydigt %s: flag "%s" kræver et argument %s: flag "--%s" tager intet argument %s: flaget `-W %s' tager intet argument %s: flaget `-W %s' er flertydigt %s: flaget kræver et argument -- %c %s: ukendt flag "%c%s" %s: ukendt flag "--%s" %sPauseret(ingen)--- Kan ikke spille hver 0'te blok! --- Kan ikke spille hver blok 0 gange. --- For at lave en testafkodning, brug null-driveren for uddata. --- Drivrutine %s angivet i konfigurationsfil ugyldig. --- Hul i strømmen; nok ufarligt --- Ugyldig værdi til prebuffer. Muligt interval er 0-100. === Kunne ikke indlæse standard-drivrutine, og ingen er specificeret i konfigurationsfilen. Afslutter. === Drivrutine %s er ikke for filer. === Fejl "%s" under tolkning af konfigurationsflag fra kommandolinjen. === Flaget var: %s === Fejlagtigt format på argument: %s. === Ingen enhed %s. === Tolkningsfejl: %s på linje %d i %s (%s) === Vorbis-biblioteket rapporterede en fejl i strømmen. AIFF/AIFC-fillæserForfatter: %sTilgængelige flag: Gennemsnitlig bithastighed: %5.1fFejlagtig kommentar: "%s" Fejlagtig type i argumentlisteFejlagtig værdiForslag for bithastigheder: øvre=%ld nominel=%ld nedre=%ld vindue=%ldKan ikke åbne %s. Data ødelagt eller mangler, fortsætter...Fejlagtigt sekundær-hoved.Mislykkedes at overspringe %f sekunder lyd.Kunne ikke oprette katalog "%s": %s Kunne ikke åbne %s for læsning Kunne ikke åbne %s for skrivning Kunne ikke tolke skærepunkt "%s" StandardværdiBeskrivelseFærdig.FEJL: Kan ikke åbne indfil "%s": %s FEJL: Kan ikke åbne udfil "%s": %s FEJL: Kunne ikke oprette kataloger nødvendige for udfil "%s" FEJL: Indfil "%s" er ikke i et kendt format FEJL: Flere filer angivne med stdin FEJL: Flere indfiler med angivet udfilnavn: anbefaler at bruge -n Kodet af: %sFejl under åbning af %s med %s-modulet. Filen kan være beskadiget. Fejl ved åbning af kommentarfil "%s" Fejl ved åbning af kommentarfil "%s". Fejl ved åbning af indfil "%s". Fejl ved åbning af udfil "%s". Fejl under skrivning af udstrøm. Kan være ødelagt eller trunkeret.Fejl: Kan ikke oprette lydbuffer. Fejl: Slut på hukommelse i decoder_buffered_metadata_callback(). Fejl: Slut på hukommelse i new_print_statistics_arg(). Mislykkedes at skrive kommentar til udfil: %s Mislykkedes at skrive data til udstrømmen Mislykkedes at skrive hoved til udstrømmen Fil: %sInd-bufferens størrelse mindre end minimumstørrelsen %dkB.Inddata er ikke en Ogg-bitstrøm.Inddata ikke ogg. Inddata trunkeret eller tomt.Intern fejl ved tolkning af kommandoflag Nøgle fandtes ikkeHukommelsestildelingsfejl i stats_init() NavnIngen nøgleFinder intet modul til at læse fra %s. Åbner med %s-modul: %s Spiller: %sOverspringer bid af type "%s", længde %d LykkedesSystemfejlFilformatet på %s understøttes ikke. Tid: %sTypeUkendt fejlADVARSEL: Ignorerer ikke tilladt specialtegn '%c' i navneformat fejlagtig kommentar: "%s" forvalgt udenhedaf %sbland spillelistenstandard indstandard udvorbis-tools-1.4.2/po/ru.po0000644000175000017500000035463714002243560012523 00000000000000# Russian translation of vorbis-tools. # Copyright (C) 2002 Free Software Foundation, Inc. # Dmitry D. Stasyuk , 2003-2007. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.1.1\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2007-07-26 15:01+0300\n" "Last-Translator: Dmitry D. Stasyuk \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Ошибка: Ðе доÑтаточно памÑти при выполнении malloc_action().\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "" "Ошибка: Ðе возможно выделить памÑть при выполнении malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Ошибка: УÑтройÑтво не доÑтупно.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "" "Ошибка: Ð´Ð»Ñ %s необходимо указание имени выходного файла в параметре -f.\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Ошибка: Ðе поддерживаемое значение параметра Ð´Ð»Ñ ÑƒÑтройÑтва %s.\n" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Ошибка: Ðевозможно открыть уÑтройÑтво %s.\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Ошибка: Сбой уÑтройÑтва %s.\n" #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "Ошибка: Ð”Ð»Ñ ÑƒÑтройÑтва %s не может быть задан выходной файл.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Ошибка: Ðевозможно открыть файл %s Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸Ñи.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Ошибка: Файл %s уже ÑущеÑтвует.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "Ошибка: Эта ошибка никогда не должна была произойти (%d). Паника!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "Ошибка: Ðе доÑтаточно памÑти при выполнении new_audio_reopen_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "" "Ошибка: Ðе доÑтаточно памÑти при выполнении new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "" "Ошибка: Ðе доÑтаточно памÑти при выполнении new_status_message_arg().\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "" "Ошибка: Ðе доÑтаточно памÑти при выполнении " "decoder_buffered_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "" "Ошибка: Ðе доÑтаточно памÑти при выполнении " "decoder_buffered_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "СиÑÑ‚ÐµÐ¼Ð½Ð°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ°" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Ошибка разбора: %s в Ñтроке %d из %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "ИмÑ" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "ОпиÑание" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Тип" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "По умолчанию" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "не указан" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "булев" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "Ñимвол" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "Ñтрока" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "целый" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "Ñ Ð¿Ð».точкой" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "дв.точн." #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "другой" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(NULL)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(не указан)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "УÑпешное завершение" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Ключ не найден" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Ðет ключа" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Ðекорректное значение" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Ðекорректный тип в ÑпиÑке параметров" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "ÐеизвеÑÑ‚Ð½Ð°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ°" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "ВнутреннÑÑ Ð¾ÑˆÐ¸Ð±ÐºÐ° разбора параметров командной Ñтроки.\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Размер входного буфера меньше минимального - %dКб." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Ошибка \"%s\" во Ð²Ñ€ÐµÐ¼Ñ Ñ€Ð°Ð·Ð±Ð¾Ñ€Ð° параметров конфигурации из командной " "Ñтроки.\n" "=== Ошибку вызвал параметр: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "ДоÑтупные параметры:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== УÑтройÑтво %s не ÑущеÑтвует.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== Драйвер %s не ÑвлÑетÑÑ Ð´Ñ€Ð°Ð¹Ð²ÐµÑ€Ð¾Ð¼ выходного файла.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "=== Ðевозможно указать выходной файл, не указав драйвер.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Ðекорректный формат параметра: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Ðеправильное значение размера пре-буфера. Диапазон 0-100.\n" #: ogg123/cmdline_options.c:202 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 из %s %s\n" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- ВоÑпроизвеÑти каждый 0-й фрагмент невозможно!\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Ðевозможно воÑпроизвеÑти фрагмент 0 раз.\n" "--- Ð”Ð»Ñ Ð¿Ñ€Ð¾Ð²ÐµÐ´ÐµÐ½Ð¸Ñ Ñ‚ÐµÑтового Ð´ÐµÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¸Ñпользуйте выходной драйвер " "null.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- Ðевозможно открыть файл ÑпиÑка воÑÐ¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ñ %s. Пропущен.\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "=== Конфликт параметров: Ð’Ñ€ÐµÐ¼Ñ Ð¾ÐºÐ¾Ð½Ñ‡Ð°Ð½Ð¸Ñ Ñ€Ð°Ð½ÑŒÑˆÐµ времени Ñтарта.\n" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- Указанный в файле конфигурации драйвер %s неправилен.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Ðевозможно загрузить драйвер по умолчанию, а в файле конфигурации " "никакой драйвер не указан. Завершение работы.\n" #: ogg123/cmdline_options.c:307 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:314 #, fuzzy, c-format msgid "Available codecs: " msgstr "ДоÑтупные параметры:\n" #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:342 #, fuzzy, c-format msgid "File:" msgstr "Файл: %s" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" #: ogg123/cmdline_options.c:361 #, fuzzy, c-format msgid "Playlist options\n" msgstr "ДоÑтупные параметры:\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:369 #, fuzzy, c-format msgid "Input options\n" msgstr "Входные данные не в формате ogg.\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:374 #, fuzzy, c-format msgid "Decode options\n" msgstr "ОпиÑание" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "ДоÑтупные параметры:\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr "" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Ошибка: Ðе доÑтаточно памÑти.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "" "Ошибка: Ðевозможно выделить памÑть при выполнении malloc_decoder_stats()\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Ошибка: Ðевозможно уÑтановить маÑку Ñигнала." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Ошибка: Ðевозможно Ñоздать входной буфер.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "уÑтройÑтво вывода по умолчанию" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "перемешать ÑпиÑок воÑпроизведениÑ" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:230 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Ðевозможно пропуÑтить %f Ñекунд звука." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "Звуковое УÑтройÑтво: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Ðвтор: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "Комментарии: %s" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Внимание: Ðевозможно прочитать каталог %s.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Ошибка: Ðевозможно Ñоздать буфер Ð´Ð»Ñ Ð·Ð²ÑƒÐºÐ°.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Ðе найдены модули Ð´Ð»Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ð¸Ð· файла %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Ðевозможно открыть %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Формат файла %s не поддерживаетÑÑ.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ %s модулем %s. Файл может быть повреждён.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "ВоÑпроизведение: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Ðевозможно пропуÑтить %f Ñекунд звука." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Ошибка: Декодирование не удалоÑÑŒ.\n" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Завершено." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Ð’ потоке пуÑто; возможно, ничего Ñтрашного\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== Библиотека Vorbis Ñообщила об ошибке потока.\n" #: ogg123/oggvorbis_format.c:361 #, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "Поток Ogg Vorbis: %d канал, %ld Гц" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "Формат Vorbis: ВерÑÐ¸Ñ %d" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "Ð—Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ð±Ð¸Ñ‚Ñ€ÐµÐ¹Ñ‚Ð°: верхнее=%ld номинальное=%ld нижнее=%ld окно=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Кодирование: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "" "Ошибка: Ðе доÑтаточно памÑти при выполнении create_playlist_member().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Внимание: Ðевозможно прочитать каталог %s.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "" "Предупреждение из ÑпиÑка воÑÐ¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ñ %s: Ðевозможно прочитать каталог " "%s.\n" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "Ошибка: Ðе доÑтаточно памÑти при выполнении playlist_to_array().\n" #: ogg123/speex_format.c:366 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "Поток Ogg Vorbis: %d канал, %ld Гц" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Поток Ogg Vorbis: %d канал, %ld Гц" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "ВерÑиÑ: %d\n" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Ошибка Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¾Ð²\n" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sПред-чтение до %.1f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sПауза" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Ошибка Ð²Ñ‹Ð´ÐµÐ»ÐµÐ½Ð¸Ñ Ð¿Ð°Ð¼Ñти при выполнении stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Файл: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "ВремÑ: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "из %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Срд битрейт: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Входной Буфер %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " Выходной Буфер %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "" "Ошибка: Ðевозможно выделить памÑть при выполнении " "malloc_data_source_stats()\n" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain (Reference loudness):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:45 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:46 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 #, fuzzy msgid "Comment:" msgstr "Комментарии: %s" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 из %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "ОШИБКÐ: Ðевозможно открыть входной файл \"%s\": %s\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "ОШИБКÐ: Ðевозможно открыть выходной файл \"%s\": %s\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ñ„Ð°Ð¹Ð»Ð° как файла vorbis: %s\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Кодирование файла \"%s\" завершено\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "Ñтандартный ввод" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "Ñтандартный вывод" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Ошибка ÑƒÐ´Ð°Ð»ÐµÐ½Ð¸Ñ Ñтарого файла %s\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "ОШИБКÐ: Ðе указаны входные файлы. Ð”Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ñправки -h.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "ОШИБКÐ: ÐеÑколько входных файлов при указанном имени выходного файла: " "предполагаетÑÑ Ð¸Ñпользование - n\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "Чтение файлов WAV" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "Чтение файлов AIFF/AIFC" #: oggenc/audio.c:50 msgid "FLAC file reader" msgstr "Чтение файлов FLAC" #: oggenc/audio.c:51 msgid "Ogg FLAC file reader" msgstr "Чтение файлов Ogg FLAC" #: oggenc/audio.c:129 oggenc/audio.c:459 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "Внимание: Ðеожиданный конец файла при чтении заголовка WAV\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "ПропуÑкаем фрагмент типа \"%s\", длина %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Внимание: Ðеожиданный конец файла во фрагменте AIFF\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Внимание: Ð’ файле AIFF не найден общий фрагмент\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Внимание: Обрезанный общий фрагмент в заголовке AIFF\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "Внимание: Ðеожиданный конец файла при чтении заголовка AIFF\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "Внимание: Обрезанный общий фрагмент в заголовке AIFF\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Внимание: Заголовок AIFF-C обрезан.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "Внимание: Ðевозможно обработать Ñжатый AIFF-C (%c%c%c%c)\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "Внимание: Ð’ файле AIFF не найден SSND-фрагмент\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Внимание: Ð’ заголовке AIFF повреждён SSND-фрагмент\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Внимание: Ðеожиданный конец файла при чтении заголовка AIFF\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "Внимание: OggEnc не поддерживает Ñтот тип AIFF/AIFC файла\n" " Должен быть 8- или 16- битный PCM.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Внимание: Формат фрагмента в заголовке WAV не раÑпознан\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "Внимание: ÐЕКОРРЕКТÐЫЙ формат фрагмента в заголовке wav.\n" "Тем не менее, пытаемÑÑ Ð¿Ñ€Ð¾Ñ‡Ð¸Ñ‚Ð°Ñ‚ÑŒ (может не Ñработать)...\n" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "ОШИБКÐ: Файл wav не поддерживаемого типа (должен быть Ñтандартный PCM\n" " или тип 3 PCM Ñ Ð¿Ð»Ð°Ð²Ð°ÑŽÑ‰ÐµÐ¹ точкой)\n" #: oggenc/audio.c:546 #, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "ОШИБКÐ: Файл wav не поддерживаемого под-формата (должен быть 8, 16 или 24-" "битный PCM\n" "или PCM Ñ Ð¿Ð»Ð°Ð²Ð°ÑŽÑ‰ÐµÐ¹ точкой)\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" "24-битные данные PCM в режиме BIG-ENDIAN не поддерживаютÑÑ. ДейÑтвие " "прервано.\n" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" "ВнутреннÑÑ Ð¾ÑˆÐ¸Ð±ÐºÐ°: попытка прочитать не поддерживаемую разрÑдноÑть в %d бит\n" #: oggenc/audio.c:799 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "ГЛЮК: От реÑÑмплера получено нулевое чиÑло кадров: ваш файл будет обрезан. " "ПожалуйÑта, Ñообщите об Ñтом автору.\n" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "Ðе возможно инициализировать реÑÑмплер\n" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "УÑтановка дополнительного параметра кодировщика \"%s\" в %s\n" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "УÑтановка дополнительного параметра кодировщика \"%s\" в %s\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "Изменение нижней границы чаÑтоты Ñ %f до %f кГц\n" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "Ðе раÑпознаваемый дополнительный параметр \"%s\"\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, fuzzy, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" "255 каналов должно быть доÑтаточно Ð´Ð»Ñ Ð²Ñех. (Извините, но vorbis не " "поддерживает больше)\n" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "" "Ð”Ð»Ñ Ð·Ð°Ð¿Ñ€Ð¾Ñа минимального или макÑимального битрейта требуетÑÑ --managed\n" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "Сбой режима инициализации: некорректные параметры Ð´Ð»Ñ ÐºÐ°Ñ‡ÐµÑтва\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "УÑтановлены необÑзательные жёÑткие Ð¾Ð³Ñ€Ð°Ð½Ð¸Ñ‡ÐµÐ½Ð¸Ñ ÐºÐ°Ñ‡ÐµÑтва\n" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" "Сбой при уÑтановке мин/Ð¼Ð°ÐºÑ Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ð±Ð¸Ñ‚Ñ€ÐµÐ¹Ñ‚Ð° в режиме уÑтановки качеÑтва\n" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "Сбой режима инициализации: некорректные параметры Ð´Ð»Ñ Ð±Ð¸Ñ‚Ñ€ÐµÐ¹Ñ‚Ð°\n" #: oggenc/encode.c:374 #, fuzzy, c-format msgid "WARNING: no language specified for %s\n" msgstr "Ð’ÐИМÐÐИЕ: Указан неизвеÑтный параметр, игнорируетÑÑ->\n" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "Сбой при запиÑи заголовка в выходной поток\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Сбой при запиÑи заголовка в выходной поток\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "Сбой при запиÑи заголовка в выходной поток\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "Сбой при запиÑи заголовка в выходной поток\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Сбой при запиÑи данных в выходной поток\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [оÑталоÑÑŒ %2dм%.2dÑ] %c " #: oggenc/encode.c:726 #, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tКодирование [готово %2dм%.2dÑ] %c " #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Кодирование файла \"%s\" завершено\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Кодирование завершено.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tДлина файла: %dм %04.1fÑ\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tОÑтавшееÑÑ Ð²Ñ€ÐµÐ¼Ñ: %dм %04.1fÑ\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tВыборка: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tСредний битрейт: %.1f Кб/Ñ\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Кодирование %s%s%s в \n" " %s%s%s \n" "Ñо Ñредним битрейтом %d Кб/Ñ " #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Кодирование %s%s%s в \n" " %s%s%s \n" "Ñ Ð¿Ñ€Ð¸Ð±Ð»Ð¸Ð·Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ñ‹Ð¼ битрейтом %d Кб/Ñек (включено кодирование Ñ VBR)\n" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Кодирование %s%s%s в \n" " %s%s%s \n" "Ñ ÑƒÑ€Ð¾Ð²Ð½ÐµÐ¼ качеÑтва %2.2f Ñ Ð¸Ñпользованием ограниченного VBR " #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Кодирование %s%s%s в \n" " %s%s%s \n" "Ñ ÐºÐ°Ñ‡ÐµÑтвом %2.2f\n" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Кодирование %s%s%s в \n" " %s%s%s \n" "Ñ Ð¸Ñпользованием ÑƒÐ¿Ñ€Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ð±Ð¸Ñ‚Ñ€ÐµÐ¹Ñ‚Ð¾Ð¼ " #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ñ„Ð°Ð¹Ð»Ð° как файла vorbis: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Ошибка: Ðе доÑтаточно памÑти.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "ОШИБКÐ: Ðевозможно открыть входной файл \"%s\": %s\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 #, fuzzy msgid "RAW file reader" msgstr "Чтение файлов WAV" #: oggenc/oggenc.c:131 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "ОШИБКÐ: Ðе указаны входные файлы. Ð”Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ñправки -h.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "ОШИБКÐ: Указано неÑколько файлов, в то Ð²Ñ€ÐµÐ¼Ñ ÐºÐ°Ðº иÑпользуетÑÑ stdin\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "ОШИБКÐ: ÐеÑколько входных файлов при указанном имени выходного файла: " "предполагаетÑÑ Ð¸Ñпользование - n\n" #: oggenc/oggenc.c:217 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" "Ð’ÐИМÐÐИЕ: Указано недоÑтаточное количеÑтво заголовков, уÑтановлены поÑледние " "значениÑ.\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "ОШИБКÐ: Ðевозможно открыть входной файл \"%s\": %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Открытие Ñ Ð¼Ð¾Ð´ÑƒÐ»ÐµÐ¼ %s: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "ОШИБКÐ: Входной файл \"%s\" в не поддерживаемом формате\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "ОШИБКÐ: Входной файл \"%s\" в не поддерживаемом формате\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "Ð’ÐИМÐÐИЕ: Ðе указано Ð¸Ð¼Ñ Ñ„Ð°Ð¹Ð»Ð°, иÑпользуетÑÑ \"default.ogg\"\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "ОШИБКÐ: Ðевозможно Ñоздать необходимые подкаталоги Ð´Ð»Ñ Ð²Ñ‹Ñ…Ð¾Ð´Ð½Ð¾Ð³Ð¾ файла \"%s" "\"\n" #: oggenc/oggenc.c:363 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "Ð˜Ð¼Ñ Ð²Ñ…Ð¾Ð´Ð½Ð¾Ð³Ð¾ файла Ñовпадает Ñ Ð¸Ð¼ÐµÐ½ÐµÐ¼ выходного файла \"%s\"\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "ОШИБКÐ: Ðевозможно открыть выходной файл \"%s\": %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "Изменение чаÑтоты выборки входных файлов Ñ %d до %d Гц\n" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Смешение Ñтерео в моно\n" #: oggenc/oggenc.c:441 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "Ð’ÐИМÐÐИЕ: Смешение Ñигналов возможно только из Ñтерео в моно\n" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "Умножение входного Ñигнала на %f\n" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 из %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" "Ð’ÐИМÐÐИЕ: Ðекорректный управлÑющий Ñимвол '%c' в формате имени, " "игнорируетÑÑ\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Включение механизма ÑƒÐ¿Ñ€Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ð±Ð¸Ñ‚Ñ€ÐµÐ¹Ñ‚Ð¾Ð¼\n" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "Ð’ÐИМÐÐИЕ: Указан порÑдок байт Ñырых данных Ð´Ð»Ñ Ð½Ðµ-Ñырых данных. " "Подразумеваем Ñырые данные.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" "Ð’ÐИМÐÐИЕ: Ðевозможно прочитать аргумент \"%s\" в порÑдке ÑÐ»ÐµÐ´Ð¾Ð²Ð°Ð½Ð¸Ñ Ð±Ð°Ð¹Ñ‚\n" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "Ð’ÐИМÐÐИЕ: Ðевозможно прочитать изменение чаÑтоты \"%s\"\n" #: oggenc/oggenc.c:773 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "Внимание: Указано изменение чаÑтоты выборки %d Гц. Ð’Ñ‹ имели в виду %d Гц?\n" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "Внимание: Ðевозможно обработать коÑффициент ÑƒÐ¼Ð½Ð¾Ð¶ÐµÐ½Ð¸Ñ \"%s\".\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Ðе найдено значение дополнительного параметра кодировщика\n" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "ВнутреннÑÑ Ð¾ÑˆÐ¸Ð±ÐºÐ° разбора параметров командной Ñтроки\n" #: oggenc/oggenc.c:831 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" "Внимание: ИÑпользован некорректный комментарий (\"%s\"), игнорируетÑÑ.\n" #: oggenc/oggenc.c:870 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Внимание: номинальный битрейт \"%s\" не опознан\n" #: oggenc/oggenc.c:878 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Внимание: минимальный битрейт \"%s\" не опознан\n" #: oggenc/oggenc.c:892 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Внимание: макÑимальный битрейт \"%s\" не опознан\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "ÐžÐ¿Ñ†Ð¸Ñ ÐºÐ°Ñ‡ÐµÑтва \"%s\" не опознана, игнорируетÑÑ\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" "Ð’ÐИМÐÐИЕ: уÑтановлено Ñлишком выÑокое качеÑтво, ограничено до макÑимального\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "Ð’ÐИМÐÐИЕ: Указано неÑколько форматов имени, иÑпользуетÑÑ Ð¿Ð¾Ñледний\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" "Ð’ÐИМÐÐИЕ: Указано неÑколько фильтров форматов имени, иÑпользуетÑÑ Ð¿Ð¾Ñледний\n" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" "Ð’ÐИМÐÐИЕ: Указано неÑколько замен фильтров форматов имени, иÑпользуетÑÑ " "поÑледнÑÑ\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" "Ð’ÐИМÐÐИЕ: Указано неÑколько выходных файлов, предполагаетÑÑ Ð¸Ñпользование " "параметра -n\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "Ð’ÐИМÐÐИЕ: Указано значение Ñырых бит/кадр Ð´Ð»Ñ Ð½Ðµ-Ñырых данных. " "ПредполагаетÑÑ Ñырой ввод.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "Ð’ÐИМÐÐИЕ: Указано некорректное значение бит/кадр, предполагаетÑÑ 16.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "Ð’ÐИМÐÐИЕ: Указано чиÑло Ñырых каналов Ð´Ð»Ñ Ð½Ðµ-Ñырых данных. ПредполагаетÑÑ " "Ñырой ввод.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "Ð’ÐИМÐÐИЕ: Указано неверное чиÑло каналов, предполагаетÑÑ 2.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "Ð’ÐИМÐÐИЕ: Указана ÑÑ‹Ñ€Ð°Ñ Ñ‡Ð°Ñтота выборки Ð´Ð»Ñ Ð½Ðµ-Ñырых данных. ПредполагаетÑÑ " "Ñырой ввод.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" "Ð’ÐИМÐÐИЕ: Указано некорректное значение чаÑтоты выборки, предполагаетÑÑ " "44100.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "Ð’ÐИМÐÐИЕ: Указан неизвеÑтный параметр, игнорируетÑÑ->\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "Ðевозможно преобразовать комментарий в UTF-8, добавлÑть нельзÑ\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "Ðевозможно преобразовать комментарий в UTF-8, добавлÑть нельзÑ\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" "Ð’ÐИМÐÐИЕ: Указано недоÑтаточное количеÑтво заголовков, уÑтановлены поÑледние " "значениÑ.\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Ðевозможно Ñоздать каталог \"%s\": %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Ошибка проверки ÑущеÑÑ‚Ð²Ð¾Ð²Ð°Ð½Ð¸Ñ ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ð° %s: %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "Ошибка: Ñегмент пути \"%s\" не ÑвлÑетÑÑ ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ð¾Ð¼\n" #: ogginfo/ogginfo2.c:115 #, fuzzy, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" "Поток vorbis %d:\n" "\tÐžÐ±Ñ‰Ð°Ñ Ð´Ð»Ð¸Ð½Ð° данных: %I64d байт\n" "\tÐ’Ñ€ÐµÐ¼Ñ Ð²Ð¾ÑпроизведениÑ: %ldм:%02ld.%03ldÑ\n" "\tСредний битрейт: %f Кбит/Ñ\n" #: ogginfo/ogginfo2.c:127 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Внимание: Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ° %d не уÑтановлен маркер его конца\n" #: ogginfo/ogginfo2.c:216 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Внимание: ÐÐµÐ¿Ñ€Ð°Ð²Ð¸Ð»ÑŒÐ½Ð°Ñ Ñтраница заголовка, не найден пакет\n" #: ogginfo/ogginfo2.c:246 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" "Внимание: ÐÐµÐ¿Ñ€Ð°Ð²Ð¸Ð»ÑŒÐ½Ð°Ñ Ñтраница заголовка в потоке %d, Ñодержит множеÑтво " "пакетов\n" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" "Примечание: Поток %d имеет Ñерийный номер %d, что допуÑтимо, но может " "вызвать проблемы в работе некоторых инÑтрументов.\n" #: ogginfo/ogginfo2.c:278 #, fuzzy, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "" "Внимание: Обнаружена дыра в данных Ñо Ñмещением приблизительно %I64d байт. " "ИÑпорченный ogg.\n" #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ð²Ñ…Ð¾Ð´Ð½Ð¾Ð³Ð¾ файла \"%s\": %s\n" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Обработка файла \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "Ðевозможно найти обработчик Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ°. Задание отложено\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "Ðайдена Ñтраница Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ° поÑле Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ð¼Ð°Ñ€ÐºÐµÑ€Ð° его конца" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" "Ðарушены Ð¾Ð³Ñ€Ð°Ð½Ð¸Ñ‡ÐµÐ½Ð¸Ñ Ð¼ÑƒÐ»ÑŒÑ‚Ð¸Ð¿Ð»ÐµÐºÑÐ¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ Ogg. Ðайден новый поток до " "Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ð¼Ð°Ñ€ÐºÐµÑ€Ð¾Ð² конца вÑех предыдущих потоков" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "ÐеизвеÑÑ‚Ð½Ð°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ°." #: ogginfo/ogginfo2.c:337 #, fuzzy, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" "Внимание: неправильно раÑположены Ñтраницы Ð´Ð»Ñ Ð»Ð¾Ð³Ð¸Ñ‡ÐµÑкого потока %d\n" "Это Ñигнализирует о повреждении файла ogg: %s.\n" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "Ðовый логичеÑкий поток (#%d, Ñерийный номер: %08x): тип %s\n" #: ogginfo/ogginfo2.c:352 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "Внимание: Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ° %d не уÑтановлен флаг его начала\n" #: ogginfo/ogginfo2.c:355 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "Внимание: в Ñередине потока %d найден флаг начала потока\n" #: ogginfo/ogginfo2.c:361 #, fuzzy, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" "Внимание: пропущен порÑдковый номер в потоке %d. Получена Ñтраница %ld когда " "ожидалаÑÑŒ %ld. СвидетельÑтвует о пропуÑке данных.\n" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "ЛогичеÑкий поток %d завершён\n" #: ogginfo/ogginfo2.c:384 #, fuzzy, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" "Ошибка: Данные ogg не найдены в файле \"%s\".\n" "Входные данные, вероÑтно, не в формате ogg.\n" #: ogginfo/ogginfo2.c:395 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 из %s %s\n" #: ogginfo/ogginfo2.c:400 #, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:401 #, fuzzy, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" "ogginfo 1.1.0\n" "(c) 2003-2005 Michael Smith \n" "\n" "Вызов: ogginfo [флаги] файл1.ogg [файл2.ogg ... файлN.ogg]\n" "Поддерживаемые флаги:\n" "\t-h Показать Ñто Ñправочное Ñообщение\n" "\t-q Сделать вывод менее подробным. Во-первых, удалить детальные\n" "\t информационные ÑообщениÑ, а во-вторых, предупреждениÑ\n" "\t-v Сделать вывод более подробным. Этот параметр может Ñделать\n" "\t доÑтупными более детальные проверки Ð´Ð»Ñ Ð½ÐµÐºÐ¾Ñ‚Ð¾Ñ€Ñ‹Ñ… типов потоков.\n" "\n" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:422 #, fuzzy, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" "Вызов: ogginfo [флаги] файл1.ogg [файл2.ogg ... файлN.ogg]\n" "\n" "Ogginfo -- утилита Ð´Ð»Ñ Ð²Ñ‹Ð²Ð¾Ð´Ð° информации о файлах ogg\n" "и Ð´Ð»Ñ Ð´Ð¸Ð°Ð³Ð½Ð¾Ñтики проблем Ñ Ð½Ð¸Ð¼Ð¸.\n" "ÐŸÐ¾Ð»Ð½Ð°Ñ Ñправка отображаетÑÑ Ð¿Ð¾ команде \"ogginfo -h\".\n" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "" "Ðе указаны входные файлы. Ð”Ð»Ñ Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ñправки иÑпользуйте \"ogginfo -h\"\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: параметр `%s' не однозначен\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: Ð´Ð»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° `--%s' не допуÑтимы аргументы\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: Ð´Ð»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° `%c%s' не допуÑтимы аргументы\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: Ð´Ð»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° `%s' необходим аргумент\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: неопознанный параметр `--%s'\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: неопознанный параметр `%c%s'\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: недопуÑтимый параметр -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: неправильный параметр -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: Ð´Ð»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° необходим аргумент -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: параметр `-W %s' не однозначен\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: Ð´Ð»Ñ Ð¿Ð°Ñ€Ð°Ð¼ÐµÑ‚Ñ€Ð° `-W %s' не допуÑтимы аргументы\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Ðевозможно обработать точку отреза \"%s\"\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Ðевозможно обработать точку отреза \"%s\"\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Ðевозможно открыть %s Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸Ñи\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" "Вызов: vcut вх_файл.ogg вых_файл1.ogg вых_файл2.ogg [точка_отреза | " "+точка_отреза]\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Ðевозможно открыть %s Ð´Ð»Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Ðевозможно обработать точку отреза \"%s\"\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Обработка: Вырезание в позиции %lld Ñекунд\n" #: vcut/vcut.c:289 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Обработка: Вырезание в позиции %lld кадров\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "Обработка не удалаÑÑŒ\n" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Ключ не найден" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Ошибка при запиÑи комментариев в выходной файл: %s\n" #: vcut/vcut.c:505 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Ошибка Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ð¿ÐµÑ€Ð²Ð¾Ð¹ Ñтраницы битового потока Ogg." #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "ИÑправлÑÐµÐ¼Ð°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ° битового потока\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Вторичный заголовок повреждён\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Ошибка битового потока, продолжение работы\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Ошибка в оÑновном заголовке: не vorbis?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "Входные данные не в формате ogg.\n" #: vcut/vcut.c:616 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Ошибка битового потока, продолжение работы\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "Конец потока найден до точки отреза.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Ошибка Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ð¿ÐµÑ€Ð²Ð¾Ð¹ Ñтраницы битового потока Ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Ошибка Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ð½Ð°Ñ‡Ð°Ð»ÑŒÐ½Ð¾Ð³Ð¾ заголовка пакета." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "Входные данные обрезаны или пуÑты." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "Входные данные не ÑвлÑÑŽÑ‚ÑÑ Ð±Ð¸Ñ‚Ð¾Ð²Ñ‹Ð¼ потоком Ogg." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Битовый поток Ogg не Ñодержит данных vorbis." #: vorbiscomment/vcedit.c:555 #, fuzzy msgid "EOF before recognised stream." msgstr "Конец файла обнаружен до Ð¾ÐºÐ¾Ð½Ñ‡Ð°Ð½Ð¸Ñ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¾Ð² vorbis." #: vorbiscomment/vcedit.c:568 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Битовый поток Ogg не Ñодержит данных vorbis." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Повреждён вторичный заголовок." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "Конец файла обнаружен до Ð¾ÐºÐ¾Ð½Ñ‡Ð°Ð½Ð¸Ñ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¾Ð² vorbis." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "Повреждены или отÑутÑтвуют данные, продолжение работы..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Ошибка запиÑи выходного потока. Выходной поток может быть повреждён или " "обрезан." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ñ„Ð°Ð¹Ð»Ð° как файла vorbis: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Ðеправильный комментарий: \"%s\"\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "неправильный комментарий: \"%s\"\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Ошибка при запиÑи комментариев в выходной файл: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "дейÑтвие не указано\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "Ðевозможно преобразовать комментарий в UTF-8, добавлÑть нельзÑ\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:622 #, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:632 #, fuzzy, c-format msgid "Editing options\n" msgstr "Ðекорректный тип в ÑпиÑке параметров" #: vorbiscomment/vcomment.c:633 #, c-format msgid " -a, --append Update comments\n" msgstr "" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" #: vorbiscomment/vcomment.c:672 #, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "ВнутреннÑÑ Ð¾ÑˆÐ¸Ð±ÐºÐ° разбора параметров командной Ñтроки\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ð²Ñ…Ð¾Ð´Ð½Ð¾Ð³Ð¾ файла '%s'.\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "Ð˜Ð¼Ñ Ð²Ñ…Ð¾Ð´Ð½Ð¾Ð³Ð¾ файла не может Ñовпадать Ñ Ð¸Ð¼ÐµÐ½ÐµÐ¼ выходного файла\n" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ð²Ñ‹Ñ…Ð¾Ð´Ð½Ð¾Ð³Ð¾ файла '%s'.\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ñ„Ð°Ð¹Ð»Ð° комментариев '%s'.\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Ошибка Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ñ„Ð°Ð¹Ð»Ð° комментариев '%s'\n" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "Ошибка ÑƒÐ´Ð°Ð»ÐµÐ½Ð¸Ñ Ñтарого файла %s\n" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "Ошибка Ð¿ÐµÑ€ÐµÐ¸Ð¼ÐµÐ½Ð¾Ð²Ð°Ð½Ð¸Ñ %s в %s\n" #: vorbiscomment/vcomment.c:938 #, fuzzy, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Ошибка ÑƒÐ´Ð°Ð»ÐµÐ½Ð¸Ñ Ñтарого файла %s\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "Чтение файлов WAV" #, fuzzy #~ msgid "Big endian 32 bit PCM data is not currently supported, aborting.\n" #~ msgstr "" #~ "24-битные данные PCM в режиме BIG-ENDIAN не поддерживаютÑÑ. ДейÑтвие " #~ "прервано.\n" #, fuzzy #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "ВнутреннÑÑ Ð¾ÑˆÐ¸Ð±ÐºÐ° разбора параметров командной Ñтроки\n" #, fuzzy #~ msgid "oggenc from %s %s" #~ msgstr "ogg123 из %s %s\n" #, fuzzy #~ msgid "" #~ "WARNING: Comment %d in stream %d has invalid format, does not contain " #~ "'=': \"%s\"\n" #~ msgstr "" #~ "Внимание: Комментарий %d в потоке %d имеет недопуÑтимый формат. Он не " #~ "Ñодержит '=': \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #~ msgstr "" #~ "Внимание: Ðекорректное Ð¸Ð¼Ñ Ð¿Ð¾Ð»Ñ ÐºÐ¾Ð¼Ð¼ÐµÐ½Ñ‚Ð°Ñ€Ð¸Ñ Ð² комментарии %d (поток %d): " #~ "\"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #~ msgstr "" #~ "Внимание: ÐÐµÐºÐ¾Ñ€Ñ€ÐµÐºÑ‚Ð½Ð°Ñ Ð¿Ð¾ÑледовательноÑть UTF-8 в комментарии %d (поток " #~ "%d): неправильный маркер длины\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #~ msgstr "" #~ "Внимание: ÐÐµÐºÐ¾Ñ€Ñ€ÐµÐºÑ‚Ð½Ð°Ñ Ð¿Ð¾ÑледовательноÑть UTF-8 в комментарии %d (поток " #~ "%d): Ñлишком мало байт\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence \"%s\": %s\n" #~ msgstr "" #~ "Внимание: ÐÐµÐºÐ¾Ñ€Ñ€ÐµÐºÑ‚Ð½Ð°Ñ Ð¿Ð¾ÑледовательноÑть UTF-8 в комментарии %d (поток " #~ "%d): Ð½ÐµÐ¿Ñ€Ð°Ð²Ð¸Ð»ÑŒÐ½Ð°Ñ Ð¿Ð¾ÑледовательноÑть\n" #, fuzzy #~ msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" #~ msgstr "" #~ "Внимание: Сбой в декодере utf8. Вообще-то Ñто должно быть невозможно\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Theora header packet - invalid Theora stream " #~ "(%d)\n" #~ msgstr "" #~ "Внимание: Ðевозможно декодировать пакет заголовка theora - некорректный " #~ "поток theora (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Theora stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Внимание: Заголовки в потоке Theora %d разделены некорректно. ПоÑледнÑÑ " #~ "Ñтраница заголовка Ñодержит дополнительные пакеты или имеет не-нулевой " #~ "granulepos\n" #~ msgid "Theora headers parsed for stream %d, information follows...\n" #~ msgstr "Заголовки theora обработаны Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ° %d, далее информациÑ...\n" #~ msgid "Version: %d.%d.%d\n" #~ msgstr "ВерÑиÑ: %d.%d.%d\n" #~ msgid "Vendor: %s\n" #~ msgstr "ПоÑтавщик: %s\n" #~ msgid "Width: %d\n" #~ msgstr "Ширина: %d\n" #~ msgid "Height: %d\n" #~ msgstr "Ð’Ñ‹Ñота: %d\n" #~ msgid "Total image: %d by %d, crop offset (%d, %d)\n" #~ msgstr "Полное изображение: %d на %d, Ñдвиг обрезки (%d, %d)\n" #~ msgid "Frame offset/size invalid: width incorrect\n" #~ msgstr "ÐедопуÑтимое Ñмещение/размер кадра: Ð½ÐµÐ¿Ñ€Ð°Ð²Ð¸Ð»ÑŒÐ½Ð°Ñ ÑˆÐ¸Ñ€Ð¸Ð½Ð°\n" #~ msgid "Frame offset/size invalid: height incorrect\n" #~ msgstr "ÐедопуÑтимое Ñмещение/размер кадра: Ð½ÐµÐ¿Ñ€Ð°Ð²Ð¸Ð»ÑŒÐ½Ð°Ñ Ð²Ñ‹Ñота\n" #~ msgid "Invalid zero framerate\n" #~ msgstr "ÐедопуÑÑ‚Ð¸Ð¼Ð°Ñ Ð½ÑƒÐ»ÐµÐ²Ð°Ñ Ñ‡Ð°Ñтота кадров\n" #~ msgid "Framerate %d/%d (%.02f fps)\n" #~ msgstr "ЧаÑтота кадров %d/%d (%.02f кадр/Ñ)\n" #~ msgid "Aspect ratio undefined\n" #~ msgstr "Соотношение размеров не указано\n" #, fuzzy #~ msgid "Pixel aspect ratio %d:%d (%f:1)\n" #~ msgstr "Соотношение размеров пикÑÐµÐ»Ñ %d:%d (1:%f)\n" #~ msgid "Frame aspect 4:3\n" #~ msgstr "Соотношение размеров кадра 4:3\n" #~ msgid "Frame aspect 16:9\n" #~ msgstr "Соотношение размеров кадра 16:9\n" #, fuzzy #~ msgid "Frame aspect %f:1\n" #~ msgstr "Соотношение размеров кадра 4:3\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" #~ msgstr "Цветовое проÑтранÑтво: Rec. ITU-R BT.470-6 СиÑтема M (NTSC)\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" #~ msgstr "Цветовое проÑтранÑтво: Rec. ITU-R BT.470-6 СиÑтемы B и G (PAL)\n" #~ msgid "Colourspace unspecified\n" #~ msgstr "Цветовое проÑтранÑтво не указано\n" #~ msgid "Pixel format 4:2:0\n" #~ msgstr "Формат пикÑÐµÐ»Ñ 4:2:0\n" #~ msgid "Pixel format 4:2:2\n" #~ msgstr "Формат пикÑÐµÐ»Ñ 4:4:2\n" #~ msgid "Pixel format 4:4:4\n" #~ msgstr "Формат пикÑÐµÐ»Ñ 4:4:4\n" #~ msgid "Pixel format invalid\n" #~ msgstr "Ðеправильный формат пикÑелÑ\n" #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "Целевой битрейт: %d Кб/Ñ\n" #~ msgid "Nominal quality setting (0-63): %d\n" #~ msgstr "Значение номинального качеÑтва (0-63): %d\n" #~ msgid "User comments section follows...\n" #~ msgstr "Ð¡ÐµÐºÑ†Ð¸Ñ Ð¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÐµÐ»ÑŒÑких комментариев Ñледует за...\n" #, fuzzy #~ msgid "WARNING: granulepos in stream %d decreases from %" #~ msgstr "Внимание: granulepos в потоке %d уменьшилоÑÑŒ Ñ %lld до %lld" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream " #~ "(%d)\n" #~ msgstr "" #~ "Внимание: Ðевозможно декодировать пакет заголовка vorbis - некорректный " #~ "поток vorbis (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Внимание: Заголовки в потоке Vorbis %d разделены некорректно. ПоÑледнÑÑ " #~ "Ñтраница заголовка Ñодержит дополнительные пакеты или имеет не-нулевой " #~ "granulepos\n" #~ msgid "Vorbis headers parsed for stream %d, information follows...\n" #~ msgstr "Заголовки vorbis обработаны Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ° %d, далее информациÑ...\n" #~ msgid "Version: %d\n" #~ msgstr "ВерÑиÑ: %d\n" #~ msgid "Vendor: %s (%s)\n" #~ msgstr "ПоÑтавщик: %s (%s)\n" #~ msgid "Channels: %d\n" #~ msgstr "Каналы: %d\n" #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "" #~ "Битрейт: %ld\n" #~ "\n" #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "Ðоминальный битрейт: %f Кб/Ñ\n" #~ msgid "Nominal bitrate not set\n" #~ msgstr "Ðоминальный битрейт не уÑтановлен\n" #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "МакÑимальный битрейт: %f Кб/Ñ\n" #~ msgid "Upper bitrate not set\n" #~ msgstr "МакÑимальный битрейт не уÑтановлен\n" #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "Минимальный битрейт: %f Кб/Ñ\n" #~ msgid "Lower bitrate not set\n" #~ msgstr "Минимальный битрейт не уÑтановлен\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Kate header packet %d - invalid Kate stream " #~ "(%d)\n" #~ msgstr "" #~ "Внимание: Ðевозможно декодировать пакет заголовка theora - некорректный " #~ "поток theora (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: packet %d does not seem to be a Kate header - invalid Kate " #~ "stream (%d)\n" #~ msgstr "" #~ "Внимание: Ðевозможно декодировать пакет заголовка theora - некорректный " #~ "поток theora (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Kate stream %d does not have headers correctly framed. Terminal " #~ "header page contains additional packets or has non-zero granulepos\n" #~ msgstr "" #~ "Внимание: Заголовки в потоке Theora %d разделены некорректно. ПоÑледнÑÑ " #~ "Ñтраница заголовка Ñодержит дополнительные пакеты или имеет не-нулевой " #~ "granulepos\n" #, fuzzy #~ msgid "Kate headers parsed for stream %d, information follows...\n" #~ msgstr "Заголовки theora обработаны Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ° %d, далее информациÑ...\n" #, fuzzy #~ msgid "Version: %d.%d\n" #~ msgstr "ВерÑиÑ: %d.%d.%d\n" #, fuzzy #~ msgid "Category: %s\n" #~ msgstr "ПоÑтавщик: %s\n" #, fuzzy #~ msgid "No category set\n" #~ msgstr "Ðоминальный битрейт не уÑтановлен\n" #, fuzzy #~ msgid "Invalid zero granulepos rate\n" #~ msgstr "ÐедопуÑÑ‚Ð¸Ð¼Ð°Ñ Ð½ÑƒÐ»ÐµÐ²Ð°Ñ Ñ‡Ð°Ñтота кадров\n" #, fuzzy #~ msgid "Granulepos rate %d/%d (%.02f gps)\n" #~ msgstr "ЧаÑтота кадров %d/%d (%.02f кадр/Ñ)\n" #, fuzzy #~ msgid "WARNING: Hole in data (%d bytes) found at approximate offset %" #~ msgstr "" #~ "Внимание: Обнаружена дыра в данных Ñо Ñмещением приблизительно %lld байт. " #~ "ИÑпорченный ogg.\n" #~ msgid "Page error. Corrupt input.\n" #~ msgstr "Ошибка Ñтраницы. Входные данные повреждены.\n" #, fuzzy #~ msgid "Setting EOS: update sync returned 0\n" #~ msgstr "УÑтановка флага конца потока: 0 код возврата попытки обновлениÑ\n" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "Точка отреза не внутри потока. Второй файл будет пуÑтой\n" #~ msgid "Unhandled special case: first file too short?\n" #~ msgstr "Ðеобработанный оÑобый Ñлучай: первый файл Ñлишком короткий?\n" #, fuzzy #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "Точка отреза не внутри потока. Второй файл будет пуÑтой\n" #, fuzzy #~ msgid "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " Ogg page. File may not decode correctly.\n" #~ msgstr "" #~ "ОШИБКÐ: Первые два звуковых пакета не укладываютÑÑ Ð² одну\n" #~ " Ñтраницу ogg. Файл не может быть корректно декодирован.\n" #, fuzzy #~ msgid "Update sync returned 0, setting EOS\n" #~ msgstr "Попытка Ð¾Ð±Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ Ð²ÐµÑ€Ð½ÑƒÐ»Ð° 0, уÑтановка eos\n" #~ msgid "Bitstream error\n" #~ msgstr "Ошибка битового потока\n" #~ msgid "Error in first page\n" #~ msgstr "Ошибка на первой Ñтранице\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "ошибка в первом пакете\n" #~ msgid "EOF in headers\n" #~ msgstr "Ð’ заголовках обнаружен конец файла\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "Ð’ÐИМÐÐИЕ: vcut -- ÑкÑпериментальный код.\n" #~ "Проверьте корректноÑть выходных файлов перед удалением иÑходных.\n" #~ "\n" #~ msgid "Error reading headers\n" #~ msgstr "Ошибка Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¾Ð²\n" #~ msgid "Error writing first output file\n" #~ msgstr "Ошибка запиÑи первого выходного файла\n" #~ msgid "Error writing second output file\n" #~ msgstr "Ошибка запиÑи второго выходного файла\n" #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 из %s %s\n" #~ "Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Вызов: ogg123 [<опции>] <входной файл> ...\n" #~ "\n" #~ " -h, --help Ñта Ñправка\n" #~ " -V, --version показать верÑию Ogg123\n" #~ " -d, --device=d иÑпользовать в качеÑтве уÑтройÑтва вывода 'd'\n" #~ " ДопуÑтимые уÑтройÑтва ('*'=живое, '@'=файл):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" #~ " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -@, --list=filename Read playlist of files and URLs from \"filename" #~ "\"\n" #~ " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n Load n%% of the input buffer before playing\n" #~ " -v, --verbose Display progress and other status information\n" #~ " -q, --quiet Don't display anything (no title)\n" #~ " -x n, --nth Play every 'n'th block\n" #~ " -y n, --ntimes Repeat every played block 'n' times\n" #~ " -z, --shuffle Shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s Set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=имÑ_файла УÑтановить Ð¸Ð¼Ñ Ð²Ñ‹Ñ…Ð¾Ð´Ð½Ð¾Ð³Ð¾ файла Ð´Ð»Ñ Ñ€Ð°Ð½ÐµÐµ " #~ "указанного\n" #~ " файла уÑтройÑтва (Ñ Ð¾Ð¿Ñ†Ð¸ÐµÐ¹ -d).\n" #~ " -k n, --skip n ПропуÑтить первые 'n' Ñекунд (или в формате чч:мм:ÑÑ)\n" #~ " -o, --device-option=k:v передать Ñпециальный параметр k Ñо значением\n" #~ " v ранее указанному уÑтройÑтву (Ñ Ð¾Ð¿Ñ†Ð¸ÐµÐ¹ -d). Смотри\n" #~ " man Ð´Ð»Ñ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ð¾Ð¹ информации.\n" #~ " -@, --list=имÑ_файла Прочитать ÑпиÑок воÑÐ¿Ñ€Ð¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¸Ñ Ñ„Ð°Ð¹Ð»Ð¾Ð² и URL из " #~ "файла \"имÑ_файла\"\n" #~ " -b n, --buffer n ИÑпользовать входной буфер размером 'n' Кб\n" #~ " -p n, --prebuffer n загрузить n%% из входного буфера перед " #~ "воÑпроизведением\n" #~ " -v, --verbose показать прогреÑÑ Ð¸ другую информацию о ÑоÑтоÑнии\n" #~ " -q, --quiet не показывать ничего (без заголовка)\n" #~ " -x n, --nth воÑпроизводить каждый 'n'-й блок\n" #~ " -y n, --ntimes повторить каждый воÑпроизводимый блок 'n' раз\n" #~ " -z, --shuffle Ñлучайное воÑпроизведение\n" #~ "\n" #~ "При получении SIGINT (Ctrl-C) ogg123 пропуÑтит Ñледующую пеÑню; два " #~ "Ñигнала SIGINT\n" #~ "в течение s миллиÑекунд завершают работу ogg123.\n" #~ " -l, --delay=s уÑтанавливает значение s [в миллиÑекундах] (по умолчанию " #~ "500).\n" #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -v, --version Print the version number\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps. By default, this produces a VBR\n" #~ " encoding, equivalent to using -q or --quality.\n" #~ " See the --managed option to use a managed bitrate\n" #~ " targetting the selected bitrate.\n" #~ " --managed Enable the bitrate management engine. This will " #~ "allow\n" #~ " much greater control over the precise bitrate(s) " #~ "used,\n" #~ " but encoding will be much slower. Don't use it " #~ "unless\n" #~ " you have a strong need for detailed control over\n" #~ " bitrate, such as for streaming.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel. Using this will\n" #~ " automatically enable managed bitrate mode (see\n" #~ " --managed).\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications. Using this will " #~ "automatically\n" #~ " enable managed bitrate mode (see --managed).\n" #~ " --advanced-encode-option option=value\n" #~ " Sets an advanced encoder option to the given " #~ "value.\n" #~ " The valid options (and their values) are " #~ "documented\n" #~ " in the man page supplied with this program. They " #~ "are\n" #~ " for advanced users only, and should be used with\n" #~ " caution.\n" #~ " -q, --quality Specify quality, between -1 (very low) and 10 " #~ "(very\n" #~ " high), instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " The default quality level is 3.\n" #~ " --resample n Resample input data to sampling rate n (Hz)\n" #~ " --downmix Downmix stereo to mono. Only allowed on stereo\n" #~ " input.\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" #~ " being copied to the output Ogg Vorbis file.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times. The argument should be in the\n" #~ " format \"tag=value\".\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 24, 16, or 8 bit PCM WAV, AIFF, or " #~ "AIFF/C\n" #~ " files, 32 bit IEEE floating point WAV, and optionally FLAC or Ogg FLAC. " #~ "Files\n" #~ " may be mono or stereo (or more channels) and any sample rate.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16 bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an output filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "Вызов: oggenc [опции] input.wav [...]\n" #~ "\n" #~ "ПÐРÐМЕТРЫ:\n" #~ " ОÑновные:\n" #~ " -Q, --quiet Ðе выводить в поток ошибок\n" #~ " -h, --help ВывеÑти Ñтот Ñправочный текÑÑ‚\n" #~ " -v, --version Ðапечатать номер верÑии\n" #~ " -r, --raw Сырой режим. Входные файлы читаютÑÑ Ð½ÐµÐ¿Ð¾ÑредÑтвенно " #~ "как данные PCM\n" #~ " -B, --raw-bits=n УÑтановить чиÑло бит/ÑÑмпл Ð´Ð»Ñ Ñырого ввода. По " #~ "умолчанию 16\n" #~ " -C, --raw-chan=n УÑтановить чиÑло каналов Ð´Ð»Ñ Ñырого ввода. По " #~ "умолчанию 2\n" #~ " -R, --raw-rate=n УÑтановить чиÑло ÑÑмплов/Ñек Ð´Ð»Ñ Ñырого ввода. По " #~ "умолчанию 44100\n" #~ " --raw-endianness 1 Ð´Ð»Ñ bigendian, 0 Ð´Ð»Ñ little (по умолчанию 0)\n" #~ " -b, --bitrate Выбрать номинальный битрейт Ð´Ð»Ñ ÐºÐ¾Ð´Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ñ. " #~ "Попытка\n" #~ " кодировать Ñо Ñредним битрейтом равным указанному. " #~ "ИÑпользуетÑÑ\n" #~ " 1 аргумент в kbps. По умолчанию, иÑпользуетÑÑ VBR " #~ "кодирование,\n" #~ " Ñквивалентное иÑпользованию параметра -q или --" #~ "quality.\n" #~ " ИÑпользуйте опиÑание параметра --managed Ð´Ð»Ñ " #~ "указаниÑ\n" #~ " выбранного битрейта.\n" #~ " --managed Включить движок ÑƒÐ¿Ñ€Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ð±Ð¸Ñ‚Ñ€ÐµÐ¹Ñ‚Ð¾Ð¼. ПредоÑтавлÑет " #~ "возможноÑть\n" #~ " намного лучшего ÑƒÐ¿Ñ€Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ð½Ð°Ð´ точной уÑтановкой " #~ "иÑпользуемого битрейта.\n" #~ " Однако, кодирование будет значительно медленнее. Ðе " #~ "иÑпользуйте Ñто\n" #~ " еÑли у Ð’Ð°Ñ Ð½ÐµÑ‚ оÑтрой необходимоÑти в детальном " #~ "управлении битрейтом,\n" #~ " например, Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ¾Ð²Ñ‹Ñ… передач.\n" #~ " -m, --min-bitrate Указать минимальный битрейт (в kbps). Полезно при " #~ "кодировании\n" #~ " Ð´Ð»Ñ ÐºÐ°Ð½Ð°Ð»Ð° поÑтоÑнного размера. ИÑпользование Ñтого " #~ "параметра\n" #~ " автоматичеÑки включит режим управлÑемого битрейта " #~ "(Ñмотрите\n" #~ " --managed).\n" #~ " -M, --max-bitrate Указать макÑимальный битрейт в kbps. Полезно Ð´Ð»Ñ " #~ "потоковых\n" #~ " приложений. ИÑпользование Ñтого параметра " #~ "автоматичеÑки включит\n" #~ " режим управлÑемого битрейта (Ñмотрите --managed).\n" #~ " --advanced-encode-option параметр=значение\n" #~ " УÑтановить заданное значение дополнительного " #~ "параметра кодировщика.\n" #~ " ДопуÑтимые параметры (и их значениÑ) опиÑаны на " #~ "Ñтранице руководÑтва,\n" #~ " поÑтавлÑемого Ñ Ð´Ð°Ð½Ð½Ð¾Ð¹ программой. Они " #~ "предназначены только длÑ\n" #~ " продвинутых пользователей и должны быть " #~ "иÑпользованы оÑторожно.\n" #~ " -q, --quality Указать качеÑтво от -1 (очень низкое) до 10 (очень " #~ "выÑокое),\n" #~ " вмеÑто ÑƒÐºÐ°Ð·Ð°Ð½Ð¸Ñ ÐºÐ¾Ð½ÐºÑ€ÐµÑ‚Ð½Ð¾Ð³Ð¾ битрейта.\n" #~ " Это нормальный режим работы.\n" #~ " ДопуÑтимо дробное значение качеÑтва (например, " #~ "2.75).\n" #~ " По-умолчанию, уровень качеÑтва равен 3.\n" #~ " --resample n Изменить чаÑтоту выборки входных данных до Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ " #~ "n (Гц)\n" #~ " --downmix Перемикшировать Ñтерео Ñигнал в моно. ДоÑтупно " #~ "только Ð´Ð»Ñ Ñтерео\n" #~ " входного Ñигнала.\n" #~ " -s, --serial Указать Ñерийный номер Ð´Ð»Ñ Ð¿Ð¾Ñ‚Ð¾ÐºÐ°. ЕÑли кодируетÑÑ " #~ "неÑколько\n" #~ " файлов, Ñто значение будет автоматичеÑки " #~ "увеличиватьÑÑ Ð½Ð° 1\n" #~ " Ð´Ð»Ñ ÐºÐ°Ð¶Ð´Ð¾Ð³Ð¾ Ñледующего потока.\n" #~ " --discard-comments Предотвращает копирование комментариев из файлов " #~ "FLAC и Ogg FLAC\n" #~ " в выходной файл Ogg Vorbis.\n" #~ "\n" #~ " ПриÑвоение имён:\n" #~ " -o, --output=fn ЗапиÑать файл в fn (корректно только Ð´Ð»Ñ Ñ€Ð°Ð±Ð¾Ñ‚Ñ‹ Ñ " #~ "одним файлом)\n" #~ " -n, --names=string Создать имена файлов по образцу в Ñтроке string, " #~ "заменÑÑ %%a, %%t, %%l,\n" #~ " %%n, %%d на Ð¸Ð¼Ñ Ð°Ñ€Ñ‚Ð¸Ñта, название, альбом, номер " #~ "дорожки,\n" #~ " и дату, ÑоответÑтвенно (ниже Ñмотрите как Ñто " #~ "указать).\n" #~ " %%%% даёт Ñимвол %%.\n" #~ " -X, --name-remove=s Удалить указанные Ñимволы из параметров Ñтроки " #~ "формата -n.\n" #~ " Полезно Ð´Ð»Ñ ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ñ ÐºÐ¾Ñ€Ñ€ÐµÐºÑ‚Ð½Ñ‹Ñ… имён фалов.\n" #~ " -P, --name-replace=s Заменить Ñимволы, удалённые --name-remove, на " #~ "указанные\n" #~ " Ñимволы. ЕÑли Ñта Ñтрока короче, чем ÑпиÑок\n" #~ " --name-remove или не указана, Ñимволы проÑто " #~ "удалÑÑŽÑ‚ÑÑ.\n" #~ " Ð—Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ð¿Ð¾ умолчанию Ð´Ð»Ñ ÑƒÐºÐ°Ð·Ð°Ð½Ð½Ñ‹Ñ… выше двух " #~ "аргументов\n" #~ " завиÑÑÑ‚ от платформы.\n" #~ " -c, --comment=c Добавить указанную Ñтроку в качеÑтве " #~ "дополнительного\n" #~ " комментариÑ. Может быть иÑпользовано неÑколько раз. " #~ "Ðргумент\n" #~ " должен быть в формате \"Ñ‚Ñг=значение\".\n" #~ " -d, --date Дата дорожки (обычно дата иÑполнениÑ)\n" #~ " -N, --tracknum Ðомер Ñтой дорожки\n" #~ " -t, --title Заголовок Ñтой дорожки\n" #~ " -l, --album Ðазвание альбома\n" #~ " -a, --artist Ð˜Ð¼Ñ Ð°Ñ€Ñ‚Ð¸Ñта\n" #~ " -G, --genre Жанр дорожки\n" #~ " ЕÑли задано неÑколько входных файлов, то неÑколько\n" #~ " ÑкземплÑров предыдущих пÑти аргументов будут \n" #~ " иÑпользованы, в том порÑдке, в котором они " #~ "заданы. \n" #~ " ЕÑли заголовков указано меньше чем\n" #~ " файлов, OggEnc выдаÑÑ‚ предупреждение, и\n" #~ " будет иÑпользовать поÑледнее указанное значение " #~ "длÑ\n" #~ " оÑтавшихÑÑ Ñ„Ð°Ð¹Ð»Ð¾Ð². ЕÑли указано не доÑтаточно " #~ "номеров\n" #~ " дорожек, оÑтавшиеÑÑ Ñ„Ð°Ð¹Ð»Ñ‹ будут не нумерованными.\n" #~ " Ð”Ð»Ñ Ð²Ñех оÑтальных будет иÑпользовано поÑледнее \n" #~ " значение Ñ‚Ñга без предупреждений (таким образом, \n" #~ " например, можно один раз указать дату и затем \n" #~ " иÑпользовать её Ð´Ð»Ñ Ð²Ñех файлов)\n" #~ "\n" #~ "ВХОДÐЫЕ ФÐЙЛЫ:\n" #~ " Входными файлами Ð´Ð»Ñ OggEnc в наÑтоÑщее Ð²Ñ€ÐµÐ¼Ñ Ð´Ð¾Ð»Ð¶Ð½Ñ‹ быть 24-, 16- или 8-" #~ "битные\n" #~ " файлы PCM WAV, AIFF, или AIFF/C, или 32-битный Ñ Ð¿Ð»Ð°Ð²Ð°ÑŽÑ‰ÐµÐ¹ точкой IEEE " #~ "WAV, и,\n" #~ " опционально, FLAC или Ogg FLAC. Файлы могут быть моно или Ñтерео\n" #~ " (или Ñ Ð±Ð¾Ð»ÑŒÑˆÐ¸Ð¼ чиÑлом каналов) и любым значением чаÑтоты выборки.\n" #~ " Ð’ качеÑтве альтернативы может иÑпользоватьÑÑ Ð¾Ð¿Ñ†Ð¸Ñ --raw Ð´Ð»Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ " #~ "Ñырых файлов\n" #~ " Ñ Ð´Ð°Ð½Ð½Ñ‹Ð¼Ð¸ PCM, которые должны быть 16 битными Ñтерео little-endian PCM " #~ "('wav\n" #~ " без заголовков'), в противном Ñлучае указываютÑÑ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸Ñ‚ÐµÐ»ÑŒÐ½Ñ‹Ðµ " #~ "параметры длÑ\n" #~ " Ñырого режима.\n" #~ " Ð’Ñ‹ можете указать Ñчитывание файла из stdin иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ - в качеÑтве " #~ "имени\n" #~ " входного файла. Ð’ Ñтом Ñлучае вывод направлÑетÑÑ Ð² stdout еÑли не " #~ "указано имÑ\n" #~ " выходного файла опцией -o\n" #~ msgid "Frame aspect 1:%d\n" #~ msgstr "Соотношение размеров кадра 1:%d\n" #~ msgid "Warning: granulepos in stream %d decreases from %I64d to %I64d" #~ msgstr "Внимание: granulepos в потоке %d уменьшилоÑÑŒ Ñ %I64d до %I64d" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %I64d bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "Поток theora %d:\n" #~ "\tÐžÐ±Ñ‰Ð°Ñ Ð´Ð»Ð¸Ð½Ð° данных: %I64d байт\n" #~ "\tÐ’Ñ€ÐµÐ¼Ñ Ð²Ð¾ÑпроизведениÑ: %ldм:%02ld.%03ldÑ\n" #~ "\tСредний битрейт: %f Кбит/Ñ\n" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %lld bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "Поток theora %d:\n" #~ "\tÐžÐ±Ñ‰Ð°Ñ Ð´Ð»Ð¸Ð½Ð° данных: %lld байт\n" #~ "\tÐ’Ñ€ÐµÐ¼Ñ Ð²Ð¾ÑпроизведениÑ: %ldм:%02ld.%03ldÑ\n" #~ "\tСредний битрейт: %f Кбит/Ñ\n" #~ msgid "" #~ "Negative granulepos on vorbis stream outside of headers. This file was " #~ "created by a buggy encoder\n" #~ msgstr "" #~ "Отрицательное значение granulepos в потоке vorbis за пределами " #~ "заголовков. Этот файл был Ñоздан \"кривым\" кодировщиком\n" #~ msgid "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %lld bytes\n" #~ "\tPlayback length: %ldm:%02ld.%03lds\n" #~ "\tAverage bitrate: %f kb/s\n" #~ msgstr "" #~ "Поток vorbis %d:\n" #~ "\tÐžÐ±Ñ‰Ð°Ñ Ð´Ð»Ð¸Ð½Ð° данных: %lld байт\n" #~ "\tÐ’Ñ€ÐµÐ¼Ñ Ð²Ð¾ÑпроизведениÑ: %ldм:%02ld.%03ldÑ\n" #~ "\tСредний битрейт: %f Кбит/Ñ\n" #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ " Raw mode (--raw, -R) will read and write comments in UTF-8,\n" #~ " rather than converting to the user's character set. This is\n" #~ " useful for using vorbiscomment in scripts. However, this is\n" #~ " not sufficient for general round-tripping of comments in all\n" #~ " cases.\n" #~ msgstr "" #~ "ИÑпользование: \n" #~ " vorbiscomment [-l] file.ogg (проÑмотреть комментарии)\n" #~ " vorbiscomment -a in.ogg out.ogg (добавить комментарии)\n" #~ " vorbiscomment -w in.ogg out.ogg (изменить комментарии)\n" #~ "\tв Ñлучае запиÑи, на stdin ожидаетÑÑ Ð½Ð¾Ð²Ñ‹Ð¹ набор\n" #~ "\tкомментариев в форме 'ТЭГ=значение'. Этот набор будет\n" #~ "\tполноÑтью заменÑть уже ÑущеÑтвующий набор.\n" #~ " Параметры -a и -w также могут иÑпользовать только одно Ð¸Ð¼Ñ Ñ„Ð°Ð¹Ð»Ð°.\n" #~ " Ð’ Ñтом Ñлучае будет иÑпользоватьÑÑ Ð²Ñ€ÐµÐ¼ÐµÐ½Ð½Ñ‹Ð¹ файл.\n" #~ " Параметр -c может быть иÑпользован Ð´Ð»Ñ Ñ‚Ð¾Ð³Ð¾, чтобы брать комментарии\n" #~ " из указанного файла вмеÑто stdin.\n" #~ " Пример: vorbiscomment -a in.ogg -c comments.txt\n" #~ " добавит комментарии из файла comments.txt в in.ogg\n" #~ " Ðаконец, Ð’Ñ‹ можете указать любое количеÑтво Ñ‚Ñгов Ð´Ð»Ñ Ð´Ð¾Ð±Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ð²\n" #~ " командной Ñтроке иÑÐ¿Ð¾Ð»ÑŒÐ·ÑƒÑ Ð¾Ð¿Ñ†Ð¸ÑŽ -t.\n" #~ " Пример: vorbiscomment -a in.ogg -t \"ARTIST=Ðекий артиÑÑ‚\" -t " #~ "\"TITLE=Ðазвание\"\n" #~ " (заметьте, что когда иÑпользуетÑÑ Ñ‚Ð°ÐºÐ¾Ð¹ ÑпоÑоб, чтение комментариев из " #~ "файла Ñ\n" #~ " комментариÑми или из stdin отключено)\n" #~ " Сырой режим (--raw, -R) будет читать и запиÑывать комментарии в " #~ "UTF-8,\n" #~ " вмеÑто того, чтобы конвертировать в пользовательÑкий набор Ñимволов. " #~ "Это полезно\n" #~ " при иÑпользовании vorbiscomment в ÑценариÑÑ…. Однако, Ñтого не " #~ "доÑтаточно\n" #~ " Ð´Ð»Ñ Ð¾Ñновной обработки комментариев во вÑех ÑлучаÑÑ….\n" vorbis-tools-1.4.2/po/hu.gmo0000644000175000017500000003325614002243561012645 00000000000000Þ•”¿   ' C X u  ¢ ¶ Ì ã ý , D %b ,ˆ -µ ã &+Kkqz”,›!ÈZê7E*}-¨SÖ+*QV!¨Ê*â, : P]q„— °9ºô" +&5\#v.š#Éí )G O['a(‰I²1ü1.M`#®Ò1áB V!w™ ¹*Ú$L*&w>ž4Ý,,?%l'’º4Ãø',A-n'œ Ä(Ò;û;7sx*ª ÆÒ-å'; C(Py ‚ •?£Cã5'6]8”IÍ=6U;ŒLÈNLd.±?à& GZ_dz‡‹ ¥«±ÂÑá†èo  § ¼ Ù ÷ !!3!K!i!1‰!#»!,ß!1 "2>"&q"6˜"!Ï"!ñ"# #&#=#D#DL#,‘#t¾#G3$3{$>¯$î$:n%K©%(õ%&1;&=m&«& Á&Î&ê&þ&' 3'9?'y'—' ²' ¾'(È'ñ'# (H/(+x('¤($Ì((ñ()*)1)*7)2b)J•)1à)<*fO*&¶*Ý*6ô*S++.+.®+,Ý+, ,27,+j,\–,,ó,H ->i-)¨-8Ò-! .-.L.)U..."±./Ô.//54/j/)~/J¨/Jó/>0 B0+N0z0 ˜0¦0%¾0&ä0 1 1&!1H1 P1[1a16q1<¨1Gå1J-2Fx2R¿2L3G_3>§3[æ3dB4a§48 5GB54Š5¿5×5ß5'è5 66-636Q6W6\6`6{6Ž6 ¡6xƒ4$8O<5„+&*E/'=qfJF6(L_s€;Bhl†}@ .W1Vtur9G% cM#N^d\y‹S"]pHŠgŒ? C‡K… 0ReZ‰3QI-2`noz~>7w{UˆY!,AP  X):b[avkj|‚ŽmTDi Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Rate: %.4f File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s Input Buffer %5.1f%% Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%(NULL)(none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Comment:CopyrightCorrupt or missing data, continuing...Corrupt secondary header.Could not skip %f seconds of audio.Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" DefaultDescriptionDone.ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n Enabling bitrate management engine Encoded by: %sError checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File: %sInput buffer size smaller than minimum size of %dkB.Input is not an Ogg bitstream.Input not ogg. Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Key not foundMemory allocation error in stats_init() Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality NameNo keyNo module could be found to read from %s. Opening with %s module: %s Playing: %sProcessing failed Quality option "%s" not recognised, ignoring Skipping chunk of type "%s", length %d SuccessSystem errorThe file format of %s is not supported. Time: %sTrack number:TypeUnknown errorWARNING: Ignoring illegal escape character '%c' in name format WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid sample rate specified, assuming 44100. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Unknown option specified, ignoring-> WARNING: quality setting too high, setting to maximum quality. Warning: Could not read directory %s. bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sothershuffle playliststandard inputstandard outputstringProject-Id-Version: vorbis-tools 1.0 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2004-05-07 11:38GMT Last-Translator: Gábor István Language-Team: Hungarian Language: hu MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit Átlagos bitráta: %.1f kb/s Eltelt idõ: %dm %04.1fs Ráta: %.4f Fájl mérete: %dm %04.1fs Kész a "%s" fájl kódolása Kódólás kész. Audioeszköz: %sBemeneti puffer %5.1f%%Kimeneti puffer %5.1f%%%s: illegális kapcsoló -- %c %s: érvénytelen kapcsoló -- %c %s: a `%c%s' kapcsoló nem enged meg argumentumot %s: a `%s' kapcsoló nem egyértelmû %s: a `%s' kapcsolóhoz argumentum szükséges %s: a `--%s' kapcsoló nem enged meg argumentumot %s: a `-W %s' kapcsoló nem enged meg argumentumot %s: a `-W %s' kapcsoló nem egyértelmû %s: a kapcsolónak szüksége van egy argumentumra -- %c %s: a `%c%s' kapcsoló ismeretlen %s: a `--%s' kapcsoló ismeretlen %sEOS%sMegállítva%sElõpufferelés %1.f%%(NULL)(nincs)--- Nem lehet megnyitni a lejátszandó számok fájlját: %s. Átugorva. --- Nem lehet lejátszani a 0-dik csonkokat! --- Nem lehet lejátszani minden csonkot 0-szor. --- A dekódólás kipróbálásához használja a null kimeneti meghajtót. --- A konfigurációs állományban meghatározott %s meghajtó érvénytelen. --- Lyuk a adatfolyamban, valószínûleg ártalmatlan --- Elõbuffer értéke érvénytelen. Érvényes tartomány: 0-100. === Nem lehet betölteni az alapértelmezés szerinti meghajtót, és nincs meghajtó meghatározva a konfigurációs fájlban. Kilépés. === Meghajtó %s nem kimeneti fájlba irányítható meghajtó. ===Hiba "%s" a parancssori opciók értelmezése közben. ===A hibás opció: %s ==== Érvénytelen kimeneti formátum: %s. === Nincs ilyen eszköz: %s. === Értelmezési hiba: %s a(z) %d. sorban %s (%s) === A vorbis programozói könyvtár adatfolyamhibát jelentett. AIFF/AIFC-fájl olvasóSzerzõ: %sRendelkezésre álló opciók: Átl. bitráta: %5.1fRossz megjegyzés: '%s' Rossz típus az opciók közöttRossz értékBitráta adatok: felsõ=%ld névleges=%ld alsó=%ld ablak=%ldBitfolyamat hiba, folyatatás Nem lehet megnyitni %s-t. Megjegyzés:CopyrightSérült vagy hiányzó adatok, folytatás...Sérült másodlagos fejléc.Nem lehet átugrani %f másodpercet .Nem lehet a megjegyzést átalakítani UTF-8 -ra, hozzáadás nem sikertelen Nem lehet létrehozni a könyvtárat "%s": %s A '%s'-t nem lehet megnyitni olvasásra A '%s'-t nem lehet megnyitni írásra Nem tudom értelmezni a vágásipontot"%s" AlapértelmezettLeírásKész.HIBA: Nem lehet megnyitni a "%s":%s fájlt HIBA: Nem lehet megnyitni a "%s":%s kimenet fájlt HIBA: Nem lehet létrehozni az igényelt könyvtárat a '%s' kimeneti fájlnak HIBA Bemeneti fájl "%s" formátuma nem támogatott HIBA: Több fájlt határozott meg amikor az stdin-t használta HIBA: Több bemeneti fájlt adott meg mikor határozta a kimeneti fájlnevet, javaslom használja a '-n'-t A bitrára kezelés motor engedélyezése Kódolva: %s módszerrelHiba a könyvtár létezésének a vizsgálata során %s: %s Hiba a %s megnyitása közben, ami a %s modult használna. A fájl lehet, hogy sérült. Hiba a '%s' megjegyzés fájl megnyitása során. Hiba a '%s' megjegyzés fájl megnyitása során. Hiba a '%s' bemeneti fájl megnyitása során. Hiba a '%s' kimeneti fájl megnyitása során. Hiba az elsõ oldal Ogg adatfolyam olvasása közben.Hiba a kezdõ fejléc csomag olvasása közben.Hiba az adatfolyam írása közben. A kimeneti adatfolyam lehet hogy sérült vagy megcsonkított.Hiba: Nem lehet létrehozni az audiopuffert. Hiba: Elfogyott a memória a decoder_buffered_metadata_callback()-ban . Hiba: Elfogyott a memória a new_print_statistics_arg()-ban . Hiba: az útvonal "%s" része nem könyvtár Nem sikerült megjegyzések írása a '%s' kimeneti fájlba Nem sikerült az adatfolyam írása Nem sikerült a fejléc kiírása Fájl: %sBevitel puffer mérete kisebb, mint %d kB.A bemenet nem Ogg adatfolyam.A bemenet nem ogg. A bemenet megcsonkított vagy üres.Belsõ hiba a parancs sori opció elemzése során Belsõ hiba a parancssori opciók elemzése során Belsõ hiba a parancs opciójának az értelmezése során Kulcs nem találhatóMemóriakiosztási hiba a stats_init()-ben Mód installáció nem sikerült: ennek a bitrátának érvénytelen a paramétere Mód installáció nem sikerült: ennek a minõségnek érvénytelen a paramétere NévNincs kulcsNem találtam modult a %s beolvasása során. A %s megnyitása %s modullal Lejátszás: %sFeldolgozás sikertelen Minõség opciók "%s" nem értelmezhetõ "%s" típusú csonk átugrása, hossz: %d SikerültRendszerhibaA(z) %s fájl formátum nem támogatott. Idõ: %sSáv száma:TípusIsmeretlen hibaFIGYELEM: Érvénytelen eszkép karakter a '%c' a névben FIGYELEM: Kevés címet adott meg, az utolsó címet használom. FIGYELEM: Érénytelen mintavételezést határozott meg, 16-ost használom. FIGYELEM: Érvénytelen csatorna számlálót határozott meg, 2-est használom. FIGYELEM: Événytelen mintavételezést határott meg 44100-at használom. FIGYELEM: Többszörös név formátum szûrõ cserét hatázott meg, az utolsót használom FIGYELEM: Többszörös név formátum szûröt hatázott meg, az utolsót használom FIGYELEM: Többszörös név formátumot hatázott meg, az utolsót használom FIGYELEM: Több kimeneti fájlt hatázott meg használja a '-n'-t FIGYELEM:Nyers bitmintát határozott meg nem nyers adatra. A bemenetet nyersként használom. FIGYELEM:Nyers csatorna számlálót határozott meg nem nyers adatra. A bemenetet nyersként használom. FIGYELEM:Nyers mintavételezést határozott meg nem nyers adatra. A bemenetet nyersként használom. FIGYELEM Ismeretlen opciót határozott meg, elutasítva-> FIGYELEM: a minõség túl magasra lett állítva, a maximálisra beállítva. Figyelmeztetés: Nem lehet olvasni a könyvtárat: %s. rossz megjegyzés: '%s' logikaikarakteralapértelmezés szerinti kimeneti eszközduplapontoslengõpontos számegésznem határozott meg mûveletet nincs/ %smásvéletelen lejátszási listaszabványos bemenetszabványos kimenetkarakterláncvorbis-tools-1.4.2/po/nl.gmo0000644000175000017500000016401614002243561012641 00000000000000Þ•„< \€ ( ª È ä !$!?!\!w!‰!$!FÂ$F %BP%;“%7Ï%1&>9&@x&?¹&»ù&Fµ'‚ü',(J¬(&÷(N*ûm*Fi+<°+7í+i%,H,FØ,1->Q-?-lÐ-<=/z/z–0-1b?1–¢2193+k3d—3cü4ê`5,K7„x7Ëý7É8—æ:•~<É>JÞ?)Aj?AªBÁBÛB,õB"C%@C,fC-“C ÁC&âC D)DIDODXD$kDDQ—DéEFF*F@F,GF!tFZ–F7ñF*)G-TGS‚GSÖG+*HQVH!¨HÊH4âH*I,BIoI …I’I¥I¹I$ÌIñIJ JA'J9iJ£JÀJÑJ0äJK K +K&5K\K/vK#¦K%ÊKðK. L#;L_L/}L@­LîL M+MIM%gMM¡M±M ¹MÅMËM!æMN"&N?IN?‰N5ÉNGÿNGO(fO'O(·O:àO?P;[PI—P!áPQQ8Q2VQ&‰Q%°Q*ÖQ&R'(RPR1pR:¢R1ÝRMS?]S1S2ÏS'T2*T>]T)œT0ÆT2÷T-*UXU4oU&¤U.ËUúUV#(VLV[[V@·V6øVR/W>‚W1ÁWBóW 6X!WX"yXœX ¼X*ÝX$Y+-YYYuYŽYLYêY&Z>,Z4kZ, ZvÍZD[U[ \[}[3š[2Î[+\-\"M\2p\.£\,Ò\%ÿ\6%]/\]'Œ]4´]é]ï]’ø]È‹`4Ta6‰aÀaßaïaþa,b-Eb'sb&›b8Âbûb c+$cPcac>gc¦c(¿cèc;ÿc;;d:wd)²dÜd0ád0eCe*Je+ue]¡eŸÿeŸf,´f2áf%g :g+Hg5tgNªgùgh$h4h$Lh qh}hh¢h$¼h-áhii3iGi`i;yi%µiÛi'ði+j'Dj>lj«j½jÅjÍj áj(îj^kqvkLèk5l;>l zlˆl l"›lL¾l= m)ImÁsm5n9OnH‰n7Òn2 oL=o0Šo2»o&îo,p0Bp1sp"¥p?Èp0qW9qC‘q5Õq6 rEBr.ˆr8·rDðrI5s=s6½s;ôs)0tLZtN§tKötLBu?u.Ïu*þuF)vpv_Œv'ìvCw-Xw-†w&´w-Ûw? xiIx<³x0ðx(!y7Jy&‚y©y¼yÁyÆyÜyãyéyíyzz zz2zEzYz_zwzˆz—z§zM®z üzQ{vo|&æ}! ~"/~"R~u~‘~#°~ Ô~õ~ ´wÔ‚ˆLƒFÕƒ?„>\„.›„CÊ„n…E}…ÐÃ…P”†Ïå†/µ‡jå‡)PˆSz‰ ΉKÜŠ3(‹8\‹v•‹E ŒERŒ5˜ŒAÎŒt¬…92Zl€Ç(H‘rq‘¯ä’-”“-“üð“jí•ÿX–*X˜Áƒ˜ËE™vš™ˆœÞ"ž Z¢z£Ý£n¥…¥Ÿ¥'¹¥á¥(¦'*¦(R¦"{¦)ž¦Ȧ覧 §§08§i§Ãp§4©Q©k©‡©¡©@¨©$é©xªD‡ª0̪7ýª[5«n‘«4¬R5¬"ˆ¬$«¬8Ь, ­66­m­…­™­®­í/á­®+®H®LX®F¥®ì®¯¯81¯ j¯u¯ ‰¯-–¯į1ܯ°-.° \°8}°¶°#Ö°6ú°O1±'±©±#ɱí±. ²:²R² b² l²y²€²"Ÿ²² Þ²Cÿ²BC³A†³Tȳ#´7A´-y´.§´<Ö´Aµ=UµG“µ'Ûµ¶ ¶!?¶Ca¶+¥¶(Ѷ+ú¶)&·,P·}·?›·@Û·5¸ZR¸U­¸9¹<=¹)z¹2¤¹>×¹)º0@º2qº-¤ºÒº2éº$»6A»(x» ¡»5¯»å»Zø»HS¼9œ¼QÖ¼<(½4e½Gš½(â½) ¾'5¾$]¾%‚¾3¨¾$ܾ*¿%,¿R¿q¿]¿$ß¿$À>)À4hÀ"À‹ÀÀLÁ_Á'fÁ ŽÁ9¯Á6éÁ5 Â$VÂ&{Â;¢ÂMÞÂ;,Ã.hÃ5—Ã8ÍÃ)Ä@0ÄqÄ zÄù†Äë€Ç6lÈC£ÈçÈÉ É%É->É.lÉ-›É$ÉÉ@îÉ /ÊPÊ2fÊ™Ê ¨ÊF¶ÊýÊ)ËFËBVËC™Ë1ÝË/Ì?Ì5DÌ8zÌ ³Ì+ÀÌ2ìÌm͘Í&Î+=Î1iÎ#›Î ¿Î)ÍÎ4÷ÎY,φϠϰϿÏ'ÕÏ ýÏ Ð#Ð6Ð%RÐ5xЮÐÀÐØÐñÐÑM,Ñ+zѦÑ4¾Ñ-óÑ)!ÒDKÒÒ Ò¨Ò¯Ò ÅÒ3ÑÒ„Ó€ŠÓ^ ÔjÔKsÔ ¿ÔÌÔÒÔ%áÔWÕG_Õ.§ÕÖÕ×Ö^ñÖZP×?«×Bë×[.Ø5ŠØ;ÀØ%üØ2"Ù6UÙ9ŒÙ0ÆÙM÷Ù>EÚY„ÚLÞÚA+ÛAmÛH¯Û7øÛO0Ü^€ÜbßÜWBÝKšÝ>æÝ?%ÞieÞlÏÞh<ßu¥ßLà3hà9œàTÖà#+ámOá2½áDðá=5â=sâ*±â;ÜâOã‡hãBðãC3ä/wä9§ä%áäå!å&å+åDåKåQåUåkåpåwåˆåšå¬å¿åÆå)ååææ0æP7æˆæe¨æ: y\&*s -Éÿý²”YCÆ€<ÅÄ }!Xùd¦-#19O¢0kb ty=×e€ÍAVž3™ ÑU1‚T~ƒ«‚uI–ðÇÓÙ]4#\oìEL‡í,Ëq;p%DsXÚ¹á@g$V0q„½ÝÎQ|R ( ~dç/M^:rGi Þ"%?ˆU!6S,·>tMÔLfØ‹ŸNȱ7.2DëF©nJ¼6°(ü455[Ü>é)ŽPY+ä8HfW¯uàpS‰µwZ@¶ï`ja¨š<_{zúG KœhJºÁH'2 —R¾˜õøZ¬ ¿'£_ƒÏ`´Û"ò7âQiTmêj¸ª+8?Fa)*þkx¡NW{[BÊz•’IBe„nŠrKhôö9†ã.Ò®=Õóc§ÀîwlŒ/l‘ }æPèA»…³ÌñÖvg&û ÐCo“^;å$|¥]c¤÷xEbß3mÃv­O› -V Output version information and exit Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Encoding [%2dm%.2ds so far] %c Rate: %.4f [%5.1f%%] [%2dm%.2ds remaining] %c File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s If multiple input files are given, then multiple instances of the previous eight arguments will be used, in the order they are given. If fewer titles are specified than files, OggEnc will print a warning, and reuse the final one for the remaining files. If fewer track numbers are given, the remaining files will be unnumbered. If fewer lyrics are given, the remaining files will not have lyrics added. For the others, the final tag will be reused for all others without warning (so you can specify a date once, for example, and have it used for all the files) --audio-buffer n Use an output audio buffer of 'n' kilobytes -@ file, --list file Read playlist of files and URLs from "file" -K n, --end n End at 'n' seconds (or hh:mm:ss format) -R, --raw Read and write comments in UTF-8 -R, --remote Use remote control interface -V, --version Display ogg123 version -V, --version Output version information and exit -Z, --random Play files randomly until interrupted -b n, --buffer n Use an input buffer of 'n' kilobytes -c file, --commentfile file When listing, write comments to the specified file. When editing, read comments from the specified file. -d dev, --device dev Use output device "dev". Available devices: -f file, --file file Set the output filename for a file device previously specified with --device. -h, --help Display this help -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format) -l s, --delay s Set termination timeout in milliseconds. ogg123 will skip to the next song on SIGINT (Ctrl-C), and will terminate if two SIGINTs are received within the specified timeout 's'. (default 500) -l, --list List the comments (default if no options are given) -o k:v, --device-option k:v Pass special option 'k' with value 'v' to the device previously specified with --device. See the ogg123 man page for available device options. -p n, --prebuffer n Load n%% of the input buffer before playing -q, --quiet Don't display anything (no title) -r, --repeat Repeat playlist indefinitely -t "name=value", --tag "name=value" Specify a comment tag on the commandline -v, --verbose Display progress and other status information -w, --write Write comments, replacing the existing ones -x n, --nth n Play every 'n'th block -y n, --ntimes n Repeat every played block 'n' times -z, --shuffle Shuffle list of files before playing --advanced-encode-option option=value Sets an advanced encoder option to the given value. The valid options (and their values) are documented in the man page supplied with this program. They are for advanced users only, and should be used with caution. --bits, -b Bit depth for output (8 and 16 supported) --discard-comments Prevents comments in FLAC and Ogg FLAC files from being copied to the output Ogg Vorbis file. --ignorelength Ignore the datalength in Wave headers. This allows support for files > 4GB and STDIN data streams. --endianness, -e Output endianness for 16-bit output; 0 for little endian (default), 1 for big endian. --help, -h Produce this help message. --managed Enable the bitrate management engine. This will allow much greater control over the precise bitrate(s) used, but encoding will be much slower. Don't use it unless you have a strong need for detailed control over bitrate, such as for streaming. --output, -o Output to given filename. May only be used if there is only one input file, except in raw mode. --quiet, -Q Quiet mode. No console output. --raw, -R Raw (headerless) output. --resample n Resample input data to sampling rate n (Hz) --downmix Downmix stereo to mono. Only allowed on stereo input. -s, --serial Specify a serial number for the stream. If encoding multiple files, this will be incremented for each stream after the first. --sign, -s Sign for output PCM; 0 for unsigned, 1 for signed (default 1). --utf8 Tells oggenc that the command line parameters date, title, album, artist, genre, and comment are already in UTF-8. On Windows, this switch applies to file names too. -c, --comment=c Add the given string as an extra comment. This may be used multiple times. The argument should be in the format "tag=value". -d, --date Date for track (usually date of performance) --version, -V Print out version number. -L, --lyrics Include lyrics from given file (.srt or .lrc format) -Y, --lyrics-language Sets the language for the lyrics -N, --tracknum Track number for this track -t, --title Title for this track -l, --album Name of album -a, --artist Name of artist -G, --genre Genre of track -X, --name-remove=s Remove the specified characters from parameters to the -n format string. Useful to ensure legal filenames. -P, --name-replace=s Replace characters removed by --name-remove with the characters specified. If this string is shorter than the --name-remove list or is not specified, the extra characters are just removed. Default settings for the above two arguments are platform specific. -b, --bitrate Choose a nominal bitrate to encode at. Attempt to encode at a bitrate averaging this. Takes an argument in kbps. By default, this produces a VBR encoding, equivalent to using -q or --quality. See the --managed option to use a managed bitrate targetting the selected bitrate. -k, --skeleton Adds an Ogg Skeleton bitstream -r, --raw Raw mode. Input files are read directly as PCM data -B, --raw-bits=n Set bits/sample for raw input; default is 16 -C, --raw-chan=n Set number of channels for raw input; default is 2 -R, --raw-rate=n Set samples/sec for raw input; default is 44100 --raw-endianness 1 for bigendian, 0 for little (defaults to 0) -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for encoding for a fixed-size channel. Using this will automatically enable managed bitrate mode (see --managed). -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for streaming applications. Using this will automatically enable managed bitrate mode (see --managed). -q, --quality Specify quality, between -1 (very low) and 10 (very high), instead of specifying a particular bitrate. This is the normal mode of operation. Fractional qualities (e.g. 2.75) are permitted The default quality level is 3. Input Buffer %5.1f%% Naming: -o, --output=fn Write file to fn (only valid in single-file mode) -n, --names=string Produce filenames as this string, with %%a, %%t, %%l, %%n, %%d replaced by artist, title, album, track number, and date, respectively (see below for specifying these). %%%% gives a literal %%. Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%'%s' is not valid UTF-8, cannot add (NULL)(c) 2003-2005 Michael Smith Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv] Flags supported: -h Show this help message -q Make less verbose. Once will remove detailed informative messages, two will remove warnings -v Make more verbose. This may enable more detailed checks for some stream types. (min %d kbps, max %d kbps)(min %d kbps, no max)(no min or max)(no min, max %d kbps)(none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. 255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support more) === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Option conflict: End time is before start time. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable codecs: Available options: Avg bitrate: %5.1fBOS not set on first page of stream Bad comment: "%s" Bad type in options listBad valueBig endian 24 bit PCM data is not currently supported, aborting. Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Cannot read headerChanged lowpass frequency from %f kHz to %f kHz Comment:Comments: %sCopyrightCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Could not skip to %f in audio stream.Couldn't close output file Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't flush output stream Couldn't get enough memory for input buffering.Couldn't get enough memory to register new stream serial number.Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" Couldn't write packet to output file Cutpoint not found Decode options DefaultDescriptionDone.Downmixing stereo to mono EOF before end of Vorbis headers.EOF before recognised stream.ERROR - line %u: Syntax error: %s ERROR - line %u: end time must not be less than start time: %s ERROR: %s requires an output filename to be specified with -f. ERROR: An output file cannot be given for %s device. ERROR: Can only specify one input file if output filename is specified ERROR: Cannot open device %s. ERROR: Cannot open file %s for writing. ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not allocate memory in malloc_buffer_stats() ERROR: Could not allocate memory in malloc_data_source_stats() ERROR: Could not allocate memory in malloc_decoder_stats() ERROR: Could not create required subdirectories for output filename "%s" ERROR: Could not set signal mask.ERROR: Decoding failure. ERROR: Device %s failure. ERROR: Device not available. ERROR: Failed to load %s - can't determine format ERROR: Failed to open input as Vorbis ERROR: Failed to open input file: %s ERROR: Failed to open lyrics file %s (%s) ERROR: Failed to open output file: %s ERROR: Failed to write Wave header: %s ERROR: File %s already exists. ERROR: Input file "%s" is not a supported format ERROR: Input filename is the same as output filename "%s" ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n ERROR: No Ogg data found in file "%s". Input probably not Ogg. ERROR: No input files specified. Use -h for help ERROR: No input files specified. Use -h for help. ERROR: No lyrics filename to load from ERROR: Out of memory in create_playlist_member(). ERROR: Out of memory in decoder_buffered_metadata_callback(). ERROR: Out of memory in malloc_action(). ERROR: Out of memory in new_audio_reopen_arg(). ERROR: Out of memory in new_status_message_arg(). ERROR: Out of memory in playlist_to_array(). ERROR: Out of memory. ERROR: This error should never happen (%d). Panic! ERROR: Unable to create input buffer. ERROR: Unsupported option value to %s device. ERROR: buffer write failed. Editing options Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing erroneous temporary file %s Error removing old file %s Error renaming %s to %s Error unknown.Error writing stream to output. Output stream may be corrupted or truncated.Error writing to file: %s Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory Examples: vorbiscomment -a in.ogg -c comments.txt vorbiscomment -a in.ogg -t "ARTIST=Some Guy" -t "TITLE=A Title" FLAC file readerFLAC, Failed encoding Kate EOS packet Failed encoding Kate header Failed encoding karaoke motion - continuing anyway Failed encoding karaoke style - continuing anyway Failed encoding lyrics - continuing anyway Failed to convert to UTF-8: %s Failed to open file as Vorbis: %s Failed to set advanced rate management parameters Failed to set bitrate min/max in quality mode Failed to write comments to output file: %s Failed writing data to output stream Failed writing fisbone header packet to output stream Failed writing fishead packet to output stream Failed writing header to output stream Failed writing skeleton eos packet to output stream File:File: %sINPUT FILES: OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or AIFF/C files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. Files may be mono or stereo (or more channels) and any sample rate. Alternatively, the --raw option may be used to use a raw PCM data file, which must be 16 bit stereo little-endian PCM ('headerless Wave'), unless additional parameters for raw mode are specified. You can specify taking the file from stdin by using - as the input filename. In this mode, output is to stdout unless an output filename is specified with -o Lyrics files may be in SubRip (.srt) or LRC (.lrc) format If no output file is specified, vorbiscomment will modify the input file. This is handled via temporary file, such that the input file is not modified if any errors are encountered during processing. Input buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input options Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Internal error: Unrecognised argument Internal error: attempt to read unsupported bitdepth %d Invalid/corrupted commentsKey not foundList or edit comments in Ogg Vorbis files. Listing options Live:Logical bitstreams with changing parameters are not supported Logical stream %d ended Memory allocation error in stats_init() Miscellaneous options Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality Mode number %d does not (any longer) exist in this versionMultiplexed bitstreams are not supported NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Note: Stream %d has serial number %d, which is legal but may cause problems with some tools. OPTIONS: General: -Q, --quiet Produce no output to stderr -h, --help Print this help text -V, --version Print the version number Ogg FLAC file readerOgg Speex stream: %d channel, %d Hz, %s modeOgg Speex stream: %d channel, %d Hz, %s mode (VBR)Ogg Vorbis stream: %d channel, %ld HzOgg Vorbis. Ogg bitstream does not contain Vorbis data.Ogg bitstream does not contain a supported data-type.Ogg muxing constraints violated, new stream before EOS of all previous streamsOpening with %s module: %s Out of memory Output options Page error, continuing Page found for stream after EOS flagPlaying: %sPlaylist options Processing failed Processing file "%s"... Processing: Cutting at %lld samples Quality option "%s" not recognised, ignoring RAW file readerReplayGain (Album):ReplayGain (Track):ReplayGain Peak (Album):ReplayGain Peak (Track):Requesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Scaling input to %f Set optional hard quality restrictions Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d Specify "." as the second output file to suppress this error. Speex version: %sSpeex, SuccessSupported options: System errorThe file format of %s is not supported. The file was encoded with a newer version of Speex. You need to upgrade in order to play it. The file was encoded with an older version of Speex. You would need to downgrade the version in order to play it.This version of libvorbisenc cannot set advanced rate management parameters Time: %sTo avoid creating an output file, specify "." as its name. Track number:TypeUnknown errorUnrecognised advanced option "%s" Usage: ogg123 [options] file ... Play Ogg audio files and network streams. Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg] Usage: oggenc [options] inputfile [...] Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv] ogginfo is a tool for printing information about Ogg files and for diagnosing problems with them. Full help shown with "ogginfo -h". Vorbis format: Version %dWARNING - line %d: failed to get UTF-8 glyph from string WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored WARNING - line %d: lyrics times must not be decreasing WARNING - line %u: missing data - truncated file? WARNING - line %u: non consecutive ids: %s - pretending not to have noticed WARNING - line %u: text is too long - truncated WARNING: Can't downmix except from stereo to mono WARNING: Could not read directory %s. WARNING: Couldn't parse scaling factor "%s" WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: EOS not set on stream %d WARNING: Ignoring illegal escape character '%c' in name format WARNING: Illegal comment used ("%s"), ignoring. WARNING: Insufficient lyrics languages specified, defaulting to final lyrics language. WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid header page in stream %d, contains multiple packets WARNING: Invalid header page, no packet found WARNING: Invalid sample rate specified, assuming 44100. WARNING: Kate support not compiled in; lyrics will not be included. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: No filename, defaulting to "%s" WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Resample rate specified as %d Hz. Did you mean %d Hz? WARNING: Unknown option specified, ignoring-> WARNING: failed to add Kate karaoke style WARNING: failed to allocate memory - enhanced LRC tag will be ignored WARNING: hole in data (%d) WARNING: illegally placed page(s) for logical stream %d This indicates a corrupt Ogg file: %s. WARNING: input file ended unexpectedly WARNING: language can not be longer than 15 characters; truncated. WARNING: maximum bitrate "%s" not recognised WARNING: minimum bitrate "%s" not recognised WARNING: no language specified for %s WARNING: nominal bitrate "%s" not recognised WARNING: quality setting too high, setting to maximum quality. WARNING: sequence number gap in stream %d. Got page %ld when expecting page %ld. Indicates missing data. WARNING: stream start flag found in mid-stream on stream %d WARNING: stream start flag not set on stream %d WARNING: subtitle %s is not valid UTF-8 Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sogg123 from %s %soggdec from %s %s oggenc from %s %s ogginfo from %s %s otherrepeat playlist forevershuffle playliststandard inputstandard outputstringvorbiscomment from %s %s by the Xiph.Org Foundation (http://www.xiph.org/) vorbiscomment from vorbis-tools vorbiscomment handles comments in the format "name=value", one per line. By default, comments are written to stdout when listing, and read from stdin when editing. Alternatively, a file can be specified with the -c option, or tags can be given on the commandline with -t "name=value". Use of either -c or -t disables reading from stdin. Project-Id-Version: vorbis-tools-1.3.0pre2 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2008-11-13 15:44+0100 Last-Translator: Erwin Poeze Language-Team: Dutch Language: nl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -V versieinformatie tonen en stoppen Gemidd. bitsnelheid: %.1f kb/s Verstreken tijd: %dm %04.1fs Coderen [%2dm%.2ds tot nu toe] %c Snelheid: %.4f [%5.1f%%] [%2dm%.2ds over] %c Bestandslengte: %dm %04.1fs Coderen bestand "%s" voltooid Coderen voltooid. Geluidsapparaat: %s Als meerdere invoerbestanden zijn opgegeven, dan zijn de voorgaande acht argumenten meermalen toepasbaar, en wel in de opgegeven volgorde. Als er minder titels dan bestanden worden opgegeven, zal OggEnc waarschuwen en de laatste titel ook voor de overgebleven bestanden gebruiken. Als er minder volgnummers opgegevens zijn, dan blijven de overgebleven bestanden ongenummerd. Als er minder teksten opgegeven zijn, dan zullen de overgebleven bestanden geen teksten bevatten. Voor de rest wordt het laatste label opnieuw gebruikt zonder waarschuwing. Op deze manier kunt u bijvoorbeeld een datum eenmalig opgeven die vervolgens voor alle bestanden wordt gebruikt. --audio-buffer n gebruik een buffergrootte van 'n' kilobytes voor de geluidsuitvoer -@ bestand, --list bestand lees afspeellijst van bestanden en URL's uit "bestand" -K n, --end n stop bij 'n' seconden (of gebruik hh:mm:ss) -R, --raw lees en schrijf commentaren in UTF-8 -R, --remote gebruikt afstandsbedieninginterface -V, --version ogg123-versie tonen -V, --version versieinformatie wegschrijven en stoppen -Z, --random speel bestanden in willekeurige volgorde tot onderbreking -b n, --buffer n gebruik een invoerbuffer van 'n' kilobytes -c file, --commentfile bestand tijdens tonen, schrijf commentaren naar het opgegeven bestand tijdens bewerken, lees commentaren van het opgegeven bestand -d app, --device app gebruik uitvoerapparaat "app". Beschikbare apparaten: -f bestand, --file bestand geef de naam van het uitvoerbestand voor een bestandsapparaat dat eerder opgegeven is met --device. -h, --help deze hulptekst tonen -k n, --skip n sla de eerste 'n' seconden over (of gebruik hh:mm:ss) -l s, --delay s eindwachttijd instellen in milliseconden. ogg123 slaat de rest van het nummer over bij SIGINT (CTRL-C) en stopt volledig bij een dubbele SIGINT binnen een tijdbestek van 's'. (standaard 500ms) -l, --list toon de commentaren (standaard bij ontbreken van opties) -o k:v, --device-option k:v geef de speciale optie 'k' met de waarde 'v' door aan het apparaat dat met --device gespecificeerd is. Kijk in ogg123-manpagina voor mogelijke 'device-options'. -p n, --prebuffer n laad n%% van de invoerbuffer vóór het afspelen -q, --quiet niets (geen titel) tonen -r, --repeat herhaal afspeellijst oneindig -t "naam=waarde", --tag "naam=waarde" specificeer een commentaarlabel op de opdrachtregel -v, --verbose voortgang en andere statusinformatie tonen -w, --write schrijf commentaren, de huidige vervangend -x n, --nth n speel ieder 'n'-de blok af -y n, --ntimes n herhaal ieder afgespeeld blok 'n' maal -z, --shuffle geef afspeellijst een willekeurige volgorde vóór het afspelen --advanced-encode-option optie=waarde stelt een uitgebreide coderingoptie op de gegeven waarde in. Geldige opties (met hun waarden) zijn beschreven in de manpagina van dit programma. Het gebruik van deze optie is bedoeld voor gevorderde gebruikers en moet met nodige voorzichtigheid geschieden. --bits, -b bitdiepte (8 en 16 worden ondersteund) --discard-comments voorkomt dat commentaar in FLAC en Ogg-FLAC-bestanden naar het Ogg-Vorbisuitvoerbestand wordt gekopieerd. --ignorelength negeer de lengte van gegevens in de Wave-koppen. Dit maakt ondersteuning van bestanden > 4GB en STDIN- gegevensstromen mogelijk. --endianness, -e uitvoer-endianness voor 16-bituitvoer; 0 voor little-endian (standaard), 1 voor big-endian. --help, -h deze hulptekst tonen. --managed inschakelen van de bitsnelheidbesturing. Dit geeft een veel grotere beheersing van de gebruikte bitsnelheid (of -snelheden). Nadeel is de traagheid van coderen. Gebruik deze optie alleen als de bitsnelheid echt onder controle moet zijn, zoals bij het stromen. --output, -o uitvoer naar opgegeven bestandsnaam. Kan alleen bij een enkel uitvoerbestand worden gebruikt, uitgezonderd ruwe uitvoer. --quiet, -Q geen uitvoer naar console. --raw, -R ruwe uitvoer (zonder kop). --resample n herindeling van de invoergegevens met monsterfrequentie n (Hz). Omzetten van stereo naar mono. Alleen toegestaan op stereoinvoer. --downmix stereo omzetten naar mono. Alleen toegestaan op stereo- invoer. -s, --serial specificeer een serienummer voor de stroom. Bij het coderen van meerdere bestanden wordt dit nummer verhoogd voor iedere volgende stroom. --sign, -s teken voor PCM-uitvoer; 0 voor tekenloos, 1 voor teken (standaard 1). --utf8 meldt oggenc dat de parameters datum, titel, album, artiest, genre en commentaar in de opdrachtregel al in UTF-8 staan. Bij Windows geldt deze optie ook voor bestandsnamen. -c, --comment=c voeg de opgegeven tekenreeks(en) toe als extra commentaar. Dit mag herhaald worden. Het argument wordt opgegeven als "label=waarde". -d, --date datum van het nummer (meestal de uitvoeringsdatum) --version, -V het versienummer tonen. -L, --lyrics voeg teksten uit het opgegeven bestand toe (.srt of .lrc-extentie) -Y, --lyrics-language specificeert de taal van de teksten. -N, --tracknum volgnummer voor dit nummer -t, --title titel van dit nummer -l, --album naam van dit album -a, --artist naam van de artiest -G, --genre genre -X, --name-remove=s verwijder de opgegeven karakters van parameters naar de -n indelingstekenreeks. Nuttig bij het verzekeren van geldige bestandsnamen. -P, --name-replace=s de door --name-remove verwijderde karakters vervangen door de opgegeven karakters. Als deze tekenreeks korter is dan die bij --name-remove of ontbreekt, dan worden de extra karakters verwijderd. Standaardinstellingen voor de beide bovenstaande argumenten zijn afhankelijk van het besturingssysteem. -b, --bitrate kies een nominale bitsnelheid voor het coderen (in kbps). Deze bitsnelheid wordt als gemiddelde nagestreeft. Standaard geeft dit een VBR-codering, gelijk aan optie -q of --quality. Zie optie --managed voor een bitsnelheid waarbij de ingestelde snelheid zelf wordt nagestreeft. -k, --skeleton voegt een Ogg-raamwerk-bitstroom toe -r, --raw ruwe modus. Invoerbestanden worden ingelezen als PCM-gegevens -B, --raw-bits=n instellen aantal bits per monster voor ruwe invoer; standaard is 16 -C, --raw-chan=n instellen aantal kanalen voor ruwe invoer; standaard is 2 -R, --raw-rate=n instellen monsterfrequentie voor ruwe invoer; standaard is 44100 --raw-endianness 1 voor big-endian, 0 voor little-endian; standaard is 0 -m, --min-bitrate geeft de ondergrens van de bitsnelheid (in kbps). Nuttig bij het coderen van een kanaal met vaste omvang. Gebruik van deze optie schakelt automatisch de bitsnel- heidbesturing in (zie --managed). -M, --max-bitrate geeft de bovengrens van de bitsnelheid (in kbps). Nuttig voor stroomapplicaties. Gebruik van deze optie schakelt automatisch de bitsnelheidbesturing in (zie --managed). -q, --quality specificeer de kwaliteit, tussen -1 (zeer laag) en 10 heel hoog), in plaats van het opgeven van een bepaalde bitsnelheid. Dit is de normale uitvoeringswijze. Deelwaarden (b.v. 2.75) zijn toegestaan. Het standaard kwaliteitsniveau is 3. Invoerbuffer %5.1f%% Benaming: -o, --output=fn schrijf bestand naar fn (alleen geldig in enkelbestand- modus) -n, --names=tekenreeks genereer bestandsnamen volgens deze tekenreeks, waarbij %%a, %%t, %%l, %%n, %%d vervangen wordt door respectievelijk artiest, titel, album, nummer en datum (zie hieronder voor de specificatie). %%%% geeft een letterlijke %%. Uitvoerbuffer %5.1f%%%s: onjuiste optie -- %c %s: onjuiste optie -- %c %s: optie `%c%s' heeft geen argumenten %s: optie `%s' is dubbelzinnig %s: optie `%s' heeft een argument nodig %s: optie `--%s' heeft geen argumenten %s: optie `-W %s' heeft geen argumenten %s: optie `-W %s' is dubbelzinnig %s: optie heeft een argument nodig -- %c %s: niet-herkende optie `%c%s' %s: niet-herkende optie `--%s' %sEOS%sgepauzeerd%sVoorloopbuffer voor %.1f%%'%s' is geen geldig UTF-8, toevoegen onmogelijk (NULL)(c) 2003-2008 Michael Smith Gebruik: ogginfo [opties] bestanden1.ogg [bestand2.ogx ... bestandN.ogv] Ondersteunde opties: -h deze hulptekst tonen -q minder informatie weergeven. Bij eenmalige gebruik verdwijnen de gedetailleerde, informatieve meldingen. Bij dubbel gebruik verdwijnen ook de waarschuwingen -v meer informatie weergeven. Dit schakelt mogelijk gedetailleerdere controles in voor sommige soorten stromen. (min. %d kbps, max. %d kbps)(min. %d kbps, geen max.)(geen onder- of bovengrens)(geen min., max. %d kbps)(geen)--- Kan bestand met afspeellijst %s niet openen. Overgeslagen. --- Kan niet elk 0de-blok afspelen! --- Kan niet elk blok 0 keer afspelen. --- Om het decoderen te testen, kunt u het null-uitvoerstuurprogramma gebruiken. --- Aangegeven stuurprogramma %s in configuratiebestand is onjuist. --- Gat in stroom; waarschijnlijk geen probleem --- Waarde voorloopbuffer is onjuist. Bereik is 0-100. 255 kanalen zouden voor iedereen genoeg moeten zijn. (Sorry, Vorbis ondersteunt niet meer) === Kan het standaardstuurprogramma niet laden en configuratiebestand bevat ook geen stuurprogramma. Stoppen. === Stuurprogramma %s is niet voor bestandsuitvoer. === Fout "%s" bij ontleden configuratieoptie van opdrachtregel. === Optie was: %s === Optie verkeerd opgegeven: %s. === Zo'n apparaat bestaat niet: %s. === Conflicterende optie: eindtijd ligt voor starttijd. === Ontleedfout: %s op regel %d van %s (%s) === Vorbisbibliotheek heeft stroomfout gerapporteerd. AIFF/AIFC-bestandslezerAuteur: %sBeschikbare codecs: Beschikbare opties: Gemiddelde bitsnelheid: %5.1fBOS niet ingesteld op eerste pagina van stroom Onjuiste opmerking: "%s" Onjuiste soort in optielijstOnjuiste waardeBig-endian,24-bit PCM-gegevens worden momenteel niet ondersteund. Afbreken. Bitsnelheid aanwijzingen: boven=%ld nominaal=%ld onder=%ld venster=%ldBitstroomfout, doorgaan Kan %s niet openen. Fout tijdens lezen kopLaagdoorlaatfrequentie gewijzigd van %f kHz naar %f kHz Opmerking:Opmerkingen: %sAuteursrechtBeschadigde of missende gegevens, doorgaan...Beschadigde tweede kop.Kon geen verwerker vinden voor stroom, afsluiten Kon niet %f seconden overslaan.Kon niet naar %f opschuiven in geluidsstroom.Kan uitvoerbestand niet sluiten kan opmerking niet naar UTF-8 omzetten, niet toegevoegd kan map "%s" niet aanmaken: %s Kan uitvoerstroom niet verwijderen aan onvoldoende geheugen voor invoerbuffering krijgen.Kan onvoldoende geheugen voor registratie van nieuwe stroomserienummer krijgen.Kan herbemonsteraar niet initialiseren Kan %s niet openen om te lezen Kan %s niet openen om te schrijven Kan knippunt "%s" niet lezen Kan pakket niet naar uitvoerbestand schrijven Knippunt niet gevonden Decodeeropties StandaardBeschrijvingKlaar.Terugbrengen stereo naar mono EOF vóór einde van Vorbiskoppen.EOF vóór herkende stroom.FOUT - regel %u: syntaxfout: %s FOUT - regel %u: eindtijd mag niet kleinere zijn dan begintijd: %s FOUT: %s heeft een uitvoerbestandsnaam nodig, op te geven met -f. FOUT: voor apparaat %s kan geen uitvoerbestanden worden gegeven. FOUT: kan slechts één invoerbestand opgegeven als het uitvoerbestand is opgegeven FOUT: kan apparaat %s niet openen. FOUT: kan bestand %s niet openen om naar te schrijven. FOUT: kan invoerbestand "%s" niet openen: %s FOUT: kan uitvoerbestand "%s" niet openen: %s FOUT: kan geen geheugen reserveren in malloc_buffer_stats() FOUT: kan geen geheugen reserveren in malloc_data_source_stats() FOUT: kon geen geheugen reserveren in malloc_decoder_stats() FOUT: kan benodigde submappen voor uitvoerbestandsnaam "%s" niet maken FOUT: kon signaalmasker niet instellen.FOUT: decoderen is mislukt. FOUT: apparaat %s werkt niet. FOUT: apparaat niet beschikbaar. FOUT: laden van %s is mislukt - kan het soort bestand niet bepalen FOUT: openen bestand als Vorbis is mislukt FOUT: kan invoerbestand niet openen: %s FOUT: kan tekstbestand %s niet openen (%s) FOUT: kan uitvoerbestand niet openen: %s FOUT: schrijven van Wave-kop is mislukt: %s FOUT: bestand %s bestaat al. FOUT: invoerbestand "%s" heeft een niet-ondersteunde indeling. FOUT: invoerbestandsnaam is gelijk aan uitvoerbestandsnaam "%s" FOUT: meerdere bestanden opgegeven bij gebruik stdin FOUT: meerdere invoerbestanden met opgegeven uitvoerbestandsnaam: probeer -n te gebruiken FOUT: Geen Ogg-gegevens gevonden in bestand "%s". Invoer is waarschijnlijk geen Ogg. FOUT: geen invoerbestand opgegeven. Gebruik -h voor hulp FOUT: geen invoerbestanden opgegeven. Gebruik -h voor hulp. FOUT: Geen tekstbestandsnaam om te laden FOUT: geheugentekort in create_playlist_member(). FOUT: geheugentekort in decoder_buffered_metadata_callback(). FOUT: geheugentekort in malloc_action(). FOUT: geheugentekort in new_audio_reopen_arg(). FOUT: geheugentekort in new_status_message_arg(). FOUT: geheugentekort in playlist_to_array(). FOUT: geheugentekort. FOUT: deze fout mag niet voorkomen (%d). Paniek! Error: kan geen invoerbuffer maken. FOUT: niet-ondersteunde optiewaarde naar %s-apparaat. FOUT: schrijven naar buffer is mislukt. Bewerkopties Het beheer van de bitratesnelheid wordt ingeschakeld Gecodeerd door: %sCoderen %s%s%s naar %s%s%s bij geschatte bitsnelheid %d kbps (met VBR-codering) Coderen %s%s%s naar %s%s%s met gemiddelde bitsnelheid %d kbps Coderen %s%s%s naar %s%s%s met kwaliteit %2.2f Coderen %s%s%s naar %s%s%s met kwaliteitsniveau %2.2f met beperkte VBR Coderen %s%s%s naar %s%s%s met bitsnelheidsbeheer Fout bij controleren op aanwezigheid van map %s: %s Fout bij openen %s met module %s. Mogelijk is het bestand beschadigd. Fout bij openen opmerkingenbestand '%s' Fout bij openen opmerkingenbestand '%s'. Fout bij openen invoerbestand "%s": %s Fout bij openen invoerbestand '%s'. Fout bij openen uitvoerbestand '%s'. Fout tijdens lezen eerste pagina van Ogg-bitstroom.Fout tijdens lezen eerste koppakket.Fout bij verwijderen tijdelijk bestand %s Fout bij verwijderen oude bestand %s Fout bij hernoemen %s naar %s Onbekende fout.Fout tijdens schrijven stroom naar uitvoer. Uitvoerstroom is mogelijk beschadigd of afgekapt.Fout bij schrijven naar bestand: %s FOUT: kon geen geluidsbuffer maken. FOUT: geheugentekort in decoder_buffered_metadata_callback(). FOUT: geheugentekort in new_print_statistics_arg(). FOUT: padsegment "%s" is geen map Voorbeelden: vorbiscomment -a in.ogg -c commentaren.txt vorbiscomment -a in.ogg -t "ARTIST=André Hazes" -t "TITLE=Zij gelooft in mij" FLAC-bestandslezerFLAC, Coderen van Kate-EOS-pakket is mislukt Coderen van Kate-kop is mislukt Coderen van karaokebeweging is mislukt - toch voorzetten Coderen van karaokestijl is mislukt - toch voorzetten Coderen van liedteksten is mislukt - toch voorzetten Conversie naar UTF-8 is mislukt: %s Openen bestand als Vorbis mislukt: %s Instellen parameters uitgebreid snelheidsbeheer is mislukt Instellen van onder- of bovengrens bitsnelheid in kwaliteitsmodus is mislukt Fout tijdens schrijven opmerkingen naar uitvoerbestand: %s Schrijven gegevens naar uitvoerstroom mislukt Schrijven van fisbone-kop naar uitvoerstroom mislukt Schrijven van fishead-pakket naar uitvoerstroom mislukt Schrijven kop naar uitvoerstroom mislukt Schrijven van raamwerk eos-pakket naar uitvoerstroom is mislukt Bestand:Bestand: %sINVOERBESTANDEN: OggEnc-invoerbestanden moeten een van de volgende typen zijn: 24-, 16-, of 8-bit-PCM-Wave, AIFF- of AIFF/C-bestanden, 32-bit-IEEE-floating-point-Wave en, optioneel, FLAC of Ogg-FLAC. Bestanden kunnen mono of stereo zijn (of meerkanaals) en kunnen iedere monsterfrequentie hebben. Als alternatief kan de --raw-optie gebruikt worden voor een ruw PCM-gegevens- bestand die 16-bit, stereo, little-endian PCM ('koploos Wave') moet zijn, behalve als er extra parameters voor de ruwe modus opgegeven zijn. U kunt stdin gebruiken door '-' als invoerbestand op te geven. In dit geval zal de uitvoer naar stdout gaan, behalve als een uitvoerbestand opgegeven is met -o. Tekstbestanden kunnen de indeling SubRip (.srt) of LRC (.lrc) hebben. Als er geen uitvoerbestand opgegeven is, zal vorbiscomment het invoerbestand aanpassen. Dit wordt uitgevoerd via een tijdelijk bestand, zodanig dat het invoerbestand ongewijzigd blijft mochten er fouten tijdens het verwerken optreden. Grootte invoerbuffer kleiner dan ondergrens van %d kB.Invoerbestandsnaam mag niet hetzelfde zijn als uitvoerbestandsnaam Invoer is geen Ogg-bitstroom.Invoer geen ogg. Invoeropties Invoer afgekapt of leeg.Interne fout bij inlezen opdrachtregelopties Interne fout bij ontleden opdrachtregelopties Interne fout bij ontleden van opdrachtopties Interne fout: niet-herkend argument Interne fout: poging om niet-ondersteunde bitdiepte %d te lezen Onjuiste/beschadigde opmerkingenSleutel niet gevondenToon of bewerk commentaar in Ogg-Vorbisbestanden. Uitvoeropties Rechtstreeks:Logische bitstromen met veranderende parameters zijn niet ondersteund Logische stroom %d geëindigd Geheugenreserveringsfout in stats_init() Diverse opties Initialiseren modus mislukt: onjuiste parameters voor bitsnelheid Initialiseren modus is mislukt: onjuiste parameters voor kwaliteit Modusnummer %d bestaat niet (meer) in deze versieGemultiplexde bitstromen zijn niet ondersteund NaamNieuwe logische stroom (#%d, serienr: %08x): type %s Geen invoerbestanden opgegeven. "ogginfo -h" voor hulp. Geen sleutelkon geen module vinden om van %s te lezen. Geen waarde gevonden voor uitgebreide codeeroptie Merk op: stroom %d heeft serienummer %d, wat toegestaan is, maar problemen met sommig gereedschap kan geven. OPTIES: Algemeen: -Q, --quiet geen uitvoer naar stderr -h, --help toon deze hulptekst -V, --version toon het versienummer Ogg-FLAC-bestandslezerOgg-Speexstroom: %d-kanaal, %d Hz, %s-modusOgg-Speexstroom: %d-kanaal, %d Hz, %s-modus (VBR)Ogg-Vorbisstroom: %d kanaal, %ld HzOgg Vorbis. Ogg-bitstroom bevat geen Vorbis-gegevens.Ogg-bitstroom bevat geen ondersteunde gegevenssoort.Randvoorwaarden Ogg-muxing overtreden, nieuwe stroom voor EOS van alle voorgaande stromenOpenen met %s-module: %s Geheugentekort Uitvoeropties Paginafout, doorgaan Pagina voor stroom na EOS-vlag gevondenAfspelen: %sOpties van afspeellijst Verwerken mislukt Verwerken bestand "%s"... Verwerken: knippen bij %lld monsters Kwaliteitsoptie "%s" wordt niet herkend en genegeerd RAW-bestandslezerHerspeelfactor (Album):Herspeelfactor (Nummer):Herspeelfactor piek (album):Herspeelfactor piek (Nummer):Een verzoek om een onder- of bovengrens van de bitsnelheid vereist --managed Herbemonsteren invoer van %d Hz naar %d Hz Invoer schalen naar %f Optionele, robuuste kwaliteitsbeperkingen instellen Instellen uitgebreide codeeroptie "%s" op %s Overslaan blok van soort "%s", lengte %d "." als tweede uitvoerbestand opgeven om deze fout te onderdrukken. Speexversie: %sSpeex, SuccesOndersteunde opties: SysteemfoutHet bestandsformaat van %s wordt niet ondersteund. Het bestand is met een nieuwere versie van Speex gecodeerd. U zult een nieuwe versie moeten gebruiken om het bestand af te spelen. Het bestand is met een oudere versie van Speex gecodeerd. U zult een oudere versie moeten gebruiken om het bestand af te spelen.Deze versie van libvorbisenc kan de parameters van uitgebreide snelheidsbeheer niet instellen Tijd: %sVoorkom het aanmaken van een uitvoerbestand door "." als naam op te geven. Spoornummer:SoortOnbekende foutNiet-herkende uitgebreide optie "%s" Gebruik: ogg123 [opties] bestand... Ogg-geluidsbestanden en -netwerkstromen afspelen. Gebruik: oggdec [opties] bestand1.ogg [bestand2.ogg ... bestandN.ogg] Gebruik: oggenc [opties] invoerbestand [...] Gebruik: ogginfo [opties] bestand1.ogg [bestand2.ogx ... bestandN.ogv] Ogginfo is een programma dat informatie weergeeft over Ogg-bestanden en helpt bij het vinden van problemen met die bestanden. Volledige hulpteksten wordt weergegeven met "ogginfo -h". Vorbisindeling: versie %dWAARSCHUWING - regel %d: ophalen van samengestelde UTF-8-karakters uit tekenreeks is mislukt WAARSCHUWING - regel %d: verwerken uitgebreid LRC-label (%*.*s) is mislukt - overgeslagen WAARSCHUWING - regel %d: tijden van teksten mogen niet afnemen WAARSCHUWING - regel %u: ontbrekende gegevens - afgekapt bestand? WAARSCHUWING: - regel %u: niet-aaneengesloten ID's: %s - doen net of het niet opgemerkt is WAARSCHUWING - regel %u: tekst is te lang - afgekapt WAARSCHUWING: kan alleen terugbrengen van stereo naar mono WAARSCHUWING: kon map %s niet lezen. WAARSCHUWING: kan schaalfactor niet ontleden "%s" WAARSCHUWING: kan endianness argument "%s" niet lezen WAARSCHUWING: kan herbemonsterfrequentie "%s" niet lezen WAARSCHUWING: EOS niet ingesteld voor stroom %d WAARSCHUWING: onjuist ontsnappingsteken '%c' wordt genegeerd in naamindeling WAARSCHUWING: ongeldige opmerking gebruikt ("%s"), genegeerd. WAARSCHUWING: te weinig teksttalen opgegeven, taal van laatste tekst wordt de standaard. WAARSCHUWING: te weinig titels opgegeven, laatste titel wordt de standaard. WAARSCHUWING: onjuiste bits/monster opgegeven, 16 wordt gekozen. WAARSCHUWING: onjuist aantal kanalen opgegeven, 2 wordt gekozen. WAARSCHUWING: onjuiste koppagina in stroom %d, bevat meerdere pakketten WAARSCHUWING: onjuiste koppagina, geen pakket gevonden WAARSCHUWING: onjuiste bemonsteringsfrequentie opgegeven, 44100 wordt gekozen. WAARSCHUWING: ondersteuning van Kate is niet meegecompileerd; teksten worden niet toegevoegd. WAARSCHUWING: meerdere vervangingsfilters van naamindelingen opgegeven, de laatste wordt gebruikt WAARSCHUWING: meerdere filters van naamindelingen opgegeven, de laatste wordt gebruikt WAARSCHUWING: meerdere naamindelingen opgegeven, de laatste wordt gebruikt WAARSCHUWING: meerdere uitvoerbestanden opgegeven, probeer -n WAARSCHUWING: geen bestandsnaam, gebruik nu als standaard "%s" WAARSCHUWING: ruw bits/monster opgegeven voor niet-ruwe gegevens. Er wordt aangenomen dat invoer ruw is. WAARSCHUWING: aanral ruwe kanalen opgegeven voor niet-ruwe gegevens. Er wordt aangenomen dat invoer ruw is. WAARSCHUWING: ruwe endianness opgegeven voor niet-ruwe gegevens. Er wordt aangenomen dat invoer ruw is. WAARSCHUWING: ruwe bemonsteringsfrequentie opgegeven voor niet-ruwe gegevens. Er wordt aangenomen dat invoer ruw is. WAARSCHUWING: herbemonsterfrequentie opgegeven als %d Hz. Bedoelde u %d Hz? WAARSCHUWING: onbekende optie opgegeven, negeren-> WAARSCHUWING: toevoegen van Kate-karaokestijl is mislukt WAARSCHUWING: geheugenreservering is mislukt - uitgebreid LRC-label wordt genegeerd WAARSCHUWING: gat in gegevens (%d) WAARSCHUWING: onjuist geplaatste pagina(s) voor logische stroom %d Dit geeft een slecht Ogg-bestand aan: %s. WAARSCHUWING: invoerbestand onverwacht geëindigd WAARSCHUWING: taal kan niet langer zijn dan 15 karakters; ingekort. WAARSCHUWING: bovengrens bitsnelheid "%s" wordt niet herkend WAARSCHUWING: ondergrens bitsnelheid "%s" wordt niet herkend WAARSCHUWING: geen taal opgegeven voor %s WAARSCHUWING: nominale bitsnelheid "%s" wordt niet herkend WAARSCHUWING: kwaliteitsinstelling te hoog, maximale kwaliteit wordt gebruikt. WAARSCHUWING: gat gevonden in volgordenummering in stroom %d. Pagina %ld ontvangen, waar %ld verwacht. Geeft ontbrekende gegevens aan. WAARSCHUWING: startaanduiding stroom gevonden midden in stroom %d WAARSCHUWING: startaanduiding stroom niet ingesteld voor stroom %d WAARSCHUWING: subtitel %s is geen geldig UTF-8 Waarschuwing van afspeellijst %s: kan map %s niet lezen. WAARSCHUWING: kon map %s niet lezen. onjuiste opmerking: "%s" boolcharstandaarduitvoerapparaatdoublefloatintgeen actie opgegeven geenvan %sogg123 uit %s %soggdec van %s %s oggenc van %s %s ogginfo van %s %s andereafspeellijst oneindig herhalenzet afspeellijst in willekeurige volgordestandaardinvoerstandaarduitvoerstringvorbiscommentaar van %s %s door de Xiph.Org Foundation (http://www.xiph.org/) vorbiscomment van vorbis-tools vorbiscomment verwerkt commentaren in de vorm "name=value", één per regel. Standaard worden commentaren tijdens het tonen naar stdout geschreven, en gelezen van stdin bij het bewerken. Als alternatief kan er op de opdrachtregel een bestand opgegeven worden met de -c-optie of labels met -t "name=value". Gebruik van -c of -t schakelt lezen van stdin uit. vorbis-tools-1.4.2/po/pl.po0000644000175000017500000027343314002243560012502 00000000000000# Polish translation for vorbis-tools. # This file is distributed under the same license as the vorbis-tools package. # Jakub Bogusz , 2008. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.3.0pre2\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2008-11-12 16:25+0100\n" "Last-Translator: Jakub Bogusz \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:118 #, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "BÅÄ„D: brak pamiÄ™ci w malloc_action().\n" #: ogg123/buffer.c:384 #, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "BÅÄ„D: nie można przydzielić pamiÄ™ci w malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 msgid "ERROR: Device not available.\n" msgstr "BÅÄ„D: urzÄ…dzenie niedostÄ™pne.\n" #: ogg123/callbacks.c:79 #, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "" "BÅÄ„D: %s wymaga podania nazwy pliku wyjÅ›ciowego przy użyciu opcji -f.\n" #: ogg123/callbacks.c:82 #, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "BÅÄ„D: nieobsÅ‚ugiwana wartość opcji dla urzÄ…dzenia %s.\n" #: ogg123/callbacks.c:86 #, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "BÅÄ„D: nie można otworzyć urzÄ…dzenia %s.\n" #: ogg123/callbacks.c:90 #, c-format msgid "ERROR: Device %s failure.\n" msgstr "BÅÄ„D: usterka urzÄ…dzenia %s.\n" #: ogg123/callbacks.c:93 #, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "BÅÄ„D: dla urzÄ…dzenia %s nie można podać pliku wyjÅ›ciowego.\n" #: ogg123/callbacks.c:96 #, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "BÅÄ„D: nie można otworzyć pliku %s do zapisu.\n" #: ogg123/callbacks.c:100 #, c-format msgid "ERROR: File %s already exists.\n" msgstr "BÅÄ„D: plik %s już istnieje.\n" #: ogg123/callbacks.c:103 #, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "BÅÄ„D: ten błąd nie powinien nigdy wystÄ…pić (%d). Ratunku!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "BÅÄ„D: brak pamiÄ™ci w new_audio_reopen_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "Błąd: brak pamiÄ™ci w new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "BÅÄ„D: brak pamiÄ™ci w new_status_message_arg().\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Błąd: brak pamiÄ™ci w decoder_buffered_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "BÅÄ„D: brak pamiÄ™ci w decoder_buffered_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "Błąd systemowy" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Błąd analizy: %s w linii %d pliku %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Nazwa" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "Opis" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Typ" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Wartość domyÅ›lna" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "brak" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "logiczny" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "znak" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "Å‚aÅ„cuch" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "caÅ‚kowity" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "float" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "double" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "inny" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(NULL)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(brak)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "Sukces" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Nie znaleziono klucza" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Brak klucza" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "Błędna wartość" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "Błędny typ w liÅ›cie opcji" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "Nieznany błąd" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "Błąd wewnÄ™trzny podczas analizy opcji linii poleceÅ„.\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Rozmiar bufora wejÅ›ciowego mniejszy niż minimalny rozmiar %dkB." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Błąd \"%s\" podczas analizy opcji konfiguracyjnych z linii poleceÅ„.\n" "=== Opcja to: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "DostÄ™pne opcje:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== Nie ma takiego urzÄ…dzenia %s.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== Sterownik %s nie jest sterownikiem wyjÅ›cia do pliku.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "=== Nie można podać pliku wyjÅ›ciowego bez okreÅ›lenia sterownika.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Niepoprawny format opcji: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Błędna wartość wypeÅ‚nienia bufora. PrzedziaÅ‚ to 0-100.\n" #: ogg123/cmdline_options.c:202 #, c-format msgid "ogg123 from %s %s" msgstr "ogg123 z pakietu %s %s" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Nie można odtwarzać każdego co 0. fragmentu!\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Nie można odtwarzać każdego fragmentu 0 razy.\n" "--- Aby zdekodować testowo należy użyć sterownika wyjÅ›ciowego null.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "--- Nie można otworzyć pliku listy odtwarzania %s. PominiÄ™to.\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "=== Konflikt opcji: czas koÅ„ca wczeÅ›niejszy niż czas poczÄ…tku.\n" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- Sterownik %s podany w pliku konfiguracyjnym jest błędny.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Nie można wczytać domyÅ›lnego sterownika, a w pliku konfiguracyjnym nie " "okreÅ›lono sterownika. ZakoÅ„czenie.\n" #: ogg123/cmdline_options.c:307 #, fuzzy, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" "ogg123 z pakietu %s %s\n" " autorstwa Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" "SkÅ‚adnia: ogg123 [opcje] plik ...\n" "Odtwarzanie plików dźwiÄ™kowych i strumieni sieciowych Ogg.\n" "\n" #: ogg123/cmdline_options.c:314 #, c-format msgid "Available codecs: " msgstr "DostÄ™pne kodeki: " #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "FLAC, " #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "Speex, " #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" "Ogg Vorbis.\n" "\n" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "Opcje wyjÅ›cia\n" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" " -d urz, --device urz Użycie urzÄ…dzenia wyjÅ›ciowego \"urz\". DostÄ™pne:\n" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "Na żywo:" #: ogg123/cmdline_options.c:342 #, c-format msgid "File:" msgstr "Plikowe:" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" " -f plik, --file plik Ustawienie nazwy pliku wyjÅ›ciowego dla urzÄ…dzeÅ„\n" " plikowych okreÅ›lonych przez --device.\n" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" " --audio-buffer n Użycie n-kilobajtowego bufora wyjÅ›cia dźwiÄ™ku\n" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" " -o k:w, --device-option k:w\n" " Przekazanie opcji specjalnej 'k' o wartoÅ›ci 'v'\n" " do urzÄ…dzenia okreÅ›lonego przez --device.\n" " DostÄ™pne opcje można znaleźć na stronie manuala " "do\n" " ogg123.\n" #: ogg123/cmdline_options.c:361 #, c-format msgid "Playlist options\n" msgstr "Opcje listy odtwarzania\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" " -@ plik, --list plik Odczyt listy odtwarzania plików i URL-i z \"pliku" "\"\n" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr " -r, --repeat NieskoÅ„czone powtarzanie listy odtwarzania\n" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr " -R, --remote Użycie interfejsu zdalnego sterowania\n" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" " -z, --shuffle Przemieszanie listy plików przed odtwarzaniem\n" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr " -Z, --random Odtwarzanie plików losowo aż do przerwania\n" #: ogg123/cmdline_options.c:369 #, c-format msgid "Input options\n" msgstr "Opcje wejÅ›cia\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr " -b n, --buffer n Użycie n-kilobajtowego bufora wejÅ›cia\n" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" " -p n, --prebuffer n Wczytanie n%% bufora wejÅ›cia przed odtwarzaniem\n" #: ogg123/cmdline_options.c:374 #, c-format msgid "Decode options\n" msgstr "Opcje dekodowania\n" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" " -k n, --skip n PominiÄ™cie pierwszych n sekund (lub hh:mm:ss)\n" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr " -K n, --end n ZakoÅ„czenie po n sekundach (lub hh:mm:ss)\n" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr " -x n, --nth n Odtwarzanie każdego co n-tego bloku\n" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr " -y n, --ntimes n Powtarzanie każdego bloku n razy\n" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, c-format msgid "Miscellaneous options\n" msgstr "Opcje różne\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" " -l s, --delay s Ustawienie czasu zakoÅ„czenia w milisekundach.\n" " ogg123 przechodzi do nastÄ™pnego utworzy po\n" " odebraniu SIGINT (Ctrl-C), a koÅ„czy dziaÅ‚anie\n" " po odebraniu dwóch SIGINTów w ciÄ…gu okreÅ›lonego\n" " czasu 's' (domyÅ›lnie 500 ms).\n" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr " -h, --help WyÅ›wietlenie tego opisu\n" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr " -q, --quiet Nie wyÅ›wietlanie niczego (brak tytuÅ‚u)\n" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" " -v, --verbose WyÅ›wietlanie informacji o postÄ™pie i stanie\n" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr " -V, --version Wypisanie numeru wersji ogg123\n" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, c-format msgid "ERROR: Out of memory.\n" msgstr "BÅÄ„D: brak pamiÄ™ci.\n" #: ogg123/format.c:90 #, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "BÅÄ„D: nie można przydzielić pamiÄ™ci w malloc_decoder_stats()\n" #: ogg123/http_transport.c:145 msgid "ERROR: Could not set signal mask." msgstr "BÅÄ„D: nie udaÅ‚o siÄ™ ustawić maski sygnałów." #: ogg123/http_transport.c:202 msgid "ERROR: Unable to create input buffer.\n" msgstr "BÅÄ„D: nie można utworzyć bufora wejÅ›cia.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "domyÅ›lne urzÄ…dzenie wyjÅ›ciowe" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "przemieszanie listy odtwarzania" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "wieczne powtarzanie listy odtwarzania" #: ogg123/ogg123.c:230 #, c-format msgid "Could not skip to %f in audio stream." msgstr "Nie udaÅ‚o siÄ™ przemieÅ›cić do %f w strumieniu dźwiÄ™kowym." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "UrzÄ…dzenie dźwiÄ™kowe: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Autor: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "Komentarze: %s" #: ogg123/ogg123.c:421 #, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "UWAGA: nie udaÅ‚o siÄ™ odczytać katalogu %s.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Błąd: nie udaÅ‚o siÄ™ utworzyć bufora dźwiÄ™ku.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Nie odnaleziono moduÅ‚u do wczytania z %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Nie można otworzyć %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Format pliku %s nie jest obsÅ‚ugiwany.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "Błąd otwierania %s przy użyciu moduÅ‚u %s. Plik może być uszkodzony.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "Odtwarzanie: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Nie udaÅ‚o siÄ™ przeskoczyć %f sekund dźwiÄ™ku." #: ogg123/ogg123.c:666 msgid "ERROR: Decoding failure.\n" msgstr "BÅÄ„D: niepowodzenie dekodowania.\n" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "BÅÄ„D: zapis do bufora nie powiódÅ‚ siÄ™.\n" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Gotowe." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Dziura w strumieniu; prawdopodobnie nieszkodliwa\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== Biblioteka Vorbis zgÅ‚osiÅ‚a błąd strumienia.\n" #: ogg123/oggvorbis_format.c:361 #, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "StrumieÅ„ Ogg Vorbis: %d kanałów, %ld Hz" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "Format Vorbis: wersja %d" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "Podpowiedzi bitrate: wyższy=%ld nominalny=%ld niższy=%ld okno=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Zakodowano przez: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "BÅÄ„D: brak pamiÄ™ci w create_playlist_member().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Uwaga: nie udaÅ‚o siÄ™ odczytać katalogu %s.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "Uwaga z listy odtwarzania %s: nie udaÅ‚o siÄ™ odczytać katalogu %s.\n" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "BÅÄ„D: brak pamiÄ™ci w playlist_to_array().\n" #: ogg123/speex_format.c:366 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "StrumieÅ„ Ogg Speex: %d kanałów, %d Hz, tryb %s (VBR)" #: ogg123/speex_format.c:372 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "StrumieÅ„ Ogg Speex: %d kanałów, %d Hz, tryb %s" #: ogg123/speex_format.c:378 #, c-format msgid "Speex version: %s" msgstr "Wersja Speex: %s" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "Błędne/uszkodzone komentarze" #: ogg123/speex_format.c:478 msgid "Cannot read header" msgstr "Nie można odczytać nagłówka" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "Tryb numer %d nie istnieje (już) w tej wersji" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" "Ten plik zostaÅ‚ zakodowany nowszÄ… wersjÄ… kodeka Speex.\n" " Aby go odtworzyć konieczne jest uaktualnienie.\n" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" "Ten plik zostaÅ‚ zakodowany starszÄ… wersjÄ… kodeka Speex.\n" "Aby go odtworzyć konieczne jest cofniÄ™cie wersji." #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sWypeÅ‚nianie bufora do %.1f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sPauza" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Błąd przydzielania pamiÄ™ci w stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Plik: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "Czas: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "z %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "Åšrednie bitrate: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " Bufor wejÅ›cia %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " Bufor wyjÅ›cia %5.1f%%" #: ogg123/transport.c:71 #, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "BÅÄ„D: nie udaÅ‚o siÄ™ przydzielić pamiÄ™ci w malloc_data_source_stats()\n" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "Numer Å›cieżki:" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain (Reference loudness):" msgstr "ReplayGain (Åšcieżka):" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "ReplayGain (Åšcieżka):" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "ReplayGain (Album):" #: ogg123/vorbis_comments.c:45 msgid "ReplayGain Peak (Track):" msgstr "ReplayGain Peak (Åšcieżka):" #: ogg123/vorbis_comments.c:46 msgid "ReplayGain Peak (Album):" msgstr "ReplayGain Peak (Album):" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "Prawa autorskie" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 msgid "Comment:" msgstr "Komentarz:" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, c-format msgid "oggdec from %s %s\n" msgstr "oggdec z pakietu %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, fuzzy, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" " autorstwa Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" #: oggdec/oggdec.c:59 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" "SkÅ‚adnia: oggdec [opcje] plik1.ogg [plik2.ogg ... plikN.ogg]\n" "\n" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "ObsÅ‚ugiwane opcje:\n" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr " --quiet, -Q Tryb cichy. Brak wyjÅ›cia na terminal.\n" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr " --help, -h WyÅ›wietlenie tego opisu.\n" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr " --version, -V Wypisanie numeru wersji.\n" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr " --bits, -b Liczba bitów na wyjÅ›ciu (obsÅ‚ugiwane 8 i 16)\n" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" " --endianness, -e Kolejność bajtów na 16-bitowym wyjÅ›ciu; 0 to\n" " little-endian (domyÅ›lne), 1 big-endian.\n" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" " --sign, -s Znak dla wyjÅ›cia PCM; 0 to brak znaku, 1 ze\n" " znakiem (domyÅ›lne 1).\n" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr " --raw, -R WyjÅ›cie surowe (bez nagłówka).\n" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" " --output, -o WyjÅ›cie do podanego pliku. Może być użyte\n" " tylko jeÅ›li podano jeden plik wejÅ›ciowy,\n" " z wyjÄ…tkiem trybu surowego.\n" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "Błąd wewnÄ™trzny: nierozpoznany argument\n" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "BÅÄ„D: nie udaÅ‚o siÄ™ zapisać nagłówka Wave: %s\n" #: oggdec/oggdec.c:197 #, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "BÅÄ„D: nie udaÅ‚o siÄ™ otworzyć pliku wejÅ›ciowego: %s\n" #: oggdec/oggdec.c:219 #, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "BÅÄ„D: nie udaÅ‚o siÄ™ otworzyć pliku wyjÅ›ciowego: %s\n" #: oggdec/oggdec.c:268 #, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "BÅÄ„D: nie udaÅ‚o siÄ™ otworzyć wejÅ›cia jako Vorbis\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "ZakoÅ„czono kodowanie pliku \"%s\"\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "standardowego wejÅ›cia" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "standardowego wyjÅ›cia" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" "Logiczne strumienie bitowe o zmiennych parametrach nie sÄ… obsÅ‚ugiwane\n" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "UWAGA: dziura w danych (%d)\n" #: oggdec/oggdec.c:339 #, c-format msgid "Error writing to file: %s\n" msgstr "Błąd zapisu do pliku: %s\n" #: oggdec/oggdec.c:384 #, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "BÅÄ„D: nie podano plików wejÅ›ciowych. Opcja -h wyÅ›wietla pomoc\n" #: oggdec/oggdec.c:389 #, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "BÅÄ„D: jeÅ›li okreÅ›lono nazwÄ™ pliku wyjÅ›ciowego, można podać tylko jeden plik " "wejÅ›ciowy\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "Czytnik plików RAW" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "Czytnik plików AIFF/AIFC" #: oggenc/audio.c:50 msgid "FLAC file reader" msgstr "Czytnik plików FLAC" #: oggenc/audio.c:51 msgid "Ogg FLAC file reader" msgstr "Czytnik plików Ogg FLAC" #: oggenc/audio.c:129 oggenc/audio.c:459 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "UWAGA: nieoczekiwany EOF podczas odczytu nagłówka Wave\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "PominiÄ™to fragment typu \"%s\" o dÅ‚ugoÅ›ci %d\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "UWAGA: nieoczekiwany EOF we fragmencie AIFF\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "UWAGA: nie znaleziono ogólnego fragmentu w pliku AIFF\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "UWAGA: skrócony ogólny fragment w nagłówku AIFF\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "UWAGA: nieoczekiwany EOF podczas odczytu nagłówka AIFF\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "UWAGA: skrócony ogólny fragment w nagłówku AIFF\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "UWAGA: skrócony nagłówek AIFF-C.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "UWAGA: nie można obsÅ‚użyć skompresowanego AIFF-C (%c%c%c%c)\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "UWAGA: nie znaleziono fragmentu SSND w pliku AIFF\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "UWAGA: uszkodzony fragment SSND w nagłówku AIFF\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "UWAGA: nieoczekiwany EOF podczas odczytu nagłówka AIFF\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "UWAGA: oggenc nie obsÅ‚uguje tego rodzaju plików AIFF/AIFC\n" " Plik musi być 8- lub 16-bitowym PCM.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "UWAGA: nierozpoznany fragment formatu w nagłówku Wave\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "UWAGA: nieprawidÅ‚owy fragment formatu w nagłówku Wave.\n" " Próba odczytu mimo to (może siÄ™ nie udać)...\n" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "BÅÄ„D: plik Wave nieobsÅ‚ugiwanego typu (musi być standardowym PCM\n" " lub zmiennoprzecinkowym PCM typu 3)\n" #: oggenc/audio.c:546 #, fuzzy, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" "UWAGA: wartość 'block alignment' WAV jest niepoprawna, zignorowano.\n" "Program, który utworzyÅ‚ ten plik, jest niepoprawny.\n" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "BÅÄ„D: plik Wav jest w nieobsÅ‚ugiwanym podformacie (musi być 8-, 16-, 24-\n" "lub 32-bitowym PCM albo zmiennoprzecinkowym PCM)\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "24-bitowe dane PCM big-endian nie sÄ… obecnie obsÅ‚ugiwane, przerwano.\n" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" "Błąd wewnÄ™trzny: próba odczytu nieobsÅ‚ugiwanej rozdzielczoÅ›ci bitowej %d\n" #: oggenc/audio.c:799 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "BÅÄ„D: Otrzymano zero próbek z resamplera; plik może być uciÄ™ty. ProszÄ™ to " "zgÅ‚osić.\n" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "Nie udaÅ‚o siÄ™ zainicjować resamplera\n" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "Ustawianie zaawansowanej opcji kodera \"%s\" na %s\n" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "Ustawianie zaawansowanej opcji kodera \"%s\" na %s\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "Zmieniono czÄ™stotliwość dolnoprzepustowÄ… z %f kHz na %f kHz\n" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "Nierozpoznana opcja zaawansowana \"%s\"\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" "Nie udaÅ‚o siÄ™ ustawić zaawansowanych parametrów zarzÄ…dzania prÄ™dkoÅ›ciÄ…\n" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" "Ta wersja libvorbisenc nie potrafi ustawiać zaawansowanych parametrów " "zarzÄ…dzania prÄ™dkoÅ›ciÄ…\n" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "UWAGA: nie udaÅ‚o siÄ™ dodać stylu karaoke Kate\n" #: oggenc/encode.c:238 #, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" "255 kanałów powinno wystarczyć każdemu (niestety Vorbis nie obsÅ‚uguje " "wiÄ™cej)\n" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "Żądanie minimalnego lub maksymalnego bitrate wymaga --managed\n" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "Inicjalizacja trybu nie powiodÅ‚a siÄ™: błędne parametry jakoÅ›ci\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "Ustawiono opcjonalne twarde restrykcje jakoÅ›ci\n" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" "Nie udaÅ‚o siÄ™ ustawić minimalnego/maksymalnego bitrate w trybie jakoÅ›ci\n" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "Inicjalizacja trybu nie powiodÅ‚a siÄ™: błędne parametry bitrate\n" #: oggenc/encode.c:374 #, c-format msgid "WARNING: no language specified for %s\n" msgstr "UWAGA: nie podano jÄ™zyka dla %s\n" #: oggenc/encode.c:396 msgid "Failed writing fishead packet to output stream\n" msgstr "Nie udaÅ‚o siÄ™ zapisać pakietu fishead do strumienia wyjÅ›ciowego\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "Nie udaÅ‚o siÄ™ zapisać nagłówka do strumienia wyjÅ›ciowego\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "Nie udaÅ‚o siÄ™ zdekodować nagłówka Kate\n" #: oggenc/encode.c:455 oggenc/encode.c:462 msgid "Failed writing fisbone header packet to output stream\n" msgstr "Nie udaÅ‚o siÄ™ zapisać nagłówka fisbone do strumienia wyjÅ›ciowego\n" #: oggenc/encode.c:510 msgid "Failed writing skeleton eos packet to output stream\n" msgstr "" "Nie udaÅ‚o siÄ™ zapisać pakietu szkieletu eos do strumienia wyjÅ›ciowego\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "Nie udaÅ‚o siÄ™ zakodować stylu karaoke - kontynuacja\n" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "Nie udaÅ‚o siÄ™ zakodować ruchu karaoke - kontynuacja\n" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "Nie udaÅ‚o siÄ™ zakodować tekstu - kontynuacja\n" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "Nie udaÅ‚o siÄ™ zapisać danych do strumienia wyjÅ›ciowego\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "Nie udalo siÄ™ zakodować pakietu Kate EOS\n" #: oggenc/encode.c:716 #, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [pozostaÅ‚o %2dm%.2ds] %c " #: oggenc/encode.c:726 #, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tKodowanie [%2dm%.2ds gotowe] %c " #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "ZakoÅ„czono kodowanie pliku \"%s\"\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "ZakoÅ„czono kodowanie.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tDÅ‚ugość pliku: %dm %04.1fs\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tCzas miniony: %dm %04.1fs\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tWspółczynnik: %.4f\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tÅšrednie bitrate: %.1f kb/s\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "(min %d kb/s, max %d kb/s)" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "(min %d kb/s, brak max)" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "(brak min, max %d kb/s)" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "(brak min i max)" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Kodowanie %s%s%s do \n" " %s%s%s \n" "ze Å›rednim bitrate %d kbps " #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Kodowanie %s%s%s do \n" " %s%s%s \n" "z przybliżonym bitrate %d kbps (włączone kodowanie VBR)\n" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Kodowanie %s%s%s do \n" " %s%s%s \n" "z poziomem jakoÅ›ci %2.2f przy użyciu ograniczonego VBR " #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Kodowanie %s%s%s do \n" " %s%s%s \n" "z jakoÅ›ciÄ… %2.2f\n" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Kodowanie %s%s%s do \n" " %s%s%s \n" "przy użyciu zarzÄ…dzania bitrate " #: oggenc/lyrics.c:66 #, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "Nie udaÅ‚o siÄ™ przeksztaÅ‚cić do UTF-8: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, c-format msgid "Out of memory\n" msgstr "Brak pamiÄ™ci\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "UWAGA: podpis %s nie jest poprawnym UTF-8\n" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "BÅÄ„D w linii %u: błąd skÅ‚adni: %s\n" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "UWAGA w linii %u: nieciÄ…gÅ‚e identyfikatory: %s - zignorowano\n" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" "BÅÄ„D w linii %u: czas koÅ„ca nie może być mniejszy niż czas poczÄ…tku: %s\n" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "UWAGA w linii %u: tekst zbyt dÅ‚ugi - uciÄ™to\n" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "UWAGA w linii %u: brak danych - uciÄ™ty plik?\n" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "UWAGA w linii %d: czas w tekÅ›cie nie może siÄ™ zmniejszać\n" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "UWAGA w linii %d: nie udaÅ‚o siÄ™ pobrać glifu UTF-8 z Å‚aÅ„cucha\n" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" "UWAGA w linii %d: nie udaÅ‚o siÄ™ przetworzyć rozszerzonego znacznika LRC " "(%*.*s) - zignorowano\n" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" "UWAGA: nie udaÅ‚o siÄ™ przydzielić pamiÄ™ci - rozszerzony znacznik LRC bÄ™dzie " "zignorowany\n" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "BÅÄ„D: brak nazwy pliku do wczytania tekstu\n" #: oggenc/lyrics.c:425 #, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "BÅÄ„D: nie udaÅ‚o siÄ™ otworzyć pliku tekstu: %s (%s)\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "BÅÄ„D: nie udaÅ‚o siÄ™ wczytać %s - nie można okreÅ›lić formatu\n" #: oggenc/oggenc.c:113 msgid "RAW file reader" msgstr "Czytnik plików RAW" #: oggenc/oggenc.c:131 #, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "BÅÄ„D: nie podano plików wejÅ›ciowych. Opcja -h wyÅ›wietla pomoc.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "BÅÄ„D: podano wiele plików jednoczeÅ›nie z użyciem stdin\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "BÅÄ„D: wiele plików wejÅ›ciowych z okreÅ›lonÄ… nazwÄ… pliku wyjÅ›ciowego: " "należaÅ‚oby użyć -n\n" #: oggenc/oggenc.c:217 #, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" "UWAGA: podano za maÅ‚o jÄ™zyków tekstów, przyjÄ™cie ostatniego jÄ™zyka jako " "domyÅ›lnego.\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "BÅÄ„D: nie można otworzyć pliku wejÅ›ciowego \"%s\": %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Otwieranie przy użyciu moduÅ‚u %s: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "BÅÄ„D: plik wejÅ›ciowy \"%s\" nie jest w obsÅ‚ugiwanym formacie\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "BÅÄ„D: plik wejÅ›ciowy \"%s\" nie jest w obsÅ‚ugiwanym formacie\n" #: oggenc/oggenc.c:349 #, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "UWAGA: brak nazwy pliku, przyjÄ™cie domyÅ›lnej \"%s\"\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "BÅÄ„D: nie udaÅ‚o siÄ™ utworzyć wymaganych podkatalogów dla pliku wyjÅ›ciowego " "\"%s\"\n" #: oggenc/oggenc.c:363 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "BÅÄ„D: nazwa pliku wejÅ›ciowego jest taka sama jak wyjÅ›ciowego \"%s\"\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "BÅÄ„D: nie udaÅ‚o siÄ™ otworzyć pliku wyjÅ›ciowego \"%s\": %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "Resamplowanie wejÅ›cia z %d Hz do %d Hz\n" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "Miksowanie stereo do mono\n" #: oggenc/oggenc.c:441 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "UWAGA: nie można miksować inaczej niż ze stereo do mono\n" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "Skalowanie wejÅ›cia do %f\n" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, c-format msgid "oggenc from %s %s\n" msgstr "oggenc z pakietu %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" "SkÅ‚adnia: oggenc [opcje] plik_wejÅ›ciowy [...]\n" "\n" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" "OPCJE:\n" " Ogólne:\n" " -Q, --quiet Brak wyjÅ›cia na stderr\n" " -h, --help WyÅ›wietlenie tego opisu\n" " -V, --version Wypisanie numeru wersji\n" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" " -k, --skeleton Dodanie strumienia bitowego Ogg Skeleton\n" " -r, --raw Tryb surowy; pliki wejÅ›ciowe sÄ… czytane jako dane PCM\n" " -B, --raw-bits=n Ustawienie bitów/próbkÄ™ dla trybu surowego; domyÅ›lnie " "16\n" " -C, --raw-chan=n Ustawienie liczby kanałów dla trybu surowego; " "domyÅ›lnie 2\n" " -R, --raw-rate=n Ustawienie próbek/s dla trybu surowego; domyÅ›lnie " "44100\n" " --raw-endianness 1 dla big-endian, 0 dla little (domyÅ›lnie 0)\n" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" " -b, --bitrate Wybór minimalnej Å›redniej bitowej (bitrate) do " "kodowania.\n" " Próba kodowania z takÄ… Å›redniÄ… w kbps. DomyÅ›lnie\n" " wybierane jest kodowanie VBR, odpowiadajÄ…ce użyciu\n" " -q lub --quality. Do wyboru konkretnego bitrate\n" " sÅ‚uży opcja --managed.\n" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" " --managed Włączenie silnika zarzÄ…dzania bitrate. Pozwala on na\n" " znacznie wiÄ™kszÄ… kontrolÄ™ nad dokÅ‚adnym użytym " "bitrate,\n" " ale kodowanie jest znacznie wolniejsze. Nie należy\n" " używać tej opcji, chyba że istnieje silna potrzeba\n" " szczegółowej kontroli nad bitrate, na przykÅ‚ad do\n" " przesyÅ‚ania strumieni.\n" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" " -m, --min-bitrate OkreÅ›lenie minimalnego bitrate (w kbps). Przydatne do\n" " kodowania dla kanałów staÅ‚ego rozmiaru. Użycie tej\n" " opcji automatycznie włączy tryb zarzÄ…dzania bitrate\n" " (p. --managed).\n" " -M, --max-bitrate OkreÅ›lenie maksymalnego bitrate w kbps. Przydatne do\n" " aplikacji nadajÄ…cych strumienie. Użycie tej opcji\n" " automatycznie włączy tryb zarzÄ…dzania bitrate\n" " (p. --managed).\n" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" " --advanced-enable-option opcja=wartość\n" " Ustawienie zaawansowanej opcji kodera na podanÄ… " "wartość.\n" " Poprawne opcje (i ich wartoÅ›ci) sÄ… opisane na stronie\n" " manuala dołączonej do tego programu. SÄ… przeznaczone\n" " tylko dla zaawansowanych użytkowników i powinny być\n" " używane z rozwagÄ….\n" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" " -q, --quality OkreÅ›lenie jakoÅ›ci od -1 (bardzo niskiej) do 10 " "(bardzo\n" " wysokiej) zamiast okreÅ›lania konkretnego bitrate.\n" " Jest to zwykÅ‚y tryb pracy.\n" " Dopuszczalne sÄ… jakoÅ›ci uÅ‚amkowe (np. 2.75).\n" " DomyÅ›lny poziom jakoÅ›ci to 3.\n" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" " --resample n Przesamplowanie danych wejÅ›ciowych do n Hz\n" " --downmix Zmiksowanie stereo do mono. Dopuszczalne tylko dla\n" " wejÅ›cia stereo.\n" " -s, --serial OkreÅ›lenie numeru seryjnego strumienia. JeÅ›li " "kodowane\n" " jest wiele plików, numer bÄ™dzie zwiÄ™kszany dla " "każdego\n" " kolejnego strumienia.\n" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" " --discard-comments Wyłączenie kopiowania komentarzy z plików FLAC i Ogg " "FLAC\n" " do pliku wyjÅ›ciowego Ogg Vorbis.\n" " --ignorelength Ignorowanie nagłówków datalength w nagłówkach Wave.\n" " Pozwala to na obsÅ‚ugÄ™ plików >4GB i strumieni danych " "ze\n" " standardowego wejÅ›cia.\n" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" " Nazwy:\n" " -o, --output=nazwa Zapis pliku pod nazwÄ… (poprawne tylko dla jednego " "pliku)\n" " -n, --names=Å‚aÅ„cuch Tworzenie nazw plików w oparciu o Å‚aÅ„cuch, z %%a, %%t, " "%%l,\n" " %%n, %%d zastÄ™powanym odpowiednio artystÄ…, tytuÅ‚em,\n" " albumem, numerem Å›cieżki i datÄ… (poniżej ich " "okreÅ›lenie).\n" " %%%% daje znak %%.\n" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" " -X, --name-remove=s UsuniÄ™cie okreÅ›lonych znaków z parametrów Å‚aÅ„cucha\n" " formatujÄ…cego -n. Przydatne do zapewnienia " "dopuszczalnych\n" " nazw plików.\n" " -P, --name-replace=s ZastÄ…pienie znaków usuniÄ™tych przez --name-remove\n" " podanymi znakami. JeÅ›li Å‚aÅ„cuch jest krótszy niż " "lista\n" " --name-remove lub go nie podano, dodatkowe znaki sÄ…\n" " po prostu usuwane.\n" " DomyÅ›lne ustawienia tych dwóch argumentów sÄ… zależne " "od\n" " platformy.\n" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" " --utf8 Przekazanie oggenc, że parametry linii poleceÅ„ z " "datÄ…,\n" " tytuÅ‚em, albumem, artystÄ…, gatunkiem i komentarzem już " "sÄ…\n" " w UTF-8. Pod Windows odnosi siÄ™ to także do nazw " "plików.\n" " -c, --comment=kom Dodanie okreÅ›lonego Å‚aÅ„cucha jako dodatkowego " "komentarza.\n" " Opcja może być użyta wiele razy. Argument powinien " "być\n" " w postaci \"znacznik=wartość\".\n" " -d, --date Data dla Å›cieżki (zwykle data wykonania)\n" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" " -N, --tracknum Numer tej Å›cieżki\n" " -t, --title TytuÅ‚ tej Å›cieżki\n" " -l, --album Nazwa albumu\n" " -a, --artist Nazwa artysty\n" " -G, --genre Gatunek Å›cieżki\n" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" " -L, --lyrics Dołączenie tekstu z podanego pliku (format .srt lub ." "lrc)\n" " -Y, --lyrucs-language Ustawienie jÄ™zyka tekstu utworu\n" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" " JeÅ›li podano wiele plików wejÅ›ciowych, używane bÄ™dÄ…\n" " kolejne instancje poprzednich piÄ™ciu argumentów w\n" " kolejnoÅ›ci podania. JeÅ›li podano mniej tytułów niż\n" " plików, OggEnc wypisze ostrzeżenie i użyje ostatnich\n" " wartoÅ›ci dla pozostaÅ‚ych plików. JeÅ›li podano mniej\n" " numerów Å›cieżek, pozostaÅ‚e pliki bÄ™dÄ… nie " "ponumerowane.\n" " JeÅ›li podano mniej tekstów, pozostaÅ‚e pliki nie bÄ™dÄ…\n" " miaÅ‚y dołączonych tekstów. Dla pozostaÅ‚ych opcji " "ostatnia\n" " wartość znacznika bÄ™dzie używana dla pozostaÅ‚ych " "plików\n" " bez ostrzeżenia (można wiÄ™c podać np. datÄ™ raz dla\n" " wszystkich plików)\n" "\n" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" "PLIKI WEJÅšCIOWE:\n" " Pliki wejÅ›ciowe dla programu OggEnc aktualnie muszÄ… być 24-, 16- lub\n" " 8-bitowymi plikami PCM Wave, AIFF lub AIFF/C, 32-bitowymi " "zmiennoprzecinkowymi\n" " IEEE plikami Wave i opcjonalnie plikami FLAC lub Ogg FLAC. Pliki mogÄ… być " "mono\n" " lub stereo (lub o wiÄ™kszej liczbie kanałów) i o dowolnej czÄ™stotliwoÅ›ci\n" " próbkowania.\n" " Alternatywnie można użyć opcji --raw dla surowego pliku wejÅ›ciowego PCM,\n" " który musi być 16-bitowym, stereofonicznym PCM little-endian (Wave bez\n" " nagłówka), chyba że podano dodatkowe opcje dla trybu surowego.\n" " Można wymusić pobranie pliku ze standardowego wejÅ›cia przekazujÄ…c opcjÄ™ -\n" " jako nazwÄ™ pliku wejÅ›ciowego. W tym trybie wyjÅ›ciem jest standardowe " "wyjÅ›cie,\n" " chyba że podano nazwÄ™ pliku wyjÅ›ciowego opcjÄ… -o.\n" " Pliki tekstów utworów mogÄ… być w formacie SubRip (.srt) lub LRC (.lrc).\n" "\n" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "UWAGA: zignorowano niedozwolony znak specjalny '%c' w formacie nazwy\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Włączono silnik zarzÄ…dzania bitrate\n" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "UWAGA: podano surowÄ… kolejność bajtów dla plików niesurowych; przyjÄ™cie " "wejÅ›cia surowego.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "UWAGA: nie udaÅ‚o siÄ™ odczytać argumentu kolejnoÅ›ci bajtów \"%s\"\n" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "UWAGA: nie udaÅ‚o siÄ™ odczytać czÄ™stotliwoÅ›ci resamplowania \"%s\"\n" #: oggenc/oggenc.c:773 #, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" "UWAGA: czÄ™stotliwość resamplowania podano jako %d Hz. Nie miaÅ‚o być %d Hz?\n" #: oggenc/oggenc.c:784 #, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "UWAGA: nie udaÅ‚o siÄ™ przeanalizować współczynnika skalowania \"%s\"\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "Nie odnaleziono wartoÅ›ci zaawansowanej opcji kodera\n" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "Błąd wewnÄ™trzny podczas analizy opcji linii poleceÅ„\n" #: oggenc/oggenc.c:831 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "UWAGA: użyto niedozwolonego komentarza (\"%s\"), zignorowano.\n" #: oggenc/oggenc.c:870 #, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "UWAGA: nierozpoznane nominalne bitrate \"%s\"\n" #: oggenc/oggenc.c:878 #, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "UWAGA: nierozpoznane minimalne bitrate \"%s\"\n" #: oggenc/oggenc.c:892 #, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "UWAGA: nierozpoznane maksymalne bitrate \"%s\"\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Nierozpoznana opcja jakoÅ›ci \"%s\", zignorowano\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "UWAGA: ustawienie jakoÅ›ci zbyt wysokie, przyjÄ™to maksymalnÄ… jakość.\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "UWAGA: podano wiele formatów nazw, użycie ostatniego\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "UWAGA: podano wiele filtrów formatu nazw, użycie ostatniego\n" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" "UWAGA: podano wiele zamienników filtrów formatu nazw, użycie ostatniego\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "UWAGA: podano wiele nazw plików wyjÅ›ciowych, należaÅ‚oby użyć -n\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "UWAGA: podano surowÄ… liczbÄ™ bitów/próbkÄ™ dla danych niesurowych; przyjÄ™cie " "wejÅ›cia surowego.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "UWAGA: błędna liczba bitów/próbkÄ™, przyjÄ™cie 16.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "UWAGA: podano surowÄ… liczbÄ™ kanałów dla danych niesurowych; przyjÄ™cie " "wejÅ›cia surowego.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "UWAGA: błędna liczba kanałów, przyjÄ™cie 2.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "UWAGA: podano surowÄ… czÄ™stotliwość próbkowania dla danych niesurowych; " "przyjÄ™cie wejÅ›cia surowego.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "UWAGA: podano błędnÄ… czÄ™stotliwość próbkowania, przyjÄ™cie 44100.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "UWAGA: obsÅ‚uga Kate nie skompilowana; teksty nie bÄ™dÄ… dołączone.\n" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "UWAGA: jÄ™zyk nie może być dÅ‚uższy niż 15 znaków; uciÄ™to.\n" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "UWAGA: podano nieznanÄ… opcjÄ™, zignorowano\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "'%s' nie jest poprawnym UTF-8, nie można dodać\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "" "Nie udaÅ‚o siÄ™ przekonwertować komentarza do UTF-8, nie można go dodać\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" "UWAGA: Podano za maÅ‚o tytułów, przyjÄ™cie ostatniego tytuÅ‚u jako domyÅ›lnego.\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Nie udaÅ‚o siÄ™ utworzyć katalogu \"%s\": %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Błąd sprawdzania istnienia katalogu %s: %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "Błąd: element Å›cieżki \"%s\" nie jest katalogiem\n" #: ogginfo/ogginfo2.c:115 #, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" #: ogginfo/ogginfo2.c:127 #, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "UWAGA: nie ustawiono EOS w strumieniu %d\n" #: ogginfo/ogginfo2.c:216 msgid "WARNING: Invalid header page, no packet found\n" msgstr "UWAGA: błędna strona nagłówka, nie znaleziono pakietu\n" #: ogginfo/ogginfo2.c:246 #, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" "UWAGA: błędna strona nagłówka w strumieniu %d, zawiera wiele pakietów\n" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" "Uwaga: strumieÅ„ %d ma numer seryjny %d, który jest dopuszczalny, ale może " "powodować problemy z niektórymi narzÄ™dziami.\n" #: ogginfo/ogginfo2.c:278 #, fuzzy, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "UWAGA: dziura w danych (%d bajtów) pod przybliżonym offsetem %" #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Błąd otwierania pliku wejÅ›ciowego \"%s\": %s\n" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Przetwarzanie pliku \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "Nie udaÅ‚o siÄ™ odnaleźć procesora dla strumienia, zakoÅ„czenie\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "Napotkano stronÄ™ w strumieniu po fladze EOS" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" "Naruszone ograniczenia przeplotu Ogg, nowy strumieÅ„ przed EOS wszystkich " "poprzednich strumieni" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "Nieznany błąd." #: ogginfo/ogginfo2.c:337 #, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" "UWAGA: niedopuszczalnie umieszczone strony dla strumienia logicznego %d\n" "Oznacza to uszkodzony plik Ogg: %s.\n" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "Nowy strumieÅ„ logiczny (#%d, numer seryjny %08x): typ %s\n" #: ogginfo/ogginfo2.c:352 #, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "" "UWAGA: flaga poczÄ…tku strumienia nie jest ustawiona dla strumienia %d\n" #: ogginfo/ogginfo2.c:355 #, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "UWAGA: napotkano flagÄ™ poczÄ…tku strumienia w Å›rodku strumienia %d\n" #: ogginfo/ogginfo2.c:361 #, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" "UWAGA: luka w numerach sekwencji w strumieniu %d. Otrzymano stronÄ™ %ld kiedy " "oczekiwano strony %ld. Oznacza to brakujÄ…ce dane.\n" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "StrumieÅ„ logiczny %d zakoÅ„czony\n" #: ogginfo/ogginfo2.c:384 #, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" "BÅÄ„D: nie znaleziono danych Ogg w pliku \"%s\".\n" "WejÅ›cie prawdopodobnie nie jest typu Ogg.\n" #: ogginfo/ogginfo2.c:395 #, c-format msgid "ogginfo from %s %s\n" msgstr "ogginfo z pakietu %s %s\n" #: ogginfo/ogginfo2.c:400 #, fuzzy, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" " autorstwa Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" #: ogginfo/ogginfo2.c:401 #, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" "(c) 2003-2005 Michael Smith \n" "\n" "SkÅ‚adnia: ogginfo [flagi] plik1.ogg [plik2.ogx ... plikN.ogv]\n" "ObsÅ‚ugiwane flagi:\n" "\t-h WyÅ›wietlenie tego opisu\n" "\t-q Mniej szczegółowe wyjÅ›cie. Flaga przekazana raz usuwa szczegółowe\n" "\t komunikaty informacyjne, dwa razy usuwa ostrzeżenia\n" "\t-v Bardziej szczegółowe wyjÅ›cie. Włącza bardziej dokÅ‚adne\n" "\t sprawdzanie niektórych rodzajów strumieni.\n" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "\t-V Wypisanie informacji o wersji i zakoÅ„czenie\n" #: ogginfo/ogginfo2.c:422 #, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" "SkÅ‚adnia: ogginfo [flagi] plik1.ogg [plik2.ogx ... plikN.ogv]\n" "\n" "ogginfo to narzÄ™dzie do wypisywania informacji o plikach Ogg\n" "i diagnozowania problemów z nimi.\n" "PeÅ‚ny opis można uzyskać poprzez \"ogginfo -h\".\n" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "Nie podano plików wejÅ›ciowych. \"ogginfo -h\" pokaże pomoc\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: opcja `%s' jest niejednoznaczna\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: opcja `--%s' nie może mieć argumentów\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: opcja `%c%s' nie może mieć argumentów\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: opcja `%s' musi mieć argument\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: nieznana opcja `--%s'\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: nieznana opcja `%c%s'\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: niewÅ‚aÅ›ciwa opcja -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: błędna opcja -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: opcja musi mieć argument -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: opcja `-W %s' jest niejednoznaczna\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: opcja `-W %s' nie może mieć argumentów\n" #: vcut/vcut.c:129 #, c-format msgid "Couldn't flush output stream\n" msgstr "Nie udaÅ‚o siÄ™ wypchnąć strumienia wyjÅ›ciowego\n" #: vcut/vcut.c:149 #, c-format msgid "Couldn't close output file\n" msgstr "Nie udaÅ‚o siÄ™ zamknąć pliku wyjÅ›ciowego\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Nie udaÅ‚o siÄ™ otworzyć %s do zapisu\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" "SkÅ‚adnia: vcut plik_wej.ogg plik_wyj1.ogg plik_wyj2.ogg [punkt_ciÄ™cia | " "+punkt_ciÄ™cia]\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" "Aby uniknąć tworzenia pliku wyjÅ›ciowego, należy podać \".\" jako jego " "nazwÄ™.\n" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Nie udaÅ‚o siÄ™ otworzyć %s do odczytu\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Nie udaÅ‚o siÄ™ przeanalizować punktu ciÄ™cia \"%s\"\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Przetwarzanie: ciÄ™cie po %lf sekundach\n" #: vcut/vcut.c:289 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Przetwarzanie: ciÄ™cie po %lld próbkach\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "Przetwarzanie nie powiodÅ‚o siÄ™\n" #: vcut/vcut.c:341 #, fuzzy, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "UWAGA: nieoczekiwane granulepos " #: vcut/vcut.c:392 #, c-format msgid "Cutpoint not found\n" msgstr "Nie znaleziono punktu ciÄ™cia\n" #: vcut/vcut.c:398 #, fuzzy, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" "Nie można stworzyć pliku zaczynajÄ…cego siÄ™ i koÅ„czÄ…cego miÄ™dzy pozycjami " "próbek " #: vcut/vcut.c:442 #, fuzzy, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "Nie można stworzyć pliku zaczynajÄ…cego siÄ™ miÄ™dzy pozycjami próbek " #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "ProszÄ™ podać \".\" jako drugi plik wyjÅ›ciowy aby pominąć ten błąd.\n" #: vcut/vcut.c:484 #, c-format msgid "Couldn't write packet to output file\n" msgstr "Nie udaÅ‚o siÄ™ zapisać pakietu do pliku wyjÅ›ciowego\n" #: vcut/vcut.c:505 #, c-format msgid "BOS not set on first page of stream\n" msgstr "BOS nie ustawiony na pierwszej stronie strumienia\n" #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "Przeplatane strumienie bitowe nie sÄ… obsÅ‚ugiwane\n" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Błąd wewnÄ™trzny analizy opcji polecenia\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Uszkodzony pakiet nagłówka\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Błąd strumienia danych, kontynuacja\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Błąd w nagłówku: to nie jest Vorbis?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "WejÅ›cie nie jest typu Ogg.\n" #: vcut/vcut.c:616 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Błąd strumienia danych, kontynuacja\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "UWAGA: plik wejÅ›ciowy nieoczekiwanie siÄ™ skoÅ„czyÅ‚\n" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "UWAGA: napotkano EOS przed punktem ciÄ™cia\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "Nie udaÅ‚o siÄ™ przydzielić pamiÄ™ci do buforowania wejÅ›cia." #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Błąd odczytu pierwszej strony strumienia danych Ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Błąd odczytu poczÄ…tkowego pakietu nagłówka." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" "Nie udaÅ‚o siÄ™ przydzielić pamiÄ™ci do zarejestrowania numeru seryjnego nowego " "strumienia." #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "WejÅ›cie uciÄ™te lub puste." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "WejÅ›cie nie jest strumieniem danych Ogg." #: vorbiscomment/vcedit.c:541 msgid "Ogg bitstream does not contain Vorbis data." msgstr "StrumieÅ„ danych Ogg nie zawiera danych Vorbis." #: vorbiscomment/vcedit.c:555 msgid "EOF before recognised stream." msgstr "EOF przed rozpoznanym strumieniem." #: vorbiscomment/vcedit.c:568 msgid "Ogg bitstream does not contain a supported data-type." msgstr "StrumieÅ„ danych Ogg nie zawiera obsÅ‚ugiwanego typu danych." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Uszkodzony drugi nagłówek." #: vorbiscomment/vcedit.c:630 msgid "EOF before end of Vorbis headers." msgstr "EOF przed koÅ„cem nagłówków Vorbis." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "Uszkodzone lub brakujÄ…ce dane, kontynuacja..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "Błąd zapisu strumienia wyjÅ›ciowego. Może być uszkodzony lub uciÄ™ty." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "Nie udaÅ‚o siÄ™ otworzyć pliku jako Vorbis: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "Błędny komentarz: \"%s\"\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "Błędny komentarz: \"%s\"\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Nie udaÅ‚o siÄ™ zapisać komentarzy do pliku wyjÅ›ciowego: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "Nie okreÅ›lono akcji\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "" "Nie udaÅ‚o siÄ™ przekonwertować komentarza do UTF-8, nie można go dodać\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" "vorbiscomment z pakietu %s %s\n" " autorstwa Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "Wypisanie i modyfikacja komentarzy w plikach Ogg Vorbis.\n" #: vorbiscomment/vcomment.c:622 #, fuzzy, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" "SkÅ‚adnia:\n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lR] plik\n" " vorbiscomment [-R] [-c plik] [-t znacznik] <-a|-w> plik_wej [plik_wyj]\n" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "Opcje wypisywania\n" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" " -l, --list Wypisanie komentarzy (domyÅ›lne jeÅ›li nie podano " "opcji)\n" #: vorbiscomment/vcomment.c:632 #, c-format msgid "Editing options\n" msgstr "Opcje modyfikacji\n" #: vorbiscomment/vcomment.c:633 #, fuzzy, c-format msgid " -a, --append Update comments\n" msgstr " -a, --append Dołączenie komentarzy\n" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" " -t \"nazwa=wartość\", --tag \"nazwa=wartość\"\n" " Przekazanie znacznika komentarza z linii poleceÅ„\n" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" " -w, --write Zapisanie komentarzy z zastÄ…pieniem istniejÄ…cych\n" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" " -c plik, --commentfile plik\n" " Przy wypisywaniu zapis komentarzy do podanego " "pliku.\n" " Przy modyfikacji odczyt komentarzy z podanego " "pliku.\n" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr " -R, --raw Odczyt i zapis komentarzy w UTF-8\n" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" " -V, --version Wypisanie informacji o wersji i zakoÅ„czenie\n" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" "JeÅ›li nie podano pliku wyjÅ›ciowego, vorbiscomment zmodyfikuje plik " "wejÅ›ciowy.\n" "Jest to obsÅ‚ugiwane przez plik tymczasowy, wiÄ™c plik wejÅ›ciowy nie zostanie\n" "zmodyfikowany jeÅ›li wystÄ…piÄ… błędy w czasie przetwarzania.\n" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" "vorbiscomment obsÅ‚uguje komentarze w formacie \"nazwa=wartość\", po jednym\n" "w każdej linii. DomyÅ›lnie komentarze sÄ… wypisywane na standardowe wyjÅ›cie,\n" "a w trybie modyfikacji czytane ze standardowego wejÅ›cia. Alternatywnie " "można\n" "podać plik za pomocÄ… opcji -c lub znaczniki poprzez -t \"nazwa=wartość\".\n" "Użycie -c lub -t wyłącza czytanie ze standardowego wejÅ›cia.\n" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" "PrzykÅ‚ady:\n" " vorbiscomment -a wej.ogg -c komentarze.txt\n" " vorbiscomment -a wej.ogg -t \"ARTIST=JakiÅ› facet\" -t \"TITLE=TytuÅ‚\"\n" #: vorbiscomment/vcomment.c:672 #, fuzzy, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" "UWAGA: W trybie surowym (--raw, -R) komentarze sÄ… czytane i zapisywane\n" "w UTF-8 bez konwersji do zestawu znaków użytkownika - jest to przydatne\n" "w skryptach. Jednak nie jest ot wystarczajÄ…ce przy przekazywaniu komentarzy\n" "we wszystkich przypadkach.\n" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Błąd wewnÄ™trzny analizy opcji polecenia\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "vorbiscomment z pakietu vorbis-tools " #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Błąd otwierania pliku wejÅ›ciowego '%s'.\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" "Nazwa pliku wejÅ›ciowego nie może być taka sama, jak pliku wyjÅ›ciowego\n" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Błąd otwierania pliku wyjÅ›ciowego '%s'.\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Błąd otwierania pliku wyjÅ›ciowego '%s'.\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Błąd otwierania pliku komentarzy '%s'\n" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "Błąd usuwania starego pliku %s\n" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "Błąd zmiany nazwy z %s na %s\n" #: vorbiscomment/vcomment.c:938 #, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Błąd usuwania błędnego pliku tymczasowego %s\n" #~ msgid "Wave file reader" #~ msgstr "Czytnik plików Wave" #~ msgid "Big endian 32 bit PCM data is not currently supported, aborting.\n" #~ msgstr "" #~ "32-bitowe dane PCM big-endian nie sÄ… obecnie obsÅ‚ugiwane, przerwano.\n" #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Błąd wewnÄ™trzny! ProszÄ™ zgÅ‚osić ten błąd.\n" #~ msgid "oggenc from %s %s" #~ msgstr "oggenc z pakietu %s %s" #~ msgid "" #~ "WARNING: Comment %d in stream %d has invalid format, does not contain " #~ "'=': \"%s\"\n" #~ msgstr "" #~ "UWAGA: komentarz %d w strumieniu %d ma błędny format, nie zawiera '=': " #~ "\"%s\"\n" #~ msgid "" #~ "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #~ msgstr "UWAGA: błędna nazwa pola w komentarzu %d (strumieÅ„ %d): \"%s\"\n" #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #~ msgstr "" #~ "UWAGA: niedozwolona sekwencja UTF-8 w komentarzu %d (strumieÅ„ %d): błędny " #~ "znacznik dÅ‚ugoÅ›ci\n" #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #~ msgstr "" #~ "UWAGA: niedozwolona sekwencja UTF-8 w komentarzu %d (strumieÅ„ %d): za " #~ "maÅ‚o bajtów\n" #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence \"%s\": %s\n" #~ msgstr "" #~ "UWAGA: niedozwolona sekwencja UTF-8 w komentarzu %d (strumieÅ„ %d): błędna " #~ "sekwencja \"%s\": %s\n" #~ msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" #~ msgstr "UWAGA: usterka dekodera UTF-8. To nie powinno być możliwe.\n" #~ msgid "WARNING: discontinuity in stream (%d)\n" #~ msgstr "UWAGA: nieciÄ…gÅ‚ość w strumieniu (%d)\n" #~ msgid "" #~ "WARNING: Could not decode Theora header packet - invalid Theora stream " #~ "(%d)\n" #~ msgstr "" #~ "UWAGA: nie udaÅ‚o siÄ™ zdekodować pakietu nagłówka Theora - błędny strumieÅ„ " #~ "Theora (%d)\n" #~ msgid "" #~ "WARNING: Theora stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "UWAGA: strumieÅ„ Theora %d nie ma wÅ‚aÅ›ciwych ramek nagłówków. KoÅ„cowa " #~ "strona nagłówka zawiera dodatkowe pakiety lub ma niezerowÄ… granulepos\n" #~ msgid "Theora headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "Przeanalizowano nagłówki Theora dla strumienia %d, informacje poniżej...\n" #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Wersja: %d.%d>%d\n" #~ msgid "Vendor: %s\n" #~ msgstr "Producent: %s\n" #~ msgid "Width: %d\n" #~ msgstr "Szerokość: %d\n" #~ msgid "Height: %d\n" #~ msgstr "Wysokość: %d\n" #~ msgid "Total image: %d by %d, crop offset (%d, %d)\n" #~ msgstr "CaÅ‚kowity obraz: %d na %d, offset obciÄ™cia (%d, %d)\n" #~ msgid "Frame offset/size invalid: width incorrect\n" #~ msgstr "Błędny offset/rozmiar ramki: niepoprawna szerokość\n" #~ msgid "Frame offset/size invalid: height incorrect\n" #~ msgstr "Błędny offset/rozmiar ramki: niepoprawna wysokość\n" #~ msgid "Invalid zero framerate\n" #~ msgstr "Błędna zerowa czÄ™stotliwość ramek\n" #~ msgid "Framerate %d/%d (%.02f fps)\n" #~ msgstr "CzÄ™stotliwość ramek %d/%d (%.02f fps)\n" #~ msgid "Aspect ratio undefined\n" #~ msgstr "NieokreÅ›lone proporcje\n" #~ msgid "Pixel aspect ratio %d:%d (%f:1)\n" #~ msgstr "Proporcje pikseli %d:%d (%f:1)\n" #~ msgid "Frame aspect 4:3\n" #~ msgstr "Proporcje klatki 4:3\n" #~ msgid "Frame aspect 16:9\n" #~ msgstr "Proporcje klatki 16:9\n" #~ msgid "Frame aspect %f:1\n" #~ msgstr "Proporcje klatki %f:1\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 System M (NTSC)\n" #~ msgstr "PrzestrzeÅ„ kolorów: Rec. ITU-R BT.470-6 system M (NTSC)\n" #~ msgid "Colourspace: Rec. ITU-R BT.470-6 Systems B and G (PAL)\n" #~ msgstr "PrzestrzeÅ„ kolorów: Rec. ITU-R BT.470-6 systemy B i G (PAL)\n" #~ msgid "Colourspace unspecified\n" #~ msgstr "PrzestrzeÅ„ kolorów nieokreÅ›lona\n" #~ msgid "Pixel format 4:2:0\n" #~ msgstr "Format piksela 4:2:0\n" #~ msgid "Pixel format 4:2:2\n" #~ msgstr "Format piksela 4:2:2\n" #~ msgid "Pixel format 4:4:4\n" #~ msgstr "Format piksela 4:4:4\n" #~ msgid "Pixel format invalid\n" #~ msgstr "Format piksela błędny\n" #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "Docelowe bitrate: %d kbps\n" #~ msgid "Nominal quality setting (0-63): %d\n" #~ msgstr "Nominalne ustawienie jakoÅ›ci (0-63): %d\n" #~ msgid "User comments section follows...\n" #~ msgstr "Sekcja komentarzy użytkownika poniżej...\n" #~ msgid "WARNING: Expected frame %" #~ msgstr "UWAGA: oczekiwano ramki %" #~ msgid "WARNING: granulepos in stream %d decreases from %" #~ msgstr "UWAGA: granulepos w strumieniu %d zmniejsza siÄ™ z %" #~ msgid "" #~ "Theora stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "StrumieÅ„ Theora %d:\n" #~ "\tCaÅ‚kowita dÅ‚ugość danych: %" #~ msgid "" #~ "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream " #~ "(%d)\n" #~ msgstr "" #~ "UWAGA: nie udaÅ‚o siÄ™ zdekodować pakietu nagłówka Vorbis %d - błędny " #~ "strumieÅ„ Vorbis (%d)\n" #~ msgid "" #~ "WARNING: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "UWAGA: strumieÅ„ Vorbis %d nie ma wÅ‚aÅ›ciwych ramek nagłówków. KoÅ„cowa " #~ "strona nagłówka zawiera dodatkowe pakiety lub ma niezerowÄ… granulepos\n" #~ msgid "Vorbis headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "Przeanalizowano nagłówki Vorbis dla strumienia %d, informacje poniżej...\n" #~ msgid "Version: %d\n" #~ msgstr "Wersja: %d\n" #~ msgid "Vendor: %s (%s)\n" #~ msgstr "Producent: %s (%s)\n" #~ msgid "Channels: %d\n" #~ msgstr "KanaÅ‚y: %d\n" #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "" #~ "CzÄ™stotliwość: %ld\n" #~ "\n" #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "Nominalne bitrate: %f kb/s\n" #~ msgid "Nominal bitrate not set\n" #~ msgstr "Nominalne bitrate nie ustawione\n" #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "Wyższe bitrate: %f kb/s\n" #~ msgid "Upper bitrate not set\n" #~ msgstr "Wyższe bitrate nie ustawione\n" #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "Niższe bitrate: %f kb/s\n" #~ msgid "Lower bitrate not set\n" #~ msgstr "Niższe bitrate nie ustawione\n" #~ msgid "Negative or zero granulepos (%" #~ msgstr "Ujemna lub zerowa granulepos (%" #~ msgid "" #~ "Vorbis stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "StrumieÅ„ Vorbis %d:\n" #~ "\tCaÅ‚kowita dÅ‚ugość danych: %" #~ msgid "" #~ "WARNING: Could not decode Kate header packet %d - invalid Kate stream " #~ "(%d)\n" #~ msgstr "" #~ "UWAGA: nie udaÅ‚o siÄ™ zdekodować pakietu nagłówka Kate %d - błędny " #~ "strumieÅ„ Kate (%d)\n" #~ msgid "" #~ "WARNING: packet %d does not seem to be a Kate header - invalid Kate " #~ "stream (%d)\n" #~ msgstr "" #~ "UWAGA: pakiet %d nie wyglÄ…da na nagłówek Kate - błędny strumieÅ„ Kate " #~ "(%d)\n" #~ msgid "" #~ "WARNING: Kate stream %d does not have headers correctly framed. Terminal " #~ "header page contains additional packets or has non-zero granulepos\n" #~ msgstr "" #~ "UWAGA: strumieÅ„ Kate %d nie ma wÅ‚aÅ›ciwych ramek nagłówków. KoÅ„cowa strona " #~ "nagłówka zawiera dodatkowe pakiety lub ma niezerowÄ… granulepos\n" #~ msgid "Kate headers parsed for stream %d, information follows...\n" #~ msgstr "" #~ "Przeanalizowano nagłówki Kate dla strumienia %d, informacje poniżej...\n" #~ msgid "Version: %d.%d\n" #~ msgstr "Wersja: %d.%d\n" #~ msgid "Language: %s\n" #~ msgstr "JÄ™zyk: %s\n" #~ msgid "No language set\n" #~ msgstr "Brak ustawionego jÄ™zyka\n" #~ msgid "Category: %s\n" #~ msgstr "Kategoria: %s\n" #~ msgid "No category set\n" #~ msgstr "Brak ustawionej kategorii\n" #~ msgid "utf-8" #~ msgstr "utf-8" #~ msgid "Character encoding: %s\n" #~ msgstr "Kodowanie znaków: %s\n" #~ msgid "Unknown character encoding\n" #~ msgstr "Nieznane kodowanie znaków\n" #~ msgid "left to right, top to bottom" #~ msgstr "od lewej do prawej, od góry do doÅ‚u" #~ msgid "right to left, top to bottom" #~ msgstr "od prawej do lewej, od góry do doÅ‚u" #~ msgid "top to bottom, right to left" #~ msgstr "od góry do doÅ‚u, od prawej do lewej" #~ msgid "top to bottom, left to right" #~ msgstr "od góry do doÅ‚u, od lewej do prawej" #~ msgid "Text directionality: %s\n" #~ msgstr "Kierunek tekstu: %s\n" #~ msgid "Unknown text directionality\n" #~ msgstr "Nieznany kierunek tekstu\n" #~ msgid "Invalid zero granulepos rate\n" #~ msgstr "Błędna zerowa czÄ™stotliwość granulepos\n" #~ msgid "Granulepos rate %d/%d (%.02f gps)\n" #~ msgstr "CzÄ™stotliwość granulepos %d/%d (%.02f gps)\n" #~ msgid "\n" #~ msgstr "\n" #~ msgid "Negative granulepos (%" #~ msgstr "Ujemna granulepos (%" #~ msgid "" #~ "Kate stream %d:\n" #~ "\tTotal data length: %" #~ msgstr "" #~ "StrumieÅ„ Kate %d:\n" #~ "\tCaÅ‚kowita dÅ‚ugość danych: %" #, fuzzy #~ msgid "Page error. Corrupt input.\n" #~ msgstr "Błąd strony, kontynuacja\n" #, fuzzy #~ msgid "Bitstream error\n" #~ msgstr "Błąd strumienia danych, kontynuacja\n" #, fuzzy #~ msgid "Error in first page\n" #~ msgstr "Błąd odczytu pierwszej strony strumienia danych Ogg." #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "Błąd odczytu poczÄ…tkowego pakietu nagłówka." #, fuzzy #~ msgid "Error reading headers\n" #~ msgstr "Błąd odczytu poczÄ…tkowego pakietu nagłówka." #, fuzzy #~ msgid "Error writing first output file\n" #~ msgstr "Błąd zapisu do pliku: %s\n" #, fuzzy #~ msgid "Error writing second output file\n" #~ msgstr "Błąd zapisu do pliku: %s\n" vorbis-tools-1.4.2/po/fr.gmo0000644000175000017500000004324214002243560012633 00000000000000Þ•¬|åÜ pq«ÀÝø 4Ke,¬%Ê,ð- K&l“³ÓÙâõü,!0ZR7­*å-S>+’Q¾!2*J,u¢ ¸ÅÙìÿ 9"\y0Š» Ä Ñ&Û/#L.p#ŸÃâ< DPV'q(™IÂ1 1>Mp#¾â[ñ@M6ŽRÅ>1WB‰ Ì!í"2 R*s$žÃßLø&E>l4«,à, %:'`ˆ4‘6Æý,,F-s'¡ É×(ð;;U‘0–0Çø*ÿ+*V r~‘-«Ùí; %= +c ' · ¿ (Ì õ þ  ! !"!0B!1s!?¥!Cå!5)"6_"8–"IÏ"=#6W#;Ž#LÊ#N$Kf$L²$.ÿ$?.%7n%&¦%Í%à%å%ê%&& &&&&+&1&7&H&W&g&vn&å'((%2(&X((•(®(Ç(á(ý(.)!H)+j),–)/Ã)$ó).*G*f*…* ‹*–*«*±*8¹*:ò*r-+H +.é+:,ƒS,;×,h-%|- ¢-3Ã-7÷-/. L.X.o.ƒ.(¡.Ê./Ú. /'/:@/ {/‰/ ›/0¥/Ö/Dò/)70Ma0.¯0-Þ0$ 1%11(W1 €1 ‹1—1$ 1=Å1>2_B2E¢2?è2o(3/˜3È3aØ3B:4;}4a¹4I55e5W›5=ó5>16;p67¬68ä6:75X72Ž7%Á7Mç7058Df8:«8=æ8D$9-i92—9 Ê9>×9=:T:t::F©:Eð::6;q;;.™;GÈ;D<U<:Y<O”< ä<ï<4=!D=f=u=!Š=+¬=Ø=í=A>.F>(u>6ž>Õ>Þ>/ð> ?+???D?T?t?Gô?T<@N‘@Jà@9+AVeAc¼AS BHtBX½BoCo†CoöCrfD/ÙDP ECZE1žEÐEîE öEFF#F,F3FKFQFWF]F{F‹F›F0@‚=R2-—W"O ”•B`4M^hq {¦€cXx¢l†'‰¨j:6|™ i5vJ;Ž–%<Š*©sHGP}¡Y‡˜V§>pyfS“ke£’?_¥r)m¬+„z«¤!KE.šuU#o[‹3…L› žIndŸNgt9ZDTF/(C‘w8$7 bQªƒ & A~\1aœ,]Œˆ Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Rate: %.4f File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s Input Buffer %5.1f%% Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%(NULL)(none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Changed lowpass frequency from %f kHz to %f kHz Comment:Comments: %sCopyrightCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" DefaultDescriptionDone.Downmixing stereo to mono ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing old file %s Error renaming %s to %s Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File: %sInput buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Key not foundLogical stream %d ended Memory allocation error in stats_init() Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Opening with %s module: %s Playing: %sProcessing failed Processing file "%s"... Quality option "%s" not recognised, ignoring ReplayGain (Album):ReplayGain (Track):Requesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d SuccessSystem errorThe file format of %s is not supported. Time: %sTrack number:TypeUnknown errorUnrecognised advanced option "%s" WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: Ignoring illegal escape character '%c' in name format WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid sample rate specified, assuming 44100. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Unknown option specified, ignoring-> WARNING: quality setting too high, setting to maximum quality. Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sothershuffle playliststandard inputstandard outputstringProject-Id-Version: vorbis-tools 1.0 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2003-03-06 15:15+0100 Last-Translator: Martin Quinson Language-Team: French Language: fr MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Débit moyen : %.1f kb/s Temps écoulé : %dm %04.1fs Taux: %.4f Longueur de fichier : %dm %04.1fs Fin de l'encodage du fichier « %s » Fin de l'encodage. Périphérique audio : %s Tampon d'entrée %5.1f%% Tampon de sortie %5.1f%%%s : option illégale -- %c %s : option invalide -- %c %s : l'option « %c%s » n'admet pas d'argument %s : l'option « %s » est ambiguë %s : l'option « %s » nécessite un argument %s : l'option « %s » n'admet pas d'argument %s : l'option « -W %s » n'admet pas d'argument %s : l'option « -W %s » est ambiguë %s : cette option nécessite un argument -- %c %s : option « %c%s » inconnue %s : option « --%s » inconnue %sEOS%sEn pause%sPrétampon à %.1f%%(NUL)(aucun)--- impossible d'ouvrir le fichier de liste %s. Omis. --- Impossible de jouer tous les « zéroièmes » tronçons ! --- Impossible de jouer chaque tronçon zéro fois. --- Pour tester un décodeur, utilisez le pilote de sortie null. --- Le pilote %s indiqué dans le fichier de configuration est invalide. --- Trou dans le flux ; sans doute inoffensif --- Valeur de prétampon invalide. L'intervalle est 0-100. === Impossible de charger le pilote par défaut, et aucun autre pilote n'est indiqué dans le fichier de configuration. Terminaison. === Le pilote %s n'est pas un pilote de fichier de sortie. === Erreur « %s » lors de l'analyse de l'option donnée sur la ligne de commande === L'option était : %s === Format d'option incorrecte : %s. === Pas de tel périphérique %s. === Erreur d'analyse : %s à la ligne %d de %s (%s) === La bibliothèque Vorbis indique une erreur de flux. lecteur de fichier AIFF/AIFCAuteur : %sOptions disponibles : Débit moyen : %5.1fMauvais commentaire : « %s » Mauvais typage dans la liste des optionsValeur invalideDébit : max=%ld nominal=%ld min=%ld fenêtre=%ldErreur de flux, on continue Impossible d'ouvrir %s. Modification de la fréquence passe-bas de %f kHz à %f kHz Commentaire :Commentaires : %sCopyrightDonnées corrompues ou manquantes, on continue...Entête secondaire corrompu.Impossible de trouver un processeur pour le flux, parachute déployé Impossible d'omettre %f secondes d'audio.Impossible de convertir les commentaires en UTF-8. Impossible de les ajouter Impossible de créer le répertoire « %s » : %s Impossible d'initialiser le rééchantilloneur Impossible d'ouvrir %s pour le lire Impossible d'ouvrir %s pour y écrire point de césure « %s » incompréhensible Par défautDescriptionTerminé.Démultiplexage de la stéréo en mono Erreur : impossible d'ouvrir le fichier d'entrée « %s » : %s Erreur : impossible d'ouvrir le fichier de sortie « %s » : %s Erreur : impossible de créer les sous répertoires nécessaires pour le fichier de sortie « %s » Erreur : le fichier d'entrée « %s » n'est pas dans un format reconnu Erreur : plusieurs fichiers spécifiés lors de l'usage de stdin Erreur : plusieurs fichiers d'entrée pour le fichier de sortie spécifié : vous devriez peut-être utiliser -n Mise en route du mécanisme de gestion du débit Encodé par : %sEncodage de %s%s%s en %s%s%s au débit approximatif de %d kbps (encodage VBR en cours) Encodage de %s%s%s en %s%s%s au débit moyen de %d kbps Encodage de %s%s%s en %s%s%s à la qualité %2.2f Encodage de %s%s%s en %s%s%s au niveau de qualité %2.2f en utilisant un VBR contraint Encodage de %s%s%s en %s%s%s en utilisant la gestion du débit Erreur lors de la vérification du répertoire %s : %s Erreur lors de l'ouverture de %s avec le module %s. Le fichier est peut-être corrompu. Erreur lors de l'ouverture du fichier de commentaires « %s » Erreur lors de l'ouverture du fichier de commentaires « %s ». Erreur lors de l'ouverture du fichier d'entrée « %s » : %s Erreur lors de l'ouverture du fichier d'entrée « %s ». Erreur lors de l'ouverture du fichier de sortie « %s ». Erreur lors de la lecture de la première page du flux Ogg.Erreur lors de la lecture du paquet d'entête initial.Erreur lors de la suppression du vieux fichier %s Erreur lors du renommage de %s en %s Échec de l'écriture du flux. Le flux de sortie peut être corrompu ou tronqué.Erreur : Impossible de créer les tampons audio. Erreur : Plus de mémoire dans decoder_buffered_metadata_callback(). Erreur : Plus de mémoire dans new_print_statistics_arg(). Erreur : le segment de chemin « %s » n'est pas un répertoire Impossible d'écrire les commentaires dans le fichier de sortie : %s Écriture dans le flux de sortie infructueuse Écriture d'entêtes du flux de sortie infructueuse Fichier : %sLe tampon d'entré est plus petit que le minimum valide (%dkO).Le fichier de sortie doit être différent du fichier d'entrée L'entrée n'est pas un flux Ogg.L'entrée n'est pas un ogg. Entrée tronquée ou vide.Erreur interne lors de l'analyse des options sur la ligne de commande Erreur interne lors de l'analyse des options de la ligne de commande Erreur interne lors de l'analyse des options de commande. Clé introuvableFin du flux logique %d Erreur d'allocation mémoire dans stats_init() Échec de l'initialisation du mode : paramètres invalides pour le débit Échec de l'initialisation du mode : paramètres de qualité invalides NomNouveau flux logique (n°%d, n° de série : %08x) : type %s Aucun fichier d'entrée n'a été spécifié. Faites « ogginfo -h » pour de l'aide. Pas de cléAucun module à lire depuis %s. Valeur pour l'option avancée d'encodage introuvable Ouverture avec le module %s : %s Écoute de : %sÉchec du traitement Traitement du fichier « %s »... Option de qualité « %s » inconnue, ignorée ReplayGain (Album) :ReplayGain (Morceau) :Demander un débit minimum ou maximum impose l'usage de --managed Rééchantillonage de l'entrée de %d Hz à %d Hz Réglage de l'option avancée « %s » à %s Omition d'un tronçon de type « %s » et de longueur %d RéussiteErreur du systèmeLe format de fichier de %s n'est pas supporté. Temps : %sNuméro de chanson :TypeErreur inconnueOption avancée « %s » inconnue ATTENTION : impossible de lire l'argument « %s » indiquant si le flux doit être petit ou grand boutiste (little ou big endian) ATTENTION : Impossible de lire la fréquence de rééchantillonage « %s » Attention : omition du caractère d'échappement illégal « %c » dans le nom de format Attention : pas assez de titres spécifiés, utilisation du dernier par défaut. ATTENTION : le bits/échantillon spécifié est invalide. Utilisation de 16. Attention : Nombre de canaux invalide. Utilisation de 2. Attention : Le taux d'échantillonage spécifié n'est pas valide. Utilisation de 44100. ATTENTION : plusieurs noms de filtres de formats en remplacement spécifiés. Utilisation du dernier ATTENTION : plusieurs noms de filtres de formats spécifiés. Utilisation du dernier ATTENTION : plusieurs noms de formats spécifiés. Utilisation du dernier ATTENTION : Plusieurs fichiers de sortie spécifiés, vous devriez peut-être utiliser -n ATTENTION : bits/échantillon bruts spécifiés pour des données non-brutes. Les données sont supposées brutes. ATTENTION : nombre de canaux bruts spécifiés pour des données non-brutes. Les données sont supposées brutes. ATTENTION : nombre de canaux bruts spécifiés pour des données non-brutes. Les données sont supposées brutes. Attention : taux d'échantillonnage brut spécifié pour des données non-brutes. Les données sont supposées brutes. Attention : Option inconnue donnée, ignorée -> ATTENTION : le réglage de la qualité est trop haut, retour au maximum possible. Attention : dans la liste %s, impossible de lire le répertoire %s. Attention : Impossible de lire le répertoire %s. mauvais commentaire : « %s » booléencaractèrepilote de sortie par défautdoubleflottantentierPas d'action spécifiée aucunde %sAutremélange la liste des morceauxentrée standardsortie standardchaînevorbis-tools-1.4.2/po/es.gmo0000644000175000017500000004324214002243560012633 00000000000000Þ•¬|åÜ pq«ÀÝø 4Ke,¬%Ê,ð- K&l“³ÓÙâõü,!0ZR7­*å-S>+’Q¾!2*J,u¢ ¸ÅÙìÿ 9"\y0Š» Ä Ñ&Û/#L.p#ŸÃâ< DPV'q(™IÂ1 1>Mp#¾â[ñ@M6ŽRÅ>1WB‰ Ì!í"2 R*s$žÃßLø&E>l4«,à, %:'`ˆ4‘6Æý,,F-s'¡ É×(ð;;U‘0–0Çø*ÿ+*V r~‘-«Ùí; %= +c ' · ¿ (Ì õ þ  ! !"!0B!1s!?¥!Cå!5)"6_"8–"IÏ"=#6W#;Ž#LÊ#N$Kf$L²$.ÿ$?.%7n%&¦%Í%à%å%ê%&& &&&&+&1&7&H&W&g&n& î'(/(%D(+j(–(²(Ï(é())06)g))†)0°)1á)!*)5* _* €*¡* ¶*Á*Õ* Ü*Læ*>3+€r+Ló+9@,;z,{¶,B2-ru-&è-!.?1.?q.±. Î.Ú."ñ./&1/X/]h/'Æ/î/40 80D0 T0,^0‹0D§0&ì0;1'O1 w1 ˜1"¹1*Ü12 2"2&)23P22„2T·2F 3CS3g—34ÿ344rG4Fº495Y;5N•5Bä5P'62x63«63ß6/7.C76r72©7&Ü7&8N*8'y8E¡8;ç84#9>X9.—94Æ9 û9E:LM:&š:!Á:ã:>ý:G<;?„;Ä;Ø;/ô;H$<Cm<±<8¸<Mñ<?=,T=E=Ç=æ=ø=>/,>!\>!~>> >'ß>5?/=? m?x?-Š? ¸?Ã?Ò?×?#é?3 @4A@Iv@NÀ@7A<GAF„AVËAI"B?lB?¬BiìBsVC{ÊCpFD3·DIëDG5E(}E¦EÃEÌE!ÕE÷E FF!F>FFFLF(QFzF‹F›F0@‚=R2-—W"O ”•B`4M^hq {¦€cXx¢l†'‰¨j:6|™ i5vJ;Ž–%<Š*©sHGP}¡Y‡˜V§>pyfS“ke£’?_¥r)m¬+„z«¤!KE.šuU#o[‹3…L› žIndŸNgt9ZDTF/(C‘w8$7 bQªƒ & A~\1aœ,]Œˆ Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Rate: %.4f File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s Input Buffer %5.1f%% Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%(NULL)(none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Changed lowpass frequency from %f kHz to %f kHz Comment:Comments: %sCopyrightCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" DefaultDescriptionDone.Downmixing stereo to mono ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing old file %s Error renaming %s to %s Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File: %sInput buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Key not foundLogical stream %d ended Memory allocation error in stats_init() Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Opening with %s module: %s Playing: %sProcessing failed Processing file "%s"... Quality option "%s" not recognised, ignoring ReplayGain (Album):ReplayGain (Track):Requesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d SuccessSystem errorThe file format of %s is not supported. Time: %sTrack number:TypeUnknown errorUnrecognised advanced option "%s" WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: Ignoring illegal escape character '%c' in name format WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid sample rate specified, assuming 44100. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Unknown option specified, ignoring-> WARNING: quality setting too high, setting to maximum quality. Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sothershuffle playliststandard inputstandard outputstringProject-Id-Version: vorbis-tools 1.0 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2003-01-03 22:48+0100 Last-Translator: Enric Martínez Language-Team: Spanish Language: es MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Generator: KBabel 0.9.6 Tasa de bits media: %.1f kb/s Tiempo consumido: %dm %04.1fs Tasa: %.4f Longitud del fichero: %dm %04.1fs Codificación del fichero finalizada "%s" Codificación finalizada. Dispositivo de sonido: %s Búfer de entrada %5.1f%% Búfer de Salida %5.1f%%%s: opción ilegal -- %c %s: opción inválida -- %c %s: la opción `%c%s' no admite ningún argumento %s: la opción `%s' es ambigua %s: la opción `%s' requiere un argumento %s: la opción `--%s' no admite ningún argumento %s: la opción `-W %s' no admite ningún argumento %s: la opción `-W %s' es ambigua %s: la opción requiere un argumento --%c %s: opción no reconocida `%c%s' %s: opción no reconocida `--%s' %sEOS (Fin de flujo)%sEn Pausa%sPrecarga a %.1f%%(NULO)(ninguno)--- No se puede abrir el fichero con la lista de reproducción %s. Omitido. --- ¡No se pueden reproducir todos los "ceroenos" fragmentos! --- Imposible reproducir cada fragmento 0 veces. --- Para hacer una decodificación de prueba use el controlador de salida nula. --- El controlador %s indicado en el fichero de configuración no es válido. --- Hueco en el flujo de datos; probablemente inofensivo --- Valor de prebúfer no válido. El intervalo es de 0-100. === No se pudo cargar el controlador predefinido y no se indicaron controladores en el fichero de configuración. Saliendo. === El controlador %s no es un controlador de salida de ficheros. === Error "%s" durante el análisis de las opciones de configuración de la línea de órdenes. === La opción era: %s === Formato de opción incorrecto: %s. === No existe el dispositivo %s. === Error de análisis sintáctico: %s en la línea %d de %s (%s) === La biblioteca Vorbis indica un error en el flujo de datos. Lector de ficheros AIFF/AIFCAutor: %sOpciones disponibles: Transferencia de bits media: %5.1fComentario defectuoso: "%s" Tipo no válido en la lista de opcionesValor no válidoSugerencia para la tasa de transferencia: superior=%ld nominal=%ld inferior=%ld intervalo=%ldError en el flujo de bits, continuando Imposible abrir %s. Cambiada frecuencia de paso bajo de %f KHz a %f KHz Comentario:Comentarios: %sCopyrightDatos dañados o faltan datos, continuando...Cabecera secundaria dañada.Imposible encontrar un procesador para el flujo de datos, liberando Imposible saltar %f segundos de audio.Imposible convertir comentario a UTF-8, no se puede añadir Imposible crear el directorio "%s": %s Imposible inicializar resampler Imposible abrir %s para lectura Imposible abrir %s para escritura Imposible analizar el punto de corte "%s" PredeterminadoDescripciónHecho.Mezclando a la baja de estéreo a mono ERROR: Imposible abrir fichero de entrada "%s": %s ERROR: Imposible abrir fichero de salida "%s": %s ERROR: Imposible crear los subdirectorios necesarios para el fichero de salida "%s" ERROR: El fichero de entrada "%s" no está en ningún formato soportado ERROR: Se han indicado varios ficheros al usar la entrada estándar ERROR: Múltiples ficheros de entrada con indicación de nombre de fichero de salida: se sugiere usar -n Activando motor de gestión de transferencia de bits Codificado por: %sCodificando %s%s%s a %s%s%s a una tasa de bits media aproximada de %d kbps (codificación VBR activada) Codificando %s%s%s a %s%s%s con tasa de bits media %d kbps Codificando %s%s%s a %s%s%s con calidad %2.2f Codificando %s%s%s a %s%s%s con nivel de calidad %2.2f usando VBR restringido Codificando %s%s%s a %s%s%s usando gestión de transferencia de bitsError durante la comprobación de existencia del directorio %s: %s Error en la apertura de %s usando el módulo %s. El fichero puede estar dañado. Error de apertura del fichero de comentarios '%s' Error de apertura del fichero de comentarios '%s'. ERROR: Imposible abrir fichero de entrada "%s": %s Error de apertura del fichero de entrada '%s'. Error de apertura del fichero de salida '%s'. Error al leer la primera página del flujo de bits Ogg.Error al leer el paquete inicial de las cabeceras.Error al borrar el fichero antiguo %s Error al cambiar el nombre de %s a %s Error al escribir la salida. El flujo de salida puede estar dañado o truncado.Error: Imposible crear búfer de audio. Error: Memoria insuficiente en decoder_buffered_metadata_callback(). Error: Memoria insuficiente en new_print_statistics_arg(). Error: El segmento de ruta "%s" no es un directorio Error al escribir los comentarios en el fichero de salida: %s Fallo al escribir datos en el flujo de salida Fallo al escribir la cabecera en el flujo de salida Fichero: %sEl tamaño del búfer de entrada es menor que el tamaño mínimo (%d kB).Puede que el nombre de fichero de entrada no sea el mismo que el de salida. La entrada no es un flujo de bits Ogg.El fichero de entrada no es ogg. Entrada truncada o vacía.Error interno al analizar las opciones de la línea de ordenes Error interno durante el análisis de las opciones de línea de órdenes. Error interno al analizar las opciones de la línea de órdenes. Clave no encontradaFlujo lógico %d finalizado Error de asignación de memoria en stats_init() Fallo en la inicialización de modo: parámetro de tasa de bits no válido Fallo en la inicialización de modo: parámetro de calidad no válido NombreNuevo flujo de datos lógico (#%d, serie: %08x): tipo %s No se han indicado ficheros de entrada. Use "ogginfo -h" para obtener ayuda. No hay ninguna claveImposible hallar un módulo para leer de %s. No se halló valor alguno para las opciones avanzadas del codificador Abriendo con el módulo %s: %s Reproduciendo: %sProcesamiento fallido Procesando fichero "%s"... Opción de calidad "%s" no reconocida, ignorada Ganancia de Reproducción (Álbum):Ganancia de Reproducción (Pista):Solicitar una tasa de bits mínima o máxima requiere --managed Entrada de remuestreo de %d Hz a %d Hz Definiendo opción avanzada del codificador "%s" a %s Omitiendo fragmento del tipo "%s", longitud %d ConseguidoError del sistemaEl formato del fichero %s no está soportado. Tiempo: %sPista número: TipoError desconocidoOpción avanzada "%s" no reconocida AVISO: Imposible leer argumento de endianness "%s" AVISO: Imposible leer frecuencia de remuestreo "%s" AVISO: Ignorando carácter de escape ilegal '%c' en el formato del nombre AVISO: No se indicaron suficientes títulos, usando ultimo título por defecto. AVISO: Valor de bits/muestras no válido, asumiendo 16. AVISO: Indicada cantidad de canales no válida, asumiendo 2. Aviso: Especificada Velocidad de muestreo no válida, asumiendo 44100. AVISO: Indicados múltiples filtros de formato de nombre de reemplazo, usando el final AVISO: Indicados múltiples filtros de formato de nombre, usando el final AVISO: Indicados múltiples formatos de nombre, usando el final AVISO: Indicados varios ficheros de salida, se sugiere usar -n AVISO: Indicados bits/muestras en bruto para datos que no están en ese modo. Asumiendo entrada en bruto. AVISO: Indicado número de canales para modo en bruto para datos que no están ese modo. Asumiendo entrada en bruto. AVISO: Indicado bit más significativo del modo 'en bruto' con datos que no están en ese modo. Se asume entrada 'en bruto'. AVISO: Especificada velocidad de muestreo para datos que no están en formato bruto. Asumiendo entrada en bruto. AVISO: Especificada opción desconocida, ignorada-> AVISO: Indicación de calidad demasiado alta, cambiando a calidad máxima. Aviso de la lista de reproducción %s: Imposible leer el directorio %s. Aviso: Imposible leer el directorio %s. comentario defectuoso: "%s" booleanocarácterdispositivo de salida predefinidodoble precisióncoma flotanteenterono se ha indicado ninguna acción ningunode %sotroordenar la lista de reproducción al azarentrada estándarsalida estándarcadenavorbis-tools-1.4.2/po/be.po0000644000175000017500000032327514002243560012455 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) 2002, 2003 Free Software Foundation, Inc. # Hleb Valoska , 2003. # Ales Nyakhaychyk , 2002, 2003. # msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.0\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: 2003-10-21 11:45+0300\n" "Last-Translator: Ales Nyakhaychyk \n" "Language-Team: Belarusian \n" "Language: be\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 0.9.6\n" #: ogg123/buffer.c:118 #, fuzzy, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "Памылка: неÑтае памÑці Ñž malloc_action().\n" #: ogg123/buffer.c:384 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "Памылка: немагчыма атрымаць памÑць у malloc_buffer_stats()\n" #: ogg123/callbacks.c:76 #, fuzzy msgid "ERROR: Device not available.\n" msgstr "Памылка: прылада недаÑÑжнаÑ.\n" #: ogg123/callbacks.c:79 #, fuzzy, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "" "Памылка: %s патрабуе каб назва файла вываду была задана з выбарам -f.\n" #: ogg123/callbacks.c:82 #, fuzzy, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "Памылка: дадатковае значÑньне выбру не падтрымліваецца прыладай %s.\n" #: ogg123/callbacks.c:86 #, fuzzy, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "Памылка: немагчыма адчыніць прыладу %s.\n" #: ogg123/callbacks.c:90 #, fuzzy, c-format msgid "ERROR: Device %s failure.\n" msgstr "Памылка: памылка прылады %s.\n" #: ogg123/callbacks.c:93 #, fuzzy, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "Памылка: файл вываду не павінен ужывацца Ð´Ð»Ñ Ð¿Ñ€Ñ‹Ð»Ð°Ð´Ñ‹ %s.\n" #: ogg123/callbacks.c:96 #, fuzzy, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "Памылка: немагчыма адчыніць файл %s на запіÑ.\n" #: ogg123/callbacks.c:100 #, fuzzy, c-format msgid "ERROR: File %s already exists.\n" msgstr "Памылка: файл %s ужо йÑнуе.\n" #: ogg123/callbacks.c:103 #, fuzzy, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "" "Памылка: гÑÑ‚Ð°Ñ Ð¿Ð°Ð¼Ñ‹Ð»ÐºÐ° ніколі не павінна здарацца (%d).\n" "ХавайÑÑ Ñž бульбу!\n" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 #, fuzzy msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "Памылка: неÑтае памÑці Ñž new_audio_reopen_arg().\n" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "Памылка: неÑтае памÑці Ñž new_print_statistics_arg().\n" #: ogg123/callbacks.c:238 #, fuzzy msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "Памылка: неÑтае памÑці Ñž new_status_message_arg().\n" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Памылка: неÑтае памÑці Ñž decoder_buffered_metadata_callback().\n" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 #, fuzzy msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "Памылка: неÑтае памÑці Ñž decoder_buffered_metadata_callback().\n" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "СыÑÑ‚ÑÐ¼Ð½Ð°Ñ Ð¿Ð°Ð¼Ñ‹Ð»ÐºÐ°" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "=== Памылка разбору: %s у радку %d з %s (%s)\n" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "Ðазва" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "ÐпіÑаньне" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "Від" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "Дапомна" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "ніÑкі" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "лÑгічаÑкі" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "знакавы" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "радковы" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "цÑлалікавы" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "Ñапраўнды" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "double" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "іншы" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "(NULL)" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "(ніÑкі)" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "ПаÑьпÑхова" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "Ключ Ð½Ñ Ð·Ð½Ð¾Ð¹Ð´Ð·ÐµÐ½Ñ‹" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "Ключа нÑма" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "КепÑкае значÑньне" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "КепÑкі від у ÑьпіÑе выбараў" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "ÐевÑÐ´Ð¾Ð¼Ð°Ñ Ð¿Ð°Ð¼Ñ‹Ð»ÐºÐ°" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "Ð£Ð½ÑƒÑ‚Ñ€Ð°Ð½Ð°Ñ Ð¿Ð°Ð¼Ñ‹Ð»ÐºÐ° разбору выбараў загаднага радка.\n" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "Памер буфÑра ўводу меншы за найменшы памер, роўны %d Кб." #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" "=== Памылка \"%s\" разбору выбараў, вызначаных у загадным радку.\n" "=== Выбар: %s\n" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "ÐœÐ°Ð³Ñ‡Ñ‹Ð¼Ñ‹Ñ Ð²Ñ‹Ð±Ð°Ñ€Ñ‹:\n" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "=== ÐÑма такой прылады: %s.\n" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "=== ДрайвÑÑ€ %s Ð½Ñ Ð²Ñ‹Ð²Ð¾Ð´Ð·Ñ–Ñ†ÑŒ у файл.\n" #: ogg123/cmdline_options.c:144 #, fuzzy msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "=== Ðельга вызначаць файл вываду, Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ñ‹ÑžÑˆÑ‹ драйвÑÑ€.\n" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "=== Ðедакладны фармат выбара: %s.\n" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "--- Ðедапушчальнае значÑньне прÑбуфÑра. Прамежак: 0-100.\n" #: ogg123/cmdline_options.c:202 #, fuzzy, c-format msgid "ogg123 from %s %s" msgstr "ogg123 з %s %s\n" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "--- Ðемагчыма граць кожны 0-вы кавалак!\n" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" "--- Ðемагчыма граць кожны кавалак 0 разоў.\n" "--- Каб праверыць дÑкаваньне, выкарыÑтоўвайце драйвÑÑ€ вываду null.\n" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "" "--- Ðемагчыма прачытаць ÑÑŒÐ¿Ñ–Ñ Ñ„Ð°Ð¹Ð»Ð°Ñž %s Ð´Ð»Ñ Ð¿Ñ€Ð°Ð¹Ð³Ñ€Ð°Ð²Ð°Ð½ÑŒÐ½Ñ. Прапушчана.\n" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "--- ДрайвÑÑ€ %s, Ñкі вызначаны Ñž файле наладак, недапушчальны.\n" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" "=== Ðемагчыма загрузіць дапомны драйвÑÑ€ Ñ– нÑма вызначÑÐ½ÑŒÐ½Ñ Ð´Ñ€Ð°Ð¹Ð²Ñра Ñž файле\n" "наладак. Выхад.\n" #: ogg123/cmdline_options.c:307 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:314 #, fuzzy, c-format msgid "Available codecs: " msgstr "ÐœÐ°Ð³Ñ‡Ñ‹Ð¼Ñ‹Ñ Ð²Ñ‹Ð±Ð°Ñ€Ñ‹:\n" #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:342 #, fuzzy, c-format msgid "File:" msgstr "Файл: %s" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" #: ogg123/cmdline_options.c:361 #, fuzzy, c-format msgid "Playlist options\n" msgstr "ÐœÐ°Ð³Ñ‡Ñ‹Ð¼Ñ‹Ñ Ð²Ñ‹Ð±Ð°Ñ€Ñ‹:\n" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:369 #, fuzzy, c-format msgid "Input options\n" msgstr "Увод - Ð½Ñ ogg.\n" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:374 #, fuzzy, c-format msgid "Decode options\n" msgstr "ÐпіÑаньне" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, fuzzy, c-format msgid "Miscellaneous options\n" msgstr "ÐœÐ°Ð³Ñ‡Ñ‹Ð¼Ñ‹Ñ Ð²Ñ‹Ð±Ð°Ñ€Ñ‹:\n" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr "" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, fuzzy, c-format msgid "ERROR: Out of memory.\n" msgstr "Памылка: неÑтае памÑці.\n" #: ogg123/format.c:90 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "Памылка: немагчыма атрымаць памÑць у malloc_decoder_stats()\n" #: ogg123/http_transport.c:145 #, fuzzy msgid "ERROR: Could not set signal mask." msgstr "Памылка: немагчыма вызначыць маÑку Ñыгнала." #: ogg123/http_transport.c:202 #, fuzzy msgid "ERROR: Unable to create input buffer.\n" msgstr "Памылка: немагчыма Ñтварыць буфÑÑ€ уводу.\n" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "Ð´Ð°Ð¿Ð¾Ð¼Ð½Ð°Ñ Ð¿Ñ€Ñ‹Ð»Ð°Ð´Ð° вываду" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "выпадковае прайграваньне" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:230 #, fuzzy, c-format msgid "Could not skip to %f in audio stream." msgstr "Ðемагчыма абмінуць %f ÑÑкундаў." #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" "\n" "\n" "Прылада аўдыё: %s" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "Стваральнік: %s" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "КамÑнтары: %s" #: ogg123/ogg123.c:421 #, fuzzy, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "Увага: немагчыма прачытаць Ñ‚Ñчку %s.\n" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "Памылка: немагчыма Ñтварыць аўдыёбуфÑÑ€.\n" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "Ðемагчыма адшукаць модуль, каб чытаць з %s.\n" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "Ðемагчыма адчыніць %s.\n" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "Фармат файла %s не падтрымліваецца.\n" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" "Памылка Ð°Ð´Ñ‡Ñ‹Ð½ÐµÐ½ÑŒÐ½Ñ %s з дапамогай Ð¼Ð¾Ð´ÑƒÐ»Ñ %s. Магчыма файл пашкоджаны.\n" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "Прайграваньне: %s" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "Ðемагчыма абмінуць %f ÑÑкундаў." #: ogg123/ogg123.c:666 #, fuzzy msgid "ERROR: Decoding failure.\n" msgstr "Памылка: памылка дÑкадаваньнÑ.\n" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:747 msgid "Done." msgstr "Зроблена." #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "--- Дзірка Ñž плыні; магчыма, гÑта бÑÑшкодна\n" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "=== БібліÑÑ‚Ñка Vorbis паведаміла пра памылку плыні.\n" #: ogg123/oggvorbis_format.c:361 #, fuzzy, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "Ð‘Ñ–Ñ‚Ð°Ð²Ð°Ñ Ð¿Ð»Ñ‹Ð½Ñ: %d канал(Ñ‹), %ldГц" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "Падказкі бітрÑйту: верхні=%ld пачатковы=%ld ніжні=%ld вакно=%ld" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "Закадавана ўжываючы: %s" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, fuzzy, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "Памылка: неÑтае памÑці Ñž create_playlist_member().\n" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "Увага: немагчыма прачытаць Ñ‚Ñчку %s.\n" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "ПапÑÑ€Ñджаньне ад ÑьпіÑу %s: немагчыма прачытаць Ñ‚Ñчку %s.\n" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, fuzzy, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "Памылка: неÑтае памÑці Ñž playlist_to_array().\n" #: ogg123/speex_format.c:366 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:372 #, fuzzy, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "Ð‘Ñ–Ñ‚Ð°Ð²Ð°Ñ Ð¿Ð»Ñ‹Ð½Ñ: %d канал(Ñ‹), %ldГц" #: ogg123/speex_format.c:378 #, fuzzy, c-format msgid "Speex version: %s" msgstr "Ð’ÑÑ€ÑÑ–Ñ: %d\n" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 #, fuzzy msgid "Cannot read header" msgstr "Памылка Ñ‡Ð°Ñ‚Ð°Ð½ÑŒÐ½Ñ Ð·Ð°Ð³Ð°Ð»Ð¾ÑžÐºÐ°Ñž\n" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "%sПрÑбуф да %.1f%%" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "%sПрыпынена" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "%sEOS" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "Памылка Ð°Ñ‚Ñ€Ñ‹Ð¼Ð°Ð½ÑŒÐ½Ñ Ð¿Ð°Ð¼Ñці Ñž stats_init()\n" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "Файл: %s" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "ЧаÑ: %s" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "з %s" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "СÑÑ€Ñдні бітрÑйт: %5.1f" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr " буфÑÑ€ уводу %5.1f%%" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr " БуфÑÑ€ вываду %5.1f%%" #: ogg123/transport.c:71 #, fuzzy, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "Памылка: немагчыма атрымаць памÑць у malloc_data_source_stats()\n" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "Ðумар запіÑа:" #: ogg123/vorbis_comments.c:42 #, fuzzy msgid "ReplayGain (Reference loudness):" msgstr "ReplayGain (ЗапіÑ):" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "ReplayGain (ЗапіÑ):" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "ReplayGain (Ðльбом):" #: ogg123/vorbis_comments.c:45 #, fuzzy msgid "ReplayGain Peak (Track):" msgstr "ReplayGain (ЗапіÑ):" #: ogg123/vorbis_comments.c:46 #, fuzzy msgid "ReplayGain Peak (Album):" msgstr "ReplayGain (Ðльбом):" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "ÐўтарÑÐºÑ–Ñ Ð¿Ñ€Ð°Ð²Ñ‹" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 msgid "Comment:" msgstr "КамÑнтар:" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, fuzzy, c-format msgid "oggdec from %s %s\n" msgstr "ogg123 з %s %s\n" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: oggdec/oggdec.c:59 #, fuzzy, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" "ВыкарыÑтаньне: vcut фай_уводу.ogg Ñ„_вываду1.ogg Ñ„_вываду2.ogg " "пункт_разрÑзкі\n" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, fuzzy, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "ПÐМЫЛКÐ: немагчыма адкрыць файл уводу \"%s\": %s\n" #: oggdec/oggdec.c:219 #, fuzzy, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "ПÐМЫЛКÐ: немагчыма адкрыць файл вываду \"%s\": %s\n" #: oggdec/oggdec.c:268 #, fuzzy, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "ÐÑўдалае адчыненьне файла Ñк vorbis: %s\n" #: oggdec/oggdec.c:294 #, fuzzy, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" "\n" "\n" "Файл \"%s\" закадаваны.\n" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "Ñтандартны ўвод" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "Ñтандартны вывад" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, fuzzy, c-format msgid "Error writing to file: %s\n" msgstr "Памылка Ð²Ñ‹Ð´Ð°Ð»ÐµÐ½ÑŒÐ½Ñ Ñтарога файла %s\n" #: oggdec/oggdec.c:384 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" "%s%s\n" "ПÐМЫЛКÐ: Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹Ñ Ñ„Ð°Ð¹Ð»Ñ‹ ўводу. ПаÑпрабуце -h Ð´Ð»Ñ Ð´Ð°Ð²ÐµÐ´ÐºÑ–.\n" #: oggdec/oggdec.c:389 #, fuzzy, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" "ПÐМЫЛКÐ: некалькі файлаў уводу з вызначанай назвай файла вываду;\n" "лепей выкарыÑтоўвайце -n\n" #: oggenc/audio.c:47 #, fuzzy msgid "WAV file reader" msgstr "Чытач файлаў WAV" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "Чытач файлаў AIFF/AIFC" #: oggenc/audio.c:50 #, fuzzy msgid "FLAC file reader" msgstr "Чытач файлаў WAV" #: oggenc/audio.c:51 #, fuzzy msgid "Ogg FLAC file reader" msgstr "Чытач файлаў WAV" #: oggenc/audio.c:129 oggenc/audio.c:459 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "Увага: нечаканы канец файла пры чытаньні загалоўка WAV.\n" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "ПропуÑк кавалка віду \"%s\", даўжынёй %d.\n" #: oggenc/audio.c:166 #, fuzzy, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "Увага: нечаканы канец файла пры чытаньні загалоўку AIFF.\n" #: oggenc/audio.c:264 #, fuzzy, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "Увага: Ð½Ñ Ð·Ð½Ð¾Ð¹Ð´Ð·ÐµÐ½Ð° ніводнага агульнага кавалка Ñž AIFF файле.\n" #: oggenc/audio.c:270 #, fuzzy, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "Увага: нÑпоўны агульны кавалак у загалоўку AIFF.\n" #: oggenc/audio.c:278 #, fuzzy, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "Увага: нечаканы канец файла пры чытаньні загалоўку AIFF.\n" #: oggenc/audio.c:289 #, fuzzy, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "Увага: нÑпоўны агульны кавалак у загалоўку AIFF.\n" #: oggenc/audio.c:298 #, fuzzy, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "Увага: нÑпоўны загаловак AIFF-C.\n" #: oggenc/audio.c:312 #, fuzzy, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "Увага: ÑьціÑÐ½ÑƒÑ‚Ñ‹Ñ AIFF-C не падтрымліваюцца.\n" #: oggenc/audio.c:319 #, fuzzy, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "Увага: кавалак SSND Ð½Ñ Ð·Ð½Ð¾Ð¹Ð´Ð·ÐµÐ½Ñ‹ Ñž AIFF файле.\n" #: oggenc/audio.c:325 #, fuzzy, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "Увага: ÑапÑаваны кавалак SSND у загалоўку AIFF.\n" #: oggenc/audio.c:331 #, fuzzy, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "Увага: нечаканы канец файла пры чытаньні загалоўку AIFF.\n" #: oggenc/audio.c:381 #, fuzzy, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" "Увага: oggenc не падтрымлівае гÑткі від файлаў AIFF/AIFC.\n" " Мае быць 8-мі ці 16-ці бітавым ІКМ.\n" #: oggenc/audio.c:439 #, fuzzy, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "Увага: нераÑпазнаны фармат кавалка Ñž загалоўку WAV.\n" #: oggenc/audio.c:452 #, fuzzy, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" "Увага: недапушчальны фармат кавалка Ñž загалоўку WAV.\n" " УÑÑ‘ адно Ñпраба прачытаць (магчыма не Ñпрацуе)...\n" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" "ПÐМЫЛКÐ: від WAV файла не падтрымліваецца (мае быць Ñтандартны ІКМ\n" "ці ІКМ 3-га віду з незамацаванай коÑкай.\n" #: oggenc/audio.c:546 #, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" #: oggenc/audio.c:615 #, fuzzy, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" "ПÐМЫЛКÐ: падфармат файла WAV не падтрымліваецца (мае быць 16 бітавы\n" "ІКМ ці ІКМ з незамацаванай коÑкай.\n" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:799 #, fuzzy, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" "ÐЕДÐРОБКÐ: Ð°Ñ‚Ñ€Ñ‹Ð¼Ð°Ð½Ñ‹Ñ ÑÑмплы нулÑвога памеру ад Ñ€ÑÑÑмплера, Ваш файл будзе " "абрÑзаны.\n" "Калі лаÑка, паведаміце пра гÑта раÑпрацоўнікам праграмы.\n" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "Ðемагчыма раÑпачаць Ñ€ÑÑÑмплер.\n" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "Пашыраны выбар \"%s\" кадавальніка ÑžÑталÑваны Ñž %s.\n" #: oggenc/encode.c:73 #, fuzzy, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "Пашыраны выбар \"%s\" кадавальніка ÑžÑталÑваны Ñž %s.\n" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "ЧаÑÑŒÑ†Ñ–Ð½Ñ Ð·ÑŒÐ¼ÐµÐ½ÐµÐ½Ð°Ñ Ð· %f кГц у %f кГц.\n" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "ÐевÑдомы дадатковы выбар \"%s\".\n" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, fuzzy, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" "255 каналаў павінна хапіць кожнаму. (Ðажаль vorbis не падтрымлівае болей)\n" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "Запыт найменшага ці найбольшага бітрÑйту патрабуе \"--managed\".\n" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "ÐÑўдалае раÑпачынаньне Ñ€Ñжыму: недапушчальнае значÑньне ÑкаÑьці.\n" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "ÐÑўдалае раÑпачынаньне Ñ€Ñжыму: недапушчальнае значÑньне бітрÑйту.\n" #: oggenc/encode.c:374 #, fuzzy, c-format msgid "WARNING: no language specified for %s\n" msgstr "УВÐГÐ: вызначана невÑÐ´Ð¾Ð¼Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ, праігнараванаÑ->\n" #: oggenc/encode.c:396 #, fuzzy msgid "Failed writing fishead packet to output stream\n" msgstr "ÐÑўдалы Ð·Ð°Ð¿Ñ–Ñ Ð·Ð°Ð³Ð°Ð»Ð¾ÑžÐºÑƒ Ñž плыню вываду.\n" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "ÐÑўдалы Ð·Ð°Ð¿Ñ–Ñ Ð·Ð°Ð³Ð°Ð»Ð¾ÑžÐºÑƒ Ñž плыню вываду.\n" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 #, fuzzy msgid "Failed writing fisbone header packet to output stream\n" msgstr "ÐÑўдалы Ð·Ð°Ð¿Ñ–Ñ Ð·Ð°Ð³Ð°Ð»Ð¾ÑžÐºÑƒ Ñž плыню вываду.\n" #: oggenc/encode.c:510 #, fuzzy msgid "Failed writing skeleton eos packet to output stream\n" msgstr "ÐÑўдалы Ð·Ð°Ð¿Ñ–Ñ Ð·Ð°Ð³Ð°Ð»Ð¾ÑžÐºÑƒ Ñž плыню вываду.\n" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "ÐÑўдалы Ð·Ð°Ð¿Ñ–Ñ Ð´Ð°Ð½ÑŒÐ½ÑÑž у плыню вываду.\n" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, fuzzy, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "\t[%5.1f%%] [заÑталоÑÑŒ %2d хв %.2d Ñ] %c" #: oggenc/encode.c:726 #, fuzzy, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "\tКадаваньне [%2d хв %.2d Ñ Ð¿Ð°ÐºÑƒÐ»ÑŒ] %c" #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" "\n" "\n" "Файл \"%s\" закадаваны.\n" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" "\n" "\n" "Кадаваньне Ñкончана.\n" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" "\n" "\tÐ”Ð°ÑžÐ¶Ñ‹Ð½Ñ Ñ„Ð°Ð¹Ð»Ð°: %d хв %04.1f Ñ.\n" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "\tПрайшло чаÑу: %d хв %04.1f Ñ.\n" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "\tХуткаÑьць: %.4f.\n" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" "\tСÑÑ€Ñдні бітрÑйт: %.1f Кбіт/Ñ.\n" "\n" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" "Кадаваньне %s%s%s у \n" " %s%s%s \n" "зь ÑÑÑ€Ñднім бітрÑйтам %d кбіт/Ñ" #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" "Кадаваньне %s%s%s у\n" " %s%s%s \n" "з прыблізным бітрÑйтам %d Кбіт/Ñ (з выкарыÑтаньнем VBR)\n" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" "Кадаваньне %s%s%s у \n" " %s%s%s \n" "з узроўнем ÑкаÑьці %2.2f ужываючы вымушаны VBR " #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" "Кадаваньне %s%s%s у \n" " %s%s%s \n" "зь ÑкаÑьцю %2.2f\n" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" "Кадаваньне %s%s%s Ñž \n" " %s%s%s \n" "выкарыÑтоўваючы кіраваньне бітрÑйтам " #: oggenc/lyrics.c:66 #, fuzzy, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "ÐÑўдалае адчыненьне файла Ñк vorbis: %s\n" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, fuzzy, c-format msgid "Out of memory\n" msgstr "Памылка: неÑтае памÑці.\n" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, fuzzy, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "ПÐМЫЛКÐ: немагчыма адкрыць файл уводу \"%s\": %s\n" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 #, fuzzy msgid "RAW file reader" msgstr "Чытач файлаў WAV" #: oggenc/oggenc.c:131 #, fuzzy, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" "%s%s\n" "ПÐМЫЛКÐ: Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹Ñ Ñ„Ð°Ð¹Ð»Ñ‹ ўводу. ПаÑпрабуце -h Ð´Ð»Ñ Ð´Ð°Ð²ÐµÐ´ÐºÑ–.\n" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "Памылка: некалькі файлаў вызначана пры ўжываньні Ñтандартнага ўводу.\n" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" "ПÐМЫЛКÐ: некалькі файлаў уводу з вызначанай назвай файла вываду;\n" "лепей выкарыÑтоўвайце -n\n" #: oggenc/oggenc.c:217 #, fuzzy, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "УВÐГÐ: вызначана замала загалоўкаў, даўнімаецца апошні загаловак.\n" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "ПÐМЫЛКÐ: немагчыма адкрыць файл уводу \"%s\": %s\n" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "Ðдкрыцьцё модулем %s: %s\n" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "ПÐМЫЛКÐ: фармат файла ўводу \"%s\" не падтрымліваецца.\n" #: oggenc/oggenc.c:290 #, fuzzy, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "ПÐМЫЛКÐ: фармат файла ўводу \"%s\" не падтрымліваецца.\n" #: oggenc/oggenc.c:349 #, fuzzy, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "УВÐГÐ: нÑма назвы файла, Ð´Ð°Ð¿Ð¾Ð¼Ð½Ð°Ñ Ð½Ð°Ð·Ð²Ð° \"default.ogg\".\n" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" "ПÐМЫЛКÐ: немагчыма Ñтварыць падтÑчкі, патрÑÐ±Ð½Ñ‹Ñ Ð´Ð»Ñ Ð½Ð°Ð·Ð²Ñ‹ файла вываду \"%s" "\".\n" #: oggenc/oggenc.c:363 #, fuzzy, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "Ðазвы файлаў уводу й вываду не павінны Ñупадаць\n" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "ПÐМЫЛКÐ: немагчыма адкрыць файл вываду \"%s\": %s\n" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "РÑÑÑмплінг уводу з %d Гц да %d Гц.\n" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "ПераўтварÑньне ÑкаÑьці Ñа ÑÑ‚ÑÑ€Ñа Ñž мона.\n" #: oggenc/oggenc.c:441 #, fuzzy, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "ПÐМЫЛКÐ: зьмÑненьне немагчымае, апроч Ñа ÑÑ‚ÑÑ€Ñа Ñž мона.\n" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, fuzzy, c-format msgid "oggenc from %s %s\n" msgstr "ogg123 з %s %s\n" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "УВÐГÐ: праігнараваны нÑправільны запабежны знак '%c' у фармаце імÑ\n" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "Задзейнічаньне мÑханізму ÐºÑ–Ñ€Ð°Ð²Ð°Ð½ÑŒÐ½Ñ Ð±Ñ–Ñ‚Ñ€Ñйтам\n" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" "УВÐГÐ: вызначаны парадак байтаў Ð´Ð»Ñ Ð½ÑпроÑтых даных. Лічым уваход проÑтым.\n" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "УВÐГÐ: немагчыма прачытаць парамÑтар парадку байтаў \"%s\"\n" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "УВÐГÐ: немагчыма прачытаць чаÑьціню Ñ€ÑÑÑмплінгу \"%s\"\n" #: oggenc/oggenc.c:773 #, fuzzy, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "Увага: вызначана чаÑÑŒÑ†Ñ–Ð½Ñ Ñ€ÑÑÑмплінгу %d Hz. МелаÑÑ Ð½Ð° ўвазе %d Hz?\n" #: oggenc/oggenc.c:784 #, fuzzy, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "УВÐГÐ: немагчыма прачытаць чаÑьціню Ñ€ÑÑÑмплінгу \"%s\"\n" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "ÐÑ Ð·Ð½Ð¾Ð¹Ð´Ð·ÐµÐ½Ð° значÑньне Ð´Ð»Ñ Ð·Ð°Ð´Ð°Ð´Ð·ÐµÐ½Ð°Ð¹ пашыранай опцыі кадаваньніка\n" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "ÐÑƒÑ‚Ñ€Ð°Ð½Ð°Ñ Ð¿Ð°Ð¼Ñ‹Ð»ÐºÐ° разбору опцый каманднага радка\n" #: oggenc/oggenc.c:831 #, fuzzy, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "Увага: нÑправільны камÑнтар (\"%s\"), праігнараваны.\n" #: oggenc/oggenc.c:870 #, fuzzy, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "Увага: намінальны бітрÑйт \"%s\" не раÑпазнаны\n" #: oggenc/oggenc.c:878 #, fuzzy, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "Увага: мінімальны бітрÑйт \"%s\" не раÑпазнаны\n" #: oggenc/oggenc.c:892 #, fuzzy, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "Увага: макÑымальны бітрÑйт \"%s\" не раÑпазнаны\n" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "Ðе раÑÐ¿Ð°Ð·Ð½Ð°Ð½Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ ÑкаÑьці \"%s\", праігнараванаÑ\n" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "УВÐГÐ: запытана завыÑÐ¾ÐºÐ°Ñ ÑкаÑьць, уÑтаноўлена Ñž макÑымальную.\n" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "УВÐГÐ: вызначана колькі фарматаў імÑ, ужыты апошні\n" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "УВÐГÐ: вызначана колькі фільтраў фармату імÑ, ужыты апошні\n" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "УВÐГÐ: вызначана колькі фільтраў замены фармату імÑ, ужыты апошні\n" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "УВÐГÐ: вызначана колькі выходных файлаў, лепей ужывай -n\n" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" "УВÐГÐ: Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹Ñ Ð±Ñ–Ñ‚Ñ‹ на ÑÑмпл Ð´Ð»Ñ Ð½ÑпроÑтых даных. Лічым уваход проÑтым.\n" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "УВÐГÐ: Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹Ñ Ð±Ñ–Ñ‚Ñ‹ на ÑÑмпл нÑправільныÑ, прынÑта 16.\n" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" "УВÐГÐ: Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð°Ñ ÐºÐ¾Ð»ÑŒÐºÐ°Ñьць каналаў Ð´Ð»Ñ Ð½ÑпроÑтых даных. Лічым уваход " "проÑтым.\n" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "УВÐГÐ: Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð°Ñ Ð½ÑÐ¿Ñ€Ð°Ð²Ñ–Ð»ÑŒÐ½Ð°Ñ ÐºÐ¾Ð»ÑŒÐºÐ°Ñьць каналаў, прынÑта 2.\n" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" "УВÐГÐ: Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð°Ñ Ñ‡Ð°ÑÑŒÑ†Ñ–Ð½Ñ Ð´Ð»Ñ Ð½ÑпроÑтых даных. Лічым уваход проÑтым.\n" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "УВÐГÐ: Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð°Ñ Ð½ÑÐ¿Ñ€Ð°Ð²Ñ–Ð»ÑŒÐ½Ð°Ñ Ñ‡Ð°ÑьцінÑ, прынÑта 44100.\n" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "УВÐГÐ: вызначана невÑÐ´Ð¾Ð¼Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ, праігнараванаÑ->\n" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, fuzzy, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "Ðемагчыма ÑканвÑртаваць камÑнтар у UTF-8, немагчыма дадаць\n" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "Ðемагчыма ÑканвÑртаваць камÑнтар у UTF-8, немагчыма дадаць\n" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "УВÐГÐ: вызначана замала загалоўкаў, даўнімаецца апошні загаловак.\n" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "Ðемагчыма Ñтварыць каталёг \"%s\": %s\n" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "Памылка праверкі на Ñ–Ñнаваньне каталёгу %s: %s\n" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "Памылка: ÑÑгмÑнт шлÑху \"%s\" не зьÑўлÑецца каталёгам\n" #: ogginfo/ogginfo2.c:115 #, fuzzy, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" "ÐŸÐ»Ñ‹Ð½Ñ Vorbis %d:\n" "\tÐÐ³ÑƒÐ»ÑŒÐ½Ð°Ñ Ð´Ð°ÑžÐ¶Ñ‹Ð½Ñ Ð´Ð°Ð½ÑŒÐ½ÑÑž: %ld байтаў\n" "\tÐ”Ð°ÑžÐ¶Ñ‹Ð½Ñ Ð¿Ñ€Ð°Ð¹Ð³Ñ€Ð°Ð²Ð°Ð½ÑŒÐ½Ñ: %ldm:%02ld s.\n" "\tСÑÑ€Ñдні бітрÑйт: %f кбіт/Ñ\n" #: ogginfo/ogginfo2.c:127 #, fuzzy, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "Увага: канец-патоку Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹ Ñž патоку %d\n" #: ogginfo/ogginfo2.c:216 #, fuzzy msgid "WARNING: Invalid header page, no packet found\n" msgstr "Увага: ÐÑÐ¿Ñ€Ð°Ð²Ñ–Ð»ÑŒÐ½Ð°Ñ Ñтаронка загалоўкаў, Ð½Ñ Ð·Ð½Ð¾Ð¹Ð´Ð·ÐµÐ½Ð° пакетаў\n" #: ogginfo/ogginfo2.c:246 #, fuzzy, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" "Увага: нÑÐ¿Ñ€Ð°Ð²Ñ–Ð»ÑŒÐ½Ð°Ñ Ñтаронка загалоўкаў у патоку %d, утрымлівае колькі " "пакетаў\n" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" #: ogginfo/ogginfo2.c:278 #, fuzzy, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "Увага: Дзірка Ñž даных знойдзена на прыблізнай адлеглаÑьці " #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "Памылка Ð°Ð´ÐºÑ€Ñ‹Ñ†ÑŒÑ†Ñ Ñ„Ð°Ð¹Ð»Ð° ўводу \"%s\": %s\n" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" "Ðпрацоўка файла \"%s\"...\n" "\n" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "Ðемагчыма знайÑьці апрацоўшчыка Ð´Ð»Ñ Ð¿Ð°Ñ‚Ð¾ÐºÐ°, bailing\n" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:337 #, fuzzy, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" "Увага: недапушчальна Ñ€Ð°Ð·ÑŒÐ¼ÐµÑˆÑ‡Ð°Ð½Ñ‹Ñ Ñтаронкі Ñž лÑгічным патоку %d\n" "ГÑта Ñьведчыць аб пашкоджанаÑьці файла ogg.\n" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "Ðовы лÑгічны паток (#%d, нумар: %08x): тып %s\n" #: ogginfo/ogginfo2.c:352 #, fuzzy, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "Увага: ÑьцÑг пачатку патока не ÑžÑтаноўлены Ñž патоку %d\n" #: ogginfo/ogginfo2.c:355 #, fuzzy, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "Увага: ÑьцÑг пачатку патока знойдзены Ñž ÑÑÑ€Ñдзіне патока %d\n" #: ogginfo/ogginfo2.c:361 #, fuzzy, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" "Увага: прабел у нумарах паÑьлÑдоўнаÑьцÑÑž у патоку %d. ÐÑ‚Ñ€Ñ‹Ð¼Ð°Ð½Ð°Ñ Ñтаронка " "%ld, але чакалаÑÑ Ñтаронка %ld. Сьведчыць пра адÑутнаÑьць даных.\n" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "ЛÑÐ³Ñ–Ñ‡Ð½Ð°Ñ Ð¿Ð»Ñ‹Ð½Ñ %d ÑкончылаÑÑ\n" #: ogginfo/ogginfo2.c:384 #, fuzzy, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" "Памылка: Ð½Ñ Ð·Ð½Ð¾Ð¹Ð´Ð·ÐµÐ½Ð° даных ogg у файле \"%s\".\n" "Уваход, магчыма, Ð½Ñ ogg.\n" #: ogginfo/ogginfo2.c:395 #, fuzzy, c-format msgid "ogginfo from %s %s\n" msgstr "ogg123 з %s %s\n" #: ogginfo/ogginfo2.c:400 #, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:401 #, fuzzy, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" "ogginfo 1.0\n" "(c) 2002 Michael Smith \n" "\n" "Ужывай: ogginfo [опцыі] файл1.ogg [файл2.ogg ... файлN.ogg]\n" "Опцыі, Ñкі падтрымліваюцца:\n" " -h Паказвае гÑтую даведка.\n" " -q ПамÑншае шматÑлоўнаÑьць. Ðдзін раз - прыбірае падрабÑÐ·Ð½Ñ‹Ñ " "зьвеÑткі,\n" " два разы - прыбірае папÑÑ€Ñджваньні.\n" " -v ПавÑлічвае шматÑлоўнаÑьць. Можа ўключыць больш падрабÑзную " "праверку\n" " Ð´Ð»Ñ Ð½ÐµÐºÐ°Ñ‚Ð¾Ñ€Ñ‹Ñ… тыпаў патокаў.\n" "\n" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:422 #, fuzzy, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" "Ужывай: ogginfo [опцыі] файл1.ogg [файл2.ogg ... файлN.ogg]\n" "\n" "Ogginfo -- Ñродак Ð´Ð»Ñ Ð´Ñ€ÑƒÐºÑƒ зьвеÑтак пра файлы ogg\n" "Ñ– дыÑÐ³Ð½Ð°Ð·Ð°Ð²Ð°Ð½ÑŒÐ½Ñ Ñ–Ñ…Ð½Ñ‹Ñ… праблем.\n" "ÐŸÐ¾ÑžÐ½Ð°Ñ Ð´Ð°Ð²ÐµÐ´ÐºÐ° адлюÑтроўваецца па \"ogginfo -h\".\n" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "ÐÑ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð° ўваходных файлаў. \"ogginfo -h\" Ð´Ð»Ñ Ð´Ð°Ð²ÐµÐ´ÐºÑ–\n" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: Ð¾Ð¿Ñ†Ñ‹Ñ `%s' двухÑÑнÑоўнаÑ\n" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: Ð¾Ð¿Ñ†Ñ‹Ñ `--%s' не Ð¿Ð°Ð²Ñ–Ð½Ð½Ð°Ñ Ð¼ÐµÑ†ÑŒ парамÑтраў\n" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: Ð¾Ð¿Ñ†Ñ‹Ñ `%c%s' не Ð¿Ð°Ð²Ñ–Ð½Ð½Ð°Ñ Ð¼ÐµÑ†ÑŒ парамÑтраў\n" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: Ð¾Ð¿Ñ†Ñ‹Ñ `%s' патрабуе парамÑтар\n" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: нераÑÐ¿Ð°Ð·Ð½Ð°Ð½Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ `--%s'\n" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: нераÑÐ¿Ð°Ð·Ð½Ð°Ð½Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ `%c%s'\n" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: Ð½ÐµÐ´Ð°Ð¿ÑƒÑˆÑ‡Ð°Ð»ÑŒÐ½Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ -- %c\n" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: нÑÐ¿Ñ€Ð°Ð²Ñ–Ð»ÑŒÐ½Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ -- %c\n" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: опцыÑпатрабуе парамÑтар -- %c\n" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: Ð¾Ð¿Ñ†Ñ‹Ñ `-W %s' двухÑÑнÑоўнаÑ\n" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: Ð¾Ð¿Ñ†Ñ‹Ñ `-W %s' не Ð¿Ð°Ð²Ñ–Ð½Ð½Ð°Ñ Ð¼ÐµÑ†ÑŒ парамÑтра\n" #: vcut/vcut.c:129 #, fuzzy, c-format msgid "Couldn't flush output stream\n" msgstr "Ðемагчыма разабраць пункт разрÑзкі \"%s\"\n" #: vcut/vcut.c:149 #, fuzzy, c-format msgid "Couldn't close output file\n" msgstr "Ðемагчыма разабраць пункт разрÑзкі \"%s\"\n" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "Ðемагчыма адкрыць %s Ð´Ð»Ñ Ð·Ð°Ð¿Ñ–Ñу\n" #: vcut/vcut.c:250 #, fuzzy, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" "ВыкарыÑтаньне: vcut фай_уводу.ogg Ñ„_вываду1.ogg Ñ„_вываду2.ogg " "пункт_разрÑзкі\n" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "Ðемагчыма адкрыць %s Ð´Ð»Ñ Ñ‡Ñ‹Ñ‚Ð°Ð½ÑŒÐ½Ñ\n" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "Ðемагчыма разабраць пункт разрÑзкі \"%s\"\n" #: vcut/vcut.c:287 #, fuzzy, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "Ðпрацоўка: разрÑз Ð»Ñ %lld\n" #: vcut/vcut.c:289 #, fuzzy, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "Ðпрацоўка: разрÑз Ð»Ñ %lld\n" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "Памылка апрацоўкі\n" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, fuzzy, c-format msgid "Cutpoint not found\n" msgstr "Ключ Ð½Ñ Ð·Ð½Ð¾Ð¹Ð´Ð·ÐµÐ½Ñ‹" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, fuzzy, c-format msgid "Couldn't write packet to output file\n" msgstr "Памылка запіÑу камÑнтароў у файл вываду: %s\n" #: vcut/vcut.c:505 #, fuzzy, c-format msgid "BOS not set on first page of stream\n" msgstr "Памылка Ñ‡Ñ‹Ñ‚Ð°Ð½ÑŒÐ½Ñ Ð¿ÐµÑ€ÑˆÐ°Ð¹ Ñтаронкі бітавае плыні ogg." #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, fuzzy, c-format msgid "Internal stream parsing error\n" msgstr "Памылка бітавай плыні Ñкую можна выправіць\n" #: vcut/vcut.c:545 #, fuzzy, c-format msgid "Header packet corrupt\n" msgstr "Пашкоджаны другаÑны загаловак\n" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "Памылка бітавагай плыні, працÑг...\n" #: vcut/vcut.c:561 #, fuzzy, c-format msgid "Error in header: not vorbis?\n" msgstr "Памылка Ñž першаÑным загалоўку: Ð½Ñ vorbis?\n" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "Увод - Ð½Ñ ogg.\n" #: vcut/vcut.c:616 #, fuzzy, c-format msgid "Page error, continuing\n" msgstr "Памылка бітавагай плыні, працÑг...\n" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, fuzzy, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "Знодзены канец-плыні раней за пункт разрÑзкі.\n" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "Памылка Ñ‡Ñ‹Ñ‚Ð°Ð½ÑŒÐ½Ñ Ð¿ÐµÑ€ÑˆÐ°Ð¹ Ñтаронкі бітавае плыні ogg." #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "Памылка Ñ‡Ñ‹Ñ‚Ð°Ð½ÑŒÐ½Ñ Ð¿Ð°Ñ‡Ð°Ñ‚ÐºÐ¾Ð²Ð°Ð³Ð° Ñкрутка загалоўка." #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "Увод абрÑзаны ці пуÑты." #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "Увод не зьÑўлÑецца бітавый плынÑй ogg." #: vorbiscomment/vcedit.c:541 #, fuzzy msgid "Ogg bitstream does not contain Vorbis data." msgstr "Ð‘Ñ–Ñ‚Ð°Ð²Ð°Ñ Ð¿Ð»Ñ‹Ð½ÑŒ ogg Ð½Ñ ÑžÑ‚Ñ€Ñ‹Ð¼Ð»Ñ–Ð²Ð°Ðµ даньнÑÑž vorbis." #: vorbiscomment/vcedit.c:555 #, fuzzy msgid "EOF before recognised stream." msgstr "Канец файла (EOF) раней за канец загалоўка vorbis." #: vorbiscomment/vcedit.c:568 #, fuzzy msgid "Ogg bitstream does not contain a supported data-type." msgstr "Ð‘Ñ–Ñ‚Ð°Ð²Ð°Ñ Ð¿Ð»Ñ‹Ð½ÑŒ ogg Ð½Ñ ÑžÑ‚Ñ€Ñ‹Ð¼Ð»Ñ–Ð²Ð°Ðµ даньнÑÑž vorbis." #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "Пашкоджаны другаÑны загаловак." #: vorbiscomment/vcedit.c:630 #, fuzzy msgid "EOF before end of Vorbis headers." msgstr "Канец файла (EOF) раней за канец загалоўка vorbis." #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "ÐŸÐ°ÑˆÐºÐ¾Ð´Ð¶Ð°Ð½Ñ‹Ñ Ñ†Ñ– Ð¿Ñ€Ð°Ð¿ÑƒÑˆÑ‡Ð°Ð½Ñ‹Ñ Ð´Ð°Ð½ÑŒÐ½Ñ–, працÑг..." #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" "Памылка запіÑу плыні Ñž вывад. Ð’Ñ‹Ñ…Ð¾Ð´Ð½Ð°Ñ Ð¿Ð»Ñ‹Ð½ÑŒ можа быць пашкоджана ці " "абрÑзана." #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, fuzzy, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "ÐÑўдалае адчыненьне файла Ñк vorbis: %s\n" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "КепÑкі камÑнтар: \"%s\"\n" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "кепÑкі камÑнтар: \"%s\"\n" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "Памылка запіÑу камÑнтароў у файл вываду: %s\n" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "дзеÑньне Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð°\n" #: vorbiscomment/vcomment.c:465 #, fuzzy, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "Ðемагчыма пераўтварыць камÑнтар у UTF8, немагчыма дадаць\n" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:622 #, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:632 #, fuzzy, c-format msgid "Editing options\n" msgstr "КепÑкі від у ÑьпіÑе выбараў" #: vorbiscomment/vcomment.c:633 #, c-format msgid " -a, --append Update comments\n" msgstr "" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" #: vorbiscomment/vcomment.c:672 #, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "Ð£Ð½ÑƒÑ‚Ñ€Ð°Ð½Ð°Ñ Ð¿Ð°Ð¼Ñ‹Ð»ÐºÐ° апрацоўкі выбараў загаду\n" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "Памылка Ð°Ð´ÐºÑ€Ñ‹Ñ†ÑŒÑ†Ñ Ñ„Ð°Ð¹Ð»Ð° ўводу \"%s\".\n" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "Ðазвы файлаў уводу й вываду не павінны Ñупадаць\n" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "Памылка Ð°Ð´ÐºÑ€Ñ‹Ñ†ÑŒÑ†Ñ Ñ„Ð°Ð¹Ð»Ð° вываду \"%s\"\n" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "Памылка Ð°Ð´ÐºÑ€Ñ‹Ñ†ÑŒÑ†Ñ Ñ„Ð°Ð¹Ð»Ð° камÑнтараў \"%s\".\n" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "Памылка Ð°Ð´ÐºÑ€Ñ‹Ñ†ÑŒÑ†Ñ Ñ„Ð°Ð¹Ð»Ð° камÑнтараў \"%s\"\n" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "Памылка Ð²Ñ‹Ð´Ð°Ð»ÐµÐ½ÑŒÐ½Ñ Ñтарога файла %s\n" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "Памылка Ð¿ÐµÑ€Ð°Ð¹Ð¼ÐµÐ½Ð°Ð²Ð°Ð½ÑŒÐ½Ñ \"%s\" у \"%s\"\n" #: vorbiscomment/vcomment.c:938 #, fuzzy, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "Памылка Ð²Ñ‹Ð´Ð°Ð»ÐµÐ½ÑŒÐ½Ñ Ñтарога файла %s\n" #, fuzzy #~ msgid "Wave file reader" #~ msgstr "Чытач файлаў WAV" #, fuzzy #~ msgid "Internal error! Please report this bug.\n" #~ msgstr "Ð£Ð½ÑƒÑ‚Ñ€Ð°Ð½Ð°Ñ Ð¿Ð°Ð¼Ñ‹Ð»ÐºÐ° апрацоўкі выбараў загаду\n" #, fuzzy #~ msgid "oggenc from %s %s" #~ msgstr "ogg123 з %s %s\n" #, fuzzy #~ msgid "" #~ "WARNING: Comment %d in stream %d has invalid format, does not contain " #~ "'=': \"%s\"\n" #~ msgstr "" #~ "Увага: камÑнтар %d Ñž патоку %d нÑправільна адфарматаваны, Ð½Ñ ÑžÑ‚Ñ€Ñ‹Ð¼Ð»Ñ–Ð²Ð°Ðµ " #~ "'=': \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Invalid comment fieldname in comment %d (stream %d): \"%s\"\n" #~ msgstr "" #~ "Увага: Ñ–Ð¼Ñ Ð¿Ð¾Ð»Ñ ÐºÐ°Ð¼Ñнтара Ñž камÑнтары %d (паток %d) нÑправільнае: \"%s\"\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): length marker " #~ "wrong\n" #~ msgstr "" #~ "Увага: Ð½ÐµÐ´Ð°Ð¿ÑƒÑˆÑ‡Ð°Ð»ÑŒÐ½Ð°Ñ Ð¿Ð°ÑьлÑдоўнаÑьць UTF-8 у камÑнтары %d (паток %d): " #~ "маркер даўжыні нÑправільны\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): too few bytes\n" #~ msgstr "" #~ "Увага: Ð½ÐµÐ´Ð°Ð¿ÑƒÑˆÑ‡Ð°Ð»ÑŒÐ½Ð°Ñ Ð¿Ð°ÑьлÑдоўнаÑьць UTF-8 у камÑнтары %d (паток %d): " #~ "замала байтаў\n" #, fuzzy #~ msgid "" #~ "WARNING: Illegal UTF-8 sequence in comment %d (stream %d): invalid " #~ "sequence \"%s\": %s\n" #~ msgstr "" #~ "Увага: Ð½ÐµÐ´Ð°Ð¿ÑƒÑˆÑ‡Ð°Ð»ÑŒÐ½Ð°Ñ Ð¿Ð°ÑьлÑдоўнаÑьць UTF-8 у камÑнтары %d (паток %d): " #~ "нÑÐ¿Ñ€Ð°Ð²Ñ–Ð»ÑŒÐ½Ð°Ñ Ð¿Ð°ÑьлÑдоўнаÑьць\n" #, fuzzy #~ msgid "WARNING: Failure in UTF-8 decoder. This should not be possible\n" #~ msgstr "Увага: памылка Ñž дÑкодÑры utf8. Павінна быць немагчымым\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Theora header packet - invalid Theora stream " #~ "(%d)\n" #~ msgstr "" #~ "Увага: немагчыма раÑкадаваць пакет загалоўку vorbis - нÑправільны паток " #~ "vorbis (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Theora stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Увага: паток Vorbis %d утрымлівае нÑправільна Ð°ÐºÐ°Ð½Ñ‚Ð°Ð²Ð°Ð½Ñ‹Ñ Ð·Ð°Ð³Ð°Ð»Ð¾ÑžÐºÑ–. " #~ "ÐпошнÑÑ Ñтаронка загалоўкаў утрымлівае Ð´Ð°Ð´Ð°Ñ‚ÐºÐ¾Ð²Ñ‹Ñ Ð¿Ð°ÐºÐµÑ‚Ñ‹ ці granulepos Ð½Ñ " #~ "роўнае нулю\n" #, fuzzy #~ msgid "Theora headers parsed for stream %d, information follows...\n" #~ msgstr "Загалоўкі Vorbis Ñ€Ð°Ð·Ð°Ð±Ñ€Ð°Ð½Ñ‹Ñ Ñž патоку %d, зьвеÑткі ніжÑй...\n" #, fuzzy #~ msgid "Version: %d.%d.%d\n" #~ msgstr "Ð’ÑÑ€ÑÑ–Ñ: %d\n" #~ msgid "Vendor: %s\n" #~ msgstr "РаÑпаўÑюднік: %s\n" #, fuzzy #~ msgid "Height: %d\n" #~ msgstr "Ð’ÑÑ€ÑÑ–Ñ: %d\n" #, fuzzy #~ msgid "Colourspace unspecified\n" #~ msgstr "дзеÑньне Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð°\n" #, fuzzy #~ msgid "Target bitrate: %d kbps\n" #~ msgstr "Ðайбольшы бітрÑйт: %f кбіт/Ñ\n" #~ msgid "User comments section follows...\n" #~ msgstr "КамÑнтары карыÑтальніка йдуць ніжÑй...\n" #, fuzzy #~ msgid "WARNING: granulepos in stream %d decreases from %" #~ msgstr "Увага: granulepos у патоку %d зьмÑншаецца ад " #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Vorbis header packet %d - invalid Vorbis stream " #~ "(%d)\n" #~ msgstr "" #~ "Увага: немагчыма раÑкадаваць пакет загалоўку vorbis - нÑправільны паток " #~ "vorbis (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Vorbis stream %d does not have headers correctly framed. " #~ "Terminal header page contains additional packets or has non-zero " #~ "granulepos\n" #~ msgstr "" #~ "Увага: паток Vorbis %d утрымлівае нÑправільна Ð°ÐºÐ°Ð½Ñ‚Ð°Ð²Ð°Ð½Ñ‹Ñ Ð·Ð°Ð³Ð°Ð»Ð¾ÑžÐºÑ–. " #~ "ÐпошнÑÑ Ñтаронка загалоўкаў утрымлівае Ð´Ð°Ð´Ð°Ñ‚ÐºÐ¾Ð²Ñ‹Ñ Ð¿Ð°ÐºÐµÑ‚Ñ‹ ці granulepos Ð½Ñ " #~ "роўнае нулю\n" #~ msgid "Vorbis headers parsed for stream %d, information follows...\n" #~ msgstr "Загалоўкі Vorbis Ñ€Ð°Ð·Ð°Ð±Ñ€Ð°Ð½Ñ‹Ñ Ñž патоку %d, зьвеÑткі ніжÑй...\n" #~ msgid "Version: %d\n" #~ msgstr "Ð’ÑÑ€ÑÑ–Ñ: %d\n" #~ msgid "Vendor: %s (%s)\n" #~ msgstr "РаÑпаўÑюднік: %s (%s)\n" #~ msgid "Channels: %d\n" #~ msgstr "Каналаў: %d\n" #~ msgid "" #~ "Rate: %ld\n" #~ "\n" #~ msgstr "" #~ "Ступень: %ld\n" #~ "\n" #~ msgid "Nominal bitrate: %f kb/s\n" #~ msgstr "Пачатковы бітрÑйт: %f кбіт/Ñ\n" #~ msgid "Nominal bitrate not set\n" #~ msgstr "Пачатковы бітрÑйт Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹\n" #~ msgid "Upper bitrate: %f kb/s\n" #~ msgstr "Ðайбольшы бітрÑйт: %f кбіт/Ñ\n" #~ msgid "Upper bitrate not set\n" #~ msgstr "Ðайбольшы бітрÑйт Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹\n" #~ msgid "Lower bitrate: %f kb/s\n" #~ msgstr "Ðайменшы бітрÑйт: %f кбіт/Ñ\n" #~ msgid "Lower bitrate not set\n" #~ msgstr "Ðайменшы бітрÑйт Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹\n" #, fuzzy #~ msgid "" #~ "WARNING: Could not decode Kate header packet %d - invalid Kate stream " #~ "(%d)\n" #~ msgstr "" #~ "Увага: немагчыма раÑкадаваць пакет загалоўку vorbis - нÑправільны паток " #~ "vorbis (%d)\n" #, fuzzy #~ msgid "" #~ "WARNING: Kate stream %d does not have headers correctly framed. Terminal " #~ "header page contains additional packets or has non-zero granulepos\n" #~ msgstr "" #~ "Увага: паток Vorbis %d утрымлівае нÑправільна Ð°ÐºÐ°Ð½Ñ‚Ð°Ð²Ð°Ð½Ñ‹Ñ Ð·Ð°Ð³Ð°Ð»Ð¾ÑžÐºÑ–. " #~ "ÐпошнÑÑ Ñтаронка загалоўкаў утрымлівае Ð´Ð°Ð´Ð°Ñ‚ÐºÐ¾Ð²Ñ‹Ñ Ð¿Ð°ÐºÐµÑ‚Ñ‹ ці granulepos Ð½Ñ " #~ "роўнае нулю\n" #, fuzzy #~ msgid "Kate headers parsed for stream %d, information follows...\n" #~ msgstr "Загалоўкі Vorbis Ñ€Ð°Ð·Ð°Ð±Ñ€Ð°Ð½Ñ‹Ñ Ñž патоку %d, зьвеÑткі ніжÑй...\n" #, fuzzy #~ msgid "Version: %d.%d\n" #~ msgstr "Ð’ÑÑ€ÑÑ–Ñ: %d\n" #, fuzzy #~ msgid "Category: %s\n" #~ msgstr "РаÑпаўÑюднік: %s\n" #, fuzzy #~ msgid "No category set\n" #~ msgstr "Пачатковы бітрÑйт Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹\n" #~ msgid "\n" #~ msgstr "\n" #~ msgid "Page error. Corrupt input.\n" #~ msgstr "Памылка Ñтаронкі. Пашкоджаны ўваход.\n" #, fuzzy #~ msgid "Setting EOS: update sync returned 0\n" #~ msgstr "УÑтаноўка канца плыні: абнаўленьне Ñынхра вернула 0\n" #~ msgid "Cutpoint not within stream. Second file will be empty\n" #~ msgstr "Пункт разрÑзкі па-за плынÑй. Другі файл будзе пуÑтым\n" #~ msgid "Unhandled special case: first file too short?\n" #~ msgstr "Ðекіраваны аÑобны выпадак: першы файл занадта кароткі?\n" #, fuzzy #~ msgid "Cutpoint too close to end of file. Second file will be empty.\n" #~ msgstr "Пункт разрÑзкі па-за плынÑй. Другі файл будзе пуÑтым\n" #, fuzzy #~ msgid "" #~ "ERROR: First two audio packets did not fit into one\n" #~ " Ogg page. File may not decode correctly.\n" #~ msgstr "" #~ "Памылка: Ð¿ÐµÑ€ÑˆÑ‹Ñ Ð´Ð²Ð° Ñкрутка аўдыё не зьмÑшчаюцца Ñž адну\n" #~ " Ñтаронку ogg. Файл можа нÑправільна дÑкадавацца.\n" #, fuzzy #~ msgid "Update sync returned 0, setting EOS\n" #~ msgstr "Ðбнаўленьне Ñынхра вернула 0, уÑталÑваньне канца плыні\n" #~ msgid "Bitstream error\n" #~ msgstr "Памылка бітавай плыні\n" #~ msgid "Error in first page\n" #~ msgstr "Памылка на першай Ñтаронцы\n" #, fuzzy #~ msgid "Error in first packet\n" #~ msgstr "Памылка Ñž першым Ñкрутку\n" #~ msgid "EOF in headers\n" #~ msgstr "EOF (канец файла) Ñž загалоўках\n" #~ msgid "" #~ "WARNING: vcut is still experimental code.\n" #~ "Check that the output files are correct before deleting sources.\n" #~ "\n" #~ msgstr "" #~ "УВÐГÐ: vcut уÑÑ‘ ÑÑˆÑ‡Ñ ÑкÑпÑрымÑнтальнаÑ.\n" #~ "Праверце Ð²Ñ‹Ñ…Ð¾Ð´Ð½Ñ‹Ñ Ñ„Ð°Ð¹Ð»Ñ‹ на правільнаÑьць перад выдаленьнем крыніц.\n" #~ "\n" #~ msgid "Error reading headers\n" #~ msgstr "Памылка Ñ‡Ð°Ñ‚Ð°Ð½ÑŒÐ½Ñ Ð·Ð°Ð³Ð°Ð»Ð¾ÑžÐºÐ°Ñž\n" #~ msgid "Error writing first output file\n" #~ msgstr "Памылка запіÑу першага файла вываду\n" #~ msgid "Error writing second output file\n" #~ msgstr "Памылка запіÑу другога файла вываду\n" #~ msgid "malloc" #~ msgstr "malloc" #~ msgid "" #~ "ogg123 from %s %s\n" #~ " by the Xiph.org Foundation (http://www.xiph.org/)\n" #~ "\n" #~ "Usage: ogg123 [] ...\n" #~ "\n" #~ " -h, --help this help\n" #~ " -V, --version display Ogg123 version\n" #~ " -d, --device=d uses 'd' as an output device\n" #~ " Possible devices are ('*'=live, '@'=file):\n" #~ " " #~ msgstr "" #~ "ogg123 з %s %s\n" #~ " ад Фундацыі Xiph.org (http://www.xiph.org/)\n" #~ "\n" #~ "ВыкарыÑтаньне: ogg123 [<выбары>] <файл уводу> ...\n" #~ "\n" #~ " -h, --help ГÑÑ‚Ð°Ñ Ð´Ð°Ð²ÐµÐ´ÐºÐ°.\n" #~ " -V, --version ÐдлюÑтроўвае вÑÑ€Ñыю Ogg123.\n" #~ " -d, --device=d Ужывае 'd' Ñž ÑкаÑьці прылады вываду.\n" #~ " ÐœÐ°Ð³Ñ‡Ð°Ð¼Ñ‹Ñ Ð¿Ñ€Ñ‹Ð»Ð°Ð´Ñ‹ ('*'=жываÑ, '@'=файл):\n" #~ " " #~ msgid "" #~ " -f, --file=filename Set the output filename for a previously\n" #~ " specified file device (with -d).\n" #~ " -k n, --skip n Skip the first 'n' seconds\n" #~ " -o, --device-option=k:v passes special option k with value\n" #~ " v to previously specified device (with -d). See\n" #~ " man page for more info.\n" #~ " -b n, --buffer n use an input buffer of 'n' kilobytes\n" #~ " -p n, --prebuffer n load n%% of the input buffer before playing\n" #~ " -v, --verbose display progress and other status information\n" #~ " -q, --quiet don't display anything (no title)\n" #~ " -x n, --nth play every 'n'th block\n" #~ " -y n, --ntimes repeat every played block 'n' times\n" #~ " -z, --shuffle shuffle play\n" #~ "\n" #~ "ogg123 will skip to the next song on SIGINT (Ctrl-C); two SIGINTs within\n" #~ "s milliseconds make ogg123 terminate.\n" #~ " -l, --delay=s set s [milliseconds] (default 500).\n" #~ msgstr "" #~ " -f, --file=назва_файла УÑталёўвае назву файла вываду Ð´Ð»Ñ " #~ "папÑÑ€Ñдне\n" #~ " вызначанай прылады file (з дапамогай -d).\n" #~ " -k n, --skip n Ðбмінуць Ð¿ÐµÑ€ÑˆÑ‹Ñ n ÑÑкундаў.\n" #~ " -o, --device-option=k:v Перадае адмыÑловы выбар k Ñа значÑньнем v " #~ "да\n" #~ " папÑÑ€Ñдне вызначанай прылады (з дапамогай -" #~ "d).\n" #~ " ГлÑдзіце man Ñтаронку, каб атрымаць больш\n" #~ " падрабÑÐ·Ð½Ñ‹Ñ Ð·ÑŒÐ²ÐµÑткі.\n" #~ " -b n, --buffer n Ужываць буфÑÑ€ уводу памерам n Кб.\n" #~ " -p n, --prebuffer n Загружаць буфÑÑ€ уводу на n%% перад тым, " #~ "Ñк\n" #~ " пачынаць прайграваньне.\n" #~ " -v, --verbose ÐдлюÑтроўваць зьвеÑткі аб поÑпеху й Ñтане.\n" #~ " -q, --quiet Ðічога не адлюÑтроўваць (бÑз назвы).\n" #~ " -x n, --nth Граць кожны n-ны блёк.\n" #~ " -y n, --ntimes Паўтараць кожны блёк n разоў.\n" #~ " -z, --shuffle Прайграваць у выпадковым парадку.\n" #~ "\n" #~ " Ogg123 пераходзіць да іншага Ñьпева, атрымаўшы SIGINT (Ctrl-C); два " #~ "SIGINT\n" #~ "на працÑгу s міліÑÑкундаў прымушаюць ogg123 выйÑьці.\n" #~ " -l, --delay=s УÑталÑваць s [міліÑÑкунды] (дапомна 500).\n" #~ msgid "ReplayGain (Track) Peak:" #~ msgstr "ReplayGain (ЗапіÑ) Peak:" #~ msgid "ReplayGain (Album) Peak:" #~ msgstr "ReplayGain (Ðльбом) Peak:" #~ msgid "Version is %d" #~ msgstr "Ð’ÑÑ€ÑÑ‹Ñ -- %d" #~ msgid "" #~ "%s%s\n" #~ "Usage: oggenc [options] input.wav [...]\n" #~ "\n" #~ "OPTIONS:\n" #~ " General:\n" #~ " -Q, --quiet Produce no output to stderr\n" #~ " -h, --help Print this help text\n" #~ " -r, --raw Raw mode. Input files are read directly as PCM " #~ "data\n" #~ " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n" #~ " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n" #~ " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n" #~ " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" #~ " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" #~ " to encode at a bitrate averaging this. Takes an\n" #~ " argument in kbps. This uses the bitrate management\n" #~ " engine, and is not recommended for most users.\n" #~ " See -q, --quality for a better alternative.\n" #~ " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" #~ " encoding for a fixed-size channel.\n" #~ " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" #~ " streaming applications.\n" #~ " -q, --quality Specify quality between 0 (low) and 10 (high),\n" #~ " instead of specifying a particular bitrate.\n" #~ " This is the normal mode of operation.\n" #~ " Fractional qualities (e.g. 2.75) are permitted\n" #~ " Quality -1 is also possible, but may not be of\n" #~ " acceptable quality.\n" #~ " --resample n Resample input data to sampling rate n (Hz)\n" #~ " --downmix Downmix stereo to mono. Only allowed on stereo\n" #~ " input.\n" #~ " -s, --serial Specify a serial number for the stream. If " #~ "encoding\n" #~ " multiple files, this will be incremented for each\n" #~ " stream after the first.\n" #~ "\n" #~ " Naming:\n" #~ " -o, --output=fn Write file to fn (only valid in single-file mode)\n" #~ " -n, --names=string Produce filenames as this string, with %%a, %%t, %" #~ "%l,\n" #~ " %%n, %%d replaced by artist, title, album, track " #~ "number,\n" #~ " and date, respectively (see below for specifying " #~ "these).\n" #~ " %%%% gives a literal %%.\n" #~ " -X, --name-remove=s Remove the specified characters from parameters to " #~ "the\n" #~ " -n format string. Useful to ensure legal " #~ "filenames.\n" #~ " -P, --name-replace=s Replace characters removed by --name-remove with " #~ "the\n" #~ " characters specified. If this string is shorter " #~ "than the\n" #~ " --name-remove list or is not specified, the extra\n" #~ " characters are just removed.\n" #~ " Default settings for the above two arguments are " #~ "platform\n" #~ " specific.\n" #~ " -c, --comment=c Add the given string as an extra comment. This may " #~ "be\n" #~ " used multiple times.\n" #~ " -d, --date Date for track (usually date of performance)\n" #~ " -N, --tracknum Track number for this track\n" #~ " -t, --title Title for this track\n" #~ " -l, --album Name of album\n" #~ " -a, --artist Name of artist\n" #~ " -G, --genre Genre of track\n" #~ " If multiple input files are given, then multiple\n" #~ " instances of the previous five arguments will be " #~ "used,\n" #~ " in the order they are given. If fewer titles are\n" #~ " specified than files, OggEnc will print a warning, " #~ "and\n" #~ " reuse the final one for the remaining files. If " #~ "fewer\n" #~ " track numbers are given, the remaining files will " #~ "be\n" #~ " unnumbered. For the others, the final tag will be " #~ "reused\n" #~ " for all others without warning (so you can specify " #~ "a date\n" #~ " once, for example, and have it used for all the " #~ "files)\n" #~ "\n" #~ "INPUT FILES:\n" #~ " OggEnc input files must currently be 16 or 8 bit PCM WAV, AIFF, or AIFF/" #~ "C\n" #~ " files, or 32 bit IEEE floating point WAV. Files may be mono or stereo\n" #~ " (or more channels) and any sample rate.\n" #~ " Alternatively, the --raw option may be used to use a raw PCM data file, " #~ "which\n" #~ " must be 16bit stereo little-endian PCM ('headerless wav'), unless " #~ "additional\n" #~ " parameters for raw mode are specified.\n" #~ " You can specify taking the file from stdin by using - as the input " #~ "filename.\n" #~ " In this mode, output is to stdout unless an outfile filename is " #~ "specified\n" #~ " with -o\n" #~ "\n" #~ msgstr "" #~ "%s%s\n" #~ "ВыкарыÑтаньне: oggenc [выбары] input.wav [...]\n" #~ "\n" #~ "ÐÐ³ÑƒÐ»ÑŒÐ½Ñ‹Ñ Ð²Ñ‹Ð±Ð°Ñ€Ñ‹:\n" #~ " -Q, --quiet БÑз вываду Ñž stderr.\n" #~ " -h, --help Ðадрукаваць Ñ‚ÑкÑÑ‚ гÑтае даведкі\n" #~ " -r, --raw ПроÑты Ñ€Ñжым. Ð£Ð²Ð°Ñ…Ð¾Ð´Ð½Ñ‹Ñ Ñ„Ð°Ð¹Ð»Ñ‹ чытаюцца " #~ "наўпроÑÑ‚\n" #~ " Ñк ІКМ даныÑ\n" #~ " -B, --raw-bits=n УÑталÑваць колькаÑьць бітаў на ÑÑмпл Ð´Ð»Ñ " #~ "проÑтага\n" #~ " ўводу. Дапомнае значÑньне 16.\n" #~ " -C, --raw-chan=n УÑтанавіць колькаÑьць каналаў Ð´Ð»Ñ Ð¿Ñ€Ð¾Ñтага " #~ "ўваходу.\n" #~ " ДаўнÑта 2\n" #~ " -R, --raw-rate=n УÑтанавіць колькаÑьць ÑÑмплаў на ÑÑкунду Ð´Ð»Ñ " #~ "проÑтага\n" #~ " Ñ€Ñжыму. ДаўнÑта 44100.\n" #~ " --raw-endianness 1 Ð´Ð»Ñ bigendian, 0 Ð´Ð»Ñ little (даўнÑта 0)\n" #~ " -b, --bitrate Выбар намінальнага бітрÑйту Ð´Ð»Ñ ÐºÐ°Ð´Ð°Ð²Ð°Ð½ÑŒÐ½Ñ. Спроба\n" #~ " ÐºÐ°Ð´Ð°Ð²Ð°Ð½ÑŒÐ½Ñ Ð·ÑŒ бітрÑйтам, Ñкі ÑпаÑÑÑ€Ñджвае даны.\n" #~ " Ðтрымоўвае парамÑтар Ñž kb/s. ГÑÐ½Ð°Ñ Ð°Ð¿ÑÑ€Ð°Ñ†Ñ‹Ñ " #~ "задзейнічае\n" #~ " мÑханізм ÐºÑ–Ñ€Ð°Ð²Ð°Ð½ÑŒÐ½Ñ Ð±Ñ–Ñ‚Ñ€Ñйтам Ñ– Ð½Ñ Ñ€Ð°Ñ–Ñ†Ñ†Ð° Ð´Ð»Ñ " #~ "бальшыні\n" #~ " карыÑтальнікаў. Лепей ужывай -q, --quality.\n" #~ " -m, --min-bitrate Мінімальны бітрÑйт (у kb/s). ПаÑуе пры кадаваньні " #~ "з\n" #~ " фікÑаваным памерам канала.\n" #~ " -M, --max-bitrate МакÑымальны бітрÑйт. ПаÑуе Ð´Ð»Ñ Ð¿Ð°Ñ‚Ð¾ÐºÐ°Ð²Ñ‹Ñ… " #~ "даÑтаÑаваньнÑÑž.\n" #~ " -q, --quality Вызначае ÑкаÑьць ад 0 (нізкаÑ) да 10 (выÑокаÑ), " #~ "замеÑÑ‚\n" #~ " вызначÑÐ½ÑŒÐ½Ñ Ð¿Ñўнага бітрÑйту. ГÑта звычайны Ñ€Ñжым\n" #~ " функцыÑнаваньнÑ. Ð”Ñ€Ð¾Ð±Ð½Ñ‹Ñ Ð·Ð½Ð°Ñ‡Ñньні ÑкаÑьці (2,75 Ñ– " #~ "г.д.)\n" #~ " такÑама дазволеныÑ. ЯкаÑьць -1 магчымаÑ, але " #~ "наўрад\n" #~ " будзе мець прымальную ÑкаÑьць.\n" #~ " --resample n РÑÑÑмплаваць ÑƒÐ²Ð°Ñ…Ð¾Ð´Ð½Ñ‹Ñ Ð´Ð°Ð½Ñ‹Ñ Ð´Ð° чаÑьціні n (Hz)\n" #~ " --downmix Пераўтварыць ÑÑ‚ÑÑ€Ñа Ñž мона. Дазволена толькі Ñа " #~ "ÑÑ‚ÑÑ€Ñа\n" #~ " ўваходам.\n" #~ " -s, --serial Вызначае ÑÑрыйны нумар Ð´Ð»Ñ Ð¿Ð°Ñ‚Ð¾ÐºÑƒ. Калі кадуеш " #~ "колькі\n" #~ " файлаў нумар павÑлічваецца Ð´Ð»Ñ ÐºÐ¾Ð¶Ð½Ð°Ð³Ð° файла, " #~ "пачынаючы\n" #~ " з другога.\n" #~ "\n" #~ "Выбары, зьвÑÐ·Ð°Ð½Ñ‹Ñ Ð· назвамі:\n" #~ " -o, --output=fn Ð—Ð°Ð¿Ñ–Ñ Ñ„Ð°Ð¹Ð»Ð° Ñž fn (толькі Ñž аднафайлавым Ñ€Ñжыме)\n" #~ " -n, --names=радок Ствараць імёны файлаў паводле гÑтага радка. %%a, %" #~ "%t, %%l,\n" #~ " %%n, %%d замÑнÑюцца на выканаўцу, назву, альбом, " #~ "нумар\n" #~ " запіÑу Ñ– дату, адпаведна (гл. ніжÑй)\n" #~ " %%%% дае знак %%.\n" #~ " -X, --name-remove=s ВыдалÑць Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹Ñ Ð·Ð½Ð°ÐºÑ– з парамÑтраў фарматнага " #~ "радка,\n" #~ " вызначанага -n. КарыÑнае Ð´Ð»Ñ Ð°Ñ‚Ñ€Ñ‹Ð¼Ð°Ð½ÑŒÐ½Ñ ÐºÐ°Ñ€Ñктных " #~ "імёнаў\n" #~ " файлаў.\n" #~ " -P, --name-replace=s ЗамÑнÑць знакі, Ð²Ñ‹Ð´Ð°Ð»ÐµÐ½Ñ‹Ñ --name-remove, на " #~ "вызначаныÑ\n" #~ " знакі. Калі гÑты радок карацейшы за ÑÑŒÐ¿Ñ–Ñ --name-" #~ "remove ці\n" #~ " Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹, то Ð»Ñ–ÑˆÐ½Ñ–Ñ Ð·Ð½Ð°ÐºÑ– папроÑту выдалÑюцца.\n" #~ " ДаўнÑÑ‚Ñ‹Ñ ÑžÑталёўкі Ð´Ð»Ñ Ð²Ñ‹ÑˆÑйшых двух парамÑтраў " #~ "залежаць\n" #~ " ад плÑцформы.\n" #~ " -c, --comment=c Дадаць радок Ñк камÑнтар. ГÑÑ‚Ð°Ñ Ð¾Ð¿Ñ†Ñ‹Ñ Ð¼Ð¾Ð¶Ð° ўжывацца " #~ "колькі\n" #~ " разоў.\n" #~ " -d, --date Дата запіÑу (звычайна дата выкананьнÑ)\n" #~ " -N, --tracknum Ðумар запіÑу\n" #~ " -t, --title Ðазва запіÑу\n" #~ " -l, --album Ðазва альбома\n" #~ " -a, --artist Ð†Ð¼Ñ Ð²Ñ‹ÐºÐ°Ð½Ð°ÑžÑ†Ñ‹\n" #~ " -G, --genre Стыль запіÑу\n" #~ " Калі вызначана колькі файлаў, тады аÑобнікі " #~ "папÑÑ€Ñдніх пÑці\n" #~ " парамÑтраў будуць ужывацца Ñž тым парадку, у Ñкім " #~ "Ñны\n" #~ " вызначаныÑ. Калі назваў запіÑаў вызначана менш, чым " #~ "файлаў,\n" #~ " OggEnc надрукуе папÑÑ€Ñджаньне Ñ– будзе ўжываць " #~ "апошнюю Ð´Ð»Ñ \n" #~ " аÑтатніх файлаў. Калі вызначана меней нумароў, то " #~ "Ñ€Ñшта\n" #~ " файлаў заÑтанецца непранумараванаÑ. Ð†Ð½ÑˆÑ‹Ñ Ð¿Ð°Ñ€Ð°Ð¼Ñтры " #~ "будуць\n" #~ " ÑкарыÑÑ‚Ð°Ð½Ñ‹Ñ Ñ–Ð·Ð½Ð¾Ñž без папÑÑ€ÑÐ´Ð¶Ð°Ð½ÑŒÐ½Ñ (прыкладам ты " #~ "можаш\n" #~ " вызначыць адзін раз дату, Ñ– Ñна будзе ÑžÐ¶Ñ‹Ñ‚Ð°Ñ Ð´Ð»Ñ " #~ "ÑžÑÑ–Ñ…)\n" #~ "\n" #~ "Файлы ўводу:\n" #~ "OggEnc падтрымлівае наÑÑ‚ÑƒÐ¿Ð½Ñ‹Ñ Ñ‚Ñ‹Ð¿Ñ‹ ўваходных тыпаў: 16 ці 8 бітавы ІКМ " #~ "WAV, AIFF\n" #~ "ці AIFF/C, ці 32 бітавы WAV з рацыÑнальнымі лікамі IEEE. Файлы могуць " #~ "быць мона,\n" #~ "ÑÑ‚ÑÑ€Ñа ці з большай колькаÑьцю каналаў Ñ– зь любой верхнÑй чаÑьцінёй.\n" #~ "Зь іншага боку, Ð¾Ð¿Ñ†Ñ‹Ñ --raw дазвалÑе ўжываць проÑÑ‚Ñ‹Ñ Ð†ÐšÐœ файлы, ÑÐºÑ–Ñ " #~ "маюць быць\n" #~ "16 бітавымі ÑÑ‚ÑÑ€Ñа ІКМ файламі зь little-endian парадкам байтаў " #~ "(\"неразборлівыÑ\n" #~ "WAV\"), калі Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ñ‹Ñ Ð´Ð°Ð´Ð°Ñ‚ÐºÐ¾Ð²Ñ‹Ñ Ð¿Ð°Ñ€Ð°Ð¼Ñтры проÑтага Ñ€Ñжыму.\n" #~ "Можна атрымоўваць файл Ñа Ñтандартнага ўваходу, ужыўшы - замеÑÑ‚ Ñ–Ð¼Ñ " #~ "файла. У \n" #~ "гÑтым Ñ€Ñжыме выхад накіраваны Ñž stdout, калі Ð½Ñ Ð²Ñ‹Ð·Ð½Ð°Ñ‡Ð°Ð½Ð° Ñ–Ð¼Ñ Ð²Ñ‹Ñ…Ð¾Ð´Ð½Ð°Ð³Ð° " #~ "файла з\n" #~ "дапамогай -o.\n" #~ "\n" #~ msgid " to " #~ msgstr " у " #~ msgid " bytes. Corrupted ogg.\n" #~ msgstr " байт(аў). Пашкоджаны ogg.\n" #~ msgid "" #~ "Usage: \n" #~ " vorbiscomment [-l] file.ogg (to list the comments)\n" #~ " vorbiscomment -a in.ogg out.ogg (to append comments)\n" #~ " vorbiscomment -w in.ogg out.ogg (to modify comments)\n" #~ "\tin the write case, a new set of comments in the form\n" #~ "\t'TAG=value' is expected on stdin. This set will\n" #~ "\tcompletely replace the existing set.\n" #~ " Either of -a and -w can take only a single filename,\n" #~ " in which case a temporary file will be used.\n" #~ " -c can be used to take comments from a specified file\n" #~ " instead of stdin.\n" #~ " Example: vorbiscomment -a in.ogg -c comments.txt\n" #~ " will append the comments in comments.txt to in.ogg\n" #~ " Finally, you may specify any number of tags to add on\n" #~ " the command line using the -t option. e.g.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (note that when using this, reading comments from the comment\n" #~ " file or stdin is disabled)\n" #~ " Raw mode (--raw, -R) will read and write comments in utf8,\n" #~ " rather than converting to the user's character set. This is\n" #~ " useful for using vorbiscomment in scripts. However, this is\n" #~ " not sufficient for general round-tripping of comments in all\n" #~ " cases.\n" #~ msgstr "" #~ "ВыкарыÑтаньне: \n" #~ " vorbiscomment [-l] файл.ogg (каб паказаць камÑнтары)\n" #~ " vorbiscomment -a ув.ogg вых.ogg (каб дадаць камÑнтары)\n" #~ " vorbiscomment -w ув.ogg вых.ogg (каб зьмÑніць камÑнтары)\n" #~ "\tу выпадку запіÑу на Ñтандартным уваходзе чакаецца\n" #~ " шÑраг камÑнтароў Ñž форме 'КЛЮЧ=значÑньне'. ГÑты\n" #~ " шÑраг цалкам замÑнÑе Ñ–Ñнуючы.\n" #~ " І -a, Ñ– -w могуць мець толькі адно Ñ–Ð¼Ñ Ñ„Ð°Ð¹Ð»Ð°, у гÑтым \n" #~ " выпадку будзе ўжыты тымчаÑовы файл.\n" #~ " -c можа ўжывацца, каб атрымоўваць камÑнтары з пÑўнага \n" #~ " файла, замеÑÑ‚ Ñтандартнага ўваходу.\n" #~ " Прыклад: vorbiscomment -a in.ogg -c comments.txt\n" #~ " дадаÑьць камÑнтары з comments.txt да in.ogg\n" #~ " У Ñ€Ñшце Ñ€Ñшт, можна вызначыць любую колькаÑьць ключоў у \n" #~ " камандным радку, ужываючы опцыю -t. Г.зн.\n" #~ " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" #~ " (заўважым, што Ñž такім выпадку чытаньне камÑнтароў з файла ці\n" #~ " Ñтандартнага ўводу адключанае)\n" #~ " ПроÑты Ñ€Ñжым (--raw, -R) чытае й піша камÑнтары Ñž utf8, замеÑÑ‚\n" #~ " пераўтварÑÐ½ÑŒÐ½Ñ Ñž мноÑтва карыÑтальніка. ГÑта карыÑнае пры\n" #~ " ужываньні vorbiscomment у ÑцÑнарах. Ðднак, гÑтага не даÑтаткова\n" #~ " Ð´Ð»Ñ Ð¿Ð¾ÑžÐ½Ð°Ð³Ð° абарачÑÐ½ÑŒÐ½Ñ ÐºÐ°Ð¼Ñнтароў ва ÑžÑÑ–Ñ… выпадках.\n" vorbis-tools-1.4.2/po/ChangeLog0000644000175000017500000000264413767140576013317 000000000000002008-11-06 gettextize * Makefile.in.in: Upgrade to gettext-0.17. * Rules-quot: New file, from gettext-0.17. * boldquot.sed: New file, from gettext-0.17. * en@boldquot.header: New file, from gettext-0.17. * en@quot.header: New file, from gettext-0.17. * quot.sed: New file, from gettext-0.17. 2007-12-30 gettextize * Makefile.in.in: Upgrade to gettext-0.16.1. * Rules-quot: New file, from gettext-0.16.1. * boldquot.sed: New file, from gettext-0.16.1. * en@boldquot.header: New file, from gettext-0.16.1. * en@quot.header: New file, from gettext-0.16.1. * quot.sed: New file, from gettext-0.16.1. 2006-12-18 gettextize * Makefile.in.in: Upgrade to gettext-0.15. * Rules-quot: New file, from gettext-0.15. * boldquot.sed: New file, from gettext-0.15. * en@boldquot.header: New file, from gettext-0.15. * en@quot.header: New file, from gettext-0.15. * quot.sed: New file, from gettext-0.15. 2005-06-18 gettextize * Makefile.in.in: Upgrade to gettext-0.14.3. * boldquot.sed: New file, from gettext-0.14.3. * en@boldquot.header: New file, from gettext-0.14.3. * en@quot.header: New file, from gettext-0.14.3. * insert-header.sin: New file, from gettext-0.14.3. * quot.sed: New file, from gettext-0.14.3. * remove-potcdate.sin: New file, from gettext-0.14.3. * Rules-quot: New file, from gettext-0.14.3. vorbis-tools-1.4.2/po/vorbis-tools.pot0000644000175000017500000015261414002243560014712 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Xiph.Org Foundation # This file is distributed under the same license as the vorbis-tools package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: vorbis-tools 1.4.2\n" "Report-Msgid-Bugs-To: https://trac.xiph.org/\n" "POT-Creation-Date: 2021-01-21 09:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: ogg123/buffer.c:118 #, c-format msgid "ERROR: Out of memory in malloc_action().\n" msgstr "" #: ogg123/buffer.c:384 #, c-format msgid "ERROR: Could not allocate memory in malloc_buffer_stats()\n" msgstr "" #: ogg123/callbacks.c:76 msgid "ERROR: Device not available.\n" msgstr "" #: ogg123/callbacks.c:79 #, c-format msgid "ERROR: %s requires an output filename to be specified with -f.\n" msgstr "" #: ogg123/callbacks.c:82 #, c-format msgid "ERROR: Unsupported option value to %s device.\n" msgstr "" #: ogg123/callbacks.c:86 #, c-format msgid "ERROR: Cannot open device %s.\n" msgstr "" #: ogg123/callbacks.c:90 #, c-format msgid "ERROR: Device %s failure.\n" msgstr "" #: ogg123/callbacks.c:93 #, c-format msgid "ERROR: An output file cannot be given for %s device.\n" msgstr "" #: ogg123/callbacks.c:96 #, c-format msgid "ERROR: Cannot open file %s for writing.\n" msgstr "" #: ogg123/callbacks.c:100 #, c-format msgid "ERROR: File %s already exists.\n" msgstr "" #: ogg123/callbacks.c:103 #, c-format msgid "ERROR: This error should never happen (%d). Panic!\n" msgstr "" #: ogg123/callbacks.c:128 ogg123/callbacks.c:133 msgid "ERROR: Out of memory in new_audio_reopen_arg().\n" msgstr "" #: ogg123/callbacks.c:179 msgid "Error: Out of memory in new_print_statistics_arg().\n" msgstr "" #: ogg123/callbacks.c:238 msgid "ERROR: Out of memory in new_status_message_arg().\n" msgstr "" #: ogg123/callbacks.c:284 ogg123/callbacks.c:303 msgid "Error: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "" #: ogg123/callbacks.c:340 ogg123/callbacks.c:359 msgid "ERROR: Out of memory in decoder_buffered_metadata_callback().\n" msgstr "" #: ogg123/cfgfile_options.c:55 msgid "System error" msgstr "" #: ogg123/cfgfile_options.c:58 #, c-format msgid "=== Parse error: %s on line %d of %s (%s)\n" msgstr "" #: ogg123/cfgfile_options.c:134 msgid "Name" msgstr "" #: ogg123/cfgfile_options.c:137 msgid "Description" msgstr "" #: ogg123/cfgfile_options.c:140 msgid "Type" msgstr "" #: ogg123/cfgfile_options.c:143 msgid "Default" msgstr "" #: ogg123/cfgfile_options.c:169 #, c-format msgid "none" msgstr "" #: ogg123/cfgfile_options.c:172 #, c-format msgid "bool" msgstr "" #: ogg123/cfgfile_options.c:175 #, c-format msgid "char" msgstr "" #: ogg123/cfgfile_options.c:178 #, c-format msgid "string" msgstr "" #: ogg123/cfgfile_options.c:181 #, c-format msgid "int" msgstr "" #: ogg123/cfgfile_options.c:184 #, c-format msgid "float" msgstr "" #: ogg123/cfgfile_options.c:187 #, c-format msgid "double" msgstr "" #: ogg123/cfgfile_options.c:190 #, c-format msgid "other" msgstr "" #: ogg123/cfgfile_options.c:196 msgid "(NULL)" msgstr "" #: ogg123/cfgfile_options.c:200 oggenc/oggenc.c:689 oggenc/oggenc.c:694 #: oggenc/oggenc.c:699 oggenc/oggenc.c:704 oggenc/oggenc.c:709 #: oggenc/oggenc.c:714 msgid "(none)" msgstr "" #: ogg123/cfgfile_options.c:429 msgid "Success" msgstr "" #: ogg123/cfgfile_options.c:433 msgid "Key not found" msgstr "" #: ogg123/cfgfile_options.c:435 msgid "No key" msgstr "" #: ogg123/cfgfile_options.c:437 msgid "Bad value" msgstr "" #: ogg123/cfgfile_options.c:439 msgid "Bad type in options list" msgstr "" #: ogg123/cfgfile_options.c:441 msgid "Unknown error" msgstr "" #: ogg123/cmdline_options.c:84 msgid "Internal error parsing command line options.\n" msgstr "" #: ogg123/cmdline_options.c:91 #, c-format msgid "Input buffer size smaller than minimum size of %dkB." msgstr "" #: ogg123/cmdline_options.c:103 #, c-format msgid "" "=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n" msgstr "" #: ogg123/cmdline_options.c:110 #, c-format msgid "Available options:\n" msgstr "" #: ogg123/cmdline_options.c:119 #, c-format msgid "=== No such device %s.\n" msgstr "" #: ogg123/cmdline_options.c:139 #, c-format msgid "=== Driver %s is not a file output driver.\n" msgstr "" #: ogg123/cmdline_options.c:144 msgid "" "=== Cannot specify output file without previously specifying a driver.\n" msgstr "" #: ogg123/cmdline_options.c:163 #, c-format msgid "=== Incorrect option format: %s.\n" msgstr "" #: ogg123/cmdline_options.c:178 msgid "--- Prebuffer value invalid. Range is 0-100.\n" msgstr "" #: ogg123/cmdline_options.c:202 #, c-format msgid "ogg123 from %s %s" msgstr "" #: ogg123/cmdline_options.c:209 msgid "--- Cannot play every 0th chunk!\n" msgstr "" #: ogg123/cmdline_options.c:217 msgid "" "--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n" msgstr "" #: ogg123/cmdline_options.c:233 #, c-format msgid "--- Cannot open playlist file %s. Skipped.\n" msgstr "" #: ogg123/cmdline_options.c:249 msgid "=== Option conflict: End time is before start time.\n" msgstr "" #: ogg123/cmdline_options.c:262 #, c-format msgid "--- Driver %s specified in configuration file invalid.\n" msgstr "" #: ogg123/cmdline_options.c:272 msgid "" "=== Could not load default driver and no driver specified in config file. " "Exiting.\n" msgstr "" #: ogg123/cmdline_options.c:307 #, c-format msgid "" "ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: ogg123/cmdline_options.c:309 oggdec/oggdec.c:58 #, c-format msgid "" " using decoder %s.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:311 #, c-format msgid "" "Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:314 #, c-format msgid "Available codecs: " msgstr "" #: ogg123/cmdline_options.c:317 #, c-format msgid "FLAC, " msgstr "" #: ogg123/cmdline_options.c:321 #, c-format msgid "Speex, " msgstr "" #: ogg123/cmdline_options.c:325 #, c-format msgid "Opus, " msgstr "" #: ogg123/cmdline_options.c:328 #, c-format msgid "" "Ogg Vorbis.\n" "\n" msgstr "" #: ogg123/cmdline_options.c:330 #, c-format msgid "Output options\n" msgstr "" #: ogg123/cmdline_options.c:331 #, c-format msgid "" " -d dev, --device dev Use output device \"dev\". Available devices:\n" msgstr "" #: ogg123/cmdline_options.c:333 #, c-format msgid "Live:" msgstr "" #: ogg123/cmdline_options.c:342 #, c-format msgid "File:" msgstr "" #: ogg123/cmdline_options.c:351 #, c-format msgid "" " -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n" msgstr "" #: ogg123/cmdline_options.c:354 #, c-format msgid " --audio-buffer n Use an output audio buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:355 #, c-format msgid "" " -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n" msgstr "" #: ogg123/cmdline_options.c:361 #, c-format msgid "Playlist options\n" msgstr "" #: ogg123/cmdline_options.c:362 #, c-format msgid "" " -@ file, --list file Read playlist of files and URLs from \"file\"\n" msgstr "" #: ogg123/cmdline_options.c:363 #, c-format msgid " -r, --repeat Repeat playlist indefinitely\n" msgstr "" #: ogg123/cmdline_options.c:364 #, c-format msgid " -R, --remote Use remote control interface\n" msgstr "" #: ogg123/cmdline_options.c:365 #, c-format msgid " -z, --shuffle Shuffle list of files before playing\n" msgstr "" #: ogg123/cmdline_options.c:366 #, c-format msgid " -Z, --random Play files randomly until interrupted\n" msgstr "" #: ogg123/cmdline_options.c:369 #, c-format msgid "Input options\n" msgstr "" #: ogg123/cmdline_options.c:370 #, c-format msgid " -b n, --buffer n Use an input buffer of 'n' kilobytes\n" msgstr "" #: ogg123/cmdline_options.c:371 #, c-format msgid " -p n, --prebuffer n Load n%% of the input buffer before playing\n" msgstr "" #: ogg123/cmdline_options.c:374 #, c-format msgid "Decode options\n" msgstr "" #: ogg123/cmdline_options.c:375 #, c-format msgid "" " -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:376 #, c-format msgid " -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n" msgstr "" #: ogg123/cmdline_options.c:377 #, c-format msgid " -x n, --nth n Play every 'n'th block\n" msgstr "" #: ogg123/cmdline_options.c:378 #, c-format msgid " -y n, --ntimes n Repeat every played block 'n' times\n" msgstr "" #: ogg123/cmdline_options.c:381 vorbiscomment/vcomment.c:643 #, c-format msgid "Miscellaneous options\n" msgstr "" #: ogg123/cmdline_options.c:382 #, c-format msgid "" " -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n" msgstr "" #: ogg123/cmdline_options.c:387 vorbiscomment/vcomment.c:651 #, c-format msgid " -h, --help Display this help\n" msgstr "" #: ogg123/cmdline_options.c:388 #, c-format msgid " -q, --quiet Don't display anything (no title)\n" msgstr "" #: ogg123/cmdline_options.c:389 #, c-format msgid "" " -v, --verbose Display progress and other status information\n" msgstr "" #: ogg123/cmdline_options.c:390 #, c-format msgid " -V, --version Display ogg123 version\n" msgstr "" #: ogg123/file_transport.c:64 ogg123/http_transport.c:215 #: ogg123/oggvorbis_format.c:106 ogg123/speex_format.c:152 #: ogg123/vorbis_comments.c:67 ogg123/vorbis_comments.c:81 #: ogg123/vorbis_comments.c:99 #, c-format msgid "ERROR: Out of memory.\n" msgstr "" #: ogg123/format.c:90 #, c-format msgid "ERROR: Could not allocate memory in malloc_decoder_stats()\n" msgstr "" #: ogg123/http_transport.c:145 msgid "ERROR: Could not set signal mask." msgstr "" #: ogg123/http_transport.c:202 msgid "ERROR: Unable to create input buffer.\n" msgstr "" #: ogg123/ogg123.c:80 msgid "default output device" msgstr "" #: ogg123/ogg123.c:82 msgid "shuffle playlist" msgstr "" #: ogg123/ogg123.c:84 msgid "repeat playlist forever" msgstr "" #: ogg123/ogg123.c:230 #, c-format msgid "Could not skip to %f in audio stream." msgstr "" #: ogg123/ogg123.c:375 #, c-format msgid "" "\n" "Audio Device: %s" msgstr "" #: ogg123/ogg123.c:376 #, c-format msgid "Author: %s" msgstr "" #: ogg123/ogg123.c:377 #, c-format msgid "Comments: %s" msgstr "" #: ogg123/ogg123.c:421 #, c-format msgid "WARNING: Could not read directory %s.\n" msgstr "" #: ogg123/ogg123.c:457 msgid "Error: Could not create audio buffer.\n" msgstr "" #: ogg123/ogg123.c:560 #, c-format msgid "No module could be found to read from %s.\n" msgstr "" #: ogg123/ogg123.c:565 #, c-format msgid "Cannot open %s.\n" msgstr "" #: ogg123/ogg123.c:571 #, c-format msgid "The file format of %s is not supported.\n" msgstr "" #: ogg123/ogg123.c:581 #, c-format msgid "Error opening %s using the %s module. The file may be corrupted.\n" msgstr "" #: ogg123/ogg123.c:600 #, c-format msgid "Playing: %s" msgstr "" #: ogg123/ogg123.c:611 #, c-format msgid "Could not skip %f seconds of audio." msgstr "" #: ogg123/ogg123.c:666 msgid "ERROR: Decoding failure.\n" msgstr "" #: ogg123/ogg123.c:709 msgid "ERROR: buffer write failed.\n" msgstr "" #: ogg123/ogg123.c:747 msgid "Done." msgstr "" #: ogg123/oggvorbis_format.c:208 msgid "--- Hole in the stream; probably harmless\n" msgstr "" #: ogg123/oggvorbis_format.c:214 oggdec/oggdec.c:323 #, c-format msgid "=== Vorbis library reported a stream error.\n" msgstr "" #: ogg123/oggvorbis_format.c:361 #, c-format msgid "Ogg Vorbis stream: %d channel, %ld Hz" msgstr "" #: ogg123/oggvorbis_format.c:366 #, c-format msgid "Vorbis format: Version %d" msgstr "" #: ogg123/oggvorbis_format.c:370 #, c-format msgid "Bitrate hints: upper=%ld nominal=%ld lower=%ld window=%ld" msgstr "" #: ogg123/oggvorbis_format.c:378 ogg123/speex_format.c:416 #, c-format msgid "Encoded by: %s" msgstr "" #: ogg123/playlist.c:46 ogg123/playlist.c:57 #, c-format msgid "ERROR: Out of memory in create_playlist_member().\n" msgstr "" #: ogg123/playlist.c:160 ogg123/playlist.c:215 #, c-format msgid "Warning: Could not read directory %s.\n" msgstr "" #: ogg123/playlist.c:278 #, c-format msgid "Warning from playlist %s: Could not read directory %s.\n" msgstr "" #: ogg123/playlist.c:323 ogg123/playlist.c:335 #, c-format msgid "ERROR: Out of memory in playlist_to_array().\n" msgstr "" #: ogg123/speex_format.c:366 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)" msgstr "" #: ogg123/speex_format.c:372 #, c-format msgid "Ogg Speex stream: %d channel, %d Hz, %s mode" msgstr "" #: ogg123/speex_format.c:378 #, c-format msgid "Speex version: %s" msgstr "" #: ogg123/speex_format.c:394 ogg123/speex_format.c:405 #: ogg123/speex_format.c:424 ogg123/speex_format.c:434 #: ogg123/speex_format.c:441 msgid "Invalid/corrupted comments" msgstr "" #: ogg123/speex_format.c:478 msgid "Cannot read header" msgstr "" #: ogg123/speex_format.c:483 #, c-format msgid "Mode number %d does not (any longer) exist in this version" msgstr "" #: ogg123/speex_format.c:492 msgid "" "The file was encoded with a newer version of Speex.\n" " You need to upgrade in order to play it.\n" msgstr "" #: ogg123/speex_format.c:496 msgid "" "The file was encoded with an older version of Speex.\n" "You would need to downgrade the version in order to play it." msgstr "" #: ogg123/status.c:61 #, c-format msgid "%sPrebuf to %.1f%%" msgstr "" #: ogg123/status.c:66 #, c-format msgid "%sPaused" msgstr "" #: ogg123/status.c:70 #, c-format msgid "%sEOS" msgstr "" #: ogg123/status.c:227 ogg123/status.c:245 ogg123/status.c:259 #: ogg123/status.c:273 ogg123/status.c:305 ogg123/status.c:324 #, c-format msgid "Memory allocation error in stats_init()\n" msgstr "" #: ogg123/status.c:234 #, c-format msgid "File: %s" msgstr "" #: ogg123/status.c:240 #, c-format msgid "Time: %s" msgstr "" #: ogg123/status.c:268 #, c-format msgid "of %s" msgstr "" #: ogg123/status.c:288 #, c-format msgid "Avg bitrate: %5.1f" msgstr "" #: ogg123/status.c:294 #, c-format msgid " Input Buffer %5.1f%%" msgstr "" #: ogg123/status.c:313 #, c-format msgid " Output Buffer %5.1f%%" msgstr "" #: ogg123/transport.c:71 #, c-format msgid "ERROR: Could not allocate memory in malloc_data_source_stats()\n" msgstr "" #: ogg123/vorbis_comments.c:41 msgid "Track number:" msgstr "" #: ogg123/vorbis_comments.c:42 msgid "ReplayGain (Reference loudness):" msgstr "" #: ogg123/vorbis_comments.c:43 msgid "ReplayGain (Track):" msgstr "" #: ogg123/vorbis_comments.c:44 msgid "ReplayGain (Album):" msgstr "" #: ogg123/vorbis_comments.c:45 msgid "ReplayGain Peak (Track):" msgstr "" #: ogg123/vorbis_comments.c:46 msgid "ReplayGain Peak (Album):" msgstr "" #: ogg123/vorbis_comments.c:47 msgid "Copyright" msgstr "" #: ogg123/vorbis_comments.c:48 ogg123/vorbis_comments.c:49 msgid "Comment:" msgstr "" #: ogg123/vorbis_comments.c:131 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\" and URI %s" msgstr "" #: ogg123/vorbis_comments.c:133 #, c-format msgid "Picture: Type \"%s\"%s URI %s" msgstr "" #: ogg123/vorbis_comments.c:137 #, c-format msgid "Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:139 #, c-format msgid "Picture: Type \"%s\"%s %zu bytes %s" msgstr "" #: ogg123/vorbis_comments.c:144 msgid "Picture: " msgstr "" #: oggdec/oggdec.c:51 #, c-format msgid "oggdec from %s %s\n" msgstr "" #: oggdec/oggdec.c:57 oggenc/oggenc.c:504 #, c-format msgid " by the Xiph.Org Foundation (https://www.xiph.org/)\n" msgstr "" #: oggdec/oggdec.c:59 #, c-format msgid "" "Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n" "\n" msgstr "" #: oggdec/oggdec.c:60 #, c-format msgid "Supported options:\n" msgstr "" #: oggdec/oggdec.c:61 #, c-format msgid " --quiet, -Q Quiet mode. No console output.\n" msgstr "" #: oggdec/oggdec.c:62 #, c-format msgid " --help, -h Produce this help message.\n" msgstr "" #: oggdec/oggdec.c:63 #, c-format msgid " --version, -V Print out version number.\n" msgstr "" #: oggdec/oggdec.c:64 #, c-format msgid " --bits, -b Bit depth for output (8 and 16 supported)\n" msgstr "" #: oggdec/oggdec.c:65 #, c-format msgid "" " --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n" msgstr "" #: oggdec/oggdec.c:67 #, c-format msgid "" " --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n" msgstr "" #: oggdec/oggdec.c:69 #, c-format msgid " --raw, -R Raw (headerless) output.\n" msgstr "" #: oggdec/oggdec.c:70 #, c-format msgid "" " --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n" msgstr "" #: oggdec/oggdec.c:116 #, c-format msgid "Internal error: Unrecognised argument\n" msgstr "" #: oggdec/oggdec.c:157 oggdec/oggdec.c:176 #, c-format msgid "ERROR: Failed to write Wave header: %s\n" msgstr "" #: oggdec/oggdec.c:197 #, c-format msgid "ERROR: Failed to open input file: %s\n" msgstr "" #: oggdec/oggdec.c:219 #, c-format msgid "ERROR: Failed to open output file: %s\n" msgstr "" #: oggdec/oggdec.c:268 #, c-format msgid "ERROR: Failed to open input as Vorbis\n" msgstr "" #: oggdec/oggdec.c:294 #, c-format msgid "Decoding \"%s\" to \"%s\"\n" msgstr "" #: oggdec/oggdec.c:295 oggenc/encode.c:797 oggenc/encode.c:804 #: oggenc/encode.c:812 oggenc/encode.c:819 oggenc/encode.c:825 msgid "standard input" msgstr "" #: oggdec/oggdec.c:296 oggenc/encode.c:798 oggenc/encode.c:805 #: oggenc/encode.c:813 oggenc/encode.c:820 oggenc/encode.c:826 msgid "standard output" msgstr "" #: oggdec/oggdec.c:310 #, c-format msgid "Logical bitstreams with changing parameters are not supported\n" msgstr "" #: oggdec/oggdec.c:317 #, c-format msgid "WARNING: hole in data (%d)\n" msgstr "" #: oggdec/oggdec.c:339 #, c-format msgid "Error writing to file: %s\n" msgstr "" #: oggdec/oggdec.c:384 #, c-format msgid "ERROR: No input files specified. Use -h for help\n" msgstr "" #: oggdec/oggdec.c:389 #, c-format msgid "" "ERROR: Can only specify one input file if output filename is specified\n" msgstr "" #: oggenc/audio.c:47 msgid "WAV file reader" msgstr "" #: oggenc/audio.c:48 msgid "AIFF/AIFC file reader" msgstr "" #: oggenc/audio.c:50 msgid "FLAC file reader" msgstr "" #: oggenc/audio.c:51 msgid "Ogg FLAC file reader" msgstr "" #: oggenc/audio.c:129 oggenc/audio.c:459 #, c-format msgid "Warning: Unexpected EOF in reading WAV header\n" msgstr "" #: oggenc/audio.c:140 #, c-format msgid "Skipping chunk of type \"%s\", length %d\n" msgstr "" #: oggenc/audio.c:166 #, c-format msgid "Warning: Unexpected EOF in AIFF chunk\n" msgstr "" #: oggenc/audio.c:264 #, c-format msgid "Warning: No common chunk found in AIFF file\n" msgstr "" #: oggenc/audio.c:270 #, c-format msgid "Warning: Truncated common chunk in AIFF header\n" msgstr "" #: oggenc/audio.c:278 #, c-format msgid "Warning: Unexpected EOF in reading AIFF header\n" msgstr "" #: oggenc/audio.c:289 #, c-format msgid "Warning: Unsupported count of channels in AIFF header\n" msgstr "" #: oggenc/audio.c:298 #, c-format msgid "Warning: AIFF-C header truncated.\n" msgstr "" #: oggenc/audio.c:312 #, c-format msgid "Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n" msgstr "" #: oggenc/audio.c:319 #, c-format msgid "Warning: No SSND chunk found in AIFF file\n" msgstr "" #: oggenc/audio.c:325 #, c-format msgid "Warning: Corrupted SSND chunk in AIFF header\n" msgstr "" #: oggenc/audio.c:331 #, c-format msgid "Warning: Unexpected EOF reading AIFF header\n" msgstr "" #: oggenc/audio.c:381 #, c-format msgid "" "Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n" msgstr "" #: oggenc/audio.c:439 #, c-format msgid "Warning: Unrecognised format chunk in WAV header\n" msgstr "" #: oggenc/audio.c:452 #, c-format msgid "" "Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n" msgstr "" #: oggenc/audio.c:472 #, c-format msgid "Warning: Unsupported count of channels in WAV header\n" msgstr "" #: oggenc/audio.c:537 #, c-format msgid "" "ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n" msgstr "" #: oggenc/audio.c:546 #, c-format msgid "" "Warning: WAV 'block alignment' value is incorrect, ignoring.\n" "The software that created this file is incorrect.\n" msgstr "" #: oggenc/audio.c:615 #, c-format msgid "" "ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n" msgstr "" #: oggenc/audio.c:691 #, c-format msgid "Big endian 24 bit PCM data is not currently supported, aborting.\n" msgstr "" #: oggenc/audio.c:697 #, c-format msgid "Internal error: attempt to read unsupported bitdepth %d\n" msgstr "" #: oggenc/audio.c:799 #, c-format msgid "" "BUG: Got zero samples from resampler: your file will be truncated. Please " "report this.\n" msgstr "" #: oggenc/audio.c:817 #, c-format msgid "Couldn't initialise resampler\n" msgstr "" #: oggenc/encode.c:70 #, c-format msgid "Setting advanced encoder option \"%s\" to %s\n" msgstr "" #: oggenc/encode.c:73 #, c-format msgid "Setting advanced encoder option \"%s\"\n" msgstr "" #: oggenc/encode.c:114 #, c-format msgid "Changed lowpass frequency from %f kHz to %f kHz\n" msgstr "" #: oggenc/encode.c:117 #, c-format msgid "Unrecognised advanced option \"%s\"\n" msgstr "" #: oggenc/encode.c:124 #, c-format msgid "Failed to set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:128 oggenc/encode.c:316 #, c-format msgid "" "This version of libvorbisenc cannot set advanced rate management parameters\n" msgstr "" #: oggenc/encode.c:202 #, c-format msgid "WARNING: failed to add Kate karaoke style\n" msgstr "" #: oggenc/encode.c:238 #, c-format msgid "" "255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support " "more)\n" msgstr "" #: oggenc/encode.c:246 #, c-format msgid "Requesting a minimum or maximum bitrate requires --managed\n" msgstr "" #: oggenc/encode.c:264 #, c-format msgid "Mode initialisation failed: invalid parameters for quality\n" msgstr "" #: oggenc/encode.c:309 #, c-format msgid "Set optional hard quality restrictions\n" msgstr "" #: oggenc/encode.c:311 #, c-format msgid "Failed to set bitrate min/max in quality mode\n" msgstr "" #: oggenc/encode.c:327 #, c-format msgid "Mode initialisation failed: invalid parameters for bitrate\n" msgstr "" #: oggenc/encode.c:374 #, c-format msgid "WARNING: no language specified for %s\n" msgstr "" #: oggenc/encode.c:396 msgid "Failed writing fishead packet to output stream\n" msgstr "" #: oggenc/encode.c:422 oggenc/encode.c:443 oggenc/encode.c:479 #: oggenc/encode.c:499 msgid "Failed writing header to output stream\n" msgstr "" #: oggenc/encode.c:433 msgid "Failed encoding Kate header\n" msgstr "" #: oggenc/encode.c:455 oggenc/encode.c:462 msgid "Failed writing fisbone header packet to output stream\n" msgstr "" #: oggenc/encode.c:510 msgid "Failed writing skeleton eos packet to output stream\n" msgstr "" #: oggenc/encode.c:581 oggenc/encode.c:585 msgid "Failed encoding karaoke style - continuing anyway\n" msgstr "" #: oggenc/encode.c:589 msgid "Failed encoding karaoke motion - continuing anyway\n" msgstr "" #: oggenc/encode.c:594 msgid "Failed encoding lyrics - continuing anyway\n" msgstr "" #: oggenc/encode.c:606 oggenc/encode.c:621 oggenc/encode.c:657 msgid "Failed writing data to output stream\n" msgstr "" #: oggenc/encode.c:641 msgid "Failed encoding Kate EOS packet\n" msgstr "" #: oggenc/encode.c:716 #, c-format msgid "\t[%5.1f%%] [%2dm%.2ds remaining] %c " msgstr "" #: oggenc/encode.c:726 #, c-format msgid "\tEncoding [%2dm%.2ds so far] %c " msgstr "" #: oggenc/encode.c:744 #, c-format msgid "" "\n" "\n" "Done encoding file \"%s\"\n" msgstr "" #: oggenc/encode.c:746 #, c-format msgid "" "\n" "\n" "Done encoding.\n" msgstr "" #: oggenc/encode.c:750 #, c-format msgid "" "\n" "\tFile length: %dm %04.1fs\n" msgstr "" #: oggenc/encode.c:754 #, c-format msgid "\tElapsed time: %dm %04.1fs\n" msgstr "" #: oggenc/encode.c:757 #, c-format msgid "\tRate: %.4f\n" msgstr "" #: oggenc/encode.c:758 #, c-format msgid "" "\tAverage bitrate: %.1f kb/s\n" "\n" msgstr "" #: oggenc/encode.c:781 #, c-format msgid "(min %d kbps, max %d kbps)" msgstr "" #: oggenc/encode.c:783 #, c-format msgid "(min %d kbps, no max)" msgstr "" #: oggenc/encode.c:785 #, c-format msgid "(no min, max %d kbps)" msgstr "" #: oggenc/encode.c:787 #, c-format msgid "(no min or max)" msgstr "" #: oggenc/encode.c:795 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at average bitrate %d kbps " msgstr "" #: oggenc/encode.c:803 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at approximate bitrate %d kbps (VBR encoding enabled)\n" msgstr "" #: oggenc/encode.c:811 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality level %2.2f using constrained VBR " msgstr "" #: oggenc/encode.c:818 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "at quality %2.2f\n" msgstr "" #: oggenc/encode.c:824 #, c-format msgid "" "Encoding %s%s%s to \n" " %s%s%s \n" "using bitrate management " msgstr "" #: oggenc/lyrics.c:66 #, c-format msgid "Failed to convert to UTF-8: %s\n" msgstr "" #: oggenc/lyrics.c:73 vcut/vcut.c:53 #, c-format msgid "Out of memory\n" msgstr "" #: oggenc/lyrics.c:79 #, c-format msgid "WARNING: subtitle %s is not valid UTF-8\n" msgstr "" #: oggenc/lyrics.c:141 oggenc/lyrics.c:157 oggenc/lyrics.c:337 #: oggenc/lyrics.c:353 #, c-format msgid "ERROR - line %u: Syntax error: %s\n" msgstr "" #: oggenc/lyrics.c:146 #, c-format msgid "" "WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n" msgstr "" #: oggenc/lyrics.c:162 #, c-format msgid "ERROR - line %u: end time must not be less than start time: %s\n" msgstr "" #: oggenc/lyrics.c:184 #, c-format msgid "WARNING - line %u: text is too long - truncated\n" msgstr "" #: oggenc/lyrics.c:197 #, c-format msgid "WARNING - line %u: missing data - truncated file?\n" msgstr "" #: oggenc/lyrics.c:210 #, c-format msgid "WARNING - line %d: lyrics times must not be decreasing\n" msgstr "" #: oggenc/lyrics.c:218 #, c-format msgid "WARNING - line %d: failed to get UTF-8 glyph from string\n" msgstr "" #: oggenc/lyrics.c:279 #, c-format msgid "" "WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n" msgstr "" #: oggenc/lyrics.c:288 #, c-format msgid "WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n" msgstr "" #: oggenc/lyrics.c:419 #, c-format msgid "ERROR: No lyrics filename to load from\n" msgstr "" #: oggenc/lyrics.c:425 #, c-format msgid "ERROR: Failed to open lyrics file %s (%s)\n" msgstr "" #: oggenc/lyrics.c:444 #, c-format msgid "ERROR: Failed to load %s - can't determine format\n" msgstr "" #: oggenc/oggenc.c:113 msgid "RAW file reader" msgstr "" #: oggenc/oggenc.c:131 #, c-format msgid "ERROR: No input files specified. Use -h for help.\n" msgstr "" #: oggenc/oggenc.c:146 #, c-format msgid "ERROR: Multiple files specified when using stdin\n" msgstr "" #: oggenc/oggenc.c:153 #, c-format msgid "" "ERROR: Multiple input files with specified output filename: suggest using -" "n\n" msgstr "" #: oggenc/oggenc.c:217 #, c-format msgid "" "WARNING: Insufficient lyrics languages specified, defaulting to final lyrics " "language.\n" msgstr "" #: oggenc/oggenc.c:241 #, c-format msgid "ERROR: Cannot open input file \"%s\": %s\n" msgstr "" #: oggenc/oggenc.c:272 #, c-format msgid "Opening with %s module: %s\n" msgstr "" #: oggenc/oggenc.c:281 #, c-format msgid "ERROR: Input file \"%s\" is not a supported format\n" msgstr "" #: oggenc/oggenc.c:290 #, c-format msgid "ERROR: Input file \"%s\" has invalid sampling rate\n" msgstr "" #: oggenc/oggenc.c:349 #, c-format msgid "WARNING: No filename, defaulting to \"%s\"\n" msgstr "" #: oggenc/oggenc.c:356 #, c-format msgid "" "ERROR: Could not create required subdirectories for output filename \"%s\"\n" msgstr "" #: oggenc/oggenc.c:363 #, c-format msgid "ERROR: Input filename is the same as output filename \"%s\"\n" msgstr "" #: oggenc/oggenc.c:374 #, c-format msgid "ERROR: Cannot open output file \"%s\": %s\n" msgstr "" #: oggenc/oggenc.c:429 #, c-format msgid "Resampling input from %d Hz to %d Hz\n" msgstr "" #: oggenc/oggenc.c:437 #, c-format msgid "Downmixing stereo to mono\n" msgstr "" #: oggenc/oggenc.c:441 #, c-format msgid "WARNING: Can't downmix except from stereo to mono\n" msgstr "" #: oggenc/oggenc.c:449 #, c-format msgid "Scaling input to %f\n" msgstr "" #: oggenc/oggenc.c:503 oggenc/oggenc.c:957 #, c-format msgid "oggenc from %s %s\n" msgstr "" #: oggenc/oggenc.c:505 #, c-format msgid "" " using encoder %s.\n" "\n" msgstr "" #: oggenc/oggenc.c:506 #, c-format msgid "" "Usage: oggenc [options] inputfile [...]\n" "\n" msgstr "" #: oggenc/oggenc.c:507 #, c-format msgid "" "OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n" msgstr "" #: oggenc/oggenc.c:513 #, c-format msgid "" " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n" msgstr "" #: oggenc/oggenc.c:520 #, c-format msgid "" " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n" msgstr "" #: oggenc/oggenc.c:527 #, c-format msgid "" " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) " "used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n" msgstr "" #: oggenc/oggenc.c:533 #, c-format msgid "" " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n" msgstr "" #: oggenc/oggenc.c:541 #, c-format msgid "" " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n" msgstr "" #: oggenc/oggenc.c:548 #, c-format msgid "" " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n" msgstr "" #: oggenc/oggenc.c:554 #, c-format msgid "" " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n" msgstr "" #: oggenc/oggenc.c:561 #, c-format msgid "" " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n" msgstr "" #: oggenc/oggenc.c:567 #, c-format msgid "" " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track " "number,\n" " and date, respectively (see below for specifying " "these).\n" " %%%% gives a literal %%.\n" msgstr "" #: oggenc/oggenc.c:574 #, c-format msgid "" " -X, --name-remove=s Remove the specified characters from parameters to " "the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than " "the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are " "platform\n" " specific.\n" msgstr "" #: oggenc/oggenc.c:583 #, c-format msgid "" " --utf8 Tells oggenc that the command line parameters date, " "title,\n" " album, artist, genre, and comment are already in " "UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n" msgstr "" #: oggenc/oggenc.c:591 #, c-format msgid "" " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n" msgstr "" #: oggenc/oggenc.c:597 #, c-format msgid "" " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n" msgstr "" #: oggenc/oggenc.c:600 #, c-format msgid "" " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be " "used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, " "and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without " "warning\n" " (so you can specify a date once, for example, and " "have\n" " it used for all the files)\n" "\n" msgstr "" #: oggenc/oggenc.c:613 #, c-format msgid "" "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or " "AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. " "Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, " "which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless " "additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input " "filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n" msgstr "" #: oggenc/oggenc.c:719 #, c-format msgid "WARNING: Ignoring illegal escape character '%c' in name format\n" msgstr "" #: oggenc/oggenc.c:748 oggenc/oggenc.c:884 oggenc/oggenc.c:898 #, c-format msgid "Enabling bitrate management engine\n" msgstr "" #: oggenc/oggenc.c:757 #, c-format msgid "" "WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:760 #, c-format msgid "WARNING: Couldn't read endianness argument \"%s\"\n" msgstr "" #: oggenc/oggenc.c:767 #, c-format msgid "WARNING: Couldn't read resampling frequency \"%s\"\n" msgstr "" #: oggenc/oggenc.c:773 #, c-format msgid "WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n" msgstr "" #: oggenc/oggenc.c:784 #, c-format msgid "WARNING: Couldn't parse scaling factor \"%s\"\n" msgstr "" #: oggenc/oggenc.c:798 #, c-format msgid "No value for advanced encoder option found\n" msgstr "" #: oggenc/oggenc.c:820 #, c-format msgid "Internal error parsing command line options\n" msgstr "" #: oggenc/oggenc.c:831 #, c-format msgid "WARNING: Illegal comment used (\"%s\"), ignoring.\n" msgstr "" #: oggenc/oggenc.c:870 #, c-format msgid "WARNING: nominal bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:878 #, c-format msgid "WARNING: minimum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:892 #, c-format msgid "WARNING: maximum bitrate \"%s\" not recognised\n" msgstr "" #: oggenc/oggenc.c:905 #, c-format msgid "Quality option \"%s\" not recognised, ignoring\n" msgstr "" #: oggenc/oggenc.c:912 #, c-format msgid "WARNING: quality setting too high, setting to maximum quality.\n" msgstr "" #: oggenc/oggenc.c:919 #, c-format msgid "WARNING: Multiple name formats specified, using final\n" msgstr "" #: oggenc/oggenc.c:928 #, c-format msgid "WARNING: Multiple name format filters specified, using final\n" msgstr "" #: oggenc/oggenc.c:937 #, c-format msgid "" "WARNING: Multiple name format filter replacements specified, using final\n" msgstr "" #: oggenc/oggenc.c:945 #, c-format msgid "WARNING: Multiple output files specified, suggest using -n\n" msgstr "" #: oggenc/oggenc.c:964 #, c-format msgid "" "WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:969 oggenc/oggenc.c:973 #, c-format msgid "WARNING: Invalid bits/sample specified, assuming 16.\n" msgstr "" #: oggenc/oggenc.c:980 #, c-format msgid "" "WARNING: Raw channel count specified for non-raw data. Assuming input is " "raw.\n" msgstr "" #: oggenc/oggenc.c:985 #, c-format msgid "WARNING: Invalid channel count specified, assuming 2.\n" msgstr "" #: oggenc/oggenc.c:996 #, c-format msgid "" "WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n" msgstr "" #: oggenc/oggenc.c:1001 #, c-format msgid "WARNING: Invalid sample rate specified, assuming 44100.\n" msgstr "" #: oggenc/oggenc.c:1013 oggenc/oggenc.c:1025 #, c-format msgid "WARNING: Kate support not compiled in; lyrics will not be included.\n" msgstr "" #: oggenc/oggenc.c:1021 #, c-format msgid "WARNING: language can not be longer than 15 characters; truncated.\n" msgstr "" #: oggenc/oggenc.c:1029 #, c-format msgid "WARNING: Unknown option specified, ignoring->\n" msgstr "" #: oggenc/oggenc.c:1045 vorbiscomment/vcomment.c:442 #, c-format msgid "'%s' is not valid UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1066 vorbiscomment/vcomment.c:450 #, c-format msgid "Couldn't convert comment to UTF-8, cannot add\n" msgstr "" #: oggenc/oggenc.c:1087 #, c-format msgid "WARNING: Insufficient titles specified, defaulting to final title.\n" msgstr "" #: oggenc/platform.c:172 #, c-format msgid "Couldn't create directory \"%s\": %s\n" msgstr "" #: oggenc/platform.c:179 #, c-format msgid "Error checking for existence of directory %s: %s\n" msgstr "" #: oggenc/platform.c:192 #, c-format msgid "Error: path segment \"%s\" is not a directory\n" msgstr "" #: ogginfo/ogginfo2.c:115 #, c-format msgid "" "%s stream %d:\n" "\tTotal data length: % bytes\n" "\tPlayback length: %ldm:%02ld.%03lds\n" "\tAverage bitrate: %f kb/s\n" msgstr "" #: ogginfo/ogginfo2.c:127 #, c-format msgid "WARNING: EOS not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:216 msgid "WARNING: Invalid header page, no packet found\n" msgstr "" #: ogginfo/ogginfo2.c:246 #, c-format msgid "WARNING: Invalid header page in stream %d, contains multiple packets\n" msgstr "" #: ogginfo/ogginfo2.c:260 #, c-format msgid "" "Note: Stream %d has serial number %d, which is legal but may cause problems " "with some tools.\n" msgstr "" #: ogginfo/ogginfo2.c:278 #, c-format msgid "" "WARNING: Hole in data (%d bytes) found at approximate offset % " "bytes. Corrupted Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:305 #, c-format msgid "Error opening input file \"%s\": %s\n" msgstr "" #: ogginfo/ogginfo2.c:310 #, c-format msgid "" "Processing file \"%s\"...\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:319 msgid "Could not find a processor for stream, bailing\n" msgstr "" #: ogginfo/ogginfo2.c:327 msgid "Page found for stream after EOS flag" msgstr "" #: ogginfo/ogginfo2.c:330 msgid "" "Ogg muxing constraints violated, new stream before EOS of all previous " "streams" msgstr "" #: ogginfo/ogginfo2.c:334 msgid "Error unknown." msgstr "" #: ogginfo/ogginfo2.c:337 #, c-format msgid "" "WARNING: illegally placed page(s) for logical stream %d\n" "This indicates a corrupt Ogg file: %s.\n" msgstr "" #: ogginfo/ogginfo2.c:349 #, c-format msgid "New logical stream (#%d, serial: %08x): type %s\n" msgstr "" #: ogginfo/ogginfo2.c:352 #, c-format msgid "WARNING: stream start flag not set on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:355 #, c-format msgid "WARNING: stream start flag found in mid-stream on stream %d\n" msgstr "" #: ogginfo/ogginfo2.c:361 #, c-format msgid "" "WARNING: sequence number gap in stream %d. Got page %ld when expecting page " "%ld. Indicates missing data.\n" msgstr "" #: ogginfo/ogginfo2.c:376 #, c-format msgid "Logical stream %d ended\n" msgstr "" #: ogginfo/ogginfo2.c:384 #, c-format msgid "" "ERROR: No Ogg data found in file \"%s\".\n" "Input probably not Ogg.\n" msgstr "" #: ogginfo/ogginfo2.c:395 #, c-format msgid "ogginfo from %s %s\n" msgstr "" #: ogginfo/ogginfo2.c:400 #, c-format msgid "" " by the Xiph.Org Foundation (https://www.xiph.org/)\n" "\n" msgstr "" #: ogginfo/ogginfo2.c:401 #, c-format msgid "" "(c) 2003-2005 Michael Smith \n" "\n" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "Flags supported:\n" "\t-h Show this help message\n" "\t-q Make less verbose. Once will remove detailed informative\n" "\t messages, two will remove warnings\n" "\t-v Make more verbose. This may enable more detailed checks\n" "\t for some stream types.\n" msgstr "" #: ogginfo/ogginfo2.c:410 #, c-format msgid "\t-V Output version information and exit\n" msgstr "" #: ogginfo/ogginfo2.c:422 #, c-format msgid "" "Usage: ogginfo [flags] file1.ogg [file2.ogx ... fileN.ogv]\n" "\n" "ogginfo is a tool for printing information about Ogg files\n" "and for diagnosing problems with them.\n" "Full help shown with \"ogginfo -h\".\n" msgstr "" #: ogginfo/ogginfo2.c:456 #, c-format msgid "No input files specified. \"ogginfo -h\" for help\n" msgstr "" #: share/getopt.c:673 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "" #: share/getopt.c:698 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "" #: share/getopt.c:703 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "" #: share/getopt.c:721 share/getopt.c:894 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "" #: share/getopt.c:750 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "" #: share/getopt.c:754 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "" #: share/getopt.c:780 #, c-format msgid "%s: illegal option -- %c\n" msgstr "" #: share/getopt.c:783 #, c-format msgid "%s: invalid option -- %c\n" msgstr "" #: share/getopt.c:813 share/getopt.c:943 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "" #: share/getopt.c:860 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "" #: share/getopt.c:878 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "" #: vcut/vcut.c:129 #, c-format msgid "Couldn't flush output stream\n" msgstr "" #: vcut/vcut.c:149 #, c-format msgid "Couldn't close output file\n" msgstr "" #: vcut/vcut.c:210 #, c-format msgid "Couldn't open %s for writing\n" msgstr "" #: vcut/vcut.c:250 #, c-format msgid "" "Usage: vcut infile.ogg outfile1.ogg outfile2.ogg [cutpoint | +cuttime]\n" msgstr "" #: vcut/vcut.c:252 #, c-format msgid "To avoid creating an output file, specify \".\" as its name.\n" msgstr "" #: vcut/vcut.c:263 #, c-format msgid "Couldn't open %s for reading\n" msgstr "" #: vcut/vcut.c:278 vcut/vcut.c:282 #, c-format msgid "Couldn't parse cutpoint \"%s\"\n" msgstr "" #: vcut/vcut.c:287 #, c-format msgid "Processing: Cutting at %lf seconds\n" msgstr "" #: vcut/vcut.c:289 #, c-format msgid "Processing: Cutting at %lld samples\n" msgstr "" #: vcut/vcut.c:300 #, c-format msgid "Processing failed\n" msgstr "" #: vcut/vcut.c:341 #, c-format msgid "WARNING: unexpected granulepos % (expected %)\n" msgstr "" #: vcut/vcut.c:392 #, c-format msgid "Cutpoint not found\n" msgstr "" #: vcut/vcut.c:398 #, c-format msgid "" "Can't produce a file starting and ending between sample positions % " "and %\n" msgstr "" #: vcut/vcut.c:442 #, c-format msgid "" "Can't produce a file starting between sample positions % and " "%.\n" msgstr "" #: vcut/vcut.c:446 #, c-format msgid "Specify \".\" as the second output file to suppress this error.\n" msgstr "" #: vcut/vcut.c:484 #, c-format msgid "Couldn't write packet to output file\n" msgstr "" #: vcut/vcut.c:505 #, c-format msgid "BOS not set on first page of stream\n" msgstr "" #: vcut/vcut.c:520 #, c-format msgid "Multiplexed bitstreams are not supported\n" msgstr "" #: vcut/vcut.c:531 #, c-format msgid "Internal stream parsing error\n" msgstr "" #: vcut/vcut.c:545 #, c-format msgid "Header packet corrupt\n" msgstr "" #: vcut/vcut.c:551 #, c-format msgid "Bitstream error, continuing\n" msgstr "" #: vcut/vcut.c:561 #, c-format msgid "Error in header: not vorbis?\n" msgstr "" #: vcut/vcut.c:612 #, c-format msgid "Input not ogg.\n" msgstr "" #: vcut/vcut.c:616 #, c-format msgid "Page error, continuing\n" msgstr "" #: vcut/vcut.c:626 #, c-format msgid "WARNING: input file ended unexpectedly\n" msgstr "" #: vcut/vcut.c:630 #, c-format msgid "WARNING: found EOS before cutpoint\n" msgstr "" #: vorbiscomment/vcedit.c:130 vorbiscomment/vcedit.c:158 msgid "Couldn't get enough memory for input buffering." msgstr "" #: vorbiscomment/vcedit.c:181 vorbiscomment/vcedit.c:529 msgid "Error reading first page of Ogg bitstream." msgstr "" #: vorbiscomment/vcedit.c:186 vorbiscomment/vcedit.c:535 msgid "Error reading initial header packet." msgstr "" #: vorbiscomment/vcedit.c:236 msgid "Couldn't get enough memory to register new stream serial number." msgstr "" #: vorbiscomment/vcedit.c:491 msgid "Input truncated or empty." msgstr "" #: vorbiscomment/vcedit.c:493 msgid "Input is not an Ogg bitstream." msgstr "" #: vorbiscomment/vcedit.c:541 msgid "Ogg bitstream does not contain Vorbis data." msgstr "" #: vorbiscomment/vcedit.c:555 msgid "EOF before recognised stream." msgstr "" #: vorbiscomment/vcedit.c:568 msgid "Ogg bitstream does not contain a supported data-type." msgstr "" #: vorbiscomment/vcedit.c:611 msgid "Corrupt secondary header." msgstr "" #: vorbiscomment/vcedit.c:630 msgid "EOF before end of Vorbis headers." msgstr "" #: vorbiscomment/vcedit.c:785 msgid "Corrupt or missing data, continuing..." msgstr "" #: vorbiscomment/vcedit.c:822 msgid "" "Error writing stream to output. Output stream may be corrupted or truncated." msgstr "" #: vorbiscomment/vcomment.c:259 vorbiscomment/vcomment.c:285 #, c-format msgid "Failed to open file as Vorbis: %s\n" msgstr "" #: vorbiscomment/vcomment.c:305 #, c-format msgid "Bad comment: \"%s\"\n" msgstr "" #: vorbiscomment/vcomment.c:314 #, c-format msgid "bad comment: \"%s\"\n" msgstr "" #: vorbiscomment/vcomment.c:323 #, c-format msgid "Failed to write comments to output file: %s\n" msgstr "" #: vorbiscomment/vcomment.c:340 #, c-format msgid "no action specified\n" msgstr "" #: vorbiscomment/vcomment.c:465 #, c-format msgid "Couldn't un-escape comment, cannot add\n" msgstr "" #: vorbiscomment/vcomment.c:616 #, c-format msgid "" "vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n" "\n" msgstr "" #: vorbiscomment/vcomment.c:619 #, c-format msgid "List or edit comments in Ogg Vorbis files.\n" msgstr "" #: vorbiscomment/vcomment.c:622 #, c-format msgid "" "Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n" msgstr "" #: vorbiscomment/vcomment.c:628 #, c-format msgid "Listing options\n" msgstr "" #: vorbiscomment/vcomment.c:629 #, c-format msgid "" " -l, --list List the comments (default if no options are " "given)\n" msgstr "" #: vorbiscomment/vcomment.c:632 #, c-format msgid "Editing options\n" msgstr "" #: vorbiscomment/vcomment.c:633 #, c-format msgid " -a, --append Update comments\n" msgstr "" #: vorbiscomment/vcomment.c:634 #, c-format msgid "" " -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n" msgstr "" #: vorbiscomment/vcomment.c:636 #, c-format msgid "" " -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to " "remove\n" " If no value is given all tags with that name are " "removed\n" " This implies -a,\n" msgstr "" #: vorbiscomment/vcomment.c:640 #, c-format msgid " -w, --write Write comments, replacing the existing ones\n" msgstr "" #: vorbiscomment/vcomment.c:644 #, c-format msgid "" " -c file, --commentfile file\n" " When listing, write comments to the specified " "file.\n" " When editing, read comments from the specified " "file.\n" msgstr "" #: vorbiscomment/vcomment.c:647 #, c-format msgid " -R, --raw Read and write comments in UTF-8\n" msgstr "" #: vorbiscomment/vcomment.c:648 #, c-format msgid "" " -e, --escapes Use \\n-style escapes to allow multiline " "comments.\n" msgstr "" #: vorbiscomment/vcomment.c:652 #, c-format msgid " -V, --version Output version information and exit\n" msgstr "" #: vorbiscomment/vcomment.c:655 #, c-format msgid "" "If no output file is specified, vorbiscomment will modify the input file. " "This\n" "is handled via temporary file, such that the input file is not modified if " "any\n" "errors are encountered during processing.\n" msgstr "" #: vorbiscomment/vcomment.c:660 #, c-format msgid "" "vorbiscomment handles comments in the format \"name=value\", one per line. " "By\n" "default, comments are written to stdout when listing, and read from stdin " "when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -" "t\n" "disables reading from stdin.\n" msgstr "" #: vorbiscomment/vcomment.c:667 #, c-format msgid "" "Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n" msgstr "" #: vorbiscomment/vcomment.c:672 #, c-format msgid "" "NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather " "than\n" "converting to the user's character set, which is useful in scripts. " "However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n" msgstr "" #: vorbiscomment/vcomment.c:739 #, c-format msgid "Internal error parsing command options\n" msgstr "" #: vorbiscomment/vcomment.c:758 #, c-format msgid "vorbiscomment from vorbis-tools " msgstr "" #: vorbiscomment/vcomment.c:841 #, c-format msgid "Error opening input file '%s'.\n" msgstr "" #: vorbiscomment/vcomment.c:850 #, c-format msgid "Input filename may not be the same as output filename\n" msgstr "" #: vorbiscomment/vcomment.c:861 #, c-format msgid "Error opening output file '%s'.\n" msgstr "" #: vorbiscomment/vcomment.c:876 #, c-format msgid "Error opening comment file '%s'.\n" msgstr "" #: vorbiscomment/vcomment.c:893 #, c-format msgid "Error opening comment file '%s'\n" msgstr "" #: vorbiscomment/vcomment.c:927 #, c-format msgid "Error removing old file %s\n" msgstr "" #: vorbiscomment/vcomment.c:929 #, c-format msgid "Error renaming %s to %s\n" msgstr "" #: vorbiscomment/vcomment.c:938 #, c-format msgid "Error removing erroneous temporary file %s\n" msgstr "" vorbis-tools-1.4.2/po/en_GB.gmo0000644000175000017500000003773214002243560013205 00000000000000Þ•¬|åÜ pq«ÀÝø 4Ke,¬%Ê,ð- K&l“³ÓÙâõü,!0ZR7­*å-S>+’Q¾!2*J,u¢ ¸ÅÙìÿ 9"\y0Š» Ä Ñ&Û/#L.p#ŸÃâ< DPV'q(™IÂ1 1>Mp#¾â[ñ@M6ŽRÅ>1WB‰ Ì!í"2 R*s$žÃßLø&E>l4«,à, %:'`ˆ4‘6Æý,,F-s'¡ É×(ð;;U‘0–0Çø*ÿ+*V r~‘-«Ùí; %= +c ' · ¿ (Ì õ þ  ! !"!0B!1s!?¥!Cå!5)"6_"8–"IÏ"=#6W#;Ž#LÊ#N$Kf$L²$.ÿ$?.%7n%&¦%Í%à%å%ê%&& &&&&+&1&7&H&W&g&nn&Ý'û'(,(I(d(v(Š( (·(Ñ(,ë()%6),\)-‰) ·)&Ø)ÿ)*?*E*N*a*h*,o*!œ*Z¾*7+*Q+-|+Sª++þ+Q*,!|,ž,*¶,,á,- $-1-E-X-k- „-9Ž-È-å-0ö-'. 0. =.&G.n./ˆ.#¸..Ü.# ///N/l/Š/¨/ °/¼/Â/'Ý/(0I.01x01ª0MÜ0#*1N1[]1@¹16ú1R12>„21Ã2Bõ2 83!Y3"{3ž3 ¾3*ß3$ 4/4K4Ld4&±4>Ø445,L5,y5%¦5'Ì5ô54ý5626i6ˆ6˜6,²6-ß6' 7 57C7(\7;…7;Á7ý708038d8*k8+–8Â8 Þ8ê8ý8-9E9Y9;m9%©9+Ï9'û9#: +:(8:a: j:x: }:"‹:0®:1ß:?;CQ;5•;6Ë;8<I;<=…<6Ã<;ú<L6=Nƒ=KÒ=L>.k>?š>7Ú>&?9?L?Q?V?l?s?y?}?’?—??£?´?Ã?Ó?0@‚=R2-—W"O ”•B`4M^hq {¦€cXx¢l†'‰¨j:6|™ i5vJ;Ž–%<Š*©sHGP}¡Y‡˜V§>pyfS“ke£’?_¥r)m¬+„z«¤!KE.šuU#o[‹3…L› žIndŸNgt9ZDTF/(C‘w8$7 bQªƒ & A~\1aœ,]Œˆ Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Rate: %.4f File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s Input Buffer %5.1f%% Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognized option `%c%s' %s: unrecognized option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%(NULL)(none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Changed lowpass frequency from %f kHz to %f kHz Comment:Comments: %sCopyrightCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" DefaultDescriptionDone.Downmixing stereo to mono ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing old file %s Error renaming %s to %s Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File: %sInput buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Key not foundLogical stream %d ended Memory allocation error in stats_init() Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Opening with %s module: %s Playing: %sProcessing failed Processing file "%s"... Quality option "%s" not recognised, ignoring ReplayGain (Album):ReplayGain (Track):Requesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d SuccessSystem errorThe file format of %s is not supported. Time: %sTrack number:TypeUnknown errorUnrecognised advanced option "%s" WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: Ignoring illegal escape character '%c' in name format WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid sample rate specified, assuming 44100. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Unknown option specified, ignoring-> WARNING: quality setting too high, setting to maximum quality. Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sothershuffle playliststandard inputstandard outputstringProject-Id-Version: vorbis-tools 1.0 Report-Msgid-Bugs-To: https://trac.xiph.org/ POT-Creation-Date: 2021-01-21 09:20+0000 PO-Revision-Date: 2004-04-26 10:36-0400 Last-Translator: Gareth Owen Language-Team: English (British) Language: en_GB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Average bitrate: %.1f kb/s Elapsed time: %dm %04.1fs Rate: %.4f File length: %dm %04.1fs Done encoding file "%s" Done encoding. Audio Device: %s Input Buffer %5.1f%% Output Buffer %5.1f%%%s: illegal option -- %c %s: invalid option -- %c %s: option `%c%s' doesn't allow an argument %s: option `%s' is ambiguous %s: option `%s' requires an argument %s: option `--%s' doesn't allow an argument %s: option `-W %s' doesn't allow an argument %s: option `-W %s' is ambiguous %s: option requires an argument -- %c %s: unrecognised option `%c%s' %s: unrecognised option `--%s' %sEOS%sPaused%sPrebuf to %.1f%%(NULL)(none)--- Cannot open playlist file %s. Skipped. --- Cannot play every 0th chunk! --- Cannot play every chunk 0 times. --- To do a test decode, use the null output driver. --- Driver %s specified in configuration file invalid. --- Hole in the stream; probably harmless --- Prebuffer value invalid. Range is 0-100. === Could not load default driver and no driver specified in config file. Exiting. === Driver %s is not a file output driver. === Error "%s" while parsing config option from command line. === Option was: %s === Incorrect option format: %s. === No such device %s. === Parse error: %s on line %d of %s (%s) === Vorbis library reported a stream error. AIFF/AIFC file readerAuthor: %sAvailable options: Avg bitrate: %5.1fBad comment: "%s" Bad type in options listBad valueBitrate hints: upper=%ld nominal=%ld lower=%ld window=%ldBitstream error, continuing Cannot open %s. Changed lowpass frequency from %f kHz to %f kHz Comment:Comments: %sCopyrightCorrupt or missing data, continuing...Corrupt secondary header.Could not find a processor for stream, bailing Could not skip %f seconds of audio.Couldn't convert comment to UTF-8, cannot add Couldn't create directory "%s": %s Couldn't initialise resampler Couldn't open %s for reading Couldn't open %s for writing Couldn't parse cutpoint "%s" DefaultDescriptionDone.Downmixing stereo to mono ERROR: Cannot open input file "%s": %s ERROR: Cannot open output file "%s": %s ERROR: Could not create required subdirectories for output filename "%s" ERROR: Input file "%s" is not a supported format ERROR: Multiple files specified when using stdin ERROR: Multiple input files with specified output filename: suggest using -n Enabling bitrate management engine Encoded by: %sEncoding %s%s%s to %s%s%s at approximate bitrate %d kbps (VBR encoding enabled) Encoding %s%s%s to %s%s%s at average bitrate %d kbps Encoding %s%s%s to %s%s%s at quality %2.2f Encoding %s%s%s to %s%s%s at quality level %2.2f using constrained VBR Encoding %s%s%s to %s%s%s using bitrate management Error checking for existence of directory %s: %s Error opening %s using the %s module. The file may be corrupted. Error opening comment file '%s' Error opening comment file '%s'. Error opening input file "%s": %s Error opening input file '%s'. Error opening output file '%s'. Error reading first page of Ogg bitstream.Error reading initial header packet.Error removing old file %s Error renaming %s to %s Error writing stream to output. Output stream may be corrupted or truncated.Error: Could not create audio buffer. Error: Out of memory in decoder_buffered_metadata_callback(). Error: Out of memory in new_print_statistics_arg(). Error: path segment "%s" is not a directory Failed to write comments to output file: %s Failed writing data to output stream Failed writing header to output stream File: %sInput buffer size smaller than minimum size of %dkB.Input filename may not be the same as output filename Input is not an Ogg bitstream.Input not ogg. Input truncated or empty.Internal error parsing command line options Internal error parsing command line options. Internal error parsing command options Key not foundLogical stream %d ended Memory allocation error in stats_init() Mode initialisation failed: invalid parameters for bitrate Mode initialisation failed: invalid parameters for quality NameNew logical stream (#%d, serial: %08x): type %s No input files specified. "ogginfo -h" for help No keyNo module could be found to read from %s. No value for advanced encoder option found Opening with %s module: %s Playing: %sProcessing failed Processing file "%s"... Quality option "%s" not recognised, ignoring ReplayGain (Album):ReplayGain (Track):Requesting a minimum or maximum bitrate requires --managed Resampling input from %d Hz to %d Hz Setting advanced encoder option "%s" to %s Skipping chunk of type "%s", length %d SuccessSystem errorThe file format of %s is not supported. Time: %sTrack number:TypeUnknown errorUnrecognised advanced option "%s" WARNING: Couldn't read endianness argument "%s" WARNING: Couldn't read resampling frequency "%s" WARNING: Ignoring illegal escape character '%c' in name format WARNING: Insufficient titles specified, defaulting to final title. WARNING: Invalid bits/sample specified, assuming 16. WARNING: Invalid channel count specified, assuming 2. WARNING: Invalid sample rate specified, assuming 44100. WARNING: Multiple name format filter replacements specified, using final WARNING: Multiple name format filters specified, using final WARNING: Multiple name formats specified, using final WARNING: Multiple output files specified, suggest using -n WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw. WARNING: Raw channel count specified for non-raw data. Assuming input is raw. WARNING: Raw endianness specified for non-raw data. Assuming input is raw. WARNING: Raw sample rate specified for non-raw data. Assuming input is raw. WARNING: Unknown option specified, ignoring-> WARNING: quality setting too high, setting to maximum quality. Warning from playlist %s: Could not read directory %s. Warning: Could not read directory %s. bad comment: "%s" boolchardefault output devicedoublefloatintno action specified noneof %sothershuffle playliststandard inputstandard outputstringvorbis-tools-1.4.2/configure.ac0000644000175000017500000003276414002242673013403 00000000000000dnl Process this file with autoconf to produce a configure script dnl ------------------------------------------------ dnl Initialization dnl ------------------------------------------------ AC_INIT([vorbis-tools],[1.4.2],[vorbis-dev@xiph.org]) AC_CONFIG_SRCDIR(oggenc/encode.c) AC_CONFIG_MACRO_DIR([m4]) AC_CANONICAL_HOST AC_PREREQ(2.53) AM_INIT_AUTOMAKE AM_MAINTAINER_MODE([enable]) AC_USE_SYSTEM_EXTENSIONS dnl enable silent rules on automake 1.11 and later m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) dnl -------------------------------------------------- dnl Check for programs dnl -------------------------------------------------- dnl save $CFLAGS since AC_PROG_CC likes to insert "-g -O2" dnl if $CFLAGS is blank cflags_save="$CFLAGS" AC_PROG_CC CFLAGS="$cflags_save" AC_PROG_LIBTOOL ALL_LINGUAS="be cs da en_GB eo es fr hr hu nl pl ro ru sk sv uk vi" AM_GNU_GETTEXT dnl -------------------------------------------------- dnl System checks dnl -------------------------------------------------- AC_SYS_LARGEFILE AC_C_BIGENDIAN dnl -------------------------------------------------- dnl Set build flags based on environment dnl -------------------------------------------------- cflags_save="$CFLAGS" if test -z "$GCC"; then case $host in *-*-irix*) DEBUG="-g -signed" CFLAGS="-O2 -w -signed" PROFILE="-p -g3 -O2 -signed" ;; sparc-sun-solaris*) DEBUG="-v -g" CFLAGS="-xO4 -fast -w -fsimple -native -xcg92" PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;; *) DEBUG="-g" CFLAGS="-O" PROFILE="-g -p" ;; esac else case $host in *-*-linux*) DEBUG="-g -Wall -fsigned-char" CFLAGS="-O2 -Wall -ffast-math -fsigned-char" PROFILE="-Wall -W -pg -g -O2 -ffast-math -fsigned-char" ;; sparc-sun-*) DEBUG="-g -Wall -fsigned-char -mv8" CFLAGS="-O20 -ffast-math -fsigned-char -mv8" PROFILE="-pg -g -O20 -fsigned-char -mv8" ;; *-*-darwin*) DEBUG="-fno-common -g -Wall -fsigned-char" CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math" PROFILE="-fno-common -O4 -Wall -pg -g -fsigned-char -ffast-math" ;; *) DEBUG="-g -Wall -fsigned-char" CFLAGS="-O2 -fsigned-char" PROFILE="-O2 -g -pg -fsigned-char" ;; esac fi CFLAGS="$CFLAGS $cflags_save" DEBUG="$DEBUG $cflags_save" PROFILE="$PROFILE $cflags_save" dnl -------------------------------------------------- dnl Allow tools to be selectively built dnl -------------------------------------------------- AC_ARG_ENABLE(ogg123, [ --disable-ogg123 Skip building ogg123], build_ogg123="$enableval", build_ogg123="yes") AC_ARG_ENABLE(oggdec, [ --disable-oggdec Skip building oggdec], build_oggdec="$enableval", build_oggdec="yes") AC_ARG_ENABLE(oggenc, [ --disable-oggenc Skip building oggenc], build_oggenc="$enableval", build_oggenc="yes") AC_ARG_ENABLE(ogginfo,[ --disable-ogginfo Skip building ogginfo], build_ogginfo="$enableval", build_ogginfo="yes") AC_ARG_ENABLE(vcut, [ --disable-vcut Skip building vcut], build_vcut="$enableval", build_vcut="yes") AC_ARG_ENABLE(vorbiscomment, [ --disable-vorbiscomment Skip building vorbiscomment], build_vorbiscomment="$enableval", build_vorbiscomment="yes") AC_ARG_WITH(flac, [ --without-flac Do not compile FLAC support], build_flac="$withval", build_flac="yes") AC_ARG_WITH(speex, [ --without-speex Do not compile Speex support], build_speex="$withval", build_speex="yes") AC_ARG_WITH(kate, [ --without-kate Do not compile Kate support], build_kate="$withval", build_kate="yes") dnl -------------------------------------------------- dnl Check for generally needed libraries dnl -------------------------------------------------- HAVE_OGG=no dnl first check through pkg-config dnl check for pkg-config itself so we don't try the m4 macro without pkg-config AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes) if test "x$HAVE_PKG_CONFIG" = "xyes" then PKG_CHECK_MODULES(OGG, ogg >= 1.0, HAVE_OGG=yes, HAVE_OGG=no) fi if test "x$HAVE_OGG" = "xno" then dnl fall back to the old school test XIPH_PATH_OGG(,AC_MSG_ERROR(Ogg needed!)) libs_save=$LIBS LIBS="$OGG_LIBS $VORBIS_LIBS" AC_CHECK_FUNC(oggpack_writealign, , AC_MSG_ERROR(Ogg >= 1.0 required !)) LIBS=$libs_save fi dnl check for Vorbis HAVE_VORBIS=no dnl first check through pkg-config since it's more flexible if test "x$HAVE_PKG_CONFIG" = "xyes" then PKG_CHECK_MODULES(VORBIS, vorbis >= 1.3.0, HAVE_VORBIS=yes, HAVE_VORBIS=no) dnl also set VORBISENC_LIBS since an examples needs it dnl the old .m4 sets this to a value to use on top of VORBIS_LIBS, dnl so we do the same here. VORBISENC_LIBS="-lvorbisenc" VORBISFILE_LIBS="-lvorbisfile" AC_SUBST(VORBISENC_LIBS) AC_SUBST(VORBISFILE_LIBS) libs_save=$LIBS LIBS="$OGG_LIBS $VORBIS_LIBS $VORBISFILE_LIBS" AC_CHECK_FUNC(ov_read_filter, have_ov_read_filter=yes, have_ov_read_filter=no) LIBS=$libs_save if test "x$have_ov_read_filter" = "xyes" then AC_DEFINE(HAVE_OV_READ_FILTER,1,[Defined if we have ov_read_filter()]) fi fi if test "x$HAVE_VORBIS" = "xno" then dnl fall back to the old school test XIPH_PATH_VORBIS(,AC_MSG_ERROR(Vorbis needed!)) AC_CHECK_DECL(OV_ECTL_COUPLING_SET, , , [#include ]) if test "x$ac_cv_have_decl_OV_ECTL_COUPLING_SET" = "xno" then AC_MSG_ERROR([Vorbis >= 1.3.0 required !]) HAVE_VORBIS=no fi fi AM_CONDITIONAL(HAVE_OV_READ_FILTER, test "x$have_ov_read_filter" = "xyes") if test "x$HAVE_PKG_CONFIG" = "xyes" then PKG_CHECK_MODULES(OPUSFILE, opusfile >= 0.2, HAVE_LIBOPUSFILE=yes, HAVE_LIBOPUSFILE=no) AC_SUBST(OPUSFILE_LIBS) if test "x$HAVE_LIBOPUSFILE" = xyes; then AC_DEFINE(HAVE_LIBOPUSFILE, 1, [Defined if we have libopusfile]) fi fi AM_CONDITIONAL(HAVE_LIBOPUSFILE, test "x$HAVE_LIBOPUSFILE" = "xyes") SHARE_LIBS='$(top_builddir)/share/libutf8.a $(top_builddir)/share/libgetopt.a' SHARE_CFLAGS='-I$(top_srcdir)/include' I18N_CFLAGS='-I$(top_srcdir)/intl' I18N_LIBS=$INTLLIBS SOCKET_LIBS= AC_CHECK_LIB(socket, socket, SOCKET_LIBS="-lsocket") AC_CHECK_LIB(network, socket, SOCKET_LIBS="-lnetwork") AC_CHECK_LIB(nsl, gethostbyname, SOCKET_LIBS="-lnsl $SOCKET_LIBS") dnl -------------------------------------------------- dnl Check for ogg123 critical libraries and other optional libraries dnl -------------------------------------------------- dnl curl is an optional dependancy of ogg123 if test "x$HAVE_PKG_CONFIG" = "xyes"; then PKG_CHECK_MODULES(CURL, libcurl, HAVE_CURL=yes, HAVE_CURL=no) if test "x$HAVE_CURL" = "xno"; then AM_PATH_CURL(HAVE_CURL=yes, HAVE_CURL=no; AC_MSG_WARN(libcurl missing)) fi else AM_PATH_CURL(HAVE_CURL=yes, HAVE_CURL=no; AC_MSG_WARN(libcurl missing)) fi if test "x$HAVE_CURL" = "xyes"; then AC_DEFINE(HAVE_CURL,1,[Defined if we have libcurl]) fi if test "x$build_ogg123" = xyes; then AC_MSG_RESULT([checking for ogg123 requirements]) PKG_CHECK_MODULES(AO, ao >= 1.0.0,,build_ogg123=no; AC_MSG_WARN(libao too old; >= 1.0.0 required)) ACX_PTHREAD(,build_ogg123=no; AC_MSG_WARN(POSIX threads missing)) fi dnl -------------------- FLAC ---------------------- FLAC_LIBS="" if test "x$build_flac" = xyes; then AC_CHECK_LIB(m,log,FLAC_LIBS="-lm") dnl First check for libFLAC-1.1.3 or later. As of libFLAC 1.1.3, dnl OggFLAC functionality has been rolled into libFLAC rather dnl than being in a separate libOggFLAC library. AC_CHECK_LIB(FLAC, [FLAC__stream_decoder_init_ogg_stream], have_libFLAC=yes, have_libFLAC=no, [$FLAC_LIBS $OGG_LIBS]) if test "x$have_libFLAC" = xyes; then FLAC_LIBS="-lFLAC $FLAC_LIBS $OGG_LIBS" else dnl Check for libFLAC prior to 1.1.3 AC_CHECK_LIB(FLAC, [FLAC__stream_decoder_process_single], [have_libFLAC=yes; FLAC_LIBS="-lFLAC $FLAC_LIBS"], AC_MSG_WARN([libFLAC missing]) have_libFLAC=no, [$FLAC_LIBS] ) AC_CHECK_LIB(OggFLAC, [OggFLAC__stream_decoder_new], [FLAC_LIBS="-lOggFLAC $FLAC_LIBS $OGG_LIBS"], AC_MSG_WARN([libOggFLAC missing]) have_libFLAC=no, [$FLAC_LIBS $OGG_LIBS] ) fi AC_CHECK_HEADER(FLAC/stream_decoder.h,, AC_MSG_WARN(libFLAC headers missing) have_libFLAC=no,[ ]) if test "x$have_libFLAC" = xyes; then AC_DEFINE(HAVE_LIBFLAC, 1, [Defined if we have libFLAC]) else build_flac="no" FLAC_LIBS="" fi fi AM_CONDITIONAL(HAVE_LIBFLAC, test "x$have_libFLAC" = "xyes") AC_SUBST(FLAC_LIBS) dnl ------------------- Speex ------------------------ SPEEX_LIBS="" if test "x$build_speex" = xyes; then AC_CHECK_LIB(m,log,SPEEX_LIBS="-lm") AC_CHECK_LIB(speex, [speex_decoder_init], [have_libspeex=yes; SPEEX_LIBS="-lspeex $SPEEX_LIBS"], AC_MSG_WARN(libspeex missing) have_libspeex=no, [$SPEEX_LIBS] ) AC_CHECK_HEADER(speex/speex.h,, AC_MSG_WARN(libspeex headers missing) have_libspeex=no,[ ]) if test "x$have_libspeex" = xyes; then AC_DEFINE(HAVE_LIBSPEEX, 1, [Defined if we have libspeex]) else build_speex="no" SPEEX_LIBS="" fi fi AM_CONDITIONAL(HAVE_LIBSPEEX, test "x$have_libspeex" = "xyes") AC_SUBST(SPEEX_LIBS) dnl ------------------- Kate ------------------------- KATE_CFLAGS="" KATE_LIBS="" if test "x$build_kate" = xyes; then AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes) if test "x$HAVE_PKG_CONFIG" = "xyes" then PKG_CHECK_MODULES(KATE, oggkate, HAVE_KATE=yes, HAVE_KATE=no) fi if test "x$HAVE_KATE" = "xno" then dnl fall back to the old school test AC_CHECK_LIB(m,log,KATE_LIBS="-lm") AC_CHECK_LIB(kate, [kate_decode_init], [HAVE_KATE=yes; KATE_LIBS="-lkate $KATE_LIBS $OGG_LIBS"], AC_MSG_WARN(libkate missing) HAVE_KATE=no, [$KATE_LIBS $OGG_LIBS] ) AC_CHECK_LIB(oggkate, [kate_ogg_decode_headerin], [HAVE_KATE=yes; KATE_LIBS="-loggkate $KATE_LIBS $OGG_LIBS"], AC_MSG_WARN(libkate missing) HAVE_KATE=no, [$KATE_LIBS $OGG_LIBS] ) AC_CHECK_HEADER(kate/kate.h,, AC_MSG_WARN(libkate headers missing) HAVE_KATE=no,[ ]) AC_CHECK_HEADER(kate/oggkate.h,, AC_MSG_WARN(liboggkate headers missing) HAVE_KATE=no,[ ]) fi if test "x$HAVE_KATE" = xyes; then AC_DEFINE(HAVE_KATE, 1, [Defined if we have libkate]) else build_kate="no" KATE_CFLAGS="" KATE_LIBS="" fi fi AM_CONDITIONAL(HAVE_KATE, test "x$HAVE_KATE" = "xyes") AC_SUBST(KATE_CFLAGS) AC_SUBST(KATE_LIBS) dnl -------------------------------------------------- dnl Check for headers dnl -------------------------------------------------- AC_CHECK_HEADERS([fcntl.h unistd.h]) dnl -------------------------------------------------- dnl Check for library functions dnl -------------------------------------------------- AC_FUNC_ALLOCA AM_ICONV AC_CHECK_FUNCS(atexit on_exit fcntl select stat chmod alphasort scandir) AM_LANGINFO_CODESET dnl -------------------------------------------------- dnl Work around FHS stupidity dnl -------------------------------------------------- if test -z "$mandir"; then if test "$prefix" = "/usr"; then MANDIR='$(datadir)/man' else MANDIR='$(prefix)/man' fi else MANDIR=$mandir fi AC_SUBST(MANDIR) dnl -------------------------------------------------- dnl Do substitutions dnl -------------------------------------------------- # add optional subdirs to the build OPT_SUBDIRS="" if test "x$build_ogg123" = xyes; then OPT_SUBDIRS="$OPT_SUBDIRS ogg123" fi if test "x$build_oggenc" = xyes; then OPT_SUBDIRS="$OPT_SUBDIRS oggenc" fi if test "x$build_oggdec" = xyes; then OPT_SUBDIRS="$OPT_SUBDIRS oggdec" fi if test "x$build_ogginfo" = xyes; then OPT_SUBDIRS="$OPT_SUBDIRS ogginfo" fi if test "x$build_vcut" = xyes; then OPT_SUBDIRS="$OPT_SUBDIRS vcut" fi if test "x$build_vorbiscomment" = xyes; then OPT_SUBDIRS="$OPT_SUBDIRS vorbiscomment" fi AC_SUBST(OPT_SUBDIRS) AC_SUBST(DEBUG) AC_SUBST(PROFILE) AC_SUBST(SOCKET_LIBS) AC_SUBST(SHARE_CFLAGS) AC_SUBST(SHARE_LIBS) AC_SUBST(CURL_CFLAGS) AC_SUBST(CURL_LIBS) AC_SUBST(I18N_CFLAGS) AC_SUBST(I18N_LIBS) AC_CONFIG_FILES([ Makefile m4/Makefile po/Makefile.in intl/Makefile include/Makefile share/Makefile win32/Makefile oggdec/Makefile oggenc/Makefile oggenc/man/Makefile ogg123/Makefile vorbiscomment/Makefile vcut/Makefile ogginfo/Makefile ]) AC_CONFIG_HEADERS([config.h]) AC_OUTPUT if test "x$build_oggenc" = xyes -a "x$have_libFLAC" != xyes; then AC_MSG_WARN([FLAC and/or OggFLAC libraries or headers missing, oggenc will NOT be built with FLAC read support.]) fi if test "x$build_ogg123" != xyes; then AC_MSG_WARN([Prerequisites for ogg123 not met, ogg123 will be skipped. Please ensure that you have POSIX threads, libao, and (optionally) libcurl libraries and headers present if you would like to build ogg123.]) else if test "x$have_libFLAC" != xyes; then AC_MSG_WARN([FLAC and/or OggFLAC libraries or headers missing, ogg123 will NOT be built with FLAC read support.]) fi if test "x$have_libspeex" != xyes; then AC_MSG_WARN([Speex libraries and/or headers missing, ogg123 will NOT be built with Speex read support.]) fi if test "x$HAVE_CURL" != xyes; then AC_MSG_WARN([curl libraries and/or headers missing, ogg123 will NOT be built with http support.]) fi if test "x$HAVE_KATE" != xyes; then AC_MSG_WARN([Kate libraries and/or headers missing, oggenc will NOT be built with Kate lyrics support.]) fi fi vorbis-tools-1.4.2/depcomp0000755000175000017500000005601613042165456012474 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2013-05-30.07; # UTC # Copyright (C) 1999-2014 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: vorbis-tools-1.4.2/Makefile.in0000644000175000017500000007044714002242752013160 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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/acx_pthread.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \ $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intl.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/size_max.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ $(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.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 = intl/Makefile 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 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 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/intl/Makefile.in AUTHORS COPYING README compile \ config.guess config.rpath config.sub install-sh ltmain.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 $(distdir).zip GZIP_ENV = --best DIST_TARGETS = dist-gzip dist-zip 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@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AO_CFLAGS = @AO_CFLAGS@ AO_LIBS = @AO_LIBS@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURL_CFLAGS = @CURL_CFLAGS@ CURL_LIBS = @CURL_LIBS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG = @DEBUG@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLAC_LIBS = @FLAC_LIBS@ GENCAT = @GENCAT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIBC2 = @GLIBC2@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WPRINTF = @HAVE_WPRINTF@ I18N_CFLAGS = @I18N_CFLAGS@ I18N_LIBS = @I18N_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KATE_CFLAGS = @KATE_CFLAGS@ KATE_LIBS = @KATE_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBPTH = @LIBPTH@ LIBPTH_PREFIX = @LIBPTH_PREFIX@ LIBS = @LIBS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBC = @LTLIBC@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBPTH = @LTLIBPTH@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ OPT_SUBDIRS = @OPT_SUBDIRS@ OPUSFILE_CFLAGS = @OPUSFILE_CFLAGS@ OPUSFILE_LIBS = @OPUSFILE_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POSUB = @POSUB@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PROFILE = @PROFILE@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHARE_CFLAGS = @SHARE_CFLAGS@ SHARE_LIBS = @SHARE_LIBS@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ SPEEX_LIBS = @SPEEX_LIBS@ STRIP = @STRIP@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISENC_LIBS = @VORBISENC_LIBS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ WINDRES = @WINDRES@ WOE32 = @WOE32@ WOE32DLL = @WOE32DLL@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ 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 dist-zip SUBDIRS = po intl include share win32 @OPT_SUBDIRS@ DIST_SUBDIRS = po intl include share win32 ogg123 oggenc oggdec ogginfo \ vcut vorbiscomment m4 EXTRA_DIST = config.rpath README AUTHORS COPYING CHANGES ACLOCAL_AMFLAGS = -I m4 all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool config.lt # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir @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) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_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 \ --with-included-gettext \ $(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 clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-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 mostlyclean-libtool 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 \ clean-libtool cscope cscopelist-am ctags ctags-am dist \ dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ dist-xz dist-zip distcheck distclean distclean-generic \ distclean-hdr distclean-libtool distclean-tags distcleancheck \ distdir distuninstallcheck dvi dvi-am html html-am info \ info-am install install-am install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" # 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: vorbis-tools-1.4.2/intl/0000755000175000017500000000000014002243561012124 500000000000000vorbis-tools-1.4.2/intl/dgettext.c0000644000175000017500000000337113767140576014067 00000000000000/* Implementation of the dgettext(3) function. Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include "gettextP.h" #include #ifdef _LIBC # include #else # include "libgnuintl.h" #endif /* @@ end of prolog @@ */ /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define DGETTEXT __dgettext # define DCGETTEXT INTUSE(__dcgettext) #else # define DGETTEXT libintl_dgettext # define DCGETTEXT libintl_dcgettext #endif /* Look up MSGID in the DOMAINNAME message catalog of the current LC_MESSAGES locale. */ char * DGETTEXT (const char *domainname, const char *msgid) { return DCGETTEXT (domainname, msgid, LC_MESSAGES); } #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__dgettext, dgettext); #endif vorbis-tools-1.4.2/intl/log.c0000644000175000017500000000623113767140576013016 00000000000000/* Log file output. Copyright (C) 2003, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Bruno Haible . */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include /* Handle multi-threaded applications. */ #ifdef _LIBC # include #else # include "lock.h" #endif /* Print an ASCII string with quotes and escape sequences where needed. */ static void print_escaped (FILE *stream, const char *str) { putc ('"', stream); for (; *str != '\0'; str++) if (*str == '\n') { fputs ("\\n\"", stream); if (str[1] == '\0') return; fputs ("\n\"", stream); } else { if (*str == '"' || *str == '\\') putc ('\\', stream); putc (*str, stream); } putc ('"', stream); } static char *last_logfilename = NULL; static FILE *last_logfile = NULL; __libc_lock_define_initialized (static, lock) static inline void _nl_log_untranslated_locked (const char *logfilename, const char *domainname, const char *msgid1, const char *msgid2, int plural) { FILE *logfile; /* Can we reuse the last opened logfile? */ if (last_logfilename == NULL || strcmp (logfilename, last_logfilename) != 0) { /* Close the last used logfile. */ if (last_logfilename != NULL) { if (last_logfile != NULL) { fclose (last_logfile); last_logfile = NULL; } free (last_logfilename); last_logfilename = NULL; } /* Open the logfile. */ last_logfilename = (char *) malloc (strlen (logfilename) + 1); if (last_logfilename == NULL) return; strcpy (last_logfilename, logfilename); last_logfile = fopen (logfilename, "a"); if (last_logfile == NULL) return; } logfile = last_logfile; fprintf (logfile, "domain "); print_escaped (logfile, domainname); fprintf (logfile, "\nmsgid "); print_escaped (logfile, msgid1); if (plural) { fprintf (logfile, "\nmsgid_plural "); print_escaped (logfile, msgid2); fprintf (logfile, "\nmsgstr[0] \"\"\n"); } else fprintf (logfile, "\nmsgstr \"\"\n"); putc ('\n', logfile); } /* Add to the log file an entry denoting a failed translation. */ void _nl_log_untranslated (const char *logfilename, const char *domainname, const char *msgid1, const char *msgid2, int plural) { __libc_lock_lock (lock); _nl_log_untranslated_locked (logfilename, domainname, msgid1, msgid2, plural); __libc_lock_unlock (lock); } vorbis-tools-1.4.2/intl/vasnprintf.c0000644000175000017500000035070313767140576014435 00000000000000/* vsprintf with automatic memory allocation. Copyright (C) 1999, 2002-2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file can be parametrized with the following macros: VASNPRINTF The name of the function being defined. FCHAR_T The element type of the format string. DCHAR_T The element type of the destination (result) string. FCHAR_T_ONLY_ASCII Set to 1 to enable verification that all characters in the format string are ASCII. MUST be set if FCHAR_T and DCHAR_T are not the same type. DIRECTIVE Structure denoting a format directive. Depends on FCHAR_T. DIRECTIVES Structure denoting the set of format directives of a format string. Depends on FCHAR_T. PRINTF_PARSE Function that parses a format string. Depends on FCHAR_T. DCHAR_CPY memcpy like function for DCHAR_T[] arrays. DCHAR_SET memset like function for DCHAR_T[] arrays. DCHAR_MBSNLEN mbsnlen like function for DCHAR_T[] arrays. SNPRINTF The system's snprintf (or similar) function. This may be either snprintf or swprintf. TCHAR_T The element type of the argument and result string of the said SNPRINTF function. This may be either char or wchar_t. The code exploits that sizeof (TCHAR_T) | sizeof (DCHAR_T) and alignof (TCHAR_T) <= alignof (DCHAR_T). DCHAR_IS_TCHAR Set to 1 if DCHAR_T and TCHAR_T are the same type. DCHAR_CONV_FROM_ENCODING A function to convert from char[] to DCHAR[]. DCHAR_IS_UINT8_T Set to 1 if DCHAR_T is uint8_t. DCHAR_IS_UINT16_T Set to 1 if DCHAR_T is uint16_t. DCHAR_IS_UINT32_T Set to 1 if DCHAR_T is uint32_t. */ /* Tell glibc's to provide a prototype for snprintf(). This must come before because may include , and once has been included, it's too late. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif #ifndef VASNPRINTF # include #endif #ifndef IN_LIBINTL # include #endif /* Specification. */ #ifndef VASNPRINTF # if WIDE_CHAR_VERSION # include "vasnwprintf.h" # else # include "vasnprintf.h" # endif #endif #include /* localeconv() */ #include /* snprintf(), sprintf() */ #include /* abort(), malloc(), realloc(), free() */ #include /* memcpy(), strlen() */ #include /* errno */ #include /* CHAR_BIT */ #include /* DBL_MAX_EXP, LDBL_MAX_EXP */ #if HAVE_NL_LANGINFO # include #endif #ifndef VASNPRINTF # if WIDE_CHAR_VERSION # include "wprintf-parse.h" # else # include "printf-parse.h" # endif #endif /* Checked size_t computations. */ #include "xsize.h" #if (NEED_PRINTF_DOUBLE || NEED_PRINTF_LONG_DOUBLE) && !defined IN_LIBINTL # include # include "float+.h" #endif #if (NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL # include # include "isnan.h" #endif #if (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE) && !defined IN_LIBINTL # include # include "isnanl-nolibm.h" # include "fpucw.h" #endif #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL # include # include "isnan.h" # include "printf-frexp.h" #endif #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE) && !defined IN_LIBINTL # include # include "isnanl-nolibm.h" # include "printf-frexpl.h" # include "fpucw.h" #endif /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ #ifndef EOVERFLOW # define EOVERFLOW E2BIG #endif #if HAVE_WCHAR_T # if HAVE_WCSLEN # define local_wcslen wcslen # else /* Solaris 2.5.1 has wcslen() in a separate library libw.so. To avoid a dependency towards this library, here is a local substitute. Define this substitute only once, even if this file is included twice in the same compilation unit. */ # ifndef local_wcslen_defined # define local_wcslen_defined 1 static size_t local_wcslen (const wchar_t *s) { const wchar_t *ptr; for (ptr = s; *ptr != (wchar_t) 0; ptr++) ; return ptr - s; } # endif # endif #endif /* Default parameters. */ #ifndef VASNPRINTF # if WIDE_CHAR_VERSION # define VASNPRINTF vasnwprintf # define FCHAR_T wchar_t # define DCHAR_T wchar_t # define TCHAR_T wchar_t # define DCHAR_IS_TCHAR 1 # define DIRECTIVE wchar_t_directive # define DIRECTIVES wchar_t_directives # define PRINTF_PARSE wprintf_parse # define DCHAR_CPY wmemcpy # else # define VASNPRINTF vasnprintf # define FCHAR_T char # define DCHAR_T char # define TCHAR_T char # define DCHAR_IS_TCHAR 1 # define DIRECTIVE char_directive # define DIRECTIVES char_directives # define PRINTF_PARSE printf_parse # define DCHAR_CPY memcpy # endif #endif #if WIDE_CHAR_VERSION /* TCHAR_T is wchar_t. */ # define USE_SNPRINTF 1 # if HAVE_DECL__SNWPRINTF /* On Windows, the function swprintf() has a different signature than on Unix; we use the _snwprintf() function instead. */ # define SNPRINTF _snwprintf # else /* Unix. */ # define SNPRINTF swprintf # endif #else /* TCHAR_T is char. */ # /* Use snprintf if it exists under the name 'snprintf' or '_snprintf'. But don't use it on BeOS, since BeOS snprintf produces no output if the size argument is >= 0x3000000. */ # if (HAVE_DECL__SNPRINTF || HAVE_SNPRINTF) && !defined __BEOS__ # define USE_SNPRINTF 1 # else # define USE_SNPRINTF 0 # endif # if HAVE_DECL__SNPRINTF /* Windows. */ # define SNPRINTF _snprintf # else /* Unix. */ # define SNPRINTF snprintf /* Here we need to call the native snprintf, not rpl_snprintf. */ # undef snprintf # endif #endif /* Here we need to call the native sprintf, not rpl_sprintf. */ #undef sprintf #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL /* Determine the decimal-point character according to the current locale. */ # ifndef decimal_point_char_defined # define decimal_point_char_defined 1 static char decimal_point_char () { const char *point; /* Determine it in a multithread-safe way. We know nl_langinfo is multithread-safe on glibc systems, but is not required to be multithread- safe by POSIX. sprintf(), however, is multithread-safe. localeconv() is rarely multithread-safe. */ # if HAVE_NL_LANGINFO && __GLIBC__ point = nl_langinfo (RADIXCHAR); # elif 1 char pointbuf[5]; sprintf (pointbuf, "%#.0f", 1.0); point = &pointbuf[1]; # else point = localeconv () -> decimal_point; # endif /* The decimal point is always a single byte: either '.' or ','. */ return (point[0] != '\0' ? point[0] : '.'); } # endif #endif #if NEED_PRINTF_INFINITE_DOUBLE && !NEED_PRINTF_DOUBLE && !defined IN_LIBINTL /* Equivalent to !isfinite(x) || x == 0, but does not require libm. */ static int is_infinite_or_zero (double x) { return isnan (x) || x + x == x; } #endif #if NEED_PRINTF_INFINITE_LONG_DOUBLE && !NEED_PRINTF_LONG_DOUBLE && !defined IN_LIBINTL /* Equivalent to !isfinite(x), but does not require libm. */ static int is_infinitel (long double x) { return isnanl (x) || (x + x == x && x != 0.0L); } #endif #if (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL /* Converting 'long double' to decimal without rare rounding bugs requires real bignums. We use the naming conventions of GNU gmp, but vastly simpler (and slower) algorithms. */ typedef unsigned int mp_limb_t; # define GMP_LIMB_BITS 32 typedef int mp_limb_verify[2 * (sizeof (mp_limb_t) * CHAR_BIT == GMP_LIMB_BITS) - 1]; typedef unsigned long long mp_twolimb_t; # define GMP_TWOLIMB_BITS 64 typedef int mp_twolimb_verify[2 * (sizeof (mp_twolimb_t) * CHAR_BIT == GMP_TWOLIMB_BITS) - 1]; /* Representation of a bignum >= 0. */ typedef struct { size_t nlimbs; mp_limb_t *limbs; /* Bits in little-endian order, allocated with malloc(). */ } mpn_t; /* Compute the product of two bignums >= 0. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * multiply (mpn_t src1, mpn_t src2, mpn_t *dest) { const mp_limb_t *p1; const mp_limb_t *p2; size_t len1; size_t len2; if (src1.nlimbs <= src2.nlimbs) { len1 = src1.nlimbs; p1 = src1.limbs; len2 = src2.nlimbs; p2 = src2.limbs; } else { len1 = src2.nlimbs; p1 = src2.limbs; len2 = src1.nlimbs; p2 = src1.limbs; } /* Now 0 <= len1 <= len2. */ if (len1 == 0) { /* src1 or src2 is zero. */ dest->nlimbs = 0; dest->limbs = (mp_limb_t *) malloc (1); } else { /* Here 1 <= len1 <= len2. */ size_t dlen; mp_limb_t *dp; size_t k, i, j; dlen = len1 + len2; dp = (mp_limb_t *) malloc (dlen * sizeof (mp_limb_t)); if (dp == NULL) return NULL; for (k = len2; k > 0; ) dp[--k] = 0; for (i = 0; i < len1; i++) { mp_limb_t digit1 = p1[i]; mp_twolimb_t carry = 0; for (j = 0; j < len2; j++) { mp_limb_t digit2 = p2[j]; carry += (mp_twolimb_t) digit1 * (mp_twolimb_t) digit2; carry += dp[i + j]; dp[i + j] = (mp_limb_t) carry; carry = carry >> GMP_LIMB_BITS; } dp[i + len2] = (mp_limb_t) carry; } /* Normalise. */ while (dlen > 0 && dp[dlen - 1] == 0) dlen--; dest->nlimbs = dlen; dest->limbs = dp; } return dest->limbs; } /* Compute the quotient of a bignum a >= 0 and a bignum b > 0. a is written as a = q * b + r with 0 <= r < b. q is the quotient, r the remainder. Finally, round-to-even is performed: If r > b/2 or if r = b/2 and q is odd, q is incremented. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * divide (mpn_t a, mpn_t b, mpn_t *q) { /* Algorithm: First normalise a and b: a=[a[m-1],...,a[0]], b=[b[n-1],...,b[0]] with m>=0 and n>0 (in base beta = 2^GMP_LIMB_BITS). If m=n=1, perform a single-precision division: r:=0, j:=m, while j>0 do {Here (q[m-1]*beta^(m-1)+...+q[j]*beta^j) * b[0] + r*beta^j = = a[m-1]*beta^(m-1)+...+a[j]*beta^j und 0<=r=n>1, perform a multiple-precision division: We have a/b < beta^(m-n+1). s:=intDsize-1-(hightest bit in b[n-1]), 0<=s=beta/2. For j=m-n,...,0: {Here 0 <= r < b*beta^(j+1).} Compute q* : q* := floor((r[j+n]*beta+r[j+n-1])/b[n-1]). In case of overflow (q* >= beta) set q* := beta-1. Compute c2 := ((r[j+n]*beta+r[j+n-1]) - q* * b[n-1])*beta + r[j+n-2] and c3 := b[n-2] * q*. {We have 0 <= c2 < 2*beta^2, even 0 <= c2 < beta^2 if no overflow occurred. Furthermore 0 <= c3 < beta^2. If there was overflow and r[j+n]*beta+r[j+n-1] - q* * b[n-1] >= beta, i.e. c2 >= beta^2, the next test can be skipped.} While c3 > c2, {Here 0 <= c2 < c3 < beta^2} Put q* := q* - 1, c2 := c2 + b[n-1]*beta, c3 := c3 - b[n-2]. If q* > 0: Put r := r - b * q* * beta^j. In detail: [r[n+j],...,r[j]] := [r[n+j],...,r[j]] - q* * [b[n-1],...,b[0]]. hence: u:=0, for i:=0 to n-1 do u := u + q* * b[i], r[j+i]:=r[j+i]-(u mod beta) (+ beta, if carry), u:=u div beta (+ 1, if carry in subtraction) r[n+j]:=r[n+j]-u. {Since always u = (q* * [b[i-1],...,b[0]] div beta^i) + 1 < q* + 1 <= beta, the carry u does not overflow.} If a negative carry occurs, put q* := q* - 1 and [r[n+j],...,r[j]] := [r[n+j],...,r[j]] + [0,b[n-1],...,b[0]]. Set q[j] := q*. Normalise [q[m-n],..,q[0]]; this yields the quotient q. Shift [r[n-1],...,r[0]] right by s bits and normalise; this yields the rest r. The room for q[j] can be allocated at the memory location of r[n+j]. Finally, round-to-even: Shift r left by 1 bit. If r > b or if r = b and q[0] is odd, q := q+1. */ const mp_limb_t *a_ptr = a.limbs; size_t a_len = a.nlimbs; const mp_limb_t *b_ptr = b.limbs; size_t b_len = b.nlimbs; mp_limb_t *roomptr; mp_limb_t *tmp_roomptr = NULL; mp_limb_t *q_ptr; size_t q_len; mp_limb_t *r_ptr; size_t r_len; /* Allocate room for a_len+2 digits. (Need a_len+1 digits for the real division and 1 more digit for the final rounding of q.) */ roomptr = (mp_limb_t *) malloc ((a_len + 2) * sizeof (mp_limb_t)); if (roomptr == NULL) return NULL; /* Normalise a. */ while (a_len > 0 && a_ptr[a_len - 1] == 0) a_len--; /* Normalise b. */ for (;;) { if (b_len == 0) /* Division by zero. */ abort (); if (b_ptr[b_len - 1] == 0) b_len--; else break; } /* Here m = a_len >= 0 and n = b_len > 0. */ if (a_len < b_len) { /* m beta^(m-2) <= a/b < beta^m */ r_ptr = roomptr; q_ptr = roomptr + 1; { mp_limb_t den = b_ptr[0]; mp_limb_t remainder = 0; const mp_limb_t *sourceptr = a_ptr + a_len; mp_limb_t *destptr = q_ptr + a_len; size_t count; for (count = a_len; count > 0; count--) { mp_twolimb_t num = ((mp_twolimb_t) remainder << GMP_LIMB_BITS) | *--sourceptr; *--destptr = num / den; remainder = num % den; } /* Normalise and store r. */ if (remainder > 0) { r_ptr[0] = remainder; r_len = 1; } else r_len = 0; /* Normalise q. */ q_len = a_len; if (q_ptr[q_len - 1] == 0) q_len--; } } else { /* n>1: multiple precision division. beta^(m-1) <= a < beta^m, beta^(n-1) <= b < beta^n ==> beta^(m-n-1) <= a/b < beta^(m-n+1). */ /* Determine s. */ size_t s; { mp_limb_t msd = b_ptr[b_len - 1]; /* = b[n-1], > 0 */ s = 31; if (msd >= 0x10000) { msd = msd >> 16; s -= 16; } if (msd >= 0x100) { msd = msd >> 8; s -= 8; } if (msd >= 0x10) { msd = msd >> 4; s -= 4; } if (msd >= 0x4) { msd = msd >> 2; s -= 2; } if (msd >= 0x2) { msd = msd >> 1; s -= 1; } } /* 0 <= s < GMP_LIMB_BITS. Copy b, shifting it left by s bits. */ if (s > 0) { tmp_roomptr = (mp_limb_t *) malloc (b_len * sizeof (mp_limb_t)); if (tmp_roomptr == NULL) { free (roomptr); return NULL; } { const mp_limb_t *sourceptr = b_ptr; mp_limb_t *destptr = tmp_roomptr; mp_twolimb_t accu = 0; size_t count; for (count = b_len; count > 0; count--) { accu += (mp_twolimb_t) *sourceptr++ << s; *destptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } /* accu must be zero, since that was how s was determined. */ if (accu != 0) abort (); } b_ptr = tmp_roomptr; } /* Copy a, shifting it left by s bits, yields r. Memory layout: At the beginning: r = roomptr[0..a_len], at the end: r = roomptr[0..b_len-1], q = roomptr[b_len..a_len] */ r_ptr = roomptr; if (s == 0) { memcpy (r_ptr, a_ptr, a_len * sizeof (mp_limb_t)); r_ptr[a_len] = 0; } else { const mp_limb_t *sourceptr = a_ptr; mp_limb_t *destptr = r_ptr; mp_twolimb_t accu = 0; size_t count; for (count = a_len; count > 0; count--) { accu += (mp_twolimb_t) *sourceptr++ << s; *destptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } *destptr++ = (mp_limb_t) accu; } q_ptr = roomptr + b_len; q_len = a_len - b_len + 1; /* q will have m-n+1 limbs */ { size_t j = a_len - b_len; /* m-n */ mp_limb_t b_msd = b_ptr[b_len - 1]; /* b[n-1] */ mp_limb_t b_2msd = b_ptr[b_len - 2]; /* b[n-2] */ mp_twolimb_t b_msdd = /* b[n-1]*beta+b[n-2] */ ((mp_twolimb_t) b_msd << GMP_LIMB_BITS) | b_2msd; /* Division loop, traversed m-n+1 times. j counts down, b is unchanged, beta/2 <= b[n-1] < beta. */ for (;;) { mp_limb_t q_star; mp_limb_t c1; if (r_ptr[j + b_len] < b_msd) /* r[j+n] < b[n-1] ? */ { /* Divide r[j+n]*beta+r[j+n-1] by b[n-1], no overflow. */ mp_twolimb_t num = ((mp_twolimb_t) r_ptr[j + b_len] << GMP_LIMB_BITS) | r_ptr[j + b_len - 1]; q_star = num / b_msd; c1 = num % b_msd; } else { /* Overflow, hence r[j+n]*beta+r[j+n-1] >= beta*b[n-1]. */ q_star = (mp_limb_t)~(mp_limb_t)0; /* q* = beta-1 */ /* Test whether r[j+n]*beta+r[j+n-1] - (beta-1)*b[n-1] >= beta <==> r[j+n]*beta+r[j+n-1] + b[n-1] >= beta*b[n-1]+beta <==> b[n-1] < floor((r[j+n]*beta+r[j+n-1]+b[n-1])/beta) {<= beta !}. If yes, jump directly to the subtraction loop. (Otherwise, r[j+n]*beta+r[j+n-1] - (beta-1)*b[n-1] < beta <==> floor((r[j+n]*beta+r[j+n-1]+b[n-1])/beta) = b[n-1] ) */ if (r_ptr[j + b_len] > b_msd || (c1 = r_ptr[j + b_len - 1] + b_msd) < b_msd) /* r[j+n] >= b[n-1]+1 or r[j+n] = b[n-1] and the addition r[j+n-1]+b[n-1] gives a carry. */ goto subtract; } /* q_star = q*, c1 = (r[j+n]*beta+r[j+n-1]) - q* * b[n-1] (>=0, 0, decrease it by b[n-1]*beta+b[n-2]. Because of b[n-1]*beta+b[n-2] >= beta^2/2 this can happen only twice. */ if (c3 > c2) { q_star = q_star - 1; /* q* := q* - 1 */ if (c3 - c2 > b_msdd) q_star = q_star - 1; /* q* := q* - 1 */ } } if (q_star > 0) subtract: { /* Subtract r := r - b * q* * beta^j. */ mp_limb_t cr; { const mp_limb_t *sourceptr = b_ptr; mp_limb_t *destptr = r_ptr + j; mp_twolimb_t carry = 0; size_t count; for (count = b_len; count > 0; count--) { /* Here 0 <= carry <= q*. */ carry = carry + (mp_twolimb_t) q_star * (mp_twolimb_t) *sourceptr++ + (mp_limb_t) ~(*destptr); /* Here 0 <= carry <= beta*q* + beta-1. */ *destptr++ = ~(mp_limb_t) carry; carry = carry >> GMP_LIMB_BITS; /* <= q* */ } cr = (mp_limb_t) carry; } /* Subtract cr from r_ptr[j + b_len], then forget about r_ptr[j + b_len]. */ if (cr > r_ptr[j + b_len]) { /* Subtraction gave a carry. */ q_star = q_star - 1; /* q* := q* - 1 */ /* Add b back. */ { const mp_limb_t *sourceptr = b_ptr; mp_limb_t *destptr = r_ptr + j; mp_limb_t carry = 0; size_t count; for (count = b_len; count > 0; count--) { mp_limb_t source1 = *sourceptr++; mp_limb_t source2 = *destptr; *destptr++ = source1 + source2 + carry; carry = (carry ? source1 >= (mp_limb_t) ~source2 : source1 > (mp_limb_t) ~source2); } } /* Forget about the carry and about r[j+n]. */ } } /* q* is determined. Store it as q[j]. */ q_ptr[j] = q_star; if (j == 0) break; j--; } } r_len = b_len; /* Normalise q. */ if (q_ptr[q_len - 1] == 0) q_len--; # if 0 /* Not needed here, since we need r only to compare it with b/2, and b is shifted left by s bits. */ /* Shift r right by s bits. */ if (s > 0) { mp_limb_t ptr = r_ptr + r_len; mp_twolimb_t accu = 0; size_t count; for (count = r_len; count > 0; count--) { accu = (mp_twolimb_t) (mp_limb_t) accu << GMP_LIMB_BITS; accu += (mp_twolimb_t) *--ptr << (GMP_LIMB_BITS - s); *ptr = (mp_limb_t) (accu >> GMP_LIMB_BITS); } } # endif /* Normalise r. */ while (r_len > 0 && r_ptr[r_len - 1] == 0) r_len--; } /* Compare r << 1 with b. */ if (r_len > b_len) goto increment_q; { size_t i; for (i = b_len;;) { mp_limb_t r_i = (i <= r_len && i > 0 ? r_ptr[i - 1] >> (GMP_LIMB_BITS - 1) : 0) | (i < r_len ? r_ptr[i] << 1 : 0); mp_limb_t b_i = (i < b_len ? b_ptr[i] : 0); if (r_i > b_i) goto increment_q; if (r_i < b_i) goto keep_q; if (i == 0) break; i--; } } if (q_len > 0 && ((q_ptr[0] & 1) != 0)) /* q is odd. */ increment_q: { size_t i; for (i = 0; i < q_len; i++) if (++(q_ptr[i]) != 0) goto keep_q; q_ptr[q_len++] = 1; } keep_q: if (tmp_roomptr != NULL) free (tmp_roomptr); q->limbs = q_ptr; q->nlimbs = q_len; return roomptr; } /* Convert a bignum a >= 0, multiplied with 10^extra_zeroes, to decimal representation. Destroys the contents of a. Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * convert_to_decimal (mpn_t a, size_t extra_zeroes) { mp_limb_t *a_ptr = a.limbs; size_t a_len = a.nlimbs; /* 0.03345 is slightly larger than log(2)/(9*log(10)). */ size_t c_len = 9 * ((size_t)(a_len * (GMP_LIMB_BITS * 0.03345f)) + 1); char *c_ptr = (char *) malloc (xsum (c_len, extra_zeroes)); if (c_ptr != NULL) { char *d_ptr = c_ptr; for (; extra_zeroes > 0; extra_zeroes--) *d_ptr++ = '0'; while (a_len > 0) { /* Divide a by 10^9, in-place. */ mp_limb_t remainder = 0; mp_limb_t *ptr = a_ptr + a_len; size_t count; for (count = a_len; count > 0; count--) { mp_twolimb_t num = ((mp_twolimb_t) remainder << GMP_LIMB_BITS) | *--ptr; *ptr = num / 1000000000; remainder = num % 1000000000; } /* Store the remainder as 9 decimal digits. */ for (count = 9; count > 0; count--) { *d_ptr++ = '0' + (remainder % 10); remainder = remainder / 10; } /* Normalize a. */ if (a_ptr[a_len - 1] == 0) a_len--; } /* Remove leading zeroes. */ while (d_ptr > c_ptr && d_ptr[-1] == '0') d_ptr--; /* But keep at least one zero. */ if (d_ptr == c_ptr) *d_ptr++ = '0'; /* Terminate the string. */ *d_ptr = '\0'; } return c_ptr; } # if NEED_PRINTF_LONG_DOUBLE /* Assuming x is finite and >= 0: write x as x = 2^e * m, where m is a bignum. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * decode_long_double (long double x, int *ep, mpn_t *mp) { mpn_t m; int exp; long double y; size_t i; /* Allocate memory for result. */ m.nlimbs = (LDBL_MANT_BIT + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; m.limbs = (mp_limb_t *) malloc (m.nlimbs * sizeof (mp_limb_t)); if (m.limbs == NULL) return NULL; /* Split into exponential part and mantissa. */ y = frexpl (x, &exp); if (!(y >= 0.0L && y < 1.0L)) abort (); /* x = 2^exp * y = 2^(exp - LDBL_MANT_BIT) * (y * LDBL_MANT_BIT), and the latter is an integer. */ /* Convert the mantissa (y * LDBL_MANT_BIT) to a sequence of limbs. I'm not sure whether it's safe to cast a 'long double' value between 2^31 and 2^32 to 'unsigned int', therefore play safe and cast only 'long double' values between 0 and 2^16 (to 'unsigned int' or 'int', doesn't matter). */ # if (LDBL_MANT_BIT % GMP_LIMB_BITS) != 0 # if (LDBL_MANT_BIT % GMP_LIMB_BITS) > GMP_LIMB_BITS / 2 { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (LDBL_MANT_BIT % (GMP_LIMB_BITS / 2)); hi = (int) y; y -= hi; if (!(y >= 0.0L && y < 1.0L)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0L && y < 1.0L)) abort (); m.limbs[LDBL_MANT_BIT / GMP_LIMB_BITS] = (hi << (GMP_LIMB_BITS / 2)) | lo; } # else { mp_limb_t d; y *= (mp_limb_t) 1 << (LDBL_MANT_BIT % GMP_LIMB_BITS); d = (int) y; y -= d; if (!(y >= 0.0L && y < 1.0L)) abort (); m.limbs[LDBL_MANT_BIT / GMP_LIMB_BITS] = d; } # endif # endif for (i = LDBL_MANT_BIT / GMP_LIMB_BITS; i > 0; ) { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); hi = (int) y; y -= hi; if (!(y >= 0.0L && y < 1.0L)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0L && y < 1.0L)) abort (); m.limbs[--i] = (hi << (GMP_LIMB_BITS / 2)) | lo; } if (!(y == 0.0L)) abort (); /* Normalise. */ while (m.nlimbs > 0 && m.limbs[m.nlimbs - 1] == 0) m.nlimbs--; *mp = m; *ep = exp - LDBL_MANT_BIT; return m.limbs; } # endif # if NEED_PRINTF_DOUBLE /* Assuming x is finite and >= 0: write x as x = 2^e * m, where m is a bignum. Return the allocated memory in case of success, NULL in case of memory allocation failure. */ static void * decode_double (double x, int *ep, mpn_t *mp) { mpn_t m; int exp; double y; size_t i; /* Allocate memory for result. */ m.nlimbs = (DBL_MANT_BIT + GMP_LIMB_BITS - 1) / GMP_LIMB_BITS; m.limbs = (mp_limb_t *) malloc (m.nlimbs * sizeof (mp_limb_t)); if (m.limbs == NULL) return NULL; /* Split into exponential part and mantissa. */ y = frexp (x, &exp); if (!(y >= 0.0 && y < 1.0)) abort (); /* x = 2^exp * y = 2^(exp - DBL_MANT_BIT) * (y * DBL_MANT_BIT), and the latter is an integer. */ /* Convert the mantissa (y * DBL_MANT_BIT) to a sequence of limbs. I'm not sure whether it's safe to cast a 'double' value between 2^31 and 2^32 to 'unsigned int', therefore play safe and cast only 'double' values between 0 and 2^16 (to 'unsigned int' or 'int', doesn't matter). */ # if (DBL_MANT_BIT % GMP_LIMB_BITS) != 0 # if (DBL_MANT_BIT % GMP_LIMB_BITS) > GMP_LIMB_BITS / 2 { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (DBL_MANT_BIT % (GMP_LIMB_BITS / 2)); hi = (int) y; y -= hi; if (!(y >= 0.0 && y < 1.0)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0 && y < 1.0)) abort (); m.limbs[DBL_MANT_BIT / GMP_LIMB_BITS] = (hi << (GMP_LIMB_BITS / 2)) | lo; } # else { mp_limb_t d; y *= (mp_limb_t) 1 << (DBL_MANT_BIT % GMP_LIMB_BITS); d = (int) y; y -= d; if (!(y >= 0.0 && y < 1.0)) abort (); m.limbs[DBL_MANT_BIT / GMP_LIMB_BITS] = d; } # endif # endif for (i = DBL_MANT_BIT / GMP_LIMB_BITS; i > 0; ) { mp_limb_t hi, lo; y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); hi = (int) y; y -= hi; if (!(y >= 0.0 && y < 1.0)) abort (); y *= (mp_limb_t) 1 << (GMP_LIMB_BITS / 2); lo = (int) y; y -= lo; if (!(y >= 0.0 && y < 1.0)) abort (); m.limbs[--i] = (hi << (GMP_LIMB_BITS / 2)) | lo; } if (!(y == 0.0)) abort (); /* Normalise. */ while (m.nlimbs > 0 && m.limbs[m.nlimbs - 1] == 0) m.nlimbs--; *mp = m; *ep = exp - DBL_MANT_BIT; return m.limbs; } # endif /* Assuming x = 2^e * m is finite and >= 0, and n is an integer: Returns the decimal representation of round (x * 10^n). Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * scale10_round_decimal_decoded (int e, mpn_t m, void *memory, int n) { int s; size_t extra_zeroes; unsigned int abs_n; unsigned int abs_s; mp_limb_t *pow5_ptr; size_t pow5_len; unsigned int s_limbs; unsigned int s_bits; mpn_t pow5; mpn_t z; void *z_memory; char *digits; if (memory == NULL) return NULL; /* x = 2^e * m, hence y = round (2^e * 10^n * m) = round (2^(e+n) * 5^n * m) = round (2^s * 5^n * m). */ s = e + n; extra_zeroes = 0; /* Factor out a common power of 10 if possible. */ if (s > 0 && n > 0) { extra_zeroes = (s < n ? s : n); s -= extra_zeroes; n -= extra_zeroes; } /* Here y = round (2^s * 5^n * m) * 10^extra_zeroes. Before converting to decimal, we need to compute z = round (2^s * 5^n * m). */ /* Compute 5^|n|, possibly shifted by |s| bits if n and s have the same sign. 2.322 is slightly larger than log(5)/log(2). */ abs_n = (n >= 0 ? n : -n); abs_s = (s >= 0 ? s : -s); pow5_ptr = (mp_limb_t *) malloc (((int)(abs_n * (2.322f / GMP_LIMB_BITS)) + 1 + abs_s / GMP_LIMB_BITS + 1) * sizeof (mp_limb_t)); if (pow5_ptr == NULL) { free (memory); return NULL; } /* Initialize with 1. */ pow5_ptr[0] = 1; pow5_len = 1; /* Multiply with 5^|n|. */ if (abs_n > 0) { static mp_limb_t const small_pow5[13 + 1] = { 1, 5, 25, 125, 625, 3125, 15625, 78125, 390625, 1953125, 9765625, 48828125, 244140625, 1220703125 }; unsigned int n13; for (n13 = 0; n13 <= abs_n; n13 += 13) { mp_limb_t digit1 = small_pow5[n13 + 13 <= abs_n ? 13 : abs_n - n13]; size_t j; mp_twolimb_t carry = 0; for (j = 0; j < pow5_len; j++) { mp_limb_t digit2 = pow5_ptr[j]; carry += (mp_twolimb_t) digit1 * (mp_twolimb_t) digit2; pow5_ptr[j] = (mp_limb_t) carry; carry = carry >> GMP_LIMB_BITS; } if (carry > 0) pow5_ptr[pow5_len++] = (mp_limb_t) carry; } } s_limbs = abs_s / GMP_LIMB_BITS; s_bits = abs_s % GMP_LIMB_BITS; if (n >= 0 ? s >= 0 : s <= 0) { /* Multiply with 2^|s|. */ if (s_bits > 0) { mp_limb_t *ptr = pow5_ptr; mp_twolimb_t accu = 0; size_t count; for (count = pow5_len; count > 0; count--) { accu += (mp_twolimb_t) *ptr << s_bits; *ptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } if (accu > 0) { *ptr = (mp_limb_t) accu; pow5_len++; } } if (s_limbs > 0) { size_t count; for (count = pow5_len; count > 0;) { count--; pow5_ptr[s_limbs + count] = pow5_ptr[count]; } for (count = s_limbs; count > 0;) { count--; pow5_ptr[count] = 0; } pow5_len += s_limbs; } pow5.limbs = pow5_ptr; pow5.nlimbs = pow5_len; if (n >= 0) { /* Multiply m with pow5. No division needed. */ z_memory = multiply (m, pow5, &z); } else { /* Divide m by pow5 and round. */ z_memory = divide (m, pow5, &z); } } else { pow5.limbs = pow5_ptr; pow5.nlimbs = pow5_len; if (n >= 0) { /* n >= 0, s < 0. Multiply m with pow5, then divide by 2^|s|. */ mpn_t numerator; mpn_t denominator; void *tmp_memory; tmp_memory = multiply (m, pow5, &numerator); if (tmp_memory == NULL) { free (pow5_ptr); free (memory); return NULL; } /* Construct 2^|s|. */ { mp_limb_t *ptr = pow5_ptr + pow5_len; size_t i; for (i = 0; i < s_limbs; i++) ptr[i] = 0; ptr[s_limbs] = (mp_limb_t) 1 << s_bits; denominator.limbs = ptr; denominator.nlimbs = s_limbs + 1; } z_memory = divide (numerator, denominator, &z); free (tmp_memory); } else { /* n < 0, s > 0. Multiply m with 2^s, then divide by pow5. */ mpn_t numerator; mp_limb_t *num_ptr; num_ptr = (mp_limb_t *) malloc ((m.nlimbs + s_limbs + 1) * sizeof (mp_limb_t)); if (num_ptr == NULL) { free (pow5_ptr); free (memory); return NULL; } { mp_limb_t *destptr = num_ptr; { size_t i; for (i = 0; i < s_limbs; i++) *destptr++ = 0; } if (s_bits > 0) { const mp_limb_t *sourceptr = m.limbs; mp_twolimb_t accu = 0; size_t count; for (count = m.nlimbs; count > 0; count--) { accu += (mp_twolimb_t) *sourceptr++ << s_bits; *destptr++ = (mp_limb_t) accu; accu = accu >> GMP_LIMB_BITS; } if (accu > 0) *destptr++ = (mp_limb_t) accu; } else { const mp_limb_t *sourceptr = m.limbs; size_t count; for (count = m.nlimbs; count > 0; count--) *destptr++ = *sourceptr++; } numerator.limbs = num_ptr; numerator.nlimbs = destptr - num_ptr; } z_memory = divide (numerator, pow5, &z); free (num_ptr); } } free (pow5_ptr); free (memory); /* Here y = round (x * 10^n) = z * 10^extra_zeroes. */ if (z_memory == NULL) return NULL; digits = convert_to_decimal (z, extra_zeroes); free (z_memory); return digits; } # if NEED_PRINTF_LONG_DOUBLE /* Assuming x is finite and >= 0, and n is an integer: Returns the decimal representation of round (x * 10^n). Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * scale10_round_decimal_long_double (long double x, int n) { int e; mpn_t m; void *memory = decode_long_double (x, &e, &m); return scale10_round_decimal_decoded (e, m, memory, n); } # endif # if NEED_PRINTF_DOUBLE /* Assuming x is finite and >= 0, and n is an integer: Returns the decimal representation of round (x * 10^n). Return the allocated memory - containing the decimal digits in low-to-high order, terminated with a NUL character - in case of success, NULL in case of memory allocation failure. */ static char * scale10_round_decimal_double (double x, int n) { int e; mpn_t m; void *memory = decode_double (x, &e, &m); return scale10_round_decimal_decoded (e, m, memory, n); } # endif # if NEED_PRINTF_LONG_DOUBLE /* Assuming x is finite and > 0: Return an approximation for n with 10^n <= x < 10^(n+1). The approximation is usually the right n, but may be off by 1 sometimes. */ static int floorlog10l (long double x) { int exp; long double y; double z; double l; /* Split into exponential part and mantissa. */ y = frexpl (x, &exp); if (!(y >= 0.0L && y < 1.0L)) abort (); if (y == 0.0L) return INT_MIN; if (y < 0.5L) { while (y < (1.0L / (1 << (GMP_LIMB_BITS / 2)) / (1 << (GMP_LIMB_BITS / 2)))) { y *= 1.0L * (1 << (GMP_LIMB_BITS / 2)) * (1 << (GMP_LIMB_BITS / 2)); exp -= GMP_LIMB_BITS; } if (y < (1.0L / (1 << 16))) { y *= 1.0L * (1 << 16); exp -= 16; } if (y < (1.0L / (1 << 8))) { y *= 1.0L * (1 << 8); exp -= 8; } if (y < (1.0L / (1 << 4))) { y *= 1.0L * (1 << 4); exp -= 4; } if (y < (1.0L / (1 << 2))) { y *= 1.0L * (1 << 2); exp -= 2; } if (y < (1.0L / (1 << 1))) { y *= 1.0L * (1 << 1); exp -= 1; } } if (!(y >= 0.5L && y < 1.0L)) abort (); /* Compute an approximation for l = log2(x) = exp + log2(y). */ l = exp; z = y; if (z < 0.70710678118654752444) { z *= 1.4142135623730950488; l -= 0.5; } if (z < 0.8408964152537145431) { z *= 1.1892071150027210667; l -= 0.25; } if (z < 0.91700404320467123175) { z *= 1.0905077326652576592; l -= 0.125; } if (z < 0.9576032806985736469) { z *= 1.0442737824274138403; l -= 0.0625; } /* Now 0.95 <= z <= 1.01. */ z = 1 - z; /* log(1-z) = - z - z^2/2 - z^3/3 - z^4/4 - ... Four terms are enough to get an approximation with error < 10^-7. */ l -= z * (1.0 + z * (0.5 + z * ((1.0 / 3) + z * 0.25))); /* Finally multiply with log(2)/log(10), yields an approximation for log10(x). */ l *= 0.30102999566398119523; /* Round down to the next integer. */ return (int) l + (l < 0 ? -1 : 0); } # endif # if NEED_PRINTF_DOUBLE /* Assuming x is finite and > 0: Return an approximation for n with 10^n <= x < 10^(n+1). The approximation is usually the right n, but may be off by 1 sometimes. */ static int floorlog10 (double x) { int exp; double y; double z; double l; /* Split into exponential part and mantissa. */ y = frexp (x, &exp); if (!(y >= 0.0 && y < 1.0)) abort (); if (y == 0.0) return INT_MIN; if (y < 0.5) { while (y < (1.0 / (1 << (GMP_LIMB_BITS / 2)) / (1 << (GMP_LIMB_BITS / 2)))) { y *= 1.0 * (1 << (GMP_LIMB_BITS / 2)) * (1 << (GMP_LIMB_BITS / 2)); exp -= GMP_LIMB_BITS; } if (y < (1.0 / (1 << 16))) { y *= 1.0 * (1 << 16); exp -= 16; } if (y < (1.0 / (1 << 8))) { y *= 1.0 * (1 << 8); exp -= 8; } if (y < (1.0 / (1 << 4))) { y *= 1.0 * (1 << 4); exp -= 4; } if (y < (1.0 / (1 << 2))) { y *= 1.0 * (1 << 2); exp -= 2; } if (y < (1.0 / (1 << 1))) { y *= 1.0 * (1 << 1); exp -= 1; } } if (!(y >= 0.5 && y < 1.0)) abort (); /* Compute an approximation for l = log2(x) = exp + log2(y). */ l = exp; z = y; if (z < 0.70710678118654752444) { z *= 1.4142135623730950488; l -= 0.5; } if (z < 0.8408964152537145431) { z *= 1.1892071150027210667; l -= 0.25; } if (z < 0.91700404320467123175) { z *= 1.0905077326652576592; l -= 0.125; } if (z < 0.9576032806985736469) { z *= 1.0442737824274138403; l -= 0.0625; } /* Now 0.95 <= z <= 1.01. */ z = 1 - z; /* log(1-z) = - z - z^2/2 - z^3/3 - z^4/4 - ... Four terms are enough to get an approximation with error < 10^-7. */ l -= z * (1.0 + z * (0.5 + z * ((1.0 / 3) + z * 0.25))); /* Finally multiply with log(2)/log(10), yields an approximation for log10(x). */ l *= 0.30102999566398119523; /* Round down to the next integer. */ return (int) l + (l < 0 ? -1 : 0); } # endif #endif DCHAR_T * VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, const FCHAR_T *format, va_list args) { DIRECTIVES d; arguments a; if (PRINTF_PARSE (format, &d, &a) < 0) /* errno is already set. */ return NULL; #define CLEANUP() \ free (d.dir); \ if (a.arg) \ free (a.arg); if (PRINTF_FETCHARGS (args, &a) < 0) { CLEANUP (); errno = EINVAL; return NULL; } { size_t buf_neededlength; TCHAR_T *buf; TCHAR_T *buf_malloced; const FCHAR_T *cp; size_t i; DIRECTIVE *dp; /* Output string accumulator. */ DCHAR_T *result; size_t allocated; size_t length; /* Allocate a small buffer that will hold a directive passed to sprintf or snprintf. */ buf_neededlength = xsum4 (7, d.max_width_length, d.max_precision_length, 6); #if HAVE_ALLOCA if (buf_neededlength < 4000 / sizeof (TCHAR_T)) { buf = (TCHAR_T *) alloca (buf_neededlength * sizeof (TCHAR_T)); buf_malloced = NULL; } else #endif { size_t buf_memsize = xtimes (buf_neededlength, sizeof (TCHAR_T)); if (size_overflow_p (buf_memsize)) goto out_of_memory_1; buf = (TCHAR_T *) malloc (buf_memsize); if (buf == NULL) goto out_of_memory_1; buf_malloced = buf; } if (resultbuf != NULL) { result = resultbuf; allocated = *lengthp; } else { result = NULL; allocated = 0; } length = 0; /* Invariants: result is either == resultbuf or == NULL or malloc-allocated. If length > 0, then result != NULL. */ /* Ensures that allocated >= needed. Aborts through a jump to out_of_memory if needed is SIZE_MAX or otherwise too big. */ #define ENSURE_ALLOCATION(needed) \ if ((needed) > allocated) \ { \ size_t memory_size; \ DCHAR_T *memory; \ \ allocated = (allocated > 0 ? xtimes (allocated, 2) : 12); \ if ((needed) > allocated) \ allocated = (needed); \ memory_size = xtimes (allocated, sizeof (DCHAR_T)); \ if (size_overflow_p (memory_size)) \ goto out_of_memory; \ if (result == resultbuf || result == NULL) \ memory = (DCHAR_T *) malloc (memory_size); \ else \ memory = (DCHAR_T *) realloc (result, memory_size); \ if (memory == NULL) \ goto out_of_memory; \ if (result == resultbuf && length > 0) \ DCHAR_CPY (memory, result, length); \ result = memory; \ } for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) { if (cp != dp->dir_start) { size_t n = dp->dir_start - cp; size_t augmented_length = xsum (length, n); ENSURE_ALLOCATION (augmented_length); /* This copies a piece of FCHAR_T[] into a DCHAR_T[]. Here we need that the format string contains only ASCII characters if FCHAR_T and DCHAR_T are not the same type. */ if (sizeof (FCHAR_T) == sizeof (DCHAR_T)) { DCHAR_CPY (result + length, (const DCHAR_T *) cp, n); length = augmented_length; } else { do result[length++] = (unsigned char) *cp++; while (--n > 0); } } if (i == d.count) break; /* Execute a single directive. */ if (dp->conversion == '%') { size_t augmented_length; if (!(dp->arg_index == ARG_NONE)) abort (); augmented_length = xsum (length, 1); ENSURE_ALLOCATION (augmented_length); result[length] = '%'; length = augmented_length; } else { if (!(dp->arg_index != ARG_NONE)) abort (); if (dp->conversion == 'n') { switch (a.arg[dp->arg_index].type) { case TYPE_COUNT_SCHAR_POINTER: *a.arg[dp->arg_index].a.a_count_schar_pointer = length; break; case TYPE_COUNT_SHORT_POINTER: *a.arg[dp->arg_index].a.a_count_short_pointer = length; break; case TYPE_COUNT_INT_POINTER: *a.arg[dp->arg_index].a.a_count_int_pointer = length; break; case TYPE_COUNT_LONGINT_POINTER: *a.arg[dp->arg_index].a.a_count_longint_pointer = length; break; #if HAVE_LONG_LONG_INT case TYPE_COUNT_LONGLONGINT_POINTER: *a.arg[dp->arg_index].a.a_count_longlongint_pointer = length; break; #endif default: abort (); } } #if ENABLE_UNISTDIO /* The unistdio extensions. */ else if (dp->conversion == 'U') { arg_type type = a.arg[dp->arg_index].type; int flags = dp->flags; int has_width; size_t width; int has_precision; size_t precision; has_width = 0; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = (unsigned int) (-arg); } else width = arg; } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } has_width = 1; } has_precision = 0; precision = 0; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } switch (type) { case TYPE_U8_STRING: { const uint8_t *arg = a.arg[dp->arg_index].a.a_u8_string; const uint8_t *arg_end; size_t characters; if (has_precision) { /* Use only PRECISION characters, from the left. */ arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count = u8_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of characters. */ arg_end = arg; characters = 0; for (;;) { int count = u8_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + u8_strlen (arg); /* The number of characters doesn't matter. */ characters = 0; } if (has_width && width > characters && !(dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_UINT8_T { size_t n = arg_end - arg; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_CPY (result + length, arg, n); length += n; } # else { /* Convert. */ DCHAR_T *converted = result + length; size_t converted_len = allocated - length; # if DCHAR_IS_TCHAR /* Convert from UTF-8 to locale encoding. */ if (u8_conv_to_encoding (locale_charset (), iconveh_question_mark, arg, arg_end - arg, NULL, &converted, &converted_len) < 0) # else /* Convert from UTF-8 to UTF-16/UTF-32. */ converted = U8_TO_DCHAR (arg, arg_end - arg, converted, &converted_len); if (converted == NULL) # endif { int saved_errno = errno; if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } if (converted != result + length) { ENSURE_ALLOCATION (xsum (length, converted_len)); DCHAR_CPY (result + length, converted, converted_len); free (converted); } length += converted_len; } # endif if (has_width && width > characters && (dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } break; case TYPE_U16_STRING: { const uint16_t *arg = a.arg[dp->arg_index].a.a_u16_string; const uint16_t *arg_end; size_t characters; if (has_precision) { /* Use only PRECISION characters, from the left. */ arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count = u16_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of characters. */ arg_end = arg; characters = 0; for (;;) { int count = u16_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + u16_strlen (arg); /* The number of characters doesn't matter. */ characters = 0; } if (has_width && width > characters && !(dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_UINT16_T { size_t n = arg_end - arg; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_CPY (result + length, arg, n); length += n; } # else { /* Convert. */ DCHAR_T *converted = result + length; size_t converted_len = allocated - length; # if DCHAR_IS_TCHAR /* Convert from UTF-16 to locale encoding. */ if (u16_conv_to_encoding (locale_charset (), iconveh_question_mark, arg, arg_end - arg, NULL, &converted, &converted_len) < 0) # else /* Convert from UTF-16 to UTF-8/UTF-32. */ converted = U16_TO_DCHAR (arg, arg_end - arg, converted, &converted_len); if (converted == NULL) # endif { int saved_errno = errno; if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } if (converted != result + length) { ENSURE_ALLOCATION (xsum (length, converted_len)); DCHAR_CPY (result + length, converted, converted_len); free (converted); } length += converted_len; } # endif if (has_width && width > characters && (dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } break; case TYPE_U32_STRING: { const uint32_t *arg = a.arg[dp->arg_index].a.a_u32_string; const uint32_t *arg_end; size_t characters; if (has_precision) { /* Use only PRECISION characters, from the left. */ arg_end = arg; characters = 0; for (; precision > 0; precision--) { int count = u32_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else if (has_width) { /* Use the entire string, and count the number of characters. */ arg_end = arg; characters = 0; for (;;) { int count = u32_strmblen (arg_end); if (count == 0) break; if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EILSEQ; return NULL; } arg_end += count; characters++; } } else { /* Use the entire string. */ arg_end = arg + u32_strlen (arg); /* The number of characters doesn't matter. */ characters = 0; } if (has_width && width > characters && !(dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } # if DCHAR_IS_UINT32_T { size_t n = arg_end - arg; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_CPY (result + length, arg, n); length += n; } # else { /* Convert. */ DCHAR_T *converted = result + length; size_t converted_len = allocated - length; # if DCHAR_IS_TCHAR /* Convert from UTF-32 to locale encoding. */ if (u32_conv_to_encoding (locale_charset (), iconveh_question_mark, arg, arg_end - arg, NULL, &converted, &converted_len) < 0) # else /* Convert from UTF-32 to UTF-8/UTF-16. */ converted = U32_TO_DCHAR (arg, arg_end - arg, converted, &converted_len); if (converted == NULL) # endif { int saved_errno = errno; if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } if (converted != result + length) { ENSURE_ALLOCATION (xsum (length, converted_len)); DCHAR_CPY (result + length, converted, converted_len); free (converted); } length += converted_len; } # endif if (has_width && width > characters && (dp->flags & FLAG_LEFT)) { size_t n = width - characters; ENSURE_ALLOCATION (xsum (length, n)); DCHAR_SET (result + length, ' ', n); length += n; } } break; default: abort (); } } #endif #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL else if ((dp->conversion == 'a' || dp->conversion == 'A') # if !(NEED_PRINTF_DIRECTIVE_A || (NEED_PRINTF_LONG_DOUBLE && NEED_PRINTF_DOUBLE)) && (0 # if NEED_PRINTF_DOUBLE || a.arg[dp->arg_index].type == TYPE_DOUBLE # endif # if NEED_PRINTF_LONG_DOUBLE || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE # endif ) # endif ) { arg_type type = a.arg[dp->arg_index].type; int flags = dp->flags; int has_width; size_t width; int has_precision; size_t precision; size_t tmp_length; DCHAR_T tmpbuf[700]; DCHAR_T *tmp; DCHAR_T *pad_ptr; DCHAR_T *p; has_width = 0; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = (unsigned int) (-arg); } else width = arg; } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } has_width = 1; } has_precision = 0; precision = 0; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } /* Allocate a temporary buffer of sufficient size. */ if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) ((LDBL_DIG + 1) * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) ((DBL_DIG + 1) * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Account for sign, decimal point etc. */ tmp_length = xsum (tmp_length, 12); if (tmp_length < width) tmp_length = width; tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ if (tmp_length <= sizeof (tmpbuf) / sizeof (DCHAR_T)) tmp = tmpbuf; else { size_t tmp_memsize = xtimes (tmp_length, sizeof (DCHAR_T)); if (size_overflow_p (tmp_memsize)) /* Overflow, would lead to out of memory. */ goto out_of_memory; tmp = (DCHAR_T *) malloc (tmp_memsize); if (tmp == NULL) /* Out of memory. */ goto out_of_memory; } pad_ptr = NULL; p = tmp; if (type == TYPE_LONGDOUBLE) { # if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE long double arg = a.arg[dp->arg_index].a.a_longdouble; if (isnanl (arg)) { if (dp->conversion == 'A') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; DECL_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING (); if (signbit (arg)) /* arg < 0.0L or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0L && arg + arg == arg) { if (dp->conversion == 'A') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { int exponent; long double mantissa; if (arg > 0.0L) mantissa = printf_frexpl (arg, &exponent); else { exponent = 0; mantissa = 0.0L; } if (has_precision && precision < (unsigned int) ((LDBL_DIG + 1) * 0.831) + 1) { /* Round the mantissa. */ long double tail = mantissa; size_t q; for (q = precision; ; q--) { int digit = (int) tail; tail -= digit; if (q == 0) { if (digit & 1 ? tail >= 0.5L : tail > 0.5L) tail = 1 - tail; else tail = - tail; break; } tail *= 16.0L; } if (tail != 0.0L) for (q = precision; q > 0; q--) tail *= 0.0625L; mantissa += tail; } *p++ = '0'; *p++ = dp->conversion - 'A' + 'X'; pad_ptr = p; { int digit; digit = (int) mantissa; mantissa -= digit; *p++ = '0' + digit; if ((flags & FLAG_ALT) || mantissa > 0.0L || precision > 0) { *p++ = decimal_point_char (); /* This loop terminates because we assume that FLT_RADIX is a power of 2. */ while (mantissa > 0.0L) { mantissa *= 16.0L; digit = (int) mantissa; mantissa -= digit; *p++ = digit + (digit < 10 ? '0' : dp->conversion - 10); if (precision > 0) precision--; } while (precision > 0) { *p++ = '0'; precision--; } } } *p++ = dp->conversion - 'A' + 'P'; # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = { '%', '+', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } END_LONG_DOUBLE_ROUNDING (); } # else abort (); # endif } else { # if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_DOUBLE double arg = a.arg[dp->arg_index].a.a_double; if (isnan (arg)) { if (dp->conversion == 'A') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; if (signbit (arg)) /* arg < 0.0 or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0 && arg + arg == arg) { if (dp->conversion == 'A') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { int exponent; double mantissa; if (arg > 0.0) mantissa = printf_frexp (arg, &exponent); else { exponent = 0; mantissa = 0.0; } if (has_precision && precision < (unsigned int) ((DBL_DIG + 1) * 0.831) + 1) { /* Round the mantissa. */ double tail = mantissa; size_t q; for (q = precision; ; q--) { int digit = (int) tail; tail -= digit; if (q == 0) { if (digit & 1 ? tail >= 0.5 : tail > 0.5) tail = 1 - tail; else tail = - tail; break; } tail *= 16.0; } if (tail != 0.0) for (q = precision; q > 0; q--) tail *= 0.0625; mantissa += tail; } *p++ = '0'; *p++ = dp->conversion - 'A' + 'X'; pad_ptr = p; { int digit; digit = (int) mantissa; mantissa -= digit; *p++ = '0' + digit; if ((flags & FLAG_ALT) || mantissa > 0.0 || precision > 0) { *p++ = decimal_point_char (); /* This loop terminates because we assume that FLT_RADIX is a power of 2. */ while (mantissa > 0.0) { mantissa *= 16.0; digit = (int) mantissa; mantissa -= digit; *p++ = digit + (digit < 10 ? '0' : dp->conversion - 10); if (precision > 0) precision--; } while (precision > 0) { *p++ = '0'; precision--; } } } *p++ = dp->conversion - 'A' + 'P'; # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = { '%', '+', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } } # else abort (); # endif } /* The generated string now extends from tmp to p, with the zero padding insertion point being at pad_ptr. */ if (has_width && p - tmp < width) { size_t pad = width - (p - tmp); DCHAR_T *end = p + pad; if (flags & FLAG_LEFT) { /* Pad with spaces on the right. */ for (; pad > 0; pad--) *p++ = ' '; } else if ((flags & FLAG_ZERO) && pad_ptr != NULL) { /* Pad with zeroes. */ DCHAR_T *q = end; while (p > pad_ptr) *--q = *--p; for (; pad > 0; pad--) *p++ = '0'; } else { /* Pad with spaces on the left. */ DCHAR_T *q = end; while (p > tmp) *--q = *--p; for (; pad > 0; pad--) *p++ = ' '; } p = end; } { size_t count = p - tmp; if (count >= tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); /* Make room for the result. */ if (count >= allocated - length) { size_t n = xsum (length, count); ENSURE_ALLOCATION (n); } /* Append the result. */ memcpy (result + length, tmp, count * sizeof (DCHAR_T)); if (tmp != tmpbuf) free (tmp); length += count; } } #endif #if (NEED_PRINTF_INFINITE_DOUBLE || NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE || NEED_PRINTF_LONG_DOUBLE) && !defined IN_LIBINTL else if ((dp->conversion == 'f' || dp->conversion == 'F' || dp->conversion == 'e' || dp->conversion == 'E' || dp->conversion == 'g' || dp->conversion == 'G' || dp->conversion == 'a' || dp->conversion == 'A') && (0 # if NEED_PRINTF_DOUBLE || a.arg[dp->arg_index].type == TYPE_DOUBLE # elif NEED_PRINTF_INFINITE_DOUBLE || (a.arg[dp->arg_index].type == TYPE_DOUBLE /* The systems (mingw) which produce wrong output for Inf, -Inf, and NaN also do so for -0.0. Therefore we treat this case here as well. */ && is_infinite_or_zero (a.arg[dp->arg_index].a.a_double)) # endif # if NEED_PRINTF_LONG_DOUBLE || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE # elif NEED_PRINTF_INFINITE_LONG_DOUBLE || (a.arg[dp->arg_index].type == TYPE_LONGDOUBLE /* Some systems produce wrong output for Inf, -Inf, and NaN. */ && is_infinitel (a.arg[dp->arg_index].a.a_longdouble)) # endif )) { # if (NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE) arg_type type = a.arg[dp->arg_index].type; # endif int flags = dp->flags; int has_width; size_t width; int has_precision; size_t precision; size_t tmp_length; DCHAR_T tmpbuf[700]; DCHAR_T *tmp; DCHAR_T *pad_ptr; DCHAR_T *p; has_width = 0; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = (unsigned int) (-arg); } else width = arg; } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } has_width = 1; } has_precision = 0; precision = 0; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } /* POSIX specifies the default precision to be 6 for %f, %F, %e, %E, but not for %g, %G. Implementations appear to use the same default precision also for %g, %G. */ if (!has_precision) precision = 6; /* Allocate a temporary buffer of sufficient size. */ # if NEED_PRINTF_DOUBLE && NEED_PRINTF_LONG_DOUBLE tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : DBL_DIG + 1); # elif NEED_PRINTF_INFINITE_DOUBLE && NEED_PRINTF_LONG_DOUBLE tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : 0); # elif NEED_PRINTF_LONG_DOUBLE tmp_length = LDBL_DIG + 1; # elif NEED_PRINTF_DOUBLE tmp_length = DBL_DIG + 1; # else tmp_length = 0; # endif if (tmp_length < precision) tmp_length = precision; # if NEED_PRINTF_LONG_DOUBLE # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE if (type == TYPE_LONGDOUBLE) # endif if (dp->conversion == 'f' || dp->conversion == 'F') { long double arg = a.arg[dp->arg_index].a.a_longdouble; if (!(isnanl (arg) || arg + arg == arg)) { /* arg is finite and nonzero. */ int exponent = floorlog10l (arg < 0 ? -arg : arg); if (exponent >= 0 && tmp_length < exponent + precision) tmp_length = exponent + precision; } } # endif # if NEED_PRINTF_DOUBLE # if NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE if (type == TYPE_DOUBLE) # endif if (dp->conversion == 'f' || dp->conversion == 'F') { double arg = a.arg[dp->arg_index].a.a_double; if (!(isnan (arg) || arg + arg == arg)) { /* arg is finite and nonzero. */ int exponent = floorlog10 (arg < 0 ? -arg : arg); if (exponent >= 0 && tmp_length < exponent + precision) tmp_length = exponent + precision; } } # endif /* Account for sign, decimal point etc. */ tmp_length = xsum (tmp_length, 12); if (tmp_length < width) tmp_length = width; tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ if (tmp_length <= sizeof (tmpbuf) / sizeof (DCHAR_T)) tmp = tmpbuf; else { size_t tmp_memsize = xtimes (tmp_length, sizeof (DCHAR_T)); if (size_overflow_p (tmp_memsize)) /* Overflow, would lead to out of memory. */ goto out_of_memory; tmp = (DCHAR_T *) malloc (tmp_memsize); if (tmp == NULL) /* Out of memory. */ goto out_of_memory; } pad_ptr = NULL; p = tmp; # if NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE if (type == TYPE_LONGDOUBLE) # endif { long double arg = a.arg[dp->arg_index].a.a_longdouble; if (isnanl (arg)) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; DECL_LONG_DOUBLE_ROUNDING BEGIN_LONG_DOUBLE_ROUNDING (); if (signbit (arg)) /* arg < 0.0L or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0L && arg + arg == arg) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { # if NEED_PRINTF_LONG_DOUBLE pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { char *digits; size_t ndigits; digits = scale10_round_decimal_long_double (arg, precision); if (digits == NULL) { END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } ndigits = strlen (digits); if (ndigits > precision) do { --ndigits; *p++ = digits[ndigits]; } while (ndigits > precision); else *p++ = '0'; /* Here ndigits <= precision. */ if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > ndigits; precision--) *p++ = '0'; while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } else if (dp->conversion == 'e' || dp->conversion == 'E') { int exponent; if (arg == 0.0L) { exponent = 0; *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else { /* arg > 0.0L. */ int adjusted; char *digits; size_t ndigits; exponent = floorlog10l (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_long_double (arg, (int)precision - exponent); if (digits == NULL) { END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } ndigits = strlen (digits); if (ndigits == precision + 1) break; if (ndigits < precision || ndigits > precision + 2) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits == precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision+1. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } *p++ = dp->conversion; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = { '%', '+', '.', '2', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+.2d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+.2d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } else if (dp->conversion == 'g' || dp->conversion == 'G') { if (precision == 0) precision = 1; /* precision >= 1. */ if (arg == 0.0L) /* The exponent is 0, >= -4, < precision. Use fixed-point notation. */ { size_t ndigits = precision; /* Number of trailing zeroes that have to be dropped. */ size_t nzeroes = (flags & FLAG_ALT ? 0 : precision - 1); --ndigits; *p++ = '0'; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = '0'; } } } else { /* arg > 0.0L. */ int exponent; int adjusted; char *digits; size_t ndigits; size_t nzeroes; exponent = floorlog10l (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_long_double (arg, (int)(precision - 1) - exponent); if (digits == NULL) { END_LONG_DOUBLE_ROUNDING (); goto out_of_memory; } ndigits = strlen (digits); if (ndigits == precision) break; if (ndigits < precision - 1 || ndigits > precision + 1) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits < precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision. */ /* Determine the number of trailing zeroes that have to be dropped. */ nzeroes = 0; if ((flags & FLAG_ALT) == 0) while (nzeroes < ndigits && digits[nzeroes] == '0') nzeroes++; /* The exponent is now determined. */ if (exponent >= -4 && exponent < (long)precision) { /* Fixed-point notation: max(exponent,0)+1 digits, then the decimal point, then the remaining digits without trailing zeroes. */ if (exponent >= 0) { size_t count = exponent + 1; /* Note: count <= precision = ndigits. */ for (; count > 0; count--) *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { size_t count = -exponent - 1; *p++ = '0'; *p++ = decimal_point_char (); for (; count > 0; count--) *p++ = '0'; while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { /* Exponential notation. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = { '%', '+', '.', '2', 'd', '\0' }; SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, "%+.2d", exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, "%+.2d", exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } # endif } free (digits); } } else abort (); # else /* arg is finite. */ abort (); # endif } END_LONG_DOUBLE_ROUNDING (); } } # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE else # endif # endif # if NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE { double arg = a.arg[dp->arg_index].a.a_double; if (isnan (arg)) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'N'; *p++ = 'A'; *p++ = 'N'; } else { *p++ = 'n'; *p++ = 'a'; *p++ = 'n'; } } else { int sign = 0; if (signbit (arg)) /* arg < 0.0 or negative zero */ { sign = -1; arg = -arg; } if (sign < 0) *p++ = '-'; else if (flags & FLAG_SHOWSIGN) *p++ = '+'; else if (flags & FLAG_SPACE) *p++ = ' '; if (arg > 0.0 && arg + arg == arg) { if (dp->conversion >= 'A' && dp->conversion <= 'Z') { *p++ = 'I'; *p++ = 'N'; *p++ = 'F'; } else { *p++ = 'i'; *p++ = 'n'; *p++ = 'f'; } } else { # if NEED_PRINTF_DOUBLE pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { char *digits; size_t ndigits; digits = scale10_round_decimal_double (arg, precision); if (digits == NULL) goto out_of_memory; ndigits = strlen (digits); if (ndigits > precision) do { --ndigits; *p++ = digits[ndigits]; } while (ndigits > precision); else *p++ = '0'; /* Here ndigits <= precision. */ if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > ndigits; precision--) *p++ = '0'; while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } else if (dp->conversion == 'e' || dp->conversion == 'E') { int exponent; if (arg == 0.0) { exponent = 0; *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else { /* arg > 0.0. */ int adjusted; char *digits; size_t ndigits; exponent = floorlog10 (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_double (arg, (int)precision - exponent); if (digits == NULL) goto out_of_memory; ndigits = strlen (digits); if (ndigits == precision + 1) break; if (ndigits < precision || ndigits > precision + 2) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits == precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision+1. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); while (ndigits > 0) { --ndigits; *p++ = digits[ndigits]; } } free (digits); } *p++ = dp->conversion; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ { '%', '+', '.', '3', 'd', '\0' }; # else { '%', '+', '.', '2', 'd', '\0' }; # endif SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else { static const char decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ "%+.3d"; # else "%+.2d"; # endif if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, decimal_format, exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, decimal_format, exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } } # endif } else if (dp->conversion == 'g' || dp->conversion == 'G') { if (precision == 0) precision = 1; /* precision >= 1. */ if (arg == 0.0) /* The exponent is 0, >= -4, < precision. Use fixed-point notation. */ { size_t ndigits = precision; /* Number of trailing zeroes that have to be dropped. */ size_t nzeroes = (flags & FLAG_ALT ? 0 : precision - 1); --ndigits; *p++ = '0'; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = '0'; } } } else { /* arg > 0.0. */ int exponent; int adjusted; char *digits; size_t ndigits; size_t nzeroes; exponent = floorlog10 (arg); adjusted = 0; for (;;) { digits = scale10_round_decimal_double (arg, (int)(precision - 1) - exponent); if (digits == NULL) goto out_of_memory; ndigits = strlen (digits); if (ndigits == precision) break; if (ndigits < precision - 1 || ndigits > precision + 1) /* The exponent was not guessed precisely enough. */ abort (); if (adjusted) /* None of two values of exponent is the right one. Prevent an endless loop. */ abort (); free (digits); if (ndigits < precision) exponent -= 1; else exponent += 1; adjusted = 1; } /* Here ndigits = precision. */ /* Determine the number of trailing zeroes that have to be dropped. */ nzeroes = 0; if ((flags & FLAG_ALT) == 0) while (nzeroes < ndigits && digits[nzeroes] == '0') nzeroes++; /* The exponent is now determined. */ if (exponent >= -4 && exponent < (long)precision) { /* Fixed-point notation: max(exponent,0)+1 digits, then the decimal point, then the remaining digits without trailing zeroes. */ if (exponent >= 0) { size_t count = exponent + 1; /* Note: count <= precision = ndigits. */ for (; count > 0; count--) *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { size_t count = -exponent - 1; *p++ = '0'; *p++ = decimal_point_char (); for (; count > 0; count--) *p++ = '0'; while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } } else { /* Exponential notation. */ *p++ = digits[--ndigits]; if ((flags & FLAG_ALT) || ndigits > nzeroes) { *p++ = decimal_point_char (); while (ndigits > nzeroes) { --ndigits; *p++ = digits[ndigits]; } } *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */ # if WIDE_CHAR_VERSION { static const wchar_t decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ { '%', '+', '.', '3', 'd', '\0' }; # else { '%', '+', '.', '2', 'd', '\0' }; # endif SNPRINTF (p, 6 + 1, decimal_format, exponent); } while (*p != '\0') p++; # else { static const char decimal_format[] = /* Produce the same number of exponent digits as the native printf implementation. */ # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ "%+.3d"; # else "%+.2d"; # endif if (sizeof (DCHAR_T) == 1) { sprintf ((char *) p, decimal_format, exponent); while (*p != '\0') p++; } else { char expbuf[6 + 1]; const char *ep; sprintf (expbuf, decimal_format, exponent); for (ep = expbuf; (*p = *ep) != '\0'; ep++) p++; } } # endif } free (digits); } } else abort (); # else /* arg is finite. */ if (!(arg == 0.0)) abort (); pad_ptr = p; if (dp->conversion == 'f' || dp->conversion == 'F') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } } else if (dp->conversion == 'e' || dp->conversion == 'E') { *p++ = '0'; if ((flags & FLAG_ALT) || precision > 0) { *p++ = decimal_point_char (); for (; precision > 0; precision--) *p++ = '0'; } *p++ = dp->conversion; /* 'e' or 'E' */ *p++ = '+'; /* Produce the same number of exponent digits as the native printf implementation. */ # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ *p++ = '0'; # endif *p++ = '0'; *p++ = '0'; } else if (dp->conversion == 'g' || dp->conversion == 'G') { *p++ = '0'; if (flags & FLAG_ALT) { size_t ndigits = (precision > 0 ? precision - 1 : 0); *p++ = decimal_point_char (); for (; ndigits > 0; --ndigits) *p++ = '0'; } } else abort (); # endif } } } # endif /* The generated string now extends from tmp to p, with the zero padding insertion point being at pad_ptr. */ if (has_width && p - tmp < width) { size_t pad = width - (p - tmp); DCHAR_T *end = p + pad; if (flags & FLAG_LEFT) { /* Pad with spaces on the right. */ for (; pad > 0; pad--) *p++ = ' '; } else if ((flags & FLAG_ZERO) && pad_ptr != NULL) { /* Pad with zeroes. */ DCHAR_T *q = end; while (p > pad_ptr) *--q = *--p; for (; pad > 0; pad--) *p++ = '0'; } else { /* Pad with spaces on the left. */ DCHAR_T *q = end; while (p > tmp) *--q = *--p; for (; pad > 0; pad--) *p++ = ' '; } p = end; } { size_t count = p - tmp; if (count >= tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); /* Make room for the result. */ if (count >= allocated - length) { size_t n = xsum (length, count); ENSURE_ALLOCATION (n); } /* Append the result. */ memcpy (result + length, tmp, count * sizeof (DCHAR_T)); if (tmp != tmpbuf) free (tmp); length += count; } } #endif else { arg_type type = a.arg[dp->arg_index].type; int flags = dp->flags; #if !USE_SNPRINTF || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION int has_width; size_t width; #endif #if !USE_SNPRINTF || NEED_PRINTF_UNBOUNDED_PRECISION int has_precision; size_t precision; #endif #if NEED_PRINTF_UNBOUNDED_PRECISION int prec_ourselves; #else # define prec_ourselves 0 #endif #if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION int pad_ourselves; #else # define pad_ourselves 0 #endif TCHAR_T *fbp; unsigned int prefix_count; int prefixes[2]; #if !USE_SNPRINTF size_t tmp_length; TCHAR_T tmpbuf[700]; TCHAR_T *tmp; #endif #if !USE_SNPRINTF || !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION has_width = 0; width = 0; if (dp->width_start != dp->width_end) { if (dp->width_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->width_arg_index].a.a_int; if (arg < 0) { /* "A negative field width is taken as a '-' flag followed by a positive field width." */ flags |= FLAG_LEFT; width = (unsigned int) (-arg); } else width = arg; } else { const FCHAR_T *digitp = dp->width_start; do width = xsum (xtimes (width, 10), *digitp++ - '0'); while (digitp != dp->width_end); } has_width = 1; } #endif #if !USE_SNPRINTF || NEED_PRINTF_UNBOUNDED_PRECISION has_precision = 0; precision = 6; if (dp->precision_start != dp->precision_end) { if (dp->precision_arg_index != ARG_NONE) { int arg; if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); arg = a.arg[dp->precision_arg_index].a.a_int; /* "A negative precision is taken as if the precision were omitted." */ if (arg >= 0) { precision = arg; has_precision = 1; } } else { const FCHAR_T *digitp = dp->precision_start + 1; precision = 0; while (digitp != dp->precision_end) precision = xsum (xtimes (precision, 10), *digitp++ - '0'); has_precision = 1; } } #endif #if !USE_SNPRINTF /* Allocate a temporary buffer of sufficient size for calling sprintf. */ { switch (dp->conversion) { case 'd': case 'i': case 'u': # if HAVE_LONG_LONG_INT if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) tmp_length = (unsigned int) (sizeof (unsigned long long) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ else # endif if (type == TYPE_LONGINT || type == TYPE_ULONGINT) tmp_length = (unsigned int) (sizeof (unsigned long) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT * 0.30103 /* binary -> decimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Multiply by 2, as an estimate for FLAG_GROUP. */ tmp_length = xsum (tmp_length, tmp_length); /* Add 1, to account for a leading sign. */ tmp_length = xsum (tmp_length, 1); break; case 'o': # if HAVE_LONG_LONG_INT if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) tmp_length = (unsigned int) (sizeof (unsigned long long) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ else # endif if (type == TYPE_LONGINT || type == TYPE_ULONGINT) tmp_length = (unsigned int) (sizeof (unsigned long) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT * 0.333334 /* binary -> octal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Add 1, to account for a leading sign. */ tmp_length = xsum (tmp_length, 1); break; case 'x': case 'X': # if HAVE_LONG_LONG_INT if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) tmp_length = (unsigned int) (sizeof (unsigned long long) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ else # endif if (type == TYPE_LONGINT || type == TYPE_ULONGINT) tmp_length = (unsigned int) (sizeof (unsigned long) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) (sizeof (unsigned int) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Add 2, to account for a leading sign or alternate form. */ tmp_length = xsum (tmp_length, 2); break; case 'f': case 'F': if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) (LDBL_MAX_EXP * 0.30103 /* binary -> decimal */ * 2 /* estimate for FLAG_GROUP */ ) + 1 /* turn floor into ceil */ + 10; /* sign, decimal point etc. */ else tmp_length = (unsigned int) (DBL_MAX_EXP * 0.30103 /* binary -> decimal */ * 2 /* estimate for FLAG_GROUP */ ) + 1 /* turn floor into ceil */ + 10; /* sign, decimal point etc. */ tmp_length = xsum (tmp_length, precision); break; case 'e': case 'E': case 'g': case 'G': tmp_length = 12; /* sign, decimal point, exponent etc. */ tmp_length = xsum (tmp_length, precision); break; case 'a': case 'A': if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) (LDBL_DIG * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ else tmp_length = (unsigned int) (DBL_DIG * 0.831 /* decimal -> hexadecimal */ ) + 1; /* turn floor into ceil */ if (tmp_length < precision) tmp_length = precision; /* Account for sign, decimal point etc. */ tmp_length = xsum (tmp_length, 12); break; case 'c': # if HAVE_WINT_T && !WIDE_CHAR_VERSION if (type == TYPE_WIDE_CHAR) tmp_length = MB_CUR_MAX; else # endif tmp_length = 1; break; case 's': # if HAVE_WCHAR_T if (type == TYPE_WIDE_STRING) { tmp_length = local_wcslen (a.arg[dp->arg_index].a.a_wide_string); # if !WIDE_CHAR_VERSION tmp_length = xtimes (tmp_length, MB_CUR_MAX); # endif } else # endif tmp_length = strlen (a.arg[dp->arg_index].a.a_string); break; case 'p': tmp_length = (unsigned int) (sizeof (void *) * CHAR_BIT * 0.25 /* binary -> hexadecimal */ ) + 1 /* turn floor into ceil */ + 2; /* account for leading 0x */ break; default: abort (); } # if ENABLE_UNISTDIO /* Padding considers the number of characters, therefore the number of elements after padding may be > max (tmp_length, width) but is certainly <= tmp_length + width. */ tmp_length = xsum (tmp_length, width); # else /* Padding considers the number of elements, says POSIX. */ if (tmp_length < width) tmp_length = width; # endif tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ } if (tmp_length <= sizeof (tmpbuf) / sizeof (TCHAR_T)) tmp = tmpbuf; else { size_t tmp_memsize = xtimes (tmp_length, sizeof (TCHAR_T)); if (size_overflow_p (tmp_memsize)) /* Overflow, would lead to out of memory. */ goto out_of_memory; tmp = (TCHAR_T *) malloc (tmp_memsize); if (tmp == NULL) /* Out of memory. */ goto out_of_memory; } #endif /* Decide whether to handle the precision ourselves. */ #if NEED_PRINTF_UNBOUNDED_PRECISION switch (dp->conversion) { case 'd': case 'i': case 'u': case 'o': case 'x': case 'X': case 'p': prec_ourselves = has_precision && (precision > 0); break; default: prec_ourselves = 0; break; } #endif /* Decide whether to perform the padding ourselves. */ #if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION switch (dp->conversion) { # if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO /* If we need conversion from TCHAR_T[] to DCHAR_T[], we need to perform the padding after this conversion. Functions with unistdio extensions perform the padding based on character count rather than element count. */ case 'c': case 's': # endif # if NEED_PRINTF_FLAG_ZERO case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': case 'a': case 'A': # endif pad_ourselves = 1; break; default: pad_ourselves = prec_ourselves; break; } #endif /* Construct the format string for calling snprintf or sprintf. */ fbp = buf; *fbp++ = '%'; #if NEED_PRINTF_FLAG_GROUPING /* The underlying implementation doesn't support the ' flag. Produce no grouping characters in this case; this is acceptable because the grouping is locale dependent. */ #else if (flags & FLAG_GROUP) *fbp++ = '\''; #endif if (flags & FLAG_LEFT) *fbp++ = '-'; if (flags & FLAG_SHOWSIGN) *fbp++ = '+'; if (flags & FLAG_SPACE) *fbp++ = ' '; if (flags & FLAG_ALT) *fbp++ = '#'; if (!pad_ourselves) { if (flags & FLAG_ZERO) *fbp++ = '0'; if (dp->width_start != dp->width_end) { size_t n = dp->width_end - dp->width_start; /* The width specification is known to consist only of standard ASCII characters. */ if (sizeof (FCHAR_T) == sizeof (TCHAR_T)) { memcpy (fbp, dp->width_start, n * sizeof (TCHAR_T)); fbp += n; } else { const FCHAR_T *mp = dp->width_start; do *fbp++ = (unsigned char) *mp++; while (--n > 0); } } } if (!prec_ourselves) { if (dp->precision_start != dp->precision_end) { size_t n = dp->precision_end - dp->precision_start; /* The precision specification is known to consist only of standard ASCII characters. */ if (sizeof (FCHAR_T) == sizeof (TCHAR_T)) { memcpy (fbp, dp->precision_start, n * sizeof (TCHAR_T)); fbp += n; } else { const FCHAR_T *mp = dp->precision_start; do *fbp++ = (unsigned char) *mp++; while (--n > 0); } } } switch (type) { #if HAVE_LONG_LONG_INT case TYPE_LONGLONGINT: case TYPE_ULONGLONGINT: # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ *fbp++ = 'I'; *fbp++ = '6'; *fbp++ = '4'; break; # else *fbp++ = 'l'; /*FALLTHROUGH*/ # endif #endif case TYPE_LONGINT: case TYPE_ULONGINT: #if HAVE_WINT_T case TYPE_WIDE_CHAR: #endif #if HAVE_WCHAR_T case TYPE_WIDE_STRING: #endif *fbp++ = 'l'; break; case TYPE_LONGDOUBLE: *fbp++ = 'L'; break; default: break; } #if NEED_PRINTF_DIRECTIVE_F if (dp->conversion == 'F') *fbp = 'f'; else #endif *fbp = dp->conversion; #if USE_SNPRINTF # if !(__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) fbp[1] = '%'; fbp[2] = 'n'; fbp[3] = '\0'; # else /* On glibc2 systems from glibc >= 2.3 - probably also older ones - we know that snprintf's returns value conforms to ISO C 99: the gl_SNPRINTF_DIRECTIVE_N test passes. Therefore we can avoid using %n in this situation. On glibc2 systems from 2004-10-18 or newer, the use of %n in format strings in writable memory may crash the program (if compiled with _FORTIFY_SOURCE=2), so we should avoid it in this situation. */ fbp[1] = '\0'; # endif #else fbp[1] = '\0'; #endif /* Construct the arguments for calling snprintf or sprintf. */ prefix_count = 0; if (!pad_ourselves && dp->width_arg_index != ARG_NONE) { if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) abort (); prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; } if (dp->precision_arg_index != ARG_NONE) { if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) abort (); prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; } #if USE_SNPRINTF /* The SNPRINTF result is appended after result[0..length]. The latter is an array of DCHAR_T; SNPRINTF appends an array of TCHAR_T to it. This is possible because sizeof (TCHAR_T) divides sizeof (DCHAR_T) and alignof (TCHAR_T) <= alignof (DCHAR_T). */ # define TCHARS_PER_DCHAR (sizeof (DCHAR_T) / sizeof (TCHAR_T)) /* Prepare checking whether snprintf returns the count via %n. */ ENSURE_ALLOCATION (xsum (length, 1)); *(TCHAR_T *) (result + length) = '\0'; #endif for (;;) { int count = -1; #if USE_SNPRINTF int retcount = 0; size_t maxlen = allocated - length; /* SNPRINTF can fail if its second argument is > INT_MAX. */ if (maxlen > INT_MAX / TCHARS_PER_DCHAR) maxlen = INT_MAX / TCHARS_PER_DCHAR; maxlen = maxlen * TCHARS_PER_DCHAR; # define SNPRINTF_BUF(arg) \ switch (prefix_count) \ { \ case 0: \ retcount = SNPRINTF ((TCHAR_T *) (result + length), \ maxlen, buf, \ arg, &count); \ break; \ case 1: \ retcount = SNPRINTF ((TCHAR_T *) (result + length), \ maxlen, buf, \ prefixes[0], arg, &count); \ break; \ case 2: \ retcount = SNPRINTF ((TCHAR_T *) (result + length), \ maxlen, buf, \ prefixes[0], prefixes[1], arg, \ &count); \ break; \ default: \ abort (); \ } #else # define SNPRINTF_BUF(arg) \ switch (prefix_count) \ { \ case 0: \ count = sprintf (tmp, buf, arg); \ break; \ case 1: \ count = sprintf (tmp, buf, prefixes[0], arg); \ break; \ case 2: \ count = sprintf (tmp, buf, prefixes[0], prefixes[1],\ arg); \ break; \ default: \ abort (); \ } #endif switch (type) { case TYPE_SCHAR: { int arg = a.arg[dp->arg_index].a.a_schar; SNPRINTF_BUF (arg); } break; case TYPE_UCHAR: { unsigned int arg = a.arg[dp->arg_index].a.a_uchar; SNPRINTF_BUF (arg); } break; case TYPE_SHORT: { int arg = a.arg[dp->arg_index].a.a_short; SNPRINTF_BUF (arg); } break; case TYPE_USHORT: { unsigned int arg = a.arg[dp->arg_index].a.a_ushort; SNPRINTF_BUF (arg); } break; case TYPE_INT: { int arg = a.arg[dp->arg_index].a.a_int; SNPRINTF_BUF (arg); } break; case TYPE_UINT: { unsigned int arg = a.arg[dp->arg_index].a.a_uint; SNPRINTF_BUF (arg); } break; case TYPE_LONGINT: { long int arg = a.arg[dp->arg_index].a.a_longint; SNPRINTF_BUF (arg); } break; case TYPE_ULONGINT: { unsigned long int arg = a.arg[dp->arg_index].a.a_ulongint; SNPRINTF_BUF (arg); } break; #if HAVE_LONG_LONG_INT case TYPE_LONGLONGINT: { long long int arg = a.arg[dp->arg_index].a.a_longlongint; SNPRINTF_BUF (arg); } break; case TYPE_ULONGLONGINT: { unsigned long long int arg = a.arg[dp->arg_index].a.a_ulonglongint; SNPRINTF_BUF (arg); } break; #endif case TYPE_DOUBLE: { double arg = a.arg[dp->arg_index].a.a_double; SNPRINTF_BUF (arg); } break; case TYPE_LONGDOUBLE: { long double arg = a.arg[dp->arg_index].a.a_longdouble; SNPRINTF_BUF (arg); } break; case TYPE_CHAR: { int arg = a.arg[dp->arg_index].a.a_char; SNPRINTF_BUF (arg); } break; #if HAVE_WINT_T case TYPE_WIDE_CHAR: { wint_t arg = a.arg[dp->arg_index].a.a_wide_char; SNPRINTF_BUF (arg); } break; #endif case TYPE_STRING: { const char *arg = a.arg[dp->arg_index].a.a_string; SNPRINTF_BUF (arg); } break; #if HAVE_WCHAR_T case TYPE_WIDE_STRING: { const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; SNPRINTF_BUF (arg); } break; #endif case TYPE_POINTER: { void *arg = a.arg[dp->arg_index].a.a_pointer; SNPRINTF_BUF (arg); } break; default: abort (); } #if USE_SNPRINTF /* Portability: Not all implementations of snprintf() are ISO C 99 compliant. Determine the number of bytes that snprintf() has produced or would have produced. */ if (count >= 0) { /* Verify that snprintf() has NUL-terminated its result. */ if (count < maxlen && ((TCHAR_T *) (result + length)) [count] != '\0') abort (); /* Portability hack. */ if (retcount > count) count = retcount; } else { /* snprintf() doesn't understand the '%n' directive. */ if (fbp[1] != '\0') { /* Don't use the '%n' directive; instead, look at the snprintf() return value. */ fbp[1] = '\0'; continue; } else { /* Look at the snprintf() return value. */ if (retcount < 0) { /* HP-UX 10.20 snprintf() is doubly deficient: It doesn't understand the '%n' directive, *and* it returns -1 (rather than the length that would have been required) when the buffer is too small. */ size_t bigger_need = xsum (xtimes (allocated, 2), 12); ENSURE_ALLOCATION (bigger_need); continue; } else count = retcount; } } #endif /* Attempt to handle failure. */ if (count < 0) { if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EINVAL; return NULL; } #if USE_SNPRINTF /* Handle overflow of the allocated buffer. If such an overflow occurs, a C99 compliant snprintf() returns a count >= maxlen. However, a non-compliant snprintf() function returns only count = maxlen - 1. To cover both cases, test whether count >= maxlen - 1. */ if ((unsigned int) count + 1 >= maxlen) { /* If maxlen already has attained its allowed maximum, allocating more memory will not increase maxlen. Instead of looping, bail out. */ if (maxlen == INT_MAX / TCHARS_PER_DCHAR) goto overflow; else { /* Need at least count * sizeof (TCHAR_T) bytes. But allocate proportionally, to avoid looping eternally if snprintf() reports a too small count. */ size_t n = xmax (xsum (length, (count + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR), xtimes (allocated, 2)); ENSURE_ALLOCATION (n); continue; } } #endif #if NEED_PRINTF_UNBOUNDED_PRECISION if (prec_ourselves) { /* Handle the precision. */ TCHAR_T *prec_ptr = # if USE_SNPRINTF (TCHAR_T *) (result + length); # else tmp; # endif size_t prefix_count; size_t move; prefix_count = 0; /* Put the additional zeroes after the sign. */ if (count >= 1 && (*prec_ptr == '-' || *prec_ptr == '+' || *prec_ptr == ' ')) prefix_count = 1; /* Put the additional zeroes after the 0x prefix if (flags & FLAG_ALT) || (dp->conversion == 'p'). */ else if (count >= 2 && prec_ptr[0] == '0' && (prec_ptr[1] == 'x' || prec_ptr[1] == 'X')) prefix_count = 2; move = count - prefix_count; if (precision > move) { /* Insert zeroes. */ size_t insert = precision - move; TCHAR_T *prec_end; # if USE_SNPRINTF size_t n = xsum (length, (count + insert + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR); length += (count + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR; ENSURE_ALLOCATION (n); length -= (count + TCHARS_PER_DCHAR - 1) / TCHARS_PER_DCHAR; prec_ptr = (TCHAR_T *) (result + length); # endif prec_end = prec_ptr + count; prec_ptr += prefix_count; while (prec_end > prec_ptr) { prec_end--; prec_end[insert] = prec_end[0]; } prec_end += insert; do *--prec_end = '0'; while (prec_end > prec_ptr); count += insert; } } #endif #if !DCHAR_IS_TCHAR # if !USE_SNPRINTF if (count >= tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); # endif /* Convert from TCHAR_T[] to DCHAR_T[]. */ if (dp->conversion == 'c' || dp->conversion == 's') { /* type = TYPE_CHAR or TYPE_WIDE_CHAR or TYPE_STRING TYPE_WIDE_STRING. The result string is not certainly ASCII. */ const TCHAR_T *tmpsrc; DCHAR_T *tmpdst; size_t tmpdst_len; /* This code assumes that TCHAR_T is 'char'. */ typedef int TCHAR_T_verify [2 * (sizeof (TCHAR_T) == 1) - 1]; # if USE_SNPRINTF tmpsrc = (TCHAR_T *) (result + length); # else tmpsrc = tmp; # endif tmpdst = NULL; tmpdst_len = 0; if (DCHAR_CONV_FROM_ENCODING (locale_charset (), iconveh_question_mark, tmpsrc, count, NULL, &tmpdst, &tmpdst_len) < 0) { int saved_errno = errno; if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = saved_errno; return NULL; } ENSURE_ALLOCATION (xsum (length, tmpdst_len)); DCHAR_CPY (result + length, tmpdst, tmpdst_len); free (tmpdst); count = tmpdst_len; } else { /* The result string is ASCII. Simple 1:1 conversion. */ # if USE_SNPRINTF /* If sizeof (DCHAR_T) == sizeof (TCHAR_T), it's a no-op conversion, in-place on the array starting at (result + length). */ if (sizeof (DCHAR_T) != sizeof (TCHAR_T)) # endif { const TCHAR_T *tmpsrc; DCHAR_T *tmpdst; size_t n; # if USE_SNPRINTF if (result == resultbuf) { tmpsrc = (TCHAR_T *) (result + length); /* ENSURE_ALLOCATION will not move tmpsrc (because it's part of resultbuf). */ ENSURE_ALLOCATION (xsum (length, count)); } else { /* ENSURE_ALLOCATION will move the array (because it uses realloc(). */ ENSURE_ALLOCATION (xsum (length, count)); tmpsrc = (TCHAR_T *) (result + length); } # else tmpsrc = tmp; ENSURE_ALLOCATION (xsum (length, count)); # endif tmpdst = result + length; /* Copy backwards, because of overlapping. */ tmpsrc += count; tmpdst += count; for (n = count; n > 0; n--) *--tmpdst = (unsigned char) *--tmpsrc; } } #endif #if DCHAR_IS_TCHAR && !USE_SNPRINTF /* Make room for the result. */ if (count > allocated - length) { /* Need at least count elements. But allocate proportionally. */ size_t n = xmax (xsum (length, count), xtimes (allocated, 2)); ENSURE_ALLOCATION (n); } #endif /* Here count <= allocated - length. */ /* Perform padding. */ #if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO || NEED_PRINTF_FLAG_ZERO || NEED_PRINTF_UNBOUNDED_PRECISION if (pad_ourselves && has_width) { size_t w; # if ENABLE_UNISTDIO /* Outside POSIX, it's preferrable to compare the width against the number of _characters_ of the converted value. */ w = DCHAR_MBSNLEN (result + length, count); # else /* The width is compared against the number of _bytes_ of the converted value, says POSIX. */ w = count; # endif if (w < width) { size_t pad = width - w; # if USE_SNPRINTF /* Make room for the result. */ if (xsum (count, pad) > allocated - length) { /* Need at least count + pad elements. But allocate proportionally. */ size_t n = xmax (xsum3 (length, count, pad), xtimes (allocated, 2)); length += count; ENSURE_ALLOCATION (n); length -= count; } /* Here count + pad <= allocated - length. */ # endif { # if !DCHAR_IS_TCHAR || USE_SNPRINTF DCHAR_T * const rp = result + length; # else DCHAR_T * const rp = tmp; # endif DCHAR_T *p = rp + count; DCHAR_T *end = p + pad; # if NEED_PRINTF_FLAG_ZERO DCHAR_T *pad_ptr; # if !DCHAR_IS_TCHAR if (dp->conversion == 'c' || dp->conversion == 's') /* No zero-padding for string directives. */ pad_ptr = NULL; else # endif { pad_ptr = (*rp == '-' ? rp + 1 : rp); /* No zero-padding of "inf" and "nan". */ if ((*pad_ptr >= 'A' && *pad_ptr <= 'Z') || (*pad_ptr >= 'a' && *pad_ptr <= 'z')) pad_ptr = NULL; } # endif /* The generated string now extends from rp to p, with the zero padding insertion point being at pad_ptr. */ count = count + pad; /* = end - rp */ if (flags & FLAG_LEFT) { /* Pad with spaces on the right. */ for (; pad > 0; pad--) *p++ = ' '; } # if NEED_PRINTF_FLAG_ZERO else if ((flags & FLAG_ZERO) && pad_ptr != NULL) { /* Pad with zeroes. */ DCHAR_T *q = end; while (p > pad_ptr) *--q = *--p; for (; pad > 0; pad--) *p++ = '0'; } # endif else { /* Pad with spaces on the left. */ DCHAR_T *q = end; while (p > rp) *--q = *--p; for (; pad > 0; pad--) *p++ = ' '; } } } } #endif #if DCHAR_IS_TCHAR && !USE_SNPRINTF if (count >= tmp_length) /* tmp_length was incorrectly calculated - fix the code above! */ abort (); #endif /* Here still count <= allocated - length. */ #if !DCHAR_IS_TCHAR || USE_SNPRINTF /* The snprintf() result did fit. */ #else /* Append the sprintf() result. */ memcpy (result + length, tmp, count * sizeof (DCHAR_T)); #endif #if !USE_SNPRINTF if (tmp != tmpbuf) free (tmp); #endif #if NEED_PRINTF_DIRECTIVE_F if (dp->conversion == 'F') { /* Convert the %f result to upper case for %F. */ DCHAR_T *rp = result + length; size_t rc; for (rc = count; rc > 0; rc--, rp++) if (*rp >= 'a' && *rp <= 'z') *rp = *rp - 'a' + 'A'; } #endif length += count; break; } } } } /* Add the final NUL. */ ENSURE_ALLOCATION (xsum (length, 1)); result[length] = '\0'; if (result != resultbuf && length + 1 < allocated) { /* Shrink the allocated memory if possible. */ DCHAR_T *memory; memory = (DCHAR_T *) realloc (result, (length + 1) * sizeof (DCHAR_T)); if (memory != NULL) result = memory; } if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); *lengthp = length; /* Note that we can produce a big string of a length > INT_MAX. POSIX says that snprintf() fails with errno = EOVERFLOW in this case, but that's only because snprintf() returns an 'int'. This function does not have this limitation. */ return result; overflow: if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); CLEANUP (); errno = EOVERFLOW; return NULL; out_of_memory: if (!(result == resultbuf || result == NULL)) free (result); if (buf_malloced != NULL) free (buf_malloced); out_of_memory_1: CLEANUP (); errno = ENOMEM; return NULL; } } #undef TCHARS_PER_DCHAR #undef SNPRINTF #undef USE_SNPRINTF #undef DCHAR_CPY #undef PRINTF_PARSE #undef DIRECTIVES #undef DIRECTIVE #undef DCHAR_IS_TCHAR #undef TCHAR_T #undef DCHAR_T #undef FCHAR_T #undef VASNPRINTF vorbis-tools-1.4.2/intl/intl-exports.c0000644000175000017500000000273313767140576014710 00000000000000/* List of exported symbols of libintl on Cygwin. Copyright (C) 2006 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* IMP(x) is a symbol that contains the address of x. */ #define IMP(x) _imp__##x /* Ensure that the variable x is exported from the library, and that a pseudo-variable IMP(x) is available. */ #define VARIABLE(x) \ /* Export x without redefining x. This code was found by compiling a \ snippet: \ extern __declspec(dllexport) int x; int x = 42; */ \ asm (".section .drectve\n"); \ asm (".ascii \" -export:" #x ",data\"\n"); \ asm (".data\n"); \ /* Allocate a pseudo-variable IMP(x). */ \ extern int x; \ void * IMP(x) = &x; VARIABLE(libintl_version) vorbis-tools-1.4.2/intl/dcngettext.c0000644000175000017500000000347413767140576014414 00000000000000/* Implementation of the dcngettext(3) function. Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include "gettextP.h" #ifdef _LIBC # include #else # include "libgnuintl.h" #endif /* @@ end of prolog @@ */ /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define DCNGETTEXT __dcngettext # define DCIGETTEXT __dcigettext #else # define DCNGETTEXT libintl_dcngettext # define DCIGETTEXT libintl_dcigettext #endif /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY locale. */ char * DCNGETTEXT (const char *domainname, const char *msgid1, const char *msgid2, unsigned long int n, int category) { return DCIGETTEXT (domainname, msgid1, msgid2, 1, n, category); } #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__dcngettext, dcngettext); #endif vorbis-tools-1.4.2/intl/intl-compat.c0000644000175000017500000000662413767140576014472 00000000000000/* intl-compat.c - Stub functions to call gettext functions from GNU gettext Library. Copyright (C) 1995, 2000-2003, 2005 Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include "gettextP.h" /* @@ end of prolog @@ */ /* This file redirects the gettext functions (without prefix) to those defined in the included GNU libintl library (with "libintl_" prefix). It is compiled into libintl in order to make the AM_GNU_GETTEXT test of gettext <= 0.11.2 work with the libintl library >= 0.11.3 which has the redirections primarily in the include file. It is also compiled into libgnuintl so that libgnuintl.so can be used as LD_PRELOADable library on glibc systems, to provide the extra features that the functions in the libc don't have (namely, logging). */ #undef gettext #undef dgettext #undef dcgettext #undef ngettext #undef dngettext #undef dcngettext #undef textdomain #undef bindtextdomain #undef bind_textdomain_codeset /* When building a DLL, we must export some functions. Note that because the functions are only defined for binary backward compatibility, we don't need to use __declspec(dllimport) in any case. */ #if HAVE_VISIBILITY && BUILDING_DLL # define DLL_EXPORTED __attribute__((__visibility__("default"))) #elif defined _MSC_VER && BUILDING_DLL # define DLL_EXPORTED __declspec(dllexport) #else # define DLL_EXPORTED #endif DLL_EXPORTED char * gettext (const char *msgid) { return libintl_gettext (msgid); } DLL_EXPORTED char * dgettext (const char *domainname, const char *msgid) { return libintl_dgettext (domainname, msgid); } DLL_EXPORTED char * dcgettext (const char *domainname, const char *msgid, int category) { return libintl_dcgettext (domainname, msgid, category); } DLL_EXPORTED char * ngettext (const char *msgid1, const char *msgid2, unsigned long int n) { return libintl_ngettext (msgid1, msgid2, n); } DLL_EXPORTED char * dngettext (const char *domainname, const char *msgid1, const char *msgid2, unsigned long int n) { return libintl_dngettext (domainname, msgid1, msgid2, n); } DLL_EXPORTED char * dcngettext (const char *domainname, const char *msgid1, const char *msgid2, unsigned long int n, int category) { return libintl_dcngettext (domainname, msgid1, msgid2, n, category); } DLL_EXPORTED char * textdomain (const char *domainname) { return libintl_textdomain (domainname); } DLL_EXPORTED char * bindtextdomain (const char *domainname, const char *dirname) { return libintl_bindtextdomain (domainname, dirname); } DLL_EXPORTED char * bind_textdomain_codeset (const char *domainname, const char *codeset) { return libintl_bind_textdomain_codeset (domainname, codeset); } vorbis-tools-1.4.2/intl/l10nflist.c0000644000175000017500000002557213767140576014062 00000000000000/* Copyright (C) 1995-1999, 2000-2006 Free Software Foundation, Inc. Contributed by Ulrich Drepper , 1995. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Tell glibc's to provide a prototype for stpcpy(). This must come before because may include , and once has been included, it's too late. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif #ifdef HAVE_CONFIG_H # include #endif #include #if defined _LIBC || defined HAVE_ARGZ_H # include #endif #include #include #include #include "loadinfo.h" /* On some strange systems still no definition of NULL is found. Sigh! */ #ifndef NULL # if defined __STDC__ && __STDC__ # define NULL ((void *) 0) # else # define NULL 0 # endif #endif /* @@ end of prolog @@ */ #ifdef _LIBC /* Rename the non ANSI C functions. This is required by the standard because some ANSI C functions will require linking with this object file and the name space must not be polluted. */ # ifndef stpcpy # define stpcpy(dest, src) __stpcpy(dest, src) # endif #else # ifndef HAVE_STPCPY static char *stpcpy (char *dest, const char *src); # endif #endif /* Pathname support. ISSLASH(C) tests whether C is a directory separator character. IS_ABSOLUTE_PATH(P) tests whether P is an absolute path. If it is not, it may be concatenated to a directory pathname. */ #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ /* Win32, Cygwin, OS/2, DOS */ # define ISSLASH(C) ((C) == '/' || (C) == '\\') # define HAS_DEVICE(P) \ ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ && (P)[1] == ':') # define IS_ABSOLUTE_PATH(P) (ISSLASH ((P)[0]) || HAS_DEVICE (P)) #else /* Unix */ # define ISSLASH(C) ((C) == '/') # define IS_ABSOLUTE_PATH(P) ISSLASH ((P)[0]) #endif /* Define function which are usually not available. */ #ifdef _LIBC # define __argz_count(argz, len) INTUSE(__argz_count) (argz, len) #elif defined HAVE_ARGZ_COUNT # undef __argz_count # define __argz_count argz_count #else /* Returns the number of strings in ARGZ. */ static size_t argz_count__ (const char *argz, size_t len) { size_t count = 0; while (len > 0) { size_t part_len = strlen (argz); argz += part_len + 1; len -= part_len + 1; count++; } return count; } # undef __argz_count # define __argz_count(argz, len) argz_count__ (argz, len) #endif /* !_LIBC && !HAVE_ARGZ_COUNT */ #ifdef _LIBC # define __argz_stringify(argz, len, sep) \ INTUSE(__argz_stringify) (argz, len, sep) #elif defined HAVE_ARGZ_STRINGIFY # undef __argz_stringify # define __argz_stringify argz_stringify #else /* Make '\0' separated arg vector ARGZ printable by converting all the '\0's except the last into the character SEP. */ static void argz_stringify__ (char *argz, size_t len, int sep) { while (len > 0) { size_t part_len = strlen (argz); argz += part_len; len -= part_len + 1; if (len > 0) *argz++ = sep; } } # undef __argz_stringify # define __argz_stringify(argz, len, sep) argz_stringify__ (argz, len, sep) #endif /* !_LIBC && !HAVE_ARGZ_STRINGIFY */ #ifdef _LIBC #elif defined HAVE_ARGZ_NEXT # undef __argz_next # define __argz_next argz_next #else static char * argz_next__ (char *argz, size_t argz_len, const char *entry) { if (entry) { if (entry < argz + argz_len) entry = strchr (entry, '\0') + 1; return entry >= argz + argz_len ? NULL : (char *) entry; } else if (argz_len > 0) return argz; else return 0; } # undef __argz_next # define __argz_next(argz, len, entry) argz_next__ (argz, len, entry) #endif /* !_LIBC && !HAVE_ARGZ_NEXT */ /* Return number of bits set in X. */ static inline int pop (int x) { /* We assume that no more than 16 bits are used. */ x = ((x & ~0x5555) >> 1) + (x & 0x5555); x = ((x & ~0x3333) >> 2) + (x & 0x3333); x = ((x >> 4) + x) & 0x0f0f; x = ((x >> 8) + x) & 0xff; return x; } struct loaded_l10nfile * _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_list, const char *dirlist, size_t dirlist_len, int mask, const char *language, const char *territory, const char *codeset, const char *normalized_codeset, const char *modifier, const char *filename, int do_allocate) { char *abs_filename; struct loaded_l10nfile **lastp; struct loaded_l10nfile *retval; char *cp; size_t dirlist_count; size_t entries; int cnt; /* If LANGUAGE contains an absolute directory specification, we ignore DIRLIST. */ if (IS_ABSOLUTE_PATH (language)) dirlist_len = 0; /* Allocate room for the full file name. */ abs_filename = (char *) malloc (dirlist_len + strlen (language) + ((mask & XPG_TERRITORY) != 0 ? strlen (territory) + 1 : 0) + ((mask & XPG_CODESET) != 0 ? strlen (codeset) + 1 : 0) + ((mask & XPG_NORM_CODESET) != 0 ? strlen (normalized_codeset) + 1 : 0) + ((mask & XPG_MODIFIER) != 0 ? strlen (modifier) + 1 : 0) + 1 + strlen (filename) + 1); if (abs_filename == NULL) return NULL; /* Construct file name. */ cp = abs_filename; if (dirlist_len > 0) { memcpy (cp, dirlist, dirlist_len); __argz_stringify (cp, dirlist_len, PATH_SEPARATOR); cp += dirlist_len; cp[-1] = '/'; } cp = stpcpy (cp, language); if ((mask & XPG_TERRITORY) != 0) { *cp++ = '_'; cp = stpcpy (cp, territory); } if ((mask & XPG_CODESET) != 0) { *cp++ = '.'; cp = stpcpy (cp, codeset); } if ((mask & XPG_NORM_CODESET) != 0) { *cp++ = '.'; cp = stpcpy (cp, normalized_codeset); } if ((mask & XPG_MODIFIER) != 0) { *cp++ = '@'; cp = stpcpy (cp, modifier); } *cp++ = '/'; stpcpy (cp, filename); /* Look in list of already loaded domains whether it is already available. */ lastp = l10nfile_list; for (retval = *l10nfile_list; retval != NULL; retval = retval->next) if (retval->filename != NULL) { int compare = strcmp (retval->filename, abs_filename); if (compare == 0) /* We found it! */ break; if (compare < 0) { /* It's not in the list. */ retval = NULL; break; } lastp = &retval->next; } if (retval != NULL || do_allocate == 0) { free (abs_filename); return retval; } dirlist_count = (dirlist_len > 0 ? __argz_count (dirlist, dirlist_len) : 1); /* Allocate a new loaded_l10nfile. */ retval = (struct loaded_l10nfile *) malloc (sizeof (*retval) + (((dirlist_count << pop (mask)) + (dirlist_count > 1 ? 1 : 0)) * sizeof (struct loaded_l10nfile *))); if (retval == NULL) { free (abs_filename); return NULL; } retval->filename = abs_filename; /* We set retval->data to NULL here; it is filled in later. Setting retval->decided to 1 here means that retval does not correspond to a real file (dirlist_count > 1) or is not worth looking up (if an unnormalized codeset was specified). */ retval->decided = (dirlist_count > 1 || ((mask & XPG_CODESET) != 0 && (mask & XPG_NORM_CODESET) != 0)); retval->data = NULL; retval->next = *lastp; *lastp = retval; entries = 0; /* Recurse to fill the inheritance list of RETVAL. If the DIRLIST is a real list (i.e. DIRLIST_COUNT > 1), the RETVAL entry does not correspond to a real file; retval->filename contains colons. In this case we loop across all elements of DIRLIST and across all bit patterns dominated by MASK. If the DIRLIST is a single directory or entirely redundant (i.e. DIRLIST_COUNT == 1), we loop across all bit patterns dominated by MASK, excluding MASK itself. In either case, we loop down from MASK to 0. This has the effect that the extra bits in the locale name are dropped in this order: first the modifier, then the territory, then the codeset, then the normalized_codeset. */ for (cnt = dirlist_count > 1 ? mask : mask - 1; cnt >= 0; --cnt) if ((cnt & ~mask) == 0 && !((cnt & XPG_CODESET) != 0 && (cnt & XPG_NORM_CODESET) != 0)) { if (dirlist_count > 1) { /* Iterate over all elements of the DIRLIST. */ char *dir = NULL; while ((dir = __argz_next ((char *) dirlist, dirlist_len, dir)) != NULL) retval->successor[entries++] = _nl_make_l10nflist (l10nfile_list, dir, strlen (dir) + 1, cnt, language, territory, codeset, normalized_codeset, modifier, filename, 1); } else retval->successor[entries++] = _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, cnt, language, territory, codeset, normalized_codeset, modifier, filename, 1); } retval->successor[entries] = NULL; return retval; } /* Normalize codeset name. There is no standard for the codeset names. Normalization allows the user to use any of the common names. The return value is dynamically allocated and has to be freed by the caller. */ const char * _nl_normalize_codeset (const char *codeset, size_t name_len) { int len = 0; int only_digit = 1; char *retval; char *wp; size_t cnt; for (cnt = 0; cnt < name_len; ++cnt) if (isalnum ((unsigned char) codeset[cnt])) { ++len; if (isalpha ((unsigned char) codeset[cnt])) only_digit = 0; } retval = (char *) malloc ((only_digit ? 3 : 0) + len + 1); if (retval != NULL) { if (only_digit) wp = stpcpy (retval, "iso"); else wp = retval; for (cnt = 0; cnt < name_len; ++cnt) if (isalpha ((unsigned char) codeset[cnt])) *wp++ = tolower ((unsigned char) codeset[cnt]); else if (isdigit ((unsigned char) codeset[cnt])) *wp++ = codeset[cnt]; *wp = '\0'; } return (const char *) retval; } /* @@ begin of epilog @@ */ /* We don't want libintl.a to depend on any other library. So we avoid the non-standard function stpcpy. In GNU C Library this function is available, though. Also allow the symbol HAVE_STPCPY to be defined. */ #if !_LIBC && !HAVE_STPCPY static char * stpcpy (char *dest, const char *src) { while ((*dest++ = *src++) != '\0') /* Do nothing. */ ; return dest - 1; } #endif vorbis-tools-1.4.2/intl/bindtextdom.c0000644000175000017500000002137213767140576014561 00000000000000/* Implementation of the bindtextdomain(3) function Copyright (C) 1995-1998, 2000-2003, 2005-2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include "gettextP.h" #ifdef _LIBC # include #else # include "libgnuintl.h" #endif /* Handle multi-threaded applications. */ #ifdef _LIBC # include # define gl_rwlock_define __libc_rwlock_define # define gl_rwlock_wrlock __libc_rwlock_wrlock # define gl_rwlock_unlock __libc_rwlock_unlock #else # include "lock.h" #endif /* Some compilers, like SunOS4 cc, don't have offsetof in . */ #ifndef offsetof # define offsetof(type,ident) ((size_t)&(((type*)0)->ident)) #endif /* @@ end of prolog @@ */ /* Lock variable to protect the global data in the gettext implementation. */ gl_rwlock_define (extern, _nl_state_lock attribute_hidden) /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define BINDTEXTDOMAIN __bindtextdomain # define BIND_TEXTDOMAIN_CODESET __bind_textdomain_codeset # ifndef strdup # define strdup(str) __strdup (str) # endif #else # define BINDTEXTDOMAIN libintl_bindtextdomain # define BIND_TEXTDOMAIN_CODESET libintl_bind_textdomain_codeset #endif /* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP to be used for the DOMAINNAME message catalog. If *DIRNAMEP or *CODESETP is NULL, the corresponding attribute is not modified, only the current value is returned. If DIRNAMEP or CODESETP is NULL, the corresponding attribute is neither modified nor returned. */ static void set_binding_values (const char *domainname, const char **dirnamep, const char **codesetp) { struct binding *binding; int modified; /* Some sanity checks. */ if (domainname == NULL || domainname[0] == '\0') { if (dirnamep) *dirnamep = NULL; if (codesetp) *codesetp = NULL; return; } gl_rwlock_wrlock (_nl_state_lock); modified = 0; for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) { int compare = strcmp (domainname, binding->domainname); if (compare == 0) /* We found it! */ break; if (compare < 0) { /* It is not in the list. */ binding = NULL; break; } } if (binding != NULL) { if (dirnamep) { const char *dirname = *dirnamep; if (dirname == NULL) /* The current binding has be to returned. */ *dirnamep = binding->dirname; else { /* The domain is already bound. If the new value and the old one are equal we simply do nothing. Otherwise replace the old binding. */ char *result = binding->dirname; if (strcmp (dirname, result) != 0) { if (strcmp (dirname, _nl_default_dirname) == 0) result = (char *) _nl_default_dirname; else { #if defined _LIBC || defined HAVE_STRDUP result = strdup (dirname); #else size_t len = strlen (dirname) + 1; result = (char *) malloc (len); if (__builtin_expect (result != NULL, 1)) memcpy (result, dirname, len); #endif } if (__builtin_expect (result != NULL, 1)) { if (binding->dirname != _nl_default_dirname) free (binding->dirname); binding->dirname = result; modified = 1; } } *dirnamep = result; } } if (codesetp) { const char *codeset = *codesetp; if (codeset == NULL) /* The current binding has be to returned. */ *codesetp = binding->codeset; else { /* The domain is already bound. If the new value and the old one are equal we simply do nothing. Otherwise replace the old binding. */ char *result = binding->codeset; if (result == NULL || strcmp (codeset, result) != 0) { #if defined _LIBC || defined HAVE_STRDUP result = strdup (codeset); #else size_t len = strlen (codeset) + 1; result = (char *) malloc (len); if (__builtin_expect (result != NULL, 1)) memcpy (result, codeset, len); #endif if (__builtin_expect (result != NULL, 1)) { if (binding->codeset != NULL) free (binding->codeset); binding->codeset = result; modified = 1; } } *codesetp = result; } } } else if ((dirnamep == NULL || *dirnamep == NULL) && (codesetp == NULL || *codesetp == NULL)) { /* Simply return the default values. */ if (dirnamep) *dirnamep = _nl_default_dirname; if (codesetp) *codesetp = NULL; } else { /* We have to create a new binding. */ size_t len = strlen (domainname) + 1; struct binding *new_binding = (struct binding *) malloc (offsetof (struct binding, domainname) + len); if (__builtin_expect (new_binding == NULL, 0)) goto failed; memcpy (new_binding->domainname, domainname, len); if (dirnamep) { const char *dirname = *dirnamep; if (dirname == NULL) /* The default value. */ dirname = _nl_default_dirname; else { if (strcmp (dirname, _nl_default_dirname) == 0) dirname = _nl_default_dirname; else { char *result; #if defined _LIBC || defined HAVE_STRDUP result = strdup (dirname); if (__builtin_expect (result == NULL, 0)) goto failed_dirname; #else size_t len = strlen (dirname) + 1; result = (char *) malloc (len); if (__builtin_expect (result == NULL, 0)) goto failed_dirname; memcpy (result, dirname, len); #endif dirname = result; } } *dirnamep = dirname; new_binding->dirname = (char *) dirname; } else /* The default value. */ new_binding->dirname = (char *) _nl_default_dirname; if (codesetp) { const char *codeset = *codesetp; if (codeset != NULL) { char *result; #if defined _LIBC || defined HAVE_STRDUP result = strdup (codeset); if (__builtin_expect (result == NULL, 0)) goto failed_codeset; #else size_t len = strlen (codeset) + 1; result = (char *) malloc (len); if (__builtin_expect (result == NULL, 0)) goto failed_codeset; memcpy (result, codeset, len); #endif codeset = result; } *codesetp = codeset; new_binding->codeset = (char *) codeset; } else new_binding->codeset = NULL; /* Now enqueue it. */ if (_nl_domain_bindings == NULL || strcmp (domainname, _nl_domain_bindings->domainname) < 0) { new_binding->next = _nl_domain_bindings; _nl_domain_bindings = new_binding; } else { binding = _nl_domain_bindings; while (binding->next != NULL && strcmp (domainname, binding->next->domainname) > 0) binding = binding->next; new_binding->next = binding->next; binding->next = new_binding; } modified = 1; /* Here we deal with memory allocation failures. */ if (0) { failed_codeset: if (new_binding->dirname != _nl_default_dirname) free (new_binding->dirname); failed_dirname: free (new_binding); failed: if (dirnamep) *dirnamep = NULL; if (codesetp) *codesetp = NULL; } } /* If we modified any binding, we flush the caches. */ if (modified) ++_nl_msg_cat_cntr; gl_rwlock_unlock (_nl_state_lock); } /* Specify that the DOMAINNAME message catalog will be found in DIRNAME rather than in the system locale data base. */ char * BINDTEXTDOMAIN (const char *domainname, const char *dirname) { set_binding_values (domainname, &dirname, NULL); return (char *) dirname; } /* Specify the character encoding in which the messages from the DOMAINNAME message catalog will be returned. */ char * BIND_TEXTDOMAIN_CODESET (const char *domainname, const char *codeset) { set_binding_values (domainname, NULL, &codeset); return (char *) codeset; } #ifdef _LIBC /* Aliases for function names in GNU C Library. */ weak_alias (__bindtextdomain, bindtextdomain); weak_alias (__bind_textdomain_codeset, bind_textdomain_codeset); #endif vorbis-tools-1.4.2/intl/plural.c0000644000175000017500000014212013767140576013532 00000000000000/* A Bison parser, made by GNU Bison 2.3a. */ /* Skeleton implementation for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof as a parser skeleton. Alternatively, if you modify or redistribute the parser skeleton itself, you may (at your option) remove this special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ /* C LALR(1) parser skeleton written by Richard Stallman, by simplifying the original so-called "semantic" parser. */ /* All symbols defined below should begin with yy or YY, to avoid infringing on user name space. This should be done even for local variables, as they might otherwise be expanded by user macros. There are some unavoidable exceptions within include files to define necessary library symbols; they are noted "INFRINGES ON USER NAME SPACE" below. */ /* Identify Bison output. */ #define YYBISON 1 /* Bison version. */ #define YYBISON_VERSION "2.3a" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" /* Pure parsers. */ #define YYPURE 1 /* Using locations. */ #define YYLSP_NEEDED 0 /* Substitute the variable and function names. */ #define yyparse __gettextparse #define yylex __gettextlex #define yyerror __gettexterror #define yylval __gettextlval #define yychar __gettextchar #define yydebug __gettextdebug #define yynerrs __gettextnerrs /* Copy the first part of user declarations. */ /* Line 164 of yacc.c. */ #line 1 "plural.y" /* Expression parsing for plural form selection. Copyright (C) 2000-2001, 2003, 2005-2006 Free Software Foundation, Inc. Written by Ulrich Drepper , 2000. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* For bison < 2.0, the bison generated parser uses alloca. AIX 3 forces us to put this declaration at the beginning of the file. The declaration in bison's skeleton file comes too late. This must come before because may include arbitrary system headers. This can go away once the AM_INTL_SUBDIR macro requires bison >= 2.0. */ #if defined _AIX && !defined __GNUC__ #pragma alloca #endif #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include "plural-exp.h" /* The main function generated by the parser is called __gettextparse, but we want it to be called PLURAL_PARSE. */ #ifndef _LIBC # define __gettextparse PLURAL_PARSE #endif #define YYLEX_PARAM &((struct parse_args *) arg)->cp #define YYPARSE_PARAM arg /* Enabling traces. */ #ifndef YYDEBUG # define YYDEBUG 0 #endif /* Enabling verbose error messages. */ #ifdef YYERROR_VERBOSE # undef YYERROR_VERBOSE # define YYERROR_VERBOSE 1 #else # define YYERROR_VERBOSE 0 #endif /* Enabling the token table. */ #ifndef YYTOKEN_TABLE # define YYTOKEN_TABLE 0 #endif /* Tokens. */ #ifndef YYTOKENTYPE # define YYTOKENTYPE /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { EQUOP2 = 258, CMPOP2 = 259, ADDOP2 = 260, MULOP2 = 261, NUMBER = 262 }; #endif /* Tokens. */ #define EQUOP2 258 #define CMPOP2 259 #define ADDOP2 260 #define MULOP2 261 #define NUMBER 262 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE {/* Line 191 of yacc.c. */ #line 51 "plural.y" unsigned long int num; enum expression_operator op; struct expression *exp; } /* Line 191 of yacc.c. */ #line 175 "plural.c" YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 #endif /* Copy the second part of user declarations. */ /* Line 221 of yacc.c. */ #line 57 "plural.y" /* Prototypes for local functions. */ static int yylex (YYSTYPE *lval, const char **pexp); static void yyerror (const char *str); /* Allocation of expressions. */ static struct expression * new_exp (int nargs, enum expression_operator op, struct expression * const *args) { int i; struct expression *newp; /* If any of the argument could not be malloc'ed, just return NULL. */ for (i = nargs - 1; i >= 0; i--) if (args[i] == NULL) goto fail; /* Allocate a new expression. */ newp = (struct expression *) malloc (sizeof (*newp)); if (newp != NULL) { newp->nargs = nargs; newp->operation = op; for (i = nargs - 1; i >= 0; i--) newp->val.args[i] = args[i]; return newp; } fail: for (i = nargs - 1; i >= 0; i--) FREE_EXPRESSION (args[i]); return NULL; } static inline struct expression * new_exp_0 (enum expression_operator op) { return new_exp (0, op, NULL); } static inline struct expression * new_exp_1 (enum expression_operator op, struct expression *right) { struct expression *args[1]; args[0] = right; return new_exp (1, op, args); } static struct expression * new_exp_2 (enum expression_operator op, struct expression *left, struct expression *right) { struct expression *args[2]; args[0] = left; args[1] = right; return new_exp (2, op, args); } static inline struct expression * new_exp_3 (enum expression_operator op, struct expression *bexp, struct expression *tbranch, struct expression *fbranch) { struct expression *args[3]; args[0] = bexp; args[1] = tbranch; args[2] = fbranch; return new_exp (3, op, args); } /* Line 221 of yacc.c. */ #line 265 "plural.c" #ifdef short # undef short #endif #ifdef YYTYPE_UINT8 typedef YYTYPE_UINT8 yytype_uint8; #else typedef unsigned char yytype_uint8; #endif #ifdef YYTYPE_INT8 typedef YYTYPE_INT8 yytype_int8; #elif (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) typedef signed char yytype_int8; #else typedef short int yytype_int8; #endif #ifdef YYTYPE_UINT16 typedef YYTYPE_UINT16 yytype_uint16; #else typedef unsigned short int yytype_uint16; #endif #ifdef YYTYPE_INT16 typedef YYTYPE_INT16 yytype_int16; #else typedef short int yytype_int16; #endif #ifndef YYSIZE_T # ifdef __SIZE_TYPE__ # define YYSIZE_T __SIZE_TYPE__ # elif defined size_t # define YYSIZE_T size_t # elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) # include /* INFRINGES ON USER NAME SPACE */ # define YYSIZE_T size_t # else # define YYSIZE_T unsigned int # endif #endif #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) #ifndef YY_ # if YYENABLE_NLS # if ENABLE_NLS # include /* INFRINGES ON USER NAME SPACE */ # define YY_(msgid) dgettext ("bison-runtime", msgid) # endif # endif # ifndef YY_ # define YY_(msgid) msgid # endif #endif /* Suppress unused-variable warnings by "using" E. */ #if ! defined lint || defined __GNUC__ # define YYUSE(e) ((void) (e)) #else # define YYUSE(e) /* empty */ #endif /* Identity function, used to suppress warnings about constant conditions. */ #ifndef lint # define YYID(n) (n) #else #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static int YYID (int yyi) #else static int YYID (yyi) int yyi; #endif { return yyi; } #endif #if ! defined yyoverflow || YYERROR_VERBOSE /* The parser invokes alloca or malloc; define the necessary symbols. */ # ifdef YYSTACK_USE_ALLOCA # if YYSTACK_USE_ALLOCA # ifdef __GNUC__ # define YYSTACK_ALLOC __builtin_alloca # elif defined __BUILTIN_VA_ARG_INCR # include /* INFRINGES ON USER NAME SPACE */ # elif defined _AIX # define YYSTACK_ALLOC __alloca # elif defined _MSC_VER # include /* INFRINGES ON USER NAME SPACE */ # define alloca _alloca # else # define YYSTACK_ALLOC alloca # if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) # include /* INFRINGES ON USER NAME SPACE */ # ifndef _STDLIB_H # define _STDLIB_H 1 # endif # endif # endif # endif # endif # ifdef YYSTACK_ALLOC /* Pacify GCC's `empty if-body' warning. */ # define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) # ifndef YYSTACK_ALLOC_MAXIMUM /* The OS might guarantee only one guard page at the bottom of the stack, and a page size can be as small as 4096 bytes. So we cannot safely invoke alloca (N) if N exceeds 4096. Use a slightly smaller number to allow for a few compiler-allocated temporary stack slots. */ # define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ # endif # else # define YYSTACK_ALLOC YYMALLOC # define YYSTACK_FREE YYFREE # ifndef YYSTACK_ALLOC_MAXIMUM # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM # endif # if (defined __cplusplus && ! defined _STDLIB_H \ && ! ((defined YYMALLOC || defined malloc) \ && (defined YYFREE || defined free))) # include /* INFRINGES ON USER NAME SPACE */ # ifndef _STDLIB_H # define _STDLIB_H 1 # endif # endif # ifndef YYMALLOC # define YYMALLOC malloc # if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ # endif # endif # ifndef YYFREE # define YYFREE free # if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) void free (void *); /* INFRINGES ON USER NAME SPACE */ # endif # endif # endif #endif /* ! defined yyoverflow || YYERROR_VERBOSE */ #if (! defined yyoverflow \ && (! defined __cplusplus \ || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) /* A type that is properly aligned for any stack member. */ union yyalloc { yytype_int16 yyss; YYSTYPE yyvs; }; /* The size of the maximum gap between one aligned stack and the next. */ # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) /* The size of an array large to enough to hold all stacks, each with N elements. */ # define YYSTACK_BYTES(N) \ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) /* Copy COUNT objects from FROM to TO. The source and destination do not overlap. */ # ifndef YYCOPY # if defined __GNUC__ && 1 < __GNUC__ # define YYCOPY(To, From, Count) \ __builtin_memcpy (To, From, (Count) * sizeof (*(From))) # else # define YYCOPY(To, From, Count) \ do \ { \ YYSIZE_T yyi; \ for (yyi = 0; yyi < (Count); yyi++) \ (To)[yyi] = (From)[yyi]; \ } \ while (YYID (0)) # endif # endif /* Relocate STACK from its old location to the new one. The local variables YYSIZE and YYSTACKSIZE give the old and new number of elements in the stack, and YYPTR gives the new location of the stack. Advance YYPTR to a properly aligned location for the next stack. */ # define YYSTACK_RELOCATE(Stack) \ do \ { \ YYSIZE_T yynewbytes; \ YYCOPY (&yyptr->Stack, Stack, yysize); \ Stack = &yyptr->Stack; \ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ yyptr += yynewbytes / sizeof (*yyptr); \ } \ while (YYID (0)) #endif /* YYFINAL -- State number of the termination state. */ #define YYFINAL 9 /* YYLAST -- Last index in YYTABLE. */ #define YYLAST 54 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 16 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 3 /* YYNRULES -- Number of rules. */ #define YYNRULES 13 /* YYNRULES -- Number of states. */ #define YYNSTATES 27 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 #define YYMAXUTOK 262 #define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ static const yytype_uint8 yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 2, 2, 2, 2, 5, 2, 14, 15, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 12, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 13, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 6, 7, 8, 9, 11 }; #if YYDEBUG /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in YYRHS. */ static const yytype_uint8 yyprhs[] = { 0, 0, 3, 5, 11, 15, 19, 23, 27, 31, 35, 38, 40, 42 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ static const yytype_int8 yyrhs[] = { 17, 0, -1, 18, -1, 18, 3, 18, 12, 18, -1, 18, 4, 18, -1, 18, 5, 18, -1, 18, 6, 18, -1, 18, 7, 18, -1, 18, 8, 18, -1, 18, 9, 18, -1, 10, 18, -1, 13, -1, 11, -1, 14, 18, 15, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const yytype_uint8 yyrline[] = { 0, 154, 154, 162, 166, 170, 174, 178, 182, 186, 190, 194, 198, 203 }; #endif #if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. First, the terminals, then, starting at YYNTOKENS, nonterminals. */ static const char *const yytname[] = { "$end", "error", "$undefined", "'?'", "'|'", "'&'", "EQUOP2", "CMPOP2", "ADDOP2", "MULOP2", "'!'", "NUMBER", "':'", "'n'", "'('", "')'", "$accept", "start", "exp", 0 }; #endif # ifdef YYPRINT /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to token YYLEX-NUM. */ static const yytype_uint16 yytoknum[] = { 0, 256, 257, 63, 124, 38, 258, 259, 260, 261, 33, 262, 58, 110, 40, 41 }; # endif /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ static const yytype_uint8 yyr1[] = { 0, 16, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ static const yytype_uint8 yyr2[] = { 0, 2, 1, 5, 3, 3, 3, 3, 3, 3, 2, 1, 1, 3 }; /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state STATE-NUM when YYTABLE doesn't specify something else to do. Zero means the default is an error. */ static const yytype_uint8 yydefact[] = { 0, 0, 12, 11, 0, 0, 2, 10, 0, 1, 0, 0, 0, 0, 0, 0, 0, 13, 0, 4, 5, 6, 7, 8, 9, 0, 3 }; /* YYDEFGOTO[NTERM-NUM]. */ static const yytype_int8 yydefgoto[] = { -1, 5, 6 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ #define YYPACT_NINF -10 static const yytype_int8 yypact[] = { -9, -9, -10, -10, -9, 8, 36, -10, 13, -10, -9, -9, -9, -9, -9, -9, -9, -10, 26, 41, 45, 18, -2, 14, -10, -9, 36 }; /* YYPGOTO[NTERM-NUM]. */ static const yytype_int8 yypgoto[] = { -10, -10, -1 }; /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which number is the opposite. If zero, do what YYDEFACT says. If YYTABLE_NINF, syntax error. */ #define YYTABLE_NINF -1 static const yytype_uint8 yytable[] = { 7, 1, 2, 8, 3, 4, 15, 16, 9, 18, 19, 20, 21, 22, 23, 24, 10, 11, 12, 13, 14, 15, 16, 16, 26, 14, 15, 16, 17, 10, 11, 12, 13, 14, 15, 16, 0, 0, 25, 10, 11, 12, 13, 14, 15, 16, 12, 13, 14, 15, 16, 13, 14, 15, 16 }; static const yytype_int8 yycheck[] = { 1, 10, 11, 4, 13, 14, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 3, 4, 5, 6, 7, 8, 9, 9, 25, 7, 8, 9, 15, 3, 4, 5, 6, 7, 8, 9, -1, -1, 12, 3, 4, 5, 6, 7, 8, 9, 5, 6, 7, 8, 9, 6, 7, 8, 9 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ static const yytype_uint8 yystos[] = { 0, 10, 11, 13, 14, 17, 18, 18, 18, 0, 3, 4, 5, 6, 7, 8, 9, 15, 18, 18, 18, 18, 18, 18, 18, 12, 18 }; #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) #define YYEMPTY (-2) #define YYEOF 0 #define YYACCEPT goto yyacceptlab #define YYABORT goto yyabortlab #define YYERROR goto yyerrorlab /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. Once GCC version 2 has supplanted version 1, this can go. */ #define YYFAIL goto yyerrlab #define YYRECOVERING() (!!yyerrstatus) #define YYBACKUP(Token, Value) \ do \ if (yychar == YYEMPTY && yylen == 1) \ { \ yychar = (Token); \ yylval = (Value); \ yytoken = YYTRANSLATE (yychar); \ YYPOPSTACK (1); \ goto yybackup; \ } \ else \ { \ yyerror (YY_("syntax error: cannot back up")); \ YYERROR; \ } \ while (YYID (0)) #define YYTERROR 1 #define YYERRCODE 256 /* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N]. If N is 0, then set CURRENT to the empty location which ends the previous symbol: RHS[0] (always defined). */ #define YYRHSLOC(Rhs, K) ((Rhs)[K]) #ifndef YYLLOC_DEFAULT # define YYLLOC_DEFAULT(Current, Rhs, N) \ do \ if (YYID (N)) \ { \ (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ } \ else \ { \ (Current).first_line = (Current).last_line = \ YYRHSLOC (Rhs, 0).last_line; \ (Current).first_column = (Current).last_column = \ YYRHSLOC (Rhs, 0).last_column; \ } \ while (YYID (0)) #endif /* YY_LOCATION_PRINT -- Print the location on the stream. This macro was not mandated originally: define only if we know we won't break user code: when these are the locations we know. */ #ifndef YY_LOCATION_PRINT # if YYLTYPE_IS_TRIVIAL # define YY_LOCATION_PRINT(File, Loc) \ fprintf (File, "%d.%d-%d.%d", \ (Loc).first_line, (Loc).first_column, \ (Loc).last_line, (Loc).last_column) # else # define YY_LOCATION_PRINT(File, Loc) ((void) 0) # endif #endif /* YYLEX -- calling `yylex' with the right arguments. */ #ifdef YYLEX_PARAM # define YYLEX yylex (&yylval, YYLEX_PARAM) #else # define YYLEX yylex (&yylval) #endif /* Enable debugging if requested. */ #if YYDEBUG # ifndef YYFPRINTF # include /* INFRINGES ON USER NAME SPACE */ # define YYFPRINTF fprintf # endif # define YYDPRINTF(Args) \ do { \ if (yydebug) \ YYFPRINTF Args; \ } while (YYID (0)) # define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ do { \ if (yydebug) \ { \ YYFPRINTF (stderr, "%s ", Title); \ yy_symbol_print (stderr, \ Type, Value); \ YYFPRINTF (stderr, "\n"); \ } \ } while (YYID (0)) /*--------------------------------. | Print this symbol on YYOUTPUT. | `--------------------------------*/ /*ARGSUSED*/ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static void yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) #else static void yy_symbol_value_print (yyoutput, yytype, yyvaluep) FILE *yyoutput; int yytype; YYSTYPE const * const yyvaluep; #endif { if (!yyvaluep) return; # ifdef YYPRINT if (yytype < YYNTOKENS) YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); # else YYUSE (yyoutput); # endif switch (yytype) { default: break; } } /*--------------------------------. | Print this symbol on YYOUTPUT. | `--------------------------------*/ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static void yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) #else static void yy_symbol_print (yyoutput, yytype, yyvaluep) FILE *yyoutput; int yytype; YYSTYPE const * const yyvaluep; #endif { if (yytype < YYNTOKENS) YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); else YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); yy_symbol_value_print (yyoutput, yytype, yyvaluep); YYFPRINTF (yyoutput, ")"); } /*------------------------------------------------------------------. | yy_stack_print -- Print the state stack from its BOTTOM up to its | | TOP (included). | `------------------------------------------------------------------*/ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static void yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) #else static void yy_stack_print (yybottom, yytop) yytype_int16 *yybottom; yytype_int16 *yytop; #endif { YYFPRINTF (stderr, "Stack now"); for (; yybottom <= yytop; yybottom++) { int yybot = *yybottom; YYFPRINTF (stderr, " %d", yybot); } YYFPRINTF (stderr, "\n"); } # define YY_STACK_PRINT(Bottom, Top) \ do { \ if (yydebug) \ yy_stack_print ((Bottom), (Top)); \ } while (YYID (0)) /*------------------------------------------------. | Report that the YYRULE is going to be reduced. | `------------------------------------------------*/ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static void yy_reduce_print (YYSTYPE *yyvsp, int yyrule) #else static void yy_reduce_print (yyvsp, yyrule) YYSTYPE *yyvsp; int yyrule; #endif { int yynrhs = yyr2[yyrule]; int yyi; unsigned long int yylno = yyrline[yyrule]; YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", yyrule - 1, yylno); /* The symbols being reduced. */ for (yyi = 0; yyi < yynrhs; yyi++) { fprintf (stderr, " $%d = ", yyi + 1); yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], &(yyvsp[(yyi + 1) - (yynrhs)]) ); fprintf (stderr, "\n"); } } # define YY_REDUCE_PRINT(Rule) \ do { \ if (yydebug) \ yy_reduce_print (yyvsp, Rule); \ } while (YYID (0)) /* Nonzero means print parse trace. It is left uninitialized so that multiple parsers can coexist. */ int yydebug; #else /* !YYDEBUG */ # define YYDPRINTF(Args) # define YY_SYMBOL_PRINT(Title, Type, Value, Location) # define YY_STACK_PRINT(Bottom, Top) # define YY_REDUCE_PRINT(Rule) #endif /* !YYDEBUG */ /* YYINITDEPTH -- initial size of the parser's stacks. */ #ifndef YYINITDEPTH # define YYINITDEPTH 200 #endif /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only if the built-in stack extension method is used). Do not make this value too large; the results are undefined if YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) evaluated with infinite-precision integer arithmetic. */ #ifndef YYMAXDEPTH # define YYMAXDEPTH 10000 #endif #if YYERROR_VERBOSE # ifndef yystrlen # if defined __GLIBC__ && defined _STRING_H # define yystrlen strlen # else /* Return the length of YYSTR. */ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static YYSIZE_T yystrlen (const char *yystr) #else static YYSIZE_T yystrlen (yystr) const char *yystr; #endif { YYSIZE_T yylen; for (yylen = 0; yystr[yylen]; yylen++) continue; return yylen; } # endif # endif # ifndef yystpcpy # if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE # define yystpcpy stpcpy # else /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in YYDEST. */ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static char * yystpcpy (char *yydest, const char *yysrc) #else static char * yystpcpy (yydest, yysrc) char *yydest; const char *yysrc; #endif { char *yyd = yydest; const char *yys = yysrc; while ((*yyd++ = *yys++) != '\0') continue; return yyd - 1; } # endif # endif # ifndef yytnamerr /* Copy to YYRES the contents of YYSTR after stripping away unnecessary quotes and backslashes, so that it's suitable for yyerror. The heuristic is that double-quoting is unnecessary unless the string contains an apostrophe, a comma, or backslash (other than backslash-backslash). YYSTR is taken from yytname. If YYRES is null, do not copy; instead, return the length of what the result would have been. */ static YYSIZE_T yytnamerr (char *yyres, const char *yystr) { if (*yystr == '"') { YYSIZE_T yyn = 0; char const *yyp = yystr; for (;;) switch (*++yyp) { case '\'': case ',': goto do_not_strip_quotes; case '\\': if (*++yyp != '\\') goto do_not_strip_quotes; /* Fall through. */ default: if (yyres) yyres[yyn] = *yyp; yyn++; break; case '"': if (yyres) yyres[yyn] = '\0'; return yyn; } do_not_strip_quotes: ; } if (! yyres) return yystrlen (yystr); return yystpcpy (yyres, yystr) - yyres; } # endif /* Copy into YYRESULT an error message about the unexpected token YYCHAR while in state YYSTATE. Return the number of bytes copied, including the terminating null byte. If YYRESULT is null, do not copy anything; just return the number of bytes that would be copied. As a special case, return 0 if an ordinary "syntax error" message will do. Return YYSIZE_MAXIMUM if overflow occurs during size calculation. */ static YYSIZE_T yysyntax_error (char *yyresult, int yystate, int yychar) { int yyn = yypact[yystate]; if (! (YYPACT_NINF < yyn && yyn <= YYLAST)) return 0; else { int yytype = YYTRANSLATE (yychar); YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]); YYSIZE_T yysize = yysize0; YYSIZE_T yysize1; int yysize_overflow = 0; enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; int yyx; # if 0 /* This is so xgettext sees the translatable formats that are constructed on the fly. */ YY_("syntax error, unexpected %s"); YY_("syntax error, unexpected %s, expecting %s"); YY_("syntax error, unexpected %s, expecting %s or %s"); YY_("syntax error, unexpected %s, expecting %s or %s or %s"); YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"); # endif char *yyfmt; char const *yyf; static char const yyunexpected[] = "syntax error, unexpected %s"; static char const yyexpecting[] = ", expecting %s"; static char const yyor[] = " or %s"; char yyformat[sizeof yyunexpected + sizeof yyexpecting - 1 + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2) * (sizeof yyor - 1))]; char const *yyprefix = yyexpecting; /* Start YYX at -YYN if negative to avoid negative indexes in YYCHECK. */ int yyxbegin = yyn < 0 ? -yyn : 0; /* Stay within bounds of both yycheck and yytname. */ int yychecklim = YYLAST - yyn + 1; int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; int yycount = 1; yyarg[0] = yytname[yytype]; yyfmt = yystpcpy (yyformat, yyunexpected); for (yyx = yyxbegin; yyx < yyxend; ++yyx) if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) { if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) { yycount = 1; yysize = yysize0; yyformat[sizeof yyunexpected - 1] = '\0'; break; } yyarg[yycount++] = yytname[yyx]; yysize1 = yysize + yytnamerr (0, yytname[yyx]); yysize_overflow |= (yysize1 < yysize); yysize = yysize1; yyfmt = yystpcpy (yyfmt, yyprefix); yyprefix = yyor; } yyf = YY_(yyformat); yysize1 = yysize + yystrlen (yyf); yysize_overflow |= (yysize1 < yysize); yysize = yysize1; if (yysize_overflow) return YYSIZE_MAXIMUM; if (yyresult) { /* Avoid sprintf, as that infringes on the user's name space. Don't have undefined behavior even if the translation produced a string with the wrong number of "%s"s. */ char *yyp = yyresult; int yyi = 0; while ((*yyp = *yyf) != '\0') { if (*yyp == '%' && yyf[1] == 's' && yyi < yycount) { yyp += yytnamerr (yyp, yyarg[yyi++]); yyf += 2; } else { yyp++; yyf++; } } } return yysize; } } #endif /* YYERROR_VERBOSE */ /*-----------------------------------------------. | Release the memory associated to this symbol. | `-----------------------------------------------*/ /*ARGSUSED*/ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) static void yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) #else static void yydestruct (yymsg, yytype, yyvaluep) const char *yymsg; int yytype; YYSTYPE *yyvaluep; #endif { YYUSE (yyvaluep); if (!yymsg) yymsg = "Deleting"; YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); switch (yytype) { default: break; } } /* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM #if defined __STDC__ || defined __cplusplus int yyparse (void *YYPARSE_PARAM); #else int yyparse (); #endif #else /* ! YYPARSE_PARAM */ #if defined __STDC__ || defined __cplusplus int yyparse (void); #else int yyparse (); #endif #endif /* ! YYPARSE_PARAM */ /*----------. | yyparse. | `----------*/ #ifdef YYPARSE_PARAM #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) int yyparse (void *YYPARSE_PARAM) #else int yyparse (YYPARSE_PARAM) void *YYPARSE_PARAM; #endif #else /* ! YYPARSE_PARAM */ #if (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) int yyparse (void) #else int yyparse () #endif #endif { /* The lookahead symbol. */ int yychar; /* The semantic value of the lookahead symbol. */ YYSTYPE yylval; /* Number of syntax errors so far. */ int yynerrs; int yystate; int yyn; int yyresult; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; /* Lookahead token as an internal (translated) token number. */ int yytoken = 0; #if YYERROR_VERBOSE /* Buffer for error messages, and its allocated size. */ char yymsgbuf[128]; char *yymsg = yymsgbuf; YYSIZE_T yymsg_alloc = sizeof yymsgbuf; #endif /* Three stacks and their tools: `yyss': related to states, `yyvs': related to semantic values, `yyls': related to locations. Refer to the stacks thru separate pointers, to allow yyoverflow to reallocate them elsewhere. */ /* The state stack. */ yytype_int16 yyssa[YYINITDEPTH]; yytype_int16 *yyss = yyssa; yytype_int16 *yyssp; /* The semantic value stack. */ YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE *yyvs = yyvsa; YYSTYPE *yyvsp; #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) YYSIZE_T yystacksize = YYINITDEPTH; /* The variables used to return semantic value and location from the action routines. */ YYSTYPE yyval; /* The number of symbols on the RHS of the reduced rule. Keep to zero when no symbol should be popped. */ int yylen = 0; YYDPRINTF ((stderr, "Starting parse\n")); yystate = 0; yyerrstatus = 0; yynerrs = 0; yychar = YYEMPTY; /* Cause a token to be read. */ /* Initialize stack pointers. Waste one element of value and location stack so that they stay on the same level as the state stack. The wasted elements are never initialized. */ yyssp = yyss; yyvsp = yyvs; goto yysetstate; /*------------------------------------------------------------. | yynewstate -- Push a new state, which is found in yystate. | `------------------------------------------------------------*/ yynewstate: /* In all cases, when you get here, the value and location stacks have just been pushed. So pushing a state here evens the stacks. */ yyssp++; yysetstate: *yyssp = yystate; if (yyss + yystacksize - 1 <= yyssp) { /* Get the current used size of the three stacks, in elements. */ YYSIZE_T yysize = yyssp - yyss + 1; #ifdef yyoverflow { /* Give user a chance to reallocate the stack. Use copies of these so that the &'s don't force the real ones into memory. */ YYSTYPE *yyvs1 = yyvs; yytype_int16 *yyss1 = yyss; /* Each stack pointer address is followed by the size of the data in use in that stack, in bytes. This used to be a conditional around just the two extra args, but that might be undefined if yyoverflow is a macro. */ yyoverflow (YY_("memory exhausted"), &yyss1, yysize * sizeof (*yyssp), &yyvs1, yysize * sizeof (*yyvsp), &yystacksize); yyss = yyss1; yyvs = yyvs1; } #else /* no yyoverflow */ # ifndef YYSTACK_RELOCATE goto yyexhaustedlab; # else /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) goto yyexhaustedlab; yystacksize *= 2; if (YYMAXDEPTH < yystacksize) yystacksize = YYMAXDEPTH; { yytype_int16 *yyss1 = yyss; union yyalloc *yyptr = (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); if (! yyptr) goto yyexhaustedlab; YYSTACK_RELOCATE (yyss); YYSTACK_RELOCATE (yyvs); # undef YYSTACK_RELOCATE if (yyss1 != yyssa) YYSTACK_FREE (yyss1); } # endif #endif /* no yyoverflow */ yyssp = yyss + yysize - 1; yyvsp = yyvs + yysize - 1; YYDPRINTF ((stderr, "Stack size increased to %lu\n", (unsigned long int) yystacksize)); if (yyss + yystacksize - 1 <= yyssp) YYABORT; } YYDPRINTF ((stderr, "Entering state %d\n", yystate)); if (yystate == YYFINAL) YYACCEPT; goto yybackup; /*-----------. | yybackup. | `-----------*/ yybackup: /* Do appropriate processing given the current state. Read a lookahead token if we need one and don't already have one. */ /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; if (yyn == YYPACT_NINF) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ if (yychar == YYEMPTY) { YYDPRINTF ((stderr, "Reading a token: ")); yychar = YYLEX; } if (yychar <= YYEOF) { yychar = yytoken = YYEOF; YYDPRINTF ((stderr, "Now at end of input.\n")); } else { yytoken = YYTRANSLATE (yychar); YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); } /* If the proper action on seeing token YYTOKEN is to reduce or to detect an error, take that action. */ yyn += yytoken; if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) goto yydefault; yyn = yytable[yyn]; if (yyn <= 0) { if (yyn == 0 || yyn == YYTABLE_NINF) goto yyerrlab; yyn = -yyn; goto yyreduce; } /* Count tokens shifted since error; after three, turn off error status. */ if (yyerrstatus) yyerrstatus--; /* Shift the lookahead token. */ YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); /* Discard the shifted token. */ yychar = YYEMPTY; yystate = yyn; *++yyvsp = yylval; goto yynewstate; /*-----------------------------------------------------------. | yydefault -- do the default action for the current state. | `-----------------------------------------------------------*/ yydefault: yyn = yydefact[yystate]; if (yyn == 0) goto yyerrlab; goto yyreduce; /*-----------------------------. | yyreduce -- Do a reduction. | `-----------------------------*/ yyreduce: /* yyn is the number of a rule to reduce with. */ yylen = yyr2[yyn]; /* If YYLEN is nonzero, implement the default value of the action: `$$ = $1'. Otherwise, the following line sets YYVAL to garbage. This behavior is undocumented and Bison users should not rely upon it. Assigning to YYVAL unconditionally makes the parser a bit smaller, and it avoids a GCC warning that YYVAL may be used uninitialized. */ yyval = yyvsp[1-yylen]; YY_REDUCE_PRINT (yyn); switch (yyn) { case 2: /* Line 1269 of yacc.c. */ #line 155 "plural.y" { if ((yyvsp[(1) - (1)].exp) == NULL) YYABORT; ((struct parse_args *) arg)->res = (yyvsp[(1) - (1)].exp); } break; case 3: /* Line 1269 of yacc.c. */ #line 163 "plural.y" { (yyval.exp) = new_exp_3 (qmop, (yyvsp[(1) - (5)].exp), (yyvsp[(3) - (5)].exp), (yyvsp[(5) - (5)].exp)); } break; case 4: /* Line 1269 of yacc.c. */ #line 167 "plural.y" { (yyval.exp) = new_exp_2 (lor, (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp)); } break; case 5: /* Line 1269 of yacc.c. */ #line 171 "plural.y" { (yyval.exp) = new_exp_2 (land, (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp)); } break; case 6: /* Line 1269 of yacc.c. */ #line 175 "plural.y" { (yyval.exp) = new_exp_2 ((yyvsp[(2) - (3)].op), (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp)); } break; case 7: /* Line 1269 of yacc.c. */ #line 179 "plural.y" { (yyval.exp) = new_exp_2 ((yyvsp[(2) - (3)].op), (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp)); } break; case 8: /* Line 1269 of yacc.c. */ #line 183 "plural.y" { (yyval.exp) = new_exp_2 ((yyvsp[(2) - (3)].op), (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp)); } break; case 9: /* Line 1269 of yacc.c. */ #line 187 "plural.y" { (yyval.exp) = new_exp_2 ((yyvsp[(2) - (3)].op), (yyvsp[(1) - (3)].exp), (yyvsp[(3) - (3)].exp)); } break; case 10: /* Line 1269 of yacc.c. */ #line 191 "plural.y" { (yyval.exp) = new_exp_1 (lnot, (yyvsp[(2) - (2)].exp)); } break; case 11: /* Line 1269 of yacc.c. */ #line 195 "plural.y" { (yyval.exp) = new_exp_0 (var); } break; case 12: /* Line 1269 of yacc.c. */ #line 199 "plural.y" { if (((yyval.exp) = new_exp_0 (num)) != NULL) (yyval.exp)->val.num = (yyvsp[(1) - (1)].num); } break; case 13: /* Line 1269 of yacc.c. */ #line 204 "plural.y" { (yyval.exp) = (yyvsp[(2) - (3)].exp); } break; /* Line 1269 of yacc.c. */ #line 1572 "plural.c" default: break; } YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); YYPOPSTACK (yylen); yylen = 0; YY_STACK_PRINT (yyss, yyssp); *++yyvsp = yyval; /* Now `shift' the result of the reduction. Determine what state that goes to, based on the state we popped back to and the rule number reduced by. */ yyn = yyr1[yyn]; yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) yystate = yytable[yystate]; else yystate = yydefgoto[yyn - YYNTOKENS]; goto yynewstate; /*------------------------------------. | yyerrlab -- here on detecting error | `------------------------------------*/ yyerrlab: /* If not already recovering from an error, report this error. */ if (!yyerrstatus) { ++yynerrs; #if ! YYERROR_VERBOSE yyerror (YY_("syntax error")); #else { YYSIZE_T yysize = yysyntax_error (0, yystate, yychar); if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM) { YYSIZE_T yyalloc = 2 * yysize; if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM)) yyalloc = YYSTACK_ALLOC_MAXIMUM; if (yymsg != yymsgbuf) YYSTACK_FREE (yymsg); yymsg = (char *) YYSTACK_ALLOC (yyalloc); if (yymsg) yymsg_alloc = yyalloc; else { yymsg = yymsgbuf; yymsg_alloc = sizeof yymsgbuf; } } if (0 < yysize && yysize <= yymsg_alloc) { (void) yysyntax_error (yymsg, yystate, yychar); yyerror (yymsg); } else { yyerror (YY_("syntax error")); if (yysize != 0) goto yyexhaustedlab; } } #endif } if (yyerrstatus == 3) { /* If just tried and failed to reuse lookahead token after an error, discard it. */ if (yychar <= YYEOF) { /* Return failure if at end of input. */ if (yychar == YYEOF) YYABORT; } else { yydestruct ("Error: discarding", yytoken, &yylval); yychar = YYEMPTY; } } /* Else will try to reuse lookahead token after shifting the error token. */ goto yyerrlab1; /*---------------------------------------------------. | yyerrorlab -- error raised explicitly by YYERROR. | `---------------------------------------------------*/ yyerrorlab: /* Pacify compilers like GCC when the user code never invokes YYERROR and the label yyerrorlab therefore never appears in user code. */ if (/*CONSTCOND*/ 0) goto yyerrorlab; /* Do not reclaim the symbols of the rule which action triggered this YYERROR. */ YYPOPSTACK (yylen); yylen = 0; YY_STACK_PRINT (yyss, yyssp); yystate = *yyssp; goto yyerrlab1; /*-------------------------------------------------------------. | yyerrlab1 -- common code for both syntax error and YYERROR. | `-------------------------------------------------------------*/ yyerrlab1: yyerrstatus = 3; /* Each real token shifted decrements this. */ for (;;) { yyn = yypact[yystate]; if (yyn != YYPACT_NINF) { yyn += YYTERROR; if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) { yyn = yytable[yyn]; if (0 < yyn) break; } } /* Pop the current state because it cannot handle the error token. */ if (yyssp == yyss) YYABORT; yydestruct ("Error: popping", yystos[yystate], yyvsp); YYPOPSTACK (1); yystate = *yyssp; YY_STACK_PRINT (yyss, yyssp); } *++yyvsp = yylval; /* Shift the error token. */ YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); yystate = yyn; goto yynewstate; /*-------------------------------------. | yyacceptlab -- YYACCEPT comes here. | `-------------------------------------*/ yyacceptlab: yyresult = 0; goto yyreturn; /*-----------------------------------. | yyabortlab -- YYABORT comes here. | `-----------------------------------*/ yyabortlab: yyresult = 1; goto yyreturn; #ifndef yyoverflow /*-------------------------------------------------. | yyexhaustedlab -- memory exhaustion comes here. | `-------------------------------------------------*/ yyexhaustedlab: yyerror (YY_("memory exhausted")); yyresult = 2; /* Fall through. */ #endif yyreturn: if (yychar != YYEMPTY) yydestruct ("Cleanup: discarding lookahead", yytoken, &yylval); /* Do not reclaim the symbols of the rule which action triggered this YYABORT or YYACCEPT. */ YYPOPSTACK (yylen); YY_STACK_PRINT (yyss, yyssp); while (yyssp != yyss) { yydestruct ("Cleanup: popping", yystos[*yyssp], yyvsp); YYPOPSTACK (1); } #ifndef yyoverflow if (yyss != yyssa) YYSTACK_FREE (yyss); #endif #if YYERROR_VERBOSE if (yymsg != yymsgbuf) YYSTACK_FREE (yymsg); #endif /* Make sure YYID is used. */ return YYID (yyresult); } /* Line 1486 of yacc.c. */ #line 209 "plural.y" void internal_function FREE_EXPRESSION (struct expression *exp) { if (exp == NULL) return; /* Handle the recursive case. */ switch (exp->nargs) { case 3: FREE_EXPRESSION (exp->val.args[2]); /* FALLTHROUGH */ case 2: FREE_EXPRESSION (exp->val.args[1]); /* FALLTHROUGH */ case 1: FREE_EXPRESSION (exp->val.args[0]); /* FALLTHROUGH */ default: break; } free (exp); } static int yylex (YYSTYPE *lval, const char **pexp) { const char *exp = *pexp; int result; while (1) { if (exp[0] == '\0') { *pexp = exp; return YYEOF; } if (exp[0] != ' ' && exp[0] != '\t') break; ++exp; } result = *exp++; switch (result) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': { unsigned long int n = result - '0'; while (exp[0] >= '0' && exp[0] <= '9') { n *= 10; n += exp[0] - '0'; ++exp; } lval->num = n; result = NUMBER; } break; case '=': if (exp[0] == '=') { ++exp; lval->op = equal; result = EQUOP2; } else result = YYERRCODE; break; case '!': if (exp[0] == '=') { ++exp; lval->op = not_equal; result = EQUOP2; } break; case '&': case '|': if (exp[0] == result) ++exp; else result = YYERRCODE; break; case '<': if (exp[0] == '=') { ++exp; lval->op = less_or_equal; } else lval->op = less_than; result = CMPOP2; break; case '>': if (exp[0] == '=') { ++exp; lval->op = greater_or_equal; } else lval->op = greater_than; result = CMPOP2; break; case '*': lval->op = mult; result = MULOP2; break; case '/': lval->op = divide; result = MULOP2; break; case '%': lval->op = module; result = MULOP2; break; case '+': lval->op = plus; result = ADDOP2; break; case '-': lval->op = minus; result = ADDOP2; break; case 'n': case '?': case ':': case '(': case ')': /* Nothing, just return the character. */ break; case ';': case '\n': case '\0': /* Be safe and let the user call this function again. */ --exp; result = YYEOF; break; default: result = YYERRCODE; #if YYDEBUG != 0 --exp; #endif break; } *pexp = exp; return result; } static void yyerror (const char *str) { /* Do nothing. We don't print error messages here. */ } vorbis-tools-1.4.2/intl/dngettext.c0000644000175000017500000000354613767140576014251 00000000000000/* Implementation of the dngettext(3) function. Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include "gettextP.h" #include #ifdef _LIBC # include #else # include "libgnuintl.h" #endif /* @@ end of prolog @@ */ /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define DNGETTEXT __dngettext # define DCNGETTEXT __dcngettext #else # define DNGETTEXT libintl_dngettext # define DCNGETTEXT libintl_dcngettext #endif /* Look up MSGID in the DOMAINNAME message catalog of the current LC_MESSAGES locale and skip message according to the plural form. */ char * DNGETTEXT (const char *domainname, const char *msgid1, const char *msgid2, unsigned long int n) { return DCNGETTEXT (domainname, msgid1, msgid2, n, LC_MESSAGES); } #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__dngettext, dngettext); #endif vorbis-tools-1.4.2/intl/VERSION0000644000175000017500000000004613767140576013137 00000000000000GNU gettext library from gettext-0.17 vorbis-tools-1.4.2/intl/Makefile.in0000644000175000017500000005041313767150141014124 00000000000000# Makefile for directory with message catalog handling library of GNU gettext # Copyright (C) 1995-1998, 2000-2007 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU Library General Public License as published # by the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = /bin/sh srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = .. # The VPATH variables allows builds with $builddir != $srcdir, assuming a # 'make' program that supports VPATH (such as GNU make). This line is removed # by autoconf automatically when "$(srcdir)" = ".". # In this directory, the VPATH handling is particular: # 1. If INTL_LIBTOOL_SUFFIX_PREFIX is 'l' (indicating a build with libtool), # the .c -> .lo rules carefully use $(srcdir), so that VPATH can be omitted. # 2. If PACKAGE = gettext-tools, VPATH _must_ be omitted, because otherwise # 'make' does the wrong thing if GNU gettext was configured with # "./configure --srcdir=`pwd`", namely it gets confused by the .lo and .la # files it finds in srcdir = ../../gettext-runtime/intl. VPATH = $(srcdir) prefix = @prefix@ exec_prefix = @exec_prefix@ transform = @program_transform_name@ libdir = @libdir@ includedir = @includedir@ datarootdir = @datarootdir@ datadir = @datadir@ localedir = $(datadir)/locale gettextsrcdir = $(datadir)/gettext/intl aliaspath = $(localedir) subdir = intl 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@ l = @INTL_LIBTOOL_SUFFIX_PREFIX@ AR = ar CC = @CC@ LIBTOOL = @LIBTOOL@ RANLIB = @RANLIB@ YACC = @INTLBISON@ -y -d YFLAGS = --name-prefix=__gettext WINDRES = @WINDRES@ # -DBUILDING_LIBINTL: Change expansion of LIBINTL_DLL_EXPORTED macro. # -DBUILDING_DLL: Change expansion of RELOCATABLE_DLL_EXPORTED macro. DEFS = -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \ -DLIBDIR=\"$(libdir)\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL \ -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DNO_XMALLOC \ -Dset_relocation_prefix=libintl_set_relocation_prefix \ -Drelocate=libintl_relocate \ -DDEPENDS_ON_LIBICONV=1 @DEFS@ CPPFLAGS = @CPPFLAGS@ CFLAGS = @CFLAGS@ @CFLAG_VISIBILITY@ LDFLAGS = @LDFLAGS@ $(LDFLAGS_@WOE32DLL@) LDFLAGS_yes = -Wl,--export-all-symbols LDFLAGS_no = LIBS = @LIBS@ COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) HEADERS = \ gmo.h \ gettextP.h \ hash-string.h \ loadinfo.h \ plural-exp.h \ eval-plural.h \ localcharset.h \ lock.h \ relocatable.h \ tsearch.h tsearch.c \ xsize.h \ printf-args.h printf-args.c \ printf-parse.h wprintf-parse.h printf-parse.c \ vasnprintf.h vasnwprintf.h vasnprintf.c \ os2compat.h \ libgnuintl.h.in SOURCES = \ bindtextdom.c \ dcgettext.c \ dgettext.c \ gettext.c \ finddomain.c \ hash-string.c \ loadmsgcat.c \ localealias.c \ textdomain.c \ l10nflist.c \ explodename.c \ dcigettext.c \ dcngettext.c \ dngettext.c \ ngettext.c \ plural.y \ plural-exp.c \ localcharset.c \ lock.c \ relocatable.c \ langprefs.c \ localename.c \ log.c \ printf.c \ version.c \ osdep.c \ os2compat.c \ intl-exports.c \ intl-compat.c OBJECTS = \ bindtextdom.$lo \ dcgettext.$lo \ dgettext.$lo \ gettext.$lo \ finddomain.$lo \ hash-string.$lo \ loadmsgcat.$lo \ localealias.$lo \ textdomain.$lo \ l10nflist.$lo \ explodename.$lo \ dcigettext.$lo \ dcngettext.$lo \ dngettext.$lo \ ngettext.$lo \ plural.$lo \ plural-exp.$lo \ localcharset.$lo \ lock.$lo \ relocatable.$lo \ langprefs.$lo \ localename.$lo \ log.$lo \ printf.$lo \ version.$lo \ osdep.$lo \ intl-compat.$lo OBJECTS_RES_yes = libintl.res OBJECTS_RES_no = DISTFILES.common = Makefile.in \ config.charset locale.alias ref-add.sin ref-del.sin export.h libintl.rc \ $(HEADERS) $(SOURCES) DISTFILES.generated = plural.c DISTFILES.normal = VERSION DISTFILES.gettext = COPYING.LIB-2.0 COPYING.LIB-2.1 libintl.glibc README.woe32 DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c \ COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h \ libgnuintl.h_vms Makefile.vms libgnuintl.h.msvc-static \ libgnuintl.h.msvc-shared Makefile.msvc all: all-@USE_INCLUDED_LIBINTL@ all-yes: libintl.$la libintl.h charset.alias ref-add.sed ref-del.sed all-no: all-no-@BUILD_INCLUDED_LIBINTL@ all-no-yes: libgnuintl.$la all-no-no: libintl.a libgnuintl.a: $(OBJECTS) rm -f $@ $(AR) cru $@ $(OBJECTS) $(RANLIB) $@ libintl.la libgnuintl.la: $(OBJECTS) $(OBJECTS_RES_@WOE32@) $(LIBTOOL) --mode=link \ $(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \ $(OBJECTS) @LTLIBICONV@ @INTL_MACOSX_LIBS@ $(LIBS) @LTLIBTHREAD@ @LTLIBC@ \ $(OBJECTS_RES_@WOE32@) \ -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \ -rpath $(libdir) \ -no-undefined # Libtool's library version information for libintl. # Before making a gettext release, the gettext maintainer must change this # according to the libtool documentation, section "Library interface versions". # Maintainers of other packages that include the intl directory must *not* # change these values. LTV_CURRENT=8 LTV_REVISION=2 LTV_AGE=0 .SUFFIXES: .SUFFIXES: .c .y .o .lo .sin .sed .c.o: $(COMPILE) $< .y.c: $(YACC) $(YFLAGS) --output $@ $< rm -f $*.h bindtextdom.lo: $(srcdir)/bindtextdom.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/bindtextdom.c dcgettext.lo: $(srcdir)/dcgettext.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dcgettext.c dgettext.lo: $(srcdir)/dgettext.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dgettext.c gettext.lo: $(srcdir)/gettext.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/gettext.c finddomain.lo: $(srcdir)/finddomain.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/finddomain.c hash-string.lo: $(srcdir)/hash-string.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/hash-string.c loadmsgcat.lo: $(srcdir)/loadmsgcat.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/loadmsgcat.c localealias.lo: $(srcdir)/localealias.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/localealias.c textdomain.lo: $(srcdir)/textdomain.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/textdomain.c l10nflist.lo: $(srcdir)/l10nflist.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/l10nflist.c explodename.lo: $(srcdir)/explodename.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/explodename.c dcigettext.lo: $(srcdir)/dcigettext.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dcigettext.c dcngettext.lo: $(srcdir)/dcngettext.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dcngettext.c dngettext.lo: $(srcdir)/dngettext.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dngettext.c ngettext.lo: $(srcdir)/ngettext.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/ngettext.c plural.lo: $(srcdir)/plural.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/plural.c plural-exp.lo: $(srcdir)/plural-exp.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/plural-exp.c localcharset.lo: $(srcdir)/localcharset.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/localcharset.c lock.lo: $(srcdir)/lock.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/lock.c relocatable.lo: $(srcdir)/relocatable.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/relocatable.c langprefs.lo: $(srcdir)/langprefs.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/langprefs.c localename.lo: $(srcdir)/localename.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/localename.c log.lo: $(srcdir)/log.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/log.c printf.lo: $(srcdir)/printf.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/printf.c version.lo: $(srcdir)/version.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/version.c osdep.lo: $(srcdir)/osdep.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/osdep.c intl-compat.lo: $(srcdir)/intl-compat.c $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/intl-compat.c # This rule is executed only on Woe32 systems. # The following sed expressions come from the windres-options script. They are # inlined here, so that they can be written in a Makefile without requiring a # temporary file. They must contain literal newlines rather than semicolons, # so that they work with the sed-3.02 that is shipped with MSYS. We can use # GNU bash's $'\n' syntax to obtain such a newline. libintl.res: $(srcdir)/libintl.rc nl=$$'\n'; \ sed_extract_major='/^[0-9]/{'$${nl}'s/^\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \ sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{'$${nl}'s/^[0-9]*[.]\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \ sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{'$${nl}'s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \ $(WINDRES) \ "-DPACKAGE_VERSION_STRING=\\\"$(VERSION)\\\"" \ "-DPACKAGE_VERSION_MAJOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_major"` \ "-DPACKAGE_VERSION_MINOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_minor"` \ "-DPACKAGE_VERSION_SUBMINOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_subminor"` \ -i $(srcdir)/libintl.rc -o libintl.res --output-format=coff ref-add.sed: $(srcdir)/ref-add.sin sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $(srcdir)/ref-add.sin > t-ref-add.sed mv t-ref-add.sed ref-add.sed ref-del.sed: $(srcdir)/ref-del.sin sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $(srcdir)/ref-del.sin > t-ref-del.sed mv t-ref-del.sed ref-del.sed INCLUDES = -I. -I$(srcdir) -I.. libgnuintl.h: $(srcdir)/libgnuintl.h.in sed -e '/IN_LIBGLOCALE/d' \ -e 's,@''HAVE_POSIX_PRINTF''@,@HAVE_POSIX_PRINTF@,g' \ -e 's,@''HAVE_ASPRINTF''@,@HAVE_ASPRINTF@,g' \ -e 's,@''HAVE_SNPRINTF''@,@HAVE_SNPRINTF@,g' \ -e 's,@''HAVE_WPRINTF''@,@HAVE_WPRINTF@,g' \ < $(srcdir)/libgnuintl.h.in \ | if test '@WOE32DLL@' = yes; then \ sed -e 's/extern \([^()]*\);/extern __declspec (dllimport) \1;/'; \ else \ cat; \ fi \ | sed -e 's/extern \([^"]\)/extern LIBINTL_DLL_EXPORTED \1/' \ -e "/#define _LIBINTL_H/r $(srcdir)/export.h" \ | sed -e 's,@''HAVE_VISIBILITY''@,@HAVE_VISIBILITY@,g' \ > libgnuintl.h libintl.h: $(srcdir)/libgnuintl.h.in sed -e '/IN_LIBGLOCALE/d' \ -e 's,@''HAVE_POSIX_PRINTF''@,@HAVE_POSIX_PRINTF@,g' \ -e 's,@''HAVE_ASPRINTF''@,@HAVE_ASPRINTF@,g' \ -e 's,@''HAVE_SNPRINTF''@,@HAVE_SNPRINTF@,g' \ -e 's,@''HAVE_WPRINTF''@,@HAVE_WPRINTF@,g' \ < $(srcdir)/libgnuintl.h.in > libintl.h charset.alias: $(srcdir)/config.charset $(SHELL) $(srcdir)/config.charset '@host@' > t-$@ mv t-$@ $@ check: all # We must not install the libintl.h/libintl.a files if we are on a # system which has the GNU gettext() function in its C library or in a # separate library. # If you want to use the one which comes with this version of the # package, you have to use `configure --with-included-gettext'. install: install-exec install-data install-exec: all if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \ && test '@USE_INCLUDED_LIBINTL@' = yes; then \ $(mkdir_p) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \ $(INSTALL_DATA) libintl.h $(DESTDIR)$(includedir)/libintl.h; \ $(LIBTOOL) --mode=install \ $(INSTALL_DATA) libintl.$la $(DESTDIR)$(libdir)/libintl.$la; \ if test "@RELOCATABLE@" = yes; then \ dependencies=`sed -n -e 's,^dependency_libs=\(.*\),\1,p' < $(DESTDIR)$(libdir)/libintl.la | sed -e "s,^',," -e "s,'\$$,,"`; \ if test -n "$$dependencies"; then \ rm -f $(DESTDIR)$(libdir)/libintl.la; \ fi; \ fi; \ else \ : ; \ fi if test "$(PACKAGE)" = "gettext-tools" \ && test '@USE_INCLUDED_LIBINTL@' = no \ && test @GLIBC2@ != no; then \ $(mkdir_p) $(DESTDIR)$(libdir); \ $(LIBTOOL) --mode=install \ $(INSTALL_DATA) libgnuintl.$la $(DESTDIR)$(libdir)/libgnuintl.$la; \ rm -f $(DESTDIR)$(libdir)/preloadable_libintl.so; \ $(INSTALL_DATA) $(DESTDIR)$(libdir)/libgnuintl.so $(DESTDIR)$(libdir)/preloadable_libintl.so; \ $(LIBTOOL) --mode=uninstall \ rm -f $(DESTDIR)$(libdir)/libgnuintl.$la; \ else \ : ; \ fi if test '@USE_INCLUDED_LIBINTL@' = yes; then \ test @GLIBC21@ != no || $(mkdir_p) $(DESTDIR)$(libdir); \ temp=$(DESTDIR)$(libdir)/t-charset.alias; \ dest=$(DESTDIR)$(libdir)/charset.alias; \ if test -f $(DESTDIR)$(libdir)/charset.alias; then \ orig=$(DESTDIR)$(libdir)/charset.alias; \ sed -f ref-add.sed $$orig > $$temp; \ $(INSTALL_DATA) $$temp $$dest; \ rm -f $$temp; \ else \ if test @GLIBC21@ = no; then \ orig=charset.alias; \ sed -f ref-add.sed $$orig > $$temp; \ $(INSTALL_DATA) $$temp $$dest; \ rm -f $$temp; \ fi; \ fi; \ $(mkdir_p) $(DESTDIR)$(localedir); \ test -f $(DESTDIR)$(localedir)/locale.alias \ && orig=$(DESTDIR)$(localedir)/locale.alias \ || orig=$(srcdir)/locale.alias; \ temp=$(DESTDIR)$(localedir)/t-locale.alias; \ dest=$(DESTDIR)$(localedir)/locale.alias; \ sed -f ref-add.sed $$orig > $$temp; \ $(INSTALL_DATA) $$temp $$dest; \ rm -f $$temp; \ else \ : ; \ fi install-data: all if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ $(INSTALL_DATA) VERSION $(DESTDIR)$(gettextsrcdir)/VERSION; \ $(INSTALL_DATA) ChangeLog.inst $(DESTDIR)$(gettextsrcdir)/ChangeLog; \ dists="COPYING.LIB-2.0 COPYING.LIB-2.1 $(DISTFILES.common)"; \ for file in $$dists; do \ $(INSTALL_DATA) $(srcdir)/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ chmod a+x $(DESTDIR)$(gettextsrcdir)/config.charset; \ dists="$(DISTFILES.generated)"; \ for file in $$dists; do \ if test -f $$file; then dir=.; else dir=$(srcdir); fi; \ $(INSTALL_DATA) $$dir/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ dists="$(DISTFILES.obsolete)"; \ for file in $$dists; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi install-strip: install install-dvi install-html install-info install-ps install-pdf: installdirs: if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \ && test '@USE_INCLUDED_LIBINTL@' = yes; then \ $(mkdir_p) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \ else \ : ; \ fi if test "$(PACKAGE)" = "gettext-tools" \ && test '@USE_INCLUDED_LIBINTL@' = no \ && test @GLIBC2@ != no; then \ $(mkdir_p) $(DESTDIR)$(libdir); \ else \ : ; \ fi if test '@USE_INCLUDED_LIBINTL@' = yes; then \ test @GLIBC21@ != no || $(mkdir_p) $(DESTDIR)$(libdir); \ $(mkdir_p) $(DESTDIR)$(localedir); \ else \ : ; \ fi if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ else \ : ; \ fi # Define this as empty until I found a useful application. installcheck: uninstall: if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \ && test '@USE_INCLUDED_LIBINTL@' = yes; then \ rm -f $(DESTDIR)$(includedir)/libintl.h; \ $(LIBTOOL) --mode=uninstall \ rm -f $(DESTDIR)$(libdir)/libintl.$la; \ else \ : ; \ fi if test "$(PACKAGE)" = "gettext-tools" \ && test '@USE_INCLUDED_LIBINTL@' = no \ && test @GLIBC2@ != no; then \ rm -f $(DESTDIR)$(libdir)/preloadable_libintl.so; \ else \ : ; \ fi if test '@USE_INCLUDED_LIBINTL@' = yes; then \ if test -f $(DESTDIR)$(libdir)/charset.alias; then \ temp=$(DESTDIR)$(libdir)/t-charset.alias; \ dest=$(DESTDIR)$(libdir)/charset.alias; \ sed -f ref-del.sed $$dest > $$temp; \ if grep '^# Packages using this file: $$' $$temp > /dev/null; then \ rm -f $$dest; \ else \ $(INSTALL_DATA) $$temp $$dest; \ fi; \ rm -f $$temp; \ fi; \ if test -f $(DESTDIR)$(localedir)/locale.alias; then \ temp=$(DESTDIR)$(localedir)/t-locale.alias; \ dest=$(DESTDIR)$(localedir)/locale.alias; \ sed -f ref-del.sed $$dest > $$temp; \ if grep '^# Packages using this file: $$' $$temp > /dev/null; then \ rm -f $$dest; \ else \ $(INSTALL_DATA) $$temp $$dest; \ fi; \ rm -f $$temp; \ fi; \ else \ : ; \ fi if test "$(PACKAGE)" = "gettext-tools"; then \ for file in VERSION ChangeLog COPYING.LIB-2.0 COPYING.LIB-2.1 $(DISTFILES.common) $(DISTFILES.generated); do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi info dvi ps pdf html: $(OBJECTS): ../config.h libgnuintl.h bindtextdom.$lo dcgettext.$lo dcigettext.$lo dcngettext.$lo dgettext.$lo dngettext.$lo finddomain.$lo gettext.$lo intl-compat.$lo loadmsgcat.$lo localealias.$lo ngettext.$lo textdomain.$lo: $(srcdir)/gettextP.h $(srcdir)/gmo.h $(srcdir)/loadinfo.h hash-string.$lo dcigettext.$lo loadmsgcat.$lo: $(srcdir)/hash-string.h explodename.$lo l10nflist.$lo: $(srcdir)/loadinfo.h dcigettext.$lo loadmsgcat.$lo plural.$lo plural-exp.$lo: $(srcdir)/plural-exp.h dcigettext.$lo: $(srcdir)/eval-plural.h localcharset.$lo: $(srcdir)/localcharset.h bindtextdom.$lo dcigettext.$lo finddomain.$lo loadmsgcat.$lo localealias.$lo lock.$lo log.$lo: $(srcdir)/lock.h localealias.$lo localcharset.$lo relocatable.$lo: $(srcdir)/relocatable.h printf.$lo: $(srcdir)/printf-args.h $(srcdir)/printf-args.c $(srcdir)/printf-parse.h $(srcdir)/wprintf-parse.h $(srcdir)/xsize.h $(srcdir)/printf-parse.c $(srcdir)/vasnprintf.h $(srcdir)/vasnwprintf.h $(srcdir)/vasnprintf.c # A bison-2.1 generated plural.c includes if ENABLE_NLS. PLURAL_DEPS_yes = libintl.h PLURAL_DEPS_no = plural.$lo: $(PLURAL_DEPS_@USE_INCLUDED_LIBINTL@) tags: TAGS TAGS: $(HEADERS) $(SOURCES) here=`pwd`; cd $(srcdir) && etags -o $$here/TAGS $(HEADERS) $(SOURCES) ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) here=`pwd`; cd $(srcdir) && ctags -o $$here/CTAGS $(HEADERS) $(SOURCES) id: ID ID: $(HEADERS) $(SOURCES) here=`pwd`; cd $(srcdir) && mkid -f$$here/ID $(HEADERS) $(SOURCES) mostlyclean: rm -f *.a *.la *.o *.obj *.lo libintl.res core core.* rm -f libgnuintl.h libintl.h charset.alias ref-add.sed ref-del.sed rm -f -r .libs _libs clean: mostlyclean distclean: clean rm -f Makefile ID TAGS if test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; then \ rm -f ChangeLog.inst $(DISTFILES.normal); \ else \ : ; \ fi maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." # GNU gettext needs not contain the file `VERSION' but contains some # other files which should not be distributed in other packages. distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: Makefile if test "$(PACKAGE)" = "gettext-tools"; then \ : ; \ else \ if test "$(PACKAGE)" = "gettext-runtime"; then \ additional="$(DISTFILES.gettext)"; \ else \ additional="$(DISTFILES.normal)"; \ fi; \ $(MAKE) $(DISTFILES.common) $(DISTFILES.generated) $$additional; \ for file in ChangeLog $(DISTFILES.common) $(DISTFILES.generated) $$additional; do \ if test -f $$file; then dir=.; else dir=$(srcdir); fi; \ cp -p $$dir/$$file $(distdir) || test $$file = Makefile.in || exit 1; \ done; \ fi Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status # This would be more efficient, but doesn't work any more with autoconf-2.57, # when AC_CONFIG_FILES([intl/Makefile:somedir/Makefile.in]) is used. # cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ # 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: vorbis-tools-1.4.2/intl/config.charset0000755000175000017500000004702613767140576014723 00000000000000#! /bin/sh # Output a system dependent table of character encoding aliases. # # Copyright (C) 2000-2004, 2006 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU Library General Public License as published # by the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # # The table consists of lines of the form # ALIAS CANONICAL # # ALIAS is the (system dependent) result of "nl_langinfo (CODESET)". # ALIAS is compared in a case sensitive way. # # CANONICAL is the GNU canonical name for this character encoding. # It must be an encoding supported by libiconv. Support by GNU libc is # also desirable. CANONICAL is case insensitive. Usually an upper case # MIME charset name is preferred. # The current list of GNU canonical charset names is as follows. # # name MIME? used by which systems # ASCII, ANSI_X3.4-1968 glibc solaris freebsd netbsd darwin # ISO-8859-1 Y glibc aix hpux irix osf solaris freebsd netbsd darwin # ISO-8859-2 Y glibc aix hpux irix osf solaris freebsd netbsd darwin # ISO-8859-3 Y glibc solaris # ISO-8859-4 Y osf solaris freebsd netbsd darwin # ISO-8859-5 Y glibc aix hpux irix osf solaris freebsd netbsd darwin # ISO-8859-6 Y glibc aix hpux solaris # ISO-8859-7 Y glibc aix hpux irix osf solaris netbsd darwin # ISO-8859-8 Y glibc aix hpux osf solaris # ISO-8859-9 Y glibc aix hpux irix osf solaris darwin # ISO-8859-13 glibc netbsd darwin # ISO-8859-14 glibc # ISO-8859-15 glibc aix osf solaris freebsd darwin # KOI8-R Y glibc solaris freebsd netbsd darwin # KOI8-U Y glibc freebsd netbsd darwin # KOI8-T glibc # CP437 dos # CP775 dos # CP850 aix osf dos # CP852 dos # CP855 dos # CP856 aix # CP857 dos # CP861 dos # CP862 dos # CP864 dos # CP865 dos # CP866 freebsd netbsd darwin dos # CP869 dos # CP874 woe32 dos # CP922 aix # CP932 aix woe32 dos # CP943 aix # CP949 osf woe32 dos # CP950 woe32 dos # CP1046 aix # CP1124 aix # CP1125 dos # CP1129 aix # CP1250 woe32 # CP1251 glibc solaris netbsd darwin woe32 # CP1252 aix woe32 # CP1253 woe32 # CP1254 woe32 # CP1255 glibc woe32 # CP1256 woe32 # CP1257 woe32 # GB2312 Y glibc aix hpux irix solaris freebsd netbsd darwin # EUC-JP Y glibc aix hpux irix osf solaris freebsd netbsd darwin # EUC-KR Y glibc aix hpux irix osf solaris freebsd netbsd darwin # EUC-TW glibc aix hpux irix osf solaris netbsd # BIG5 Y glibc aix hpux osf solaris freebsd netbsd darwin # BIG5-HKSCS glibc solaris # GBK glibc aix osf solaris woe32 dos # GB18030 glibc solaris netbsd # SHIFT_JIS Y hpux osf solaris freebsd netbsd darwin # JOHAB glibc solaris woe32 # TIS-620 glibc aix hpux osf solaris # VISCII Y glibc # TCVN5712-1 glibc # GEORGIAN-PS glibc # HP-ROMAN8 hpux # HP-ARABIC8 hpux # HP-GREEK8 hpux # HP-HEBREW8 hpux # HP-TURKISH8 hpux # HP-KANA8 hpux # DEC-KANJI osf # DEC-HANYU osf # UTF-8 Y glibc aix hpux osf solaris netbsd darwin # # Note: Names which are not marked as being a MIME name should not be used in # Internet protocols for information interchange (mail, news, etc.). # # Note: ASCII and ANSI_X3.4-1968 are synonymous canonical names. Applications # must understand both names and treat them as equivalent. # # The first argument passed to this file is the canonical host specification, # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM host="$1" os=`echo "$host" | sed -e 's/^[^-]*-[^-]*-\(.*\)$/\1/'` echo "# This file contains a table of character encoding aliases," echo "# suitable for operating system '${os}'." echo "# It was automatically generated from config.charset." # List of references, updated during installation: echo "# Packages using this file: " case "$os" in linux-gnulibc1*) # Linux libc5 doesn't have nl_langinfo(CODESET); therefore # localcharset.c falls back to using the full locale name # from the environment variables. echo "C ASCII" echo "POSIX ASCII" for l in af af_ZA ca ca_ES da da_DK de de_AT de_BE de_CH de_DE de_LU \ en en_AU en_BW en_CA en_DK en_GB en_IE en_NZ en_US en_ZA \ en_ZW es es_AR es_BO es_CL es_CO es_DO es_EC es_ES es_GT \ es_HN es_MX es_PA es_PE es_PY es_SV es_US es_UY es_VE et \ et_EE eu eu_ES fi fi_FI fo fo_FO fr fr_BE fr_CA fr_CH fr_FR \ fr_LU ga ga_IE gl gl_ES id id_ID in in_ID is is_IS it it_CH \ it_IT kl kl_GL nl nl_BE nl_NL no no_NO pt pt_BR pt_PT sv \ sv_FI sv_SE; do echo "$l ISO-8859-1" echo "$l.iso-8859-1 ISO-8859-1" echo "$l.iso-8859-15 ISO-8859-15" echo "$l.iso-8859-15@euro ISO-8859-15" echo "$l@euro ISO-8859-15" echo "$l.cp-437 CP437" echo "$l.cp-850 CP850" echo "$l.cp-1252 CP1252" echo "$l.cp-1252@euro CP1252" #echo "$l.atari-st ATARI-ST" # not a commonly used encoding echo "$l.utf-8 UTF-8" echo "$l.utf-8@euro UTF-8" done for l in cs cs_CZ hr hr_HR hu hu_HU pl pl_PL ro ro_RO sk sk_SK sl \ sl_SI sr sr_CS sr_YU; do echo "$l ISO-8859-2" echo "$l.iso-8859-2 ISO-8859-2" echo "$l.cp-852 CP852" echo "$l.cp-1250 CP1250" echo "$l.utf-8 UTF-8" done for l in mk mk_MK ru ru_RU; do echo "$l ISO-8859-5" echo "$l.iso-8859-5 ISO-8859-5" echo "$l.koi8-r KOI8-R" echo "$l.cp-866 CP866" echo "$l.cp-1251 CP1251" echo "$l.utf-8 UTF-8" done for l in ar ar_SA; do echo "$l ISO-8859-6" echo "$l.iso-8859-6 ISO-8859-6" echo "$l.cp-864 CP864" #echo "$l.cp-868 CP868" # not a commonly used encoding echo "$l.cp-1256 CP1256" echo "$l.utf-8 UTF-8" done for l in el el_GR gr gr_GR; do echo "$l ISO-8859-7" echo "$l.iso-8859-7 ISO-8859-7" echo "$l.cp-869 CP869" echo "$l.cp-1253 CP1253" echo "$l.cp-1253@euro CP1253" echo "$l.utf-8 UTF-8" echo "$l.utf-8@euro UTF-8" done for l in he he_IL iw iw_IL; do echo "$l ISO-8859-8" echo "$l.iso-8859-8 ISO-8859-8" echo "$l.cp-862 CP862" echo "$l.cp-1255 CP1255" echo "$l.utf-8 UTF-8" done for l in tr tr_TR; do echo "$l ISO-8859-9" echo "$l.iso-8859-9 ISO-8859-9" echo "$l.cp-857 CP857" echo "$l.cp-1254 CP1254" echo "$l.utf-8 UTF-8" done for l in lt lt_LT lv lv_LV; do #echo "$l BALTIC" # not a commonly used encoding, wrong encoding name echo "$l ISO-8859-13" done for l in ru_UA uk uk_UA; do echo "$l KOI8-U" done for l in zh zh_CN; do #echo "$l GB_2312-80" # not a commonly used encoding, wrong encoding name echo "$l GB2312" done for l in ja ja_JP ja_JP.EUC; do echo "$l EUC-JP" done for l in ko ko_KR; do echo "$l EUC-KR" done for l in th th_TH; do echo "$l TIS-620" done for l in fa fa_IR; do #echo "$l ISIRI-3342" # a broken encoding echo "$l.utf-8 UTF-8" done ;; linux* | *-gnu*) # With glibc-2.1 or newer, we don't need any canonicalization, # because glibc has iconv and both glibc and libiconv support all # GNU canonical names directly. Therefore, the Makefile does not # need to install the alias file at all. # The following applies only to glibc-2.0.x and older libcs. echo "ISO_646.IRV:1983 ASCII" ;; aix*) echo "ISO8859-1 ISO-8859-1" echo "ISO8859-2 ISO-8859-2" echo "ISO8859-5 ISO-8859-5" echo "ISO8859-6 ISO-8859-6" echo "ISO8859-7 ISO-8859-7" echo "ISO8859-8 ISO-8859-8" echo "ISO8859-9 ISO-8859-9" echo "ISO8859-15 ISO-8859-15" echo "IBM-850 CP850" echo "IBM-856 CP856" echo "IBM-921 ISO-8859-13" echo "IBM-922 CP922" echo "IBM-932 CP932" echo "IBM-943 CP943" echo "IBM-1046 CP1046" echo "IBM-1124 CP1124" echo "IBM-1129 CP1129" echo "IBM-1252 CP1252" echo "IBM-eucCN GB2312" echo "IBM-eucJP EUC-JP" echo "IBM-eucKR EUC-KR" echo "IBM-eucTW EUC-TW" echo "big5 BIG5" echo "GBK GBK" echo "TIS-620 TIS-620" echo "UTF-8 UTF-8" ;; hpux*) echo "iso88591 ISO-8859-1" echo "iso88592 ISO-8859-2" echo "iso88595 ISO-8859-5" echo "iso88596 ISO-8859-6" echo "iso88597 ISO-8859-7" echo "iso88598 ISO-8859-8" echo "iso88599 ISO-8859-9" echo "iso885915 ISO-8859-15" echo "roman8 HP-ROMAN8" echo "arabic8 HP-ARABIC8" echo "greek8 HP-GREEK8" echo "hebrew8 HP-HEBREW8" echo "turkish8 HP-TURKISH8" echo "kana8 HP-KANA8" echo "tis620 TIS-620" echo "big5 BIG5" echo "eucJP EUC-JP" echo "eucKR EUC-KR" echo "eucTW EUC-TW" echo "hp15CN GB2312" #echo "ccdc ?" # what is this? echo "SJIS SHIFT_JIS" echo "utf8 UTF-8" ;; irix*) echo "ISO8859-1 ISO-8859-1" echo "ISO8859-2 ISO-8859-2" echo "ISO8859-5 ISO-8859-5" echo "ISO8859-7 ISO-8859-7" echo "ISO8859-9 ISO-8859-9" echo "eucCN GB2312" echo "eucJP EUC-JP" echo "eucKR EUC-KR" echo "eucTW EUC-TW" ;; osf*) echo "ISO8859-1 ISO-8859-1" echo "ISO8859-2 ISO-8859-2" echo "ISO8859-4 ISO-8859-4" echo "ISO8859-5 ISO-8859-5" echo "ISO8859-7 ISO-8859-7" echo "ISO8859-8 ISO-8859-8" echo "ISO8859-9 ISO-8859-9" echo "ISO8859-15 ISO-8859-15" echo "cp850 CP850" echo "big5 BIG5" echo "dechanyu DEC-HANYU" echo "dechanzi GB2312" echo "deckanji DEC-KANJI" echo "deckorean EUC-KR" echo "eucJP EUC-JP" echo "eucKR EUC-KR" echo "eucTW EUC-TW" echo "GBK GBK" echo "KSC5601 CP949" echo "sdeckanji EUC-JP" echo "SJIS SHIFT_JIS" echo "TACTIS TIS-620" echo "UTF-8 UTF-8" ;; solaris*) echo "646 ASCII" echo "ISO8859-1 ISO-8859-1" echo "ISO8859-2 ISO-8859-2" echo "ISO8859-3 ISO-8859-3" echo "ISO8859-4 ISO-8859-4" echo "ISO8859-5 ISO-8859-5" echo "ISO8859-6 ISO-8859-6" echo "ISO8859-7 ISO-8859-7" echo "ISO8859-8 ISO-8859-8" echo "ISO8859-9 ISO-8859-9" echo "ISO8859-15 ISO-8859-15" echo "koi8-r KOI8-R" echo "ansi-1251 CP1251" echo "BIG5 BIG5" echo "Big5-HKSCS BIG5-HKSCS" echo "gb2312 GB2312" echo "GBK GBK" echo "GB18030 GB18030" echo "cns11643 EUC-TW" echo "5601 EUC-KR" echo "ko_KR.johap92 JOHAB" echo "eucJP EUC-JP" echo "PCK SHIFT_JIS" echo "TIS620.2533 TIS-620" #echo "sun_eu_greek ?" # what is this? echo "UTF-8 UTF-8" ;; freebsd* | os2*) # FreeBSD 4.2 doesn't have nl_langinfo(CODESET); therefore # localcharset.c falls back to using the full locale name # from the environment variables. # Likewise for OS/2. OS/2 has XFree86 just like FreeBSD. Just # reuse FreeBSD's locale data for OS/2. echo "C ASCII" echo "US-ASCII ASCII" for l in la_LN lt_LN; do echo "$l.ASCII ASCII" done for l in da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES \ fi_FI fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT la_LN \ lt_LN nl_BE nl_NL no_NO pt_PT sv_SE; do echo "$l.ISO_8859-1 ISO-8859-1" echo "$l.DIS_8859-15 ISO-8859-15" done for l in cs_CZ hr_HR hu_HU la_LN lt_LN pl_PL sl_SI; do echo "$l.ISO_8859-2 ISO-8859-2" done for l in la_LN lt_LT; do echo "$l.ISO_8859-4 ISO-8859-4" done for l in ru_RU ru_SU; do echo "$l.KOI8-R KOI8-R" echo "$l.ISO_8859-5 ISO-8859-5" echo "$l.CP866 CP866" done echo "uk_UA.KOI8-U KOI8-U" echo "zh_TW.BIG5 BIG5" echo "zh_TW.Big5 BIG5" echo "zh_CN.EUC GB2312" echo "ja_JP.EUC EUC-JP" echo "ja_JP.SJIS SHIFT_JIS" echo "ja_JP.Shift_JIS SHIFT_JIS" echo "ko_KR.EUC EUC-KR" ;; netbsd*) echo "646 ASCII" echo "ISO8859-1 ISO-8859-1" echo "ISO8859-2 ISO-8859-2" echo "ISO8859-4 ISO-8859-4" echo "ISO8859-5 ISO-8859-5" echo "ISO8859-7 ISO-8859-7" echo "ISO8859-13 ISO-8859-13" echo "ISO8859-15 ISO-8859-15" echo "eucCN GB2312" echo "eucJP EUC-JP" echo "eucKR EUC-KR" echo "eucTW EUC-TW" echo "BIG5 BIG5" echo "SJIS SHIFT_JIS" ;; darwin[56]*) # Darwin 6.8 doesn't have nl_langinfo(CODESET); therefore # localcharset.c falls back to using the full locale name # from the environment variables. echo "C ASCII" for l in en_AU en_CA en_GB en_US la_LN; do echo "$l.US-ASCII ASCII" done for l in da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES \ fi_FI fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE \ nl_NL no_NO pt_PT sv_SE; do echo "$l ISO-8859-1" echo "$l.ISO8859-1 ISO-8859-1" echo "$l.ISO8859-15 ISO-8859-15" done for l in la_LN; do echo "$l.ISO8859-1 ISO-8859-1" echo "$l.ISO8859-15 ISO-8859-15" done for l in cs_CZ hr_HR hu_HU la_LN pl_PL sl_SI; do echo "$l.ISO8859-2 ISO-8859-2" done for l in la_LN lt_LT; do echo "$l.ISO8859-4 ISO-8859-4" done for l in ru_RU; do echo "$l.KOI8-R KOI8-R" echo "$l.ISO8859-5 ISO-8859-5" echo "$l.CP866 CP866" done for l in bg_BG; do echo "$l.CP1251 CP1251" done echo "uk_UA.KOI8-U KOI8-U" echo "zh_TW.BIG5 BIG5" echo "zh_TW.Big5 BIG5" echo "zh_CN.EUC GB2312" echo "ja_JP.EUC EUC-JP" echo "ja_JP.SJIS SHIFT_JIS" echo "ko_KR.EUC EUC-KR" ;; darwin*) # Darwin 7.5 has nl_langinfo(CODESET), but it is useless: # - It returns the empty string when LANG is set to a locale of the # form ll_CC, although ll_CC/LC_CTYPE is a symlink to an UTF-8 # LC_CTYPE file. # - The environment variables LANG, LC_CTYPE, LC_ALL are not set by # the system; nl_langinfo(CODESET) returns "US-ASCII" in this case. # - The documentation says: # "... all code that calls BSD system routines should ensure # that the const *char parameters of these routines are in UTF-8 # encoding. All BSD system functions expect their string # parameters to be in UTF-8 encoding and nothing else." # It also says # "An additional caveat is that string parameters for files, # paths, and other file-system entities must be in canonical # UTF-8. In a canonical UTF-8 Unicode string, all decomposable # characters are decomposed ..." # but this is not true: You can pass non-decomposed UTF-8 strings # to file system functions, and it is the OS which will convert # them to decomposed UTF-8 before accessing the file system. # - The Apple Terminal application displays UTF-8 by default. # - However, other applications are free to use different encodings: # - xterm uses ISO-8859-1 by default. # - TextEdit uses MacRoman by default. # We prefer UTF-8 over decomposed UTF-8-MAC because one should # minimize the use of decomposed Unicode. Unfortunately, through the # Darwin file system, decomposed UTF-8 strings are leaked into user # space nevertheless. echo "* UTF-8" ;; beos*) # BeOS has a single locale, and it has UTF-8 encoding. echo "* UTF-8" ;; msdosdjgpp*) # DJGPP 2.03 doesn't have nl_langinfo(CODESET); therefore # localcharset.c falls back to using the full locale name # from the environment variables. echo "#" echo "# The encodings given here may not all be correct." echo "# If you find that the encoding given for your language and" echo "# country is not the one your DOS machine actually uses, just" echo "# correct it in this file, and send a mail to" echo "# Juan Manuel Guerrero " echo "# and Bruno Haible ." echo "#" echo "C ASCII" # ISO-8859-1 languages echo "ca CP850" echo "ca_ES CP850" echo "da CP865" # not CP850 ?? echo "da_DK CP865" # not CP850 ?? echo "de CP850" echo "de_AT CP850" echo "de_CH CP850" echo "de_DE CP850" echo "en CP850" echo "en_AU CP850" # not CP437 ?? echo "en_CA CP850" echo "en_GB CP850" echo "en_NZ CP437" echo "en_US CP437" echo "en_ZA CP850" # not CP437 ?? echo "es CP850" echo "es_AR CP850" echo "es_BO CP850" echo "es_CL CP850" echo "es_CO CP850" echo "es_CR CP850" echo "es_CU CP850" echo "es_DO CP850" echo "es_EC CP850" echo "es_ES CP850" echo "es_GT CP850" echo "es_HN CP850" echo "es_MX CP850" echo "es_NI CP850" echo "es_PA CP850" echo "es_PY CP850" echo "es_PE CP850" echo "es_SV CP850" echo "es_UY CP850" echo "es_VE CP850" echo "et CP850" echo "et_EE CP850" echo "eu CP850" echo "eu_ES CP850" echo "fi CP850" echo "fi_FI CP850" echo "fr CP850" echo "fr_BE CP850" echo "fr_CA CP850" echo "fr_CH CP850" echo "fr_FR CP850" echo "ga CP850" echo "ga_IE CP850" echo "gd CP850" echo "gd_GB CP850" echo "gl CP850" echo "gl_ES CP850" echo "id CP850" # not CP437 ?? echo "id_ID CP850" # not CP437 ?? echo "is CP861" # not CP850 ?? echo "is_IS CP861" # not CP850 ?? echo "it CP850" echo "it_CH CP850" echo "it_IT CP850" echo "lt CP775" echo "lt_LT CP775" echo "lv CP775" echo "lv_LV CP775" echo "nb CP865" # not CP850 ?? echo "nb_NO CP865" # not CP850 ?? echo "nl CP850" echo "nl_BE CP850" echo "nl_NL CP850" echo "nn CP865" # not CP850 ?? echo "nn_NO CP865" # not CP850 ?? echo "no CP865" # not CP850 ?? echo "no_NO CP865" # not CP850 ?? echo "pt CP850" echo "pt_BR CP850" echo "pt_PT CP850" echo "sv CP850" echo "sv_SE CP850" # ISO-8859-2 languages echo "cs CP852" echo "cs_CZ CP852" echo "hr CP852" echo "hr_HR CP852" echo "hu CP852" echo "hu_HU CP852" echo "pl CP852" echo "pl_PL CP852" echo "ro CP852" echo "ro_RO CP852" echo "sk CP852" echo "sk_SK CP852" echo "sl CP852" echo "sl_SI CP852" echo "sq CP852" echo "sq_AL CP852" echo "sr CP852" # CP852 or CP866 or CP855 ?? echo "sr_CS CP852" # CP852 or CP866 or CP855 ?? echo "sr_YU CP852" # CP852 or CP866 or CP855 ?? # ISO-8859-3 languages echo "mt CP850" echo "mt_MT CP850" # ISO-8859-5 languages echo "be CP866" echo "be_BE CP866" echo "bg CP866" # not CP855 ?? echo "bg_BG CP866" # not CP855 ?? echo "mk CP866" # not CP855 ?? echo "mk_MK CP866" # not CP855 ?? echo "ru CP866" echo "ru_RU CP866" echo "uk CP1125" echo "uk_UA CP1125" # ISO-8859-6 languages echo "ar CP864" echo "ar_AE CP864" echo "ar_DZ CP864" echo "ar_EG CP864" echo "ar_IQ CP864" echo "ar_IR CP864" echo "ar_JO CP864" echo "ar_KW CP864" echo "ar_MA CP864" echo "ar_OM CP864" echo "ar_QA CP864" echo "ar_SA CP864" echo "ar_SY CP864" # ISO-8859-7 languages echo "el CP869" echo "el_GR CP869" # ISO-8859-8 languages echo "he CP862" echo "he_IL CP862" # ISO-8859-9 languages echo "tr CP857" echo "tr_TR CP857" # Japanese echo "ja CP932" echo "ja_JP CP932" # Chinese echo "zh_CN GBK" echo "zh_TW CP950" # not CP938 ?? # Korean echo "kr CP949" # not CP934 ?? echo "kr_KR CP949" # not CP934 ?? # Thai echo "th CP874" echo "th_TH CP874" # Other echo "eo CP850" echo "eo_EO CP850" ;; esac vorbis-tools-1.4.2/intl/tsearch.c0000644000175000017500000004462013767140576013672 00000000000000/* Copyright (C) 1995, 1996, 1997, 2000, 2006 Free Software Foundation, Inc. Contributed by Bernd Schmidt , 1997. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@gnu.org. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Tree search for red/black trees. The algorithm for adding nodes is taken from one of the many "Algorithms" books by Robert Sedgewick, although the implementation differs. The algorithm for deleting nodes can probably be found in a book named "Introduction to Algorithms" by Cormen/Leiserson/Rivest. At least that's the book that my professor took most algorithms from during the "Data Structures" course... Totally public domain. */ /* Red/black trees are binary trees in which the edges are colored either red or black. They have the following properties: 1. The number of black edges on every path from the root to a leaf is constant. 2. No two red edges are adjacent. Therefore there is an upper bound on the length of every path, it's O(log n) where n is the number of nodes in the tree. No path can be longer than 1+2*P where P is the length of the shortest path in the tree. Useful for the implementation: 3. If one of the children of a node is NULL, then the other one is red (if it exists). In the implementation, not the edges are colored, but the nodes. The color interpreted as the color of the edge leading to this node. The color is meaningless for the root node, but we color the root node black for convenience. All added nodes are red initially. Adding to a red/black tree is rather easy. The right place is searched with a usual binary tree search. Additionally, whenever a node N is reached that has two red successors, the successors are colored black and the node itself colored red. This moves red edges up the tree where they pose less of a problem once we get to really insert the new node. Changing N's color to red may violate rule 2, however, so rotations may become necessary to restore the invariants. Adding a new red leaf may violate the same rule, so afterwards an additional check is run and the tree possibly rotated. Deleting is hairy. There are mainly two nodes involved: the node to be deleted (n1), and another node that is to be unchained from the tree (n2). If n1 has a successor (the node with a smallest key that is larger than n1), then the successor becomes n2 and its contents are copied into n1, otherwise n1 becomes n2. Unchaining a node may violate rule 1: if n2 is black, one subtree is missing one black edge afterwards. The algorithm must try to move this error upwards towards the root, so that the subtree that does not have enough black edges becomes the whole tree. Once that happens, the error has disappeared. It may not be necessary to go all the way up, since it is possible that rotations and recoloring can fix the error before that. Although the deletion algorithm must walk upwards through the tree, we do not store parent pointers in the nodes. Instead, delete allocates a small array of parent pointers and fills it while descending the tree. Since we know that the length of a path is O(log n), where n is the number of nodes, this is likely to use less memory. */ /* Tree rotations look like this: A C / \ / \ B C A G / \ / \ --> / \ D E F G B F / \ D E In this case, A has been rotated left. This preserves the ordering of the binary tree. */ #include /* Specification. */ #ifdef IN_LIBINTL # include "tsearch.h" #else # include #endif #include typedef int (*__compar_fn_t) (const void *, const void *); typedef void (*__action_fn_t) (const void *, VISIT, int); #ifndef weak_alias # define __tsearch tsearch # define __tfind tfind # define __tdelete tdelete # define __twalk twalk #endif #ifndef internal_function /* Inside GNU libc we mark some function in a special way. In other environments simply ignore the marking. */ # define internal_function #endif typedef struct node_t { /* Callers expect this to be the first element in the structure - do not move! */ const void *key; struct node_t *left; struct node_t *right; unsigned int red:1; } *node; typedef const struct node_t *const_node; #undef DEBUGGING #ifdef DEBUGGING /* Routines to check tree invariants. */ #include #define CHECK_TREE(a) check_tree(a) static void check_tree_recurse (node p, int d_sofar, int d_total) { if (p == NULL) { assert (d_sofar == d_total); return; } check_tree_recurse (p->left, d_sofar + (p->left && !p->left->red), d_total); check_tree_recurse (p->right, d_sofar + (p->right && !p->right->red), d_total); if (p->left) assert (!(p->left->red && p->red)); if (p->right) assert (!(p->right->red && p->red)); } static void check_tree (node root) { int cnt = 0; node p; if (root == NULL) return; root->red = 0; for(p = root->left; p; p = p->left) cnt += !p->red; check_tree_recurse (root, 0, cnt); } #else #define CHECK_TREE(a) #endif /* Possibly "split" a node with two red successors, and/or fix up two red edges in a row. ROOTP is a pointer to the lowest node we visited, PARENTP and GPARENTP pointers to its parent/grandparent. P_R and GP_R contain the comparison values that determined which way was taken in the tree to reach ROOTP. MODE is 1 if we need not do the split, but must check for two red edges between GPARENTP and ROOTP. */ static void maybe_split_for_insert (node *rootp, node *parentp, node *gparentp, int p_r, int gp_r, int mode) { node root = *rootp; node *rp, *lp; rp = &(*rootp)->right; lp = &(*rootp)->left; /* See if we have to split this node (both successors red). */ if (mode == 1 || ((*rp) != NULL && (*lp) != NULL && (*rp)->red && (*lp)->red)) { /* This node becomes red, its successors black. */ root->red = 1; if (*rp) (*rp)->red = 0; if (*lp) (*lp)->red = 0; /* If the parent of this node is also red, we have to do rotations. */ if (parentp != NULL && (*parentp)->red) { node gp = *gparentp; node p = *parentp; /* There are two main cases: 1. The edge types (left or right) of the two red edges differ. 2. Both red edges are of the same type. There exist two symmetries of each case, so there is a total of 4 cases. */ if ((p_r > 0) != (gp_r > 0)) { /* Put the child at the top of the tree, with its parent and grandparent as successors. */ p->red = 1; gp->red = 1; root->red = 0; if (p_r < 0) { /* Child is left of parent. */ p->left = *rp; *rp = p; gp->right = *lp; *lp = gp; } else { /* Child is right of parent. */ p->right = *lp; *lp = p; gp->left = *rp; *rp = gp; } *gparentp = root; } else { *gparentp = *parentp; /* Parent becomes the top of the tree, grandparent and child are its successors. */ p->red = 0; gp->red = 1; if (p_r < 0) { /* Left edges. */ gp->left = p->right; p->right = gp; } else { /* Right edges. */ gp->right = p->left; p->left = gp; } } } } } /* Find or insert datum into search tree. KEY is the key to be located, ROOTP is the address of tree root, COMPAR the ordering function. */ void * __tsearch (const void *key, void **vrootp, __compar_fn_t compar) { node q; node *parentp = NULL, *gparentp = NULL; node *rootp = (node *) vrootp; node *nextp; int r = 0, p_r = 0, gp_r = 0; /* No they might not, Mr Compiler. */ if (rootp == NULL) return NULL; /* This saves some additional tests below. */ if (*rootp != NULL) (*rootp)->red = 0; CHECK_TREE (*rootp); nextp = rootp; while (*nextp != NULL) { node root = *rootp; r = (*compar) (key, root->key); if (r == 0) return root; maybe_split_for_insert (rootp, parentp, gparentp, p_r, gp_r, 0); /* If that did any rotations, parentp and gparentp are now garbage. That doesn't matter, because the values they contain are never used again in that case. */ nextp = r < 0 ? &root->left : &root->right; if (*nextp == NULL) break; gparentp = parentp; parentp = rootp; rootp = nextp; gp_r = p_r; p_r = r; } q = (struct node_t *) malloc (sizeof (struct node_t)); if (q != NULL) { *nextp = q; /* link new node to old */ q->key = key; /* initialize new node */ q->red = 1; q->left = q->right = NULL; if (nextp != rootp) /* There may be two red edges in a row now, which we must avoid by rotating the tree. */ maybe_split_for_insert (nextp, rootp, parentp, r, p_r, 1); } return q; } #ifdef weak_alias weak_alias (__tsearch, tsearch) #endif /* Find datum in search tree. KEY is the key to be located, ROOTP is the address of tree root, COMPAR the ordering function. */ void * __tfind (key, vrootp, compar) const void *key; void *const *vrootp; __compar_fn_t compar; { node *rootp = (node *) vrootp; if (rootp == NULL) return NULL; CHECK_TREE (*rootp); while (*rootp != NULL) { node root = *rootp; int r; r = (*compar) (key, root->key); if (r == 0) return root; rootp = r < 0 ? &root->left : &root->right; } return NULL; } #ifdef weak_alias weak_alias (__tfind, tfind) #endif /* Delete node with given key. KEY is the key to be deleted, ROOTP is the address of the root of tree, COMPAR the comparison function. */ void * __tdelete (const void *key, void **vrootp, __compar_fn_t compar) { node p, q, r, retval; int cmp; node *rootp = (node *) vrootp; node root, unchained; /* Stack of nodes so we remember the parents without recursion. It's _very_ unlikely that there are paths longer than 40 nodes. The tree would need to have around 250.000 nodes. */ int stacksize = 100; int sp = 0; node *nodestack[100]; if (rootp == NULL) return NULL; p = *rootp; if (p == NULL) return NULL; CHECK_TREE (p); while ((cmp = (*compar) (key, (*rootp)->key)) != 0) { if (sp == stacksize) abort (); nodestack[sp++] = rootp; p = *rootp; rootp = ((cmp < 0) ? &(*rootp)->left : &(*rootp)->right); if (*rootp == NULL) return NULL; } /* This is bogus if the node to be deleted is the root... this routine really should return an integer with 0 for success, -1 for failure and errno = ESRCH or something. */ retval = p; /* We don't unchain the node we want to delete. Instead, we overwrite it with its successor and unchain the successor. If there is no successor, we really unchain the node to be deleted. */ root = *rootp; r = root->right; q = root->left; if (q == NULL || r == NULL) unchained = root; else { node *parent = rootp, *up = &root->right; for (;;) { if (sp == stacksize) abort (); nodestack[sp++] = parent; parent = up; if ((*up)->left == NULL) break; up = &(*up)->left; } unchained = *up; } /* We know that either the left or right successor of UNCHAINED is NULL. R becomes the other one, it is chained into the parent of UNCHAINED. */ r = unchained->left; if (r == NULL) r = unchained->right; if (sp == 0) *rootp = r; else { q = *nodestack[sp-1]; if (unchained == q->right) q->right = r; else q->left = r; } if (unchained != root) root->key = unchained->key; if (!unchained->red) { /* Now we lost a black edge, which means that the number of black edges on every path is no longer constant. We must balance the tree. */ /* NODESTACK now contains all parents of R. R is likely to be NULL in the first iteration. */ /* NULL nodes are considered black throughout - this is necessary for correctness. */ while (sp > 0 && (r == NULL || !r->red)) { node *pp = nodestack[sp - 1]; p = *pp; /* Two symmetric cases. */ if (r == p->left) { /* Q is R's brother, P is R's parent. The subtree with root R has one black edge less than the subtree with root Q. */ q = p->right; if (q->red) { /* If Q is red, we know that P is black. We rotate P left so that Q becomes the top node in the tree, with P below it. P is colored red, Q is colored black. This action does not change the black edge count for any leaf in the tree, but we will be able to recognize one of the following situations, which all require that Q is black. */ q->red = 0; p->red = 1; /* Left rotate p. */ p->right = q->left; q->left = p; *pp = q; /* Make sure pp is right if the case below tries to use it. */ nodestack[sp++] = pp = &q->left; q = p->right; } /* We know that Q can't be NULL here. We also know that Q is black. */ if ((q->left == NULL || !q->left->red) && (q->right == NULL || !q->right->red)) { /* Q has two black successors. We can simply color Q red. The whole subtree with root P is now missing one black edge. Note that this action can temporarily make the tree invalid (if P is red). But we will exit the loop in that case and set P black, which both makes the tree valid and also makes the black edge count come out right. If P is black, we are at least one step closer to the root and we'll try again the next iteration. */ q->red = 1; r = p; } else { /* Q is black, one of Q's successors is red. We can repair the tree with one operation and will exit the loop afterwards. */ if (q->right == NULL || !q->right->red) { /* The left one is red. We perform the same action as in maybe_split_for_insert where two red edges are adjacent but point in different directions: Q's left successor (let's call it Q2) becomes the top of the subtree we are looking at, its parent (Q) and grandparent (P) become its successors. The former successors of Q2 are placed below P and Q. P becomes black, and Q2 gets the color that P had. This changes the black edge count only for node R and its successors. */ node q2 = q->left; q2->red = p->red; p->right = q2->left; q->left = q2->right; q2->right = q; q2->left = p; *pp = q2; p->red = 0; } else { /* It's the right one. Rotate P left. P becomes black, and Q gets the color that P had. Q's right successor also becomes black. This changes the black edge count only for node R and its successors. */ q->red = p->red; p->red = 0; q->right->red = 0; /* left rotate p */ p->right = q->left; q->left = p; *pp = q; } /* We're done. */ sp = 1; r = NULL; } } else { /* Comments: see above. */ q = p->left; if (q->red) { q->red = 0; p->red = 1; p->left = q->right; q->right = p; *pp = q; nodestack[sp++] = pp = &q->right; q = p->left; } if ((q->right == NULL || !q->right->red) && (q->left == NULL || !q->left->red)) { q->red = 1; r = p; } else { if (q->left == NULL || !q->left->red) { node q2 = q->right; q2->red = p->red; p->left = q2->right; q->right = q2->left; q2->left = q; q2->right = p; *pp = q2; p->red = 0; } else { q->red = p->red; p->red = 0; q->left->red = 0; p->left = q->right; q->right = p; *pp = q; } sp = 1; r = NULL; } } --sp; } if (r != NULL) r->red = 0; } free (unchained); return retval; } #ifdef weak_alias weak_alias (__tdelete, tdelete) #endif /* Walk the nodes of a tree. ROOT is the root of the tree to be walked, ACTION the function to be called at each node. LEVEL is the level of ROOT in the whole tree. */ static void internal_function trecurse (const void *vroot, __action_fn_t action, int level) { const_node root = (const_node) vroot; if (root->left == NULL && root->right == NULL) (*action) (root, leaf, level); else { (*action) (root, preorder, level); if (root->left != NULL) trecurse (root->left, action, level + 1); (*action) (root, postorder, level); if (root->right != NULL) trecurse (root->right, action, level + 1); (*action) (root, endorder, level); } } /* Walk the nodes of a tree. ROOT is the root of the tree to be walked, ACTION the function to be called at each node. */ void __twalk (const void *vroot, __action_fn_t action) { const_node root = (const_node) vroot; CHECK_TREE (root); if (root != NULL && action != NULL) trecurse (root, action, 0); } #ifdef weak_alias weak_alias (__twalk, twalk) #endif #ifdef _LIBC /* The standardized functions miss an important functionality: the tree cannot be removed easily. We provide a function to do this. */ static void internal_function tdestroy_recurse (node root, __free_fn_t freefct) { if (root->left != NULL) tdestroy_recurse (root->left, freefct); if (root->right != NULL) tdestroy_recurse (root->right, freefct); (*freefct) ((void *) root->key); /* Free the node itself. */ free (root); } void __tdestroy (void *vroot, __free_fn_t freefct) { node root = (node) vroot; CHECK_TREE (root); if (root != NULL) tdestroy_recurse (root, freefct); } weak_alias (__tdestroy, tdestroy) #endif /* _LIBC */ vorbis-tools-1.4.2/intl/libgnuintl.h.in0000644000175000017500000003415313767140576015022 00000000000000/* Message catalogs for internationalization. Copyright (C) 1995-1997, 2000-2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _LIBINTL_H #define _LIBINTL_H 1 #include /* The LC_MESSAGES locale category is the category used by the functions gettext() and dgettext(). It is specified in POSIX, but not in ANSI C. On systems that don't define it, use an arbitrary value instead. On Solaris, defines __LOCALE_H (or _LOCALE_H in Solaris 2.5) then includes (i.e. this file!) and then only defines LC_MESSAGES. To avoid a redefinition warning, don't define LC_MESSAGES in this case. */ #if !defined LC_MESSAGES && !(defined __LOCALE_H || (defined _LOCALE_H && defined __sun)) # define LC_MESSAGES 1729 #endif /* We define an additional symbol to signal that we use the GNU implementation of gettext. */ #define __USE_GNU_GETTEXT 1 /* Provide information about the supported file formats. Returns the maximum minor revision number supported for a given major revision. */ #define __GNU_GETTEXT_SUPPORTED_REVISION(major) \ ((major) == 0 || (major) == 1 ? 1 : -1) /* Resolve a platform specific conflict on DJGPP. GNU gettext takes precedence over _conio_gettext. */ #ifdef __DJGPP__ # undef gettext #endif #ifdef __cplusplus extern "C" { #endif /* Version number: (major<<16) + (minor<<8) + subminor */ #define LIBINTL_VERSION 0x001100 extern int libintl_version; /* We redirect the functions to those prefixed with "libintl_". This is necessary, because some systems define gettext/textdomain/... in the C library (namely, Solaris 2.4 and newer, and GNU libc 2.0 and newer). If we used the unprefixed names, there would be cases where the definition in the C library would override the one in the libintl.so shared library. Recall that on ELF systems, the symbols are looked up in the following order: 1. in the executable, 2. in the shared libraries specified on the link command line, in order, 3. in the dependencies of the shared libraries specified on the link command line, 4. in the dlopen()ed shared libraries, in the order in which they were dlopen()ed. The definition in the C library would override the one in libintl.so if either * -lc is given on the link command line and -lintl isn't, or * -lc is given on the link command line before -lintl, or * libintl.so is a dependency of a dlopen()ed shared library but not linked to the executable at link time. Since Solaris gettext() behaves differently than GNU gettext(), this would be unacceptable. The redirection happens by default through macros in C, so that &gettext is independent of the compilation unit, but through inline functions in C++, in order not to interfere with the name mangling of class fields or class methods called 'gettext'. */ /* The user can define _INTL_REDIRECT_INLINE or _INTL_REDIRECT_MACROS. If he doesn't, we choose the method. A third possible method is _INTL_REDIRECT_ASM, supported only by GCC. */ #if !(defined _INTL_REDIRECT_INLINE || defined _INTL_REDIRECT_MACROS) # if __GNUC__ >= 2 && !(__APPLE_CC__ > 1) && !defined __MINGW32__ && !(__GNUC__ == 2 && defined _AIX) && (defined __STDC__ || defined __cplusplus) # define _INTL_REDIRECT_ASM # else # ifdef __cplusplus # define _INTL_REDIRECT_INLINE # else # define _INTL_REDIRECT_MACROS # endif # endif #endif /* Auxiliary macros. */ #ifdef _INTL_REDIRECT_ASM # define _INTL_ASM(cname) __asm__ (_INTL_ASMNAME (__USER_LABEL_PREFIX__, #cname)) # define _INTL_ASMNAME(prefix,cnamestring) _INTL_STRINGIFY (prefix) cnamestring # define _INTL_STRINGIFY(prefix) #prefix #else # define _INTL_ASM(cname) #endif /* _INTL_MAY_RETURN_STRING_ARG(n) declares that the given function may return its n-th argument literally. This enables GCC to warn for example about printf (gettext ("foo %y")). */ #if __GNUC__ >= 3 && !(__APPLE_CC__ > 1 && defined __cplusplus) # define _INTL_MAY_RETURN_STRING_ARG(n) __attribute__ ((__format_arg__ (n))) #else # define _INTL_MAY_RETURN_STRING_ARG(n) #endif /* Look up MSGID in the current default message catalog for the current LC_MESSAGES locale. If not found, returns MSGID itself (the default text). */ #ifdef _INTL_REDIRECT_INLINE extern char *libintl_gettext (const char *__msgid) _INTL_MAY_RETURN_STRING_ARG (1); static inline char *gettext (const char *__msgid) { return libintl_gettext (__msgid); } #else #ifdef _INTL_REDIRECT_MACROS # define gettext libintl_gettext #endif extern char *gettext (const char *__msgid) _INTL_ASM (libintl_gettext) _INTL_MAY_RETURN_STRING_ARG (1); #endif /* Look up MSGID in the DOMAINNAME message catalog for the current LC_MESSAGES locale. */ #ifdef _INTL_REDIRECT_INLINE extern char *libintl_dgettext (const char *__domainname, const char *__msgid) _INTL_MAY_RETURN_STRING_ARG (2); static inline char *dgettext (const char *__domainname, const char *__msgid) { return libintl_dgettext (__domainname, __msgid); } #else #ifdef _INTL_REDIRECT_MACROS # define dgettext libintl_dgettext #endif extern char *dgettext (const char *__domainname, const char *__msgid) _INTL_ASM (libintl_dgettext) _INTL_MAY_RETURN_STRING_ARG (2); #endif /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY locale. */ #ifdef _INTL_REDIRECT_INLINE extern char *libintl_dcgettext (const char *__domainname, const char *__msgid, int __category) _INTL_MAY_RETURN_STRING_ARG (2); static inline char *dcgettext (const char *__domainname, const char *__msgid, int __category) { return libintl_dcgettext (__domainname, __msgid, __category); } #else #ifdef _INTL_REDIRECT_MACROS # define dcgettext libintl_dcgettext #endif extern char *dcgettext (const char *__domainname, const char *__msgid, int __category) _INTL_ASM (libintl_dcgettext) _INTL_MAY_RETURN_STRING_ARG (2); #endif /* Similar to `gettext' but select the plural form corresponding to the number N. */ #ifdef _INTL_REDIRECT_INLINE extern char *libintl_ngettext (const char *__msgid1, const char *__msgid2, unsigned long int __n) _INTL_MAY_RETURN_STRING_ARG (1) _INTL_MAY_RETURN_STRING_ARG (2); static inline char *ngettext (const char *__msgid1, const char *__msgid2, unsigned long int __n) { return libintl_ngettext (__msgid1, __msgid2, __n); } #else #ifdef _INTL_REDIRECT_MACROS # define ngettext libintl_ngettext #endif extern char *ngettext (const char *__msgid1, const char *__msgid2, unsigned long int __n) _INTL_ASM (libintl_ngettext) _INTL_MAY_RETURN_STRING_ARG (1) _INTL_MAY_RETURN_STRING_ARG (2); #endif /* Similar to `dgettext' but select the plural form corresponding to the number N. */ #ifdef _INTL_REDIRECT_INLINE extern char *libintl_dngettext (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n) _INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3); static inline char *dngettext (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n) { return libintl_dngettext (__domainname, __msgid1, __msgid2, __n); } #else #ifdef _INTL_REDIRECT_MACROS # define dngettext libintl_dngettext #endif extern char *dngettext (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n) _INTL_ASM (libintl_dngettext) _INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3); #endif /* Similar to `dcgettext' but select the plural form corresponding to the number N. */ #ifdef _INTL_REDIRECT_INLINE extern char *libintl_dcngettext (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n, int __category) _INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3); static inline char *dcngettext (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n, int __category) { return libintl_dcngettext (__domainname, __msgid1, __msgid2, __n, __category); } #else #ifdef _INTL_REDIRECT_MACROS # define dcngettext libintl_dcngettext #endif extern char *dcngettext (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n, int __category) _INTL_ASM (libintl_dcngettext) _INTL_MAY_RETURN_STRING_ARG (2) _INTL_MAY_RETURN_STRING_ARG (3); #endif #ifndef IN_LIBGLOCALE /* Set the current default message catalog to DOMAINNAME. If DOMAINNAME is null, return the current default. If DOMAINNAME is "", reset to the default of "messages". */ #ifdef _INTL_REDIRECT_INLINE extern char *libintl_textdomain (const char *__domainname); static inline char *textdomain (const char *__domainname) { return libintl_textdomain (__domainname); } #else #ifdef _INTL_REDIRECT_MACROS # define textdomain libintl_textdomain #endif extern char *textdomain (const char *__domainname) _INTL_ASM (libintl_textdomain); #endif /* Specify that the DOMAINNAME message catalog will be found in DIRNAME rather than in the system locale data base. */ #ifdef _INTL_REDIRECT_INLINE extern char *libintl_bindtextdomain (const char *__domainname, const char *__dirname); static inline char *bindtextdomain (const char *__domainname, const char *__dirname) { return libintl_bindtextdomain (__domainname, __dirname); } #else #ifdef _INTL_REDIRECT_MACROS # define bindtextdomain libintl_bindtextdomain #endif extern char *bindtextdomain (const char *__domainname, const char *__dirname) _INTL_ASM (libintl_bindtextdomain); #endif /* Specify the character encoding in which the messages from the DOMAINNAME message catalog will be returned. */ #ifdef _INTL_REDIRECT_INLINE extern char *libintl_bind_textdomain_codeset (const char *__domainname, const char *__codeset); static inline char *bind_textdomain_codeset (const char *__domainname, const char *__codeset) { return libintl_bind_textdomain_codeset (__domainname, __codeset); } #else #ifdef _INTL_REDIRECT_MACROS # define bind_textdomain_codeset libintl_bind_textdomain_codeset #endif extern char *bind_textdomain_codeset (const char *__domainname, const char *__codeset) _INTL_ASM (libintl_bind_textdomain_codeset); #endif #endif /* IN_LIBGLOCALE */ /* Support for format strings with positions in *printf(), following the POSIX/XSI specification. Note: These replacements for the *printf() functions are visible only in source files that #include or #include "gettext.h". Packages that use *printf() in source files that don't refer to _() or gettext() but for which the format string could be the return value of _() or gettext() need to add this #include. Oh well. */ #if !@HAVE_POSIX_PRINTF@ #include #include /* Get va_list. */ #if __STDC__ || defined __cplusplus || defined _MSC_VER # include #else # include #endif #undef fprintf #define fprintf libintl_fprintf extern int fprintf (FILE *, const char *, ...); #undef vfprintf #define vfprintf libintl_vfprintf extern int vfprintf (FILE *, const char *, va_list); #undef printf #if defined __NetBSD__ || defined __BEOS__ || defined __CYGWIN__ || defined __MINGW32__ /* Don't break __attribute__((format(printf,M,N))). This redefinition is only possible because the libc in NetBSD, Cygwin, mingw does not have a function __printf__. */ # define libintl_printf __printf__ #endif #define printf libintl_printf extern int printf (const char *, ...); #undef vprintf #define vprintf libintl_vprintf extern int vprintf (const char *, va_list); #undef sprintf #define sprintf libintl_sprintf extern int sprintf (char *, const char *, ...); #undef vsprintf #define vsprintf libintl_vsprintf extern int vsprintf (char *, const char *, va_list); #if @HAVE_SNPRINTF@ #undef snprintf #define snprintf libintl_snprintf extern int snprintf (char *, size_t, const char *, ...); #undef vsnprintf #define vsnprintf libintl_vsnprintf extern int vsnprintf (char *, size_t, const char *, va_list); #endif #if @HAVE_ASPRINTF@ #undef asprintf #define asprintf libintl_asprintf extern int asprintf (char **, const char *, ...); #undef vasprintf #define vasprintf libintl_vasprintf extern int vasprintf (char **, const char *, va_list); #endif #if @HAVE_WPRINTF@ #undef fwprintf #define fwprintf libintl_fwprintf extern int fwprintf (FILE *, const wchar_t *, ...); #undef vfwprintf #define vfwprintf libintl_vfwprintf extern int vfwprintf (FILE *, const wchar_t *, va_list); #undef wprintf #define wprintf libintl_wprintf extern int wprintf (const wchar_t *, ...); #undef vwprintf #define vwprintf libintl_vwprintf extern int vwprintf (const wchar_t *, va_list); #undef swprintf #define swprintf libintl_swprintf extern int swprintf (wchar_t *, size_t, const wchar_t *, ...); #undef vswprintf #define vswprintf libintl_vswprintf extern int vswprintf (wchar_t *, size_t, const wchar_t *, va_list); #endif #endif /* Support for relocatable packages. */ /* Sets the original and the current installation prefix of the package. Relocation simply replaces a pathname starting with the original prefix by the corresponding pathname with the current prefix instead. Both prefixes should be directory names without trailing slash (i.e. use "" instead of "/"). */ #define libintl_set_relocation_prefix libintl_set_relocation_prefix extern void libintl_set_relocation_prefix (const char *orig_prefix, const char *curr_prefix); #ifdef __cplusplus } #endif #endif /* libintl.h */ vorbis-tools-1.4.2/intl/version.c0000644000175000017500000000173113767140576013722 00000000000000/* libintl library version. Copyright (C) 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include "libgnuintl.h" /* Version number: (major<<16) + (minor<<8) + subminor */ int libintl_version = LIBINTL_VERSION; vorbis-tools-1.4.2/intl/locale.alias0000644000175000017500000000510613767140576014343 00000000000000# Locale name alias data base. # Copyright (C) 1996-2001,2003,2007 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU Library General Public License as published # by the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # The format of this file is the same as for the corresponding file of # the X Window System, which normally can be found in # /usr/lib/X11/locale/locale.alias # A single line contains two fields: an alias and a substitution value. # All entries are case independent. # Note: This file is obsolete and is kept around for the time being for # backward compatibility. Nobody should rely on the names defined here. # Locales should always be specified by their full name. # Packages using this file: bokmal nb_NO.ISO-8859-1 bokmål nb_NO.ISO-8859-1 catalan ca_ES.ISO-8859-1 croatian hr_HR.ISO-8859-2 czech cs_CZ.ISO-8859-2 danish da_DK.ISO-8859-1 dansk da_DK.ISO-8859-1 deutsch de_DE.ISO-8859-1 dutch nl_NL.ISO-8859-1 eesti et_EE.ISO-8859-1 estonian et_EE.ISO-8859-1 finnish fi_FI.ISO-8859-1 français fr_FR.ISO-8859-1 french fr_FR.ISO-8859-1 galego gl_ES.ISO-8859-1 galician gl_ES.ISO-8859-1 german de_DE.ISO-8859-1 greek el_GR.ISO-8859-7 hebrew he_IL.ISO-8859-8 hrvatski hr_HR.ISO-8859-2 hungarian hu_HU.ISO-8859-2 icelandic is_IS.ISO-8859-1 italian it_IT.ISO-8859-1 japanese ja_JP.eucJP japanese.euc ja_JP.eucJP ja_JP ja_JP.eucJP ja_JP.ujis ja_JP.eucJP japanese.sjis ja_JP.SJIS korean ko_KR.eucKR korean.euc ko_KR.eucKR ko_KR ko_KR.eucKR lithuanian lt_LT.ISO-8859-13 no_NO nb_NO.ISO-8859-1 no_NO.ISO-8859-1 nb_NO.ISO-8859-1 norwegian nb_NO.ISO-8859-1 nynorsk nn_NO.ISO-8859-1 polish pl_PL.ISO-8859-2 portuguese pt_PT.ISO-8859-1 romanian ro_RO.ISO-8859-2 russian ru_RU.ISO-8859-5 slovak sk_SK.ISO-8859-2 slovene sl_SI.ISO-8859-2 slovenian sl_SI.ISO-8859-2 spanish es_ES.ISO-8859-1 swedish sv_SE.ISO-8859-1 thai th_TH.TIS-620 turkish tr_TR.ISO-8859-9 vorbis-tools-1.4.2/intl/langprefs.c0000644000175000017500000000737513767140576014230 00000000000000/* Determine the user's language preferences. Copyright (C) 2004-2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Bruno Haible . */ #ifdef HAVE_CONFIG_H # include #endif #include #if HAVE_CFPREFERENCESCOPYAPPVALUE # include # include # include # include # include extern void _nl_locale_name_canonicalize (char *name); #endif /* Determine the user's language preferences, as a colon separated list of locale names in XPG syntax language[_territory][.codeset][@modifier] The result must not be freed; it is statically allocated. The LANGUAGE environment variable does not need to be considered; it is already taken into account by the caller. */ const char * _nl_language_preferences_default (void) { #if HAVE_CFPREFERENCESCOPYAPPVALUE /* MacOS X 10.2 or newer */ { /* Cache the preferences list, since CoreFoundation calls are expensive. */ static const char *cached_languages; static int cache_initialized; if (!cache_initialized) { CFTypeRef preferences = CFPreferencesCopyAppValue (CFSTR ("AppleLanguages"), kCFPreferencesCurrentApplication); if (preferences != NULL && CFGetTypeID (preferences) == CFArrayGetTypeID ()) { CFArrayRef prefArray = (CFArrayRef)preferences; int n = CFArrayGetCount (prefArray); char buf[256]; size_t size = 0; int i; for (i = 0; i < n; i++) { CFTypeRef element = CFArrayGetValueAtIndex (prefArray, i); if (element != NULL && CFGetTypeID (element) == CFStringGetTypeID () && CFStringGetCString ((CFStringRef)element, buf, sizeof (buf), kCFStringEncodingASCII)) { _nl_locale_name_canonicalize (buf); size += strlen (buf) + 1; /* Most GNU programs use msgids in English and don't ship an en.mo message catalog. Therefore when we see "en" in the preferences list, arrange for gettext() to return the msgid, and ignore all further elements of the preferences list. */ if (strcmp (buf, "en") == 0) break; } else break; } if (size > 0) { char *languages = (char *) malloc (size); if (languages != NULL) { char *p = languages; for (i = 0; i < n; i++) { CFTypeRef element = CFArrayGetValueAtIndex (prefArray, i); if (element != NULL && CFGetTypeID (element) == CFStringGetTypeID () && CFStringGetCString ((CFStringRef)element, buf, sizeof (buf), kCFStringEncodingASCII)) { _nl_locale_name_canonicalize (buf); strcpy (p, buf); p += strlen (buf); *p++ = ':'; if (strcmp (buf, "en") == 0) break; } else break; } *--p = '\0'; cached_languages = languages; } } } cache_initialized = 1; } if (cached_languages != NULL) return cached_languages; } #endif return NULL; } vorbis-tools-1.4.2/intl/printf-args.h0000644000175000017500000000662113767140576014501 00000000000000/* Decomposed printf argument list. Copyright (C) 1999, 2002-2003, 2006-2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _PRINTF_ARGS_H #define _PRINTF_ARGS_H /* This file can be parametrized with the following macros: ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. PRINTF_FETCHARGS Name of the function to be declared. STATIC Set to 'static' to declare the function static. */ /* Default parameters. */ #ifndef PRINTF_FETCHARGS # define PRINTF_FETCHARGS printf_fetchargs #endif /* Get size_t. */ #include /* Get wchar_t. */ #if HAVE_WCHAR_T # include #endif /* Get wint_t. */ #if HAVE_WINT_T # include #endif /* Get va_list. */ #include /* Argument types */ typedef enum { TYPE_NONE, TYPE_SCHAR, TYPE_UCHAR, TYPE_SHORT, TYPE_USHORT, TYPE_INT, TYPE_UINT, TYPE_LONGINT, TYPE_ULONGINT, #if HAVE_LONG_LONG_INT TYPE_LONGLONGINT, TYPE_ULONGLONGINT, #endif TYPE_DOUBLE, TYPE_LONGDOUBLE, TYPE_CHAR, #if HAVE_WINT_T TYPE_WIDE_CHAR, #endif TYPE_STRING, #if HAVE_WCHAR_T TYPE_WIDE_STRING, #endif TYPE_POINTER, TYPE_COUNT_SCHAR_POINTER, TYPE_COUNT_SHORT_POINTER, TYPE_COUNT_INT_POINTER, TYPE_COUNT_LONGINT_POINTER #if HAVE_LONG_LONG_INT , TYPE_COUNT_LONGLONGINT_POINTER #endif #if ENABLE_UNISTDIO /* The unistdio extensions. */ , TYPE_U8_STRING , TYPE_U16_STRING , TYPE_U32_STRING #endif } arg_type; /* Polymorphic argument */ typedef struct { arg_type type; union { signed char a_schar; unsigned char a_uchar; short a_short; unsigned short a_ushort; int a_int; unsigned int a_uint; long int a_longint; unsigned long int a_ulongint; #if HAVE_LONG_LONG_INT long long int a_longlongint; unsigned long long int a_ulonglongint; #endif float a_float; double a_double; long double a_longdouble; int a_char; #if HAVE_WINT_T wint_t a_wide_char; #endif const char* a_string; #if HAVE_WCHAR_T const wchar_t* a_wide_string; #endif void* a_pointer; signed char * a_count_schar_pointer; short * a_count_short_pointer; int * a_count_int_pointer; long int * a_count_longint_pointer; #if HAVE_LONG_LONG_INT long long int * a_count_longlongint_pointer; #endif #if ENABLE_UNISTDIO /* The unistdio extensions. */ const uint8_t * a_u8_string; const uint16_t * a_u16_string; const uint32_t * a_u32_string; #endif } a; } argument; typedef struct { size_t count; argument *arg; } arguments; /* Fetch the arguments, putting them into a. */ #ifdef STATIC STATIC #else extern #endif int PRINTF_FETCHARGS (va_list args, arguments *a); #endif /* _PRINTF_ARGS_H */ vorbis-tools-1.4.2/intl/hash-string.h0000644000175000017500000000256613767140576014500 00000000000000/* Description of GNU message catalog format: string hashing function. Copyright (C) 1995, 1997-1998, 2000-2003, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* @@ end of prolog @@ */ /* We assume to have `unsigned long int' value with at least 32 bits. */ #define HASHWORDBITS 32 #ifndef _LIBC # ifdef IN_LIBINTL # define __hash_string libintl_hash_string # else # define __hash_string hash_string # endif #endif /* Defines the so called `hashpjw' function by P.J. Weinberger [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools, 1986, 1987 Bell Telephone Laboratories, Inc.] */ extern unsigned long int __hash_string (const char *str_param); vorbis-tools-1.4.2/intl/os2compat.c0000644000175000017500000000550713767140576014151 00000000000000/* OS/2 compatibility functions. Copyright (C) 2001-2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #define OS2_AWARE #ifdef HAVE_CONFIG_H #include #endif #include #include #include /* A version of getenv() that works from DLLs */ extern unsigned long DosScanEnv (const unsigned char *pszName, unsigned char **ppszValue); char * _nl_getenv (const char *name) { unsigned char *value; if (DosScanEnv (name, &value)) return NULL; else return value; } /* A fixed size buffer. */ char libintl_nl_default_dirname[MAXPATHLEN+1]; char *_nlos2_libdir = NULL; char *_nlos2_localealiaspath = NULL; char *_nlos2_localedir = NULL; static __attribute__((constructor)) void nlos2_initialize () { char *root = getenv ("UNIXROOT"); char *gnulocaledir = getenv ("GNULOCALEDIR"); _nlos2_libdir = gnulocaledir; if (!_nlos2_libdir) { if (root) { size_t sl = strlen (root); _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); memcpy (_nlos2_libdir, root, sl); memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1); } else _nlos2_libdir = LIBDIR; } _nlos2_localealiaspath = gnulocaledir; if (!_nlos2_localealiaspath) { if (root) { size_t sl = strlen (root); _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); memcpy (_nlos2_localealiaspath, root, sl); memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1); } else _nlos2_localealiaspath = LOCALE_ALIAS_PATH; } _nlos2_localedir = gnulocaledir; if (!_nlos2_localedir) { if (root) { size_t sl = strlen (root); _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1); memcpy (_nlos2_localedir, root, sl); memcpy (_nlos2_localedir + sl, LOCALEDIR, strlen (LOCALEDIR) + 1); } else _nlos2_localedir = LOCALEDIR; } if (strlen (_nlos2_localedir) <= MAXPATHLEN) strcpy (libintl_nl_default_dirname, _nlos2_localedir); } vorbis-tools-1.4.2/intl/localcharset.h0000644000175000017500000000256313767140576014712 00000000000000/* Determine a canonical name for the current locale's character encoding. Copyright (C) 2000-2003 Free Software Foundation, Inc. This file is part of the GNU CHARSET Library. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _LOCALCHARSET_H #define _LOCALCHARSET_H #ifdef __cplusplus extern "C" { #endif /* Determine the current locale's character encoding, and canonicalize it into one of the canonical names listed in config.charset. The result must not be freed; it is statically allocated. If the canonical name cannot be determined, the result is a non-canonical name. */ extern const char * locale_charset (void); #ifdef __cplusplus } #endif #endif /* _LOCALCHARSET_H */ vorbis-tools-1.4.2/intl/xsize.h0000644000175000017500000000672613767140576013415 00000000000000/* xsize.h -- Checked size_t computations. Copyright (C) 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _XSIZE_H #define _XSIZE_H /* Get size_t. */ #include /* Get SIZE_MAX. */ #include #if HAVE_STDINT_H # include #endif /* The size of memory objects is often computed through expressions of type size_t. Example: void* p = malloc (header_size + n * element_size). These computations can lead to overflow. When this happens, malloc() returns a piece of memory that is way too small, and the program then crashes while attempting to fill the memory. To avoid this, the functions and macros in this file check for overflow. The convention is that SIZE_MAX represents overflow. malloc (SIZE_MAX) is not guaranteed to fail -- think of a malloc implementation that uses mmap --, it's recommended to use size_overflow_p() or size_in_bounds_p() before invoking malloc(). The example thus becomes: size_t size = xsum (header_size, xtimes (n, element_size)); void *p = (size_in_bounds_p (size) ? malloc (size) : NULL); */ /* Convert an arbitrary value >= 0 to type size_t. */ #define xcast_size_t(N) \ ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX) /* Sum of two sizes, with overflow check. */ static inline size_t #if __GNUC__ >= 3 __attribute__ ((__pure__)) #endif xsum (size_t size1, size_t size2) { size_t sum = size1 + size2; return (sum >= size1 ? sum : SIZE_MAX); } /* Sum of three sizes, with overflow check. */ static inline size_t #if __GNUC__ >= 3 __attribute__ ((__pure__)) #endif xsum3 (size_t size1, size_t size2, size_t size3) { return xsum (xsum (size1, size2), size3); } /* Sum of four sizes, with overflow check. */ static inline size_t #if __GNUC__ >= 3 __attribute__ ((__pure__)) #endif xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) { return xsum (xsum (xsum (size1, size2), size3), size4); } /* Maximum of two sizes, with overflow check. */ static inline size_t #if __GNUC__ >= 3 __attribute__ ((__pure__)) #endif xmax (size_t size1, size_t size2) { /* No explicit check is needed here, because for any n: max (SIZE_MAX, n) == SIZE_MAX and max (n, SIZE_MAX) == SIZE_MAX. */ return (size1 >= size2 ? size1 : size2); } /* Multiplication of a count with an element size, with overflow check. The count must be >= 0 and the element size must be > 0. This is a macro, not an inline function, so that it works correctly even when N is of a wider tupe and N > SIZE_MAX. */ #define xtimes(N, ELSIZE) \ ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX) /* Check for overflow. */ #define size_overflow_p(SIZE) \ ((SIZE) == SIZE_MAX) /* Check against overflow. */ #define size_in_bounds_p(SIZE) \ ((SIZE) != SIZE_MAX) #endif /* _XSIZE_H */ vorbis-tools-1.4.2/intl/vasnwprintf.h0000644000175000017500000000330613767140576014623 00000000000000/* vswprintf with automatic memory allocation. Copyright (C) 2002-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _VASNWPRINTF_H #define _VASNWPRINTF_H /* Get va_list. */ #include /* Get wchar_t, size_t. */ #include #ifdef __cplusplus extern "C" { #endif /* Write formatted output to a string dynamically allocated with malloc(). You can pass a preallocated buffer for the result in RESULTBUF and its size in *LENGTHP; otherwise you pass RESULTBUF = NULL. If successful, return the address of the string (this may be = RESULTBUF if no dynamic memory allocation was necessary) and set *LENGTHP to the number of resulting bytes, excluding the trailing NUL. Upon error, set errno and return NULL. */ extern wchar_t * asnwprintf (wchar_t *resultbuf, size_t *lengthp, const wchar_t *format, ...); extern wchar_t * vasnwprintf (wchar_t *resultbuf, size_t *lengthp, const wchar_t *format, va_list args); #ifdef __cplusplus } #endif #endif /* _VASNWPRINTF_H */ vorbis-tools-1.4.2/intl/lock.c0000644000175000017500000005413013767140576013166 00000000000000/* Locking in multithreaded situations. Copyright (C) 2005-2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-solaris.h, gthr-win32.h. */ #include #include "lock.h" /* ========================================================================= */ #if USE_POSIX_THREADS /* Use the POSIX threads library. */ # if PTHREAD_IN_USE_DETECTION_HARD /* The function to be executed by a dummy thread. */ static void * dummy_thread_func (void *arg) { return arg; } int glthread_in_use (void) { static int tested; static int result; /* 1: linked with -lpthread, 0: only with libc */ if (!tested) { pthread_t thread; if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0) /* Thread creation failed. */ result = 0; else { /* Thread creation works. */ void *retval; if (pthread_join (thread, &retval) != 0) abort (); result = 1; } tested = 1; } return result; } # endif /* -------------------------- gl_lock_t datatype -------------------------- */ /* ------------------------- gl_rwlock_t datatype ------------------------- */ # if HAVE_PTHREAD_RWLOCK # if !defined PTHREAD_RWLOCK_INITIALIZER void glthread_rwlock_init (gl_rwlock_t *lock) { if (pthread_rwlock_init (&lock->rwlock, NULL) != 0) abort (); lock->initialized = 1; } void glthread_rwlock_rdlock (gl_rwlock_t *lock) { if (!lock->initialized) { if (pthread_mutex_lock (&lock->guard) != 0) abort (); if (!lock->initialized) glthread_rwlock_init (lock); if (pthread_mutex_unlock (&lock->guard) != 0) abort (); } if (pthread_rwlock_rdlock (&lock->rwlock) != 0) abort (); } void glthread_rwlock_wrlock (gl_rwlock_t *lock) { if (!lock->initialized) { if (pthread_mutex_lock (&lock->guard) != 0) abort (); if (!lock->initialized) glthread_rwlock_init (lock); if (pthread_mutex_unlock (&lock->guard) != 0) abort (); } if (pthread_rwlock_wrlock (&lock->rwlock) != 0) abort (); } void glthread_rwlock_unlock (gl_rwlock_t *lock) { if (!lock->initialized) abort (); if (pthread_rwlock_unlock (&lock->rwlock) != 0) abort (); } void glthread_rwlock_destroy (gl_rwlock_t *lock) { if (!lock->initialized) abort (); if (pthread_rwlock_destroy (&lock->rwlock) != 0) abort (); lock->initialized = 0; } # endif # else void glthread_rwlock_init (gl_rwlock_t *lock) { if (pthread_mutex_init (&lock->lock, NULL) != 0) abort (); if (pthread_cond_init (&lock->waiting_readers, NULL) != 0) abort (); if (pthread_cond_init (&lock->waiting_writers, NULL) != 0) abort (); lock->waiting_writers_count = 0; lock->runcount = 0; } void glthread_rwlock_rdlock (gl_rwlock_t *lock) { if (pthread_mutex_lock (&lock->lock) != 0) abort (); /* Test whether only readers are currently running, and whether the runcount field will not overflow. */ /* POSIX says: "It is implementation-defined whether the calling thread acquires the lock when a writer does not hold the lock and there are writers blocked on the lock." Let's say, no: give the writers a higher priority. */ while (!(lock->runcount + 1 > 0 && lock->waiting_writers_count == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_readers. */ if (pthread_cond_wait (&lock->waiting_readers, &lock->lock) != 0) abort (); } lock->runcount++; if (pthread_mutex_unlock (&lock->lock) != 0) abort (); } void glthread_rwlock_wrlock (gl_rwlock_t *lock) { if (pthread_mutex_lock (&lock->lock) != 0) abort (); /* Test whether no readers or writers are currently running. */ while (!(lock->runcount == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_writers. */ lock->waiting_writers_count++; if (pthread_cond_wait (&lock->waiting_writers, &lock->lock) != 0) abort (); lock->waiting_writers_count--; } lock->runcount--; /* runcount becomes -1 */ if (pthread_mutex_unlock (&lock->lock) != 0) abort (); } void glthread_rwlock_unlock (gl_rwlock_t *lock) { if (pthread_mutex_lock (&lock->lock) != 0) abort (); if (lock->runcount < 0) { /* Drop a writer lock. */ if (!(lock->runcount == -1)) abort (); lock->runcount = 0; } else { /* Drop a reader lock. */ if (!(lock->runcount > 0)) abort (); lock->runcount--; } if (lock->runcount == 0) { /* POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (lock->waiting_writers_count > 0) { /* Wake up one of the waiting writers. */ if (pthread_cond_signal (&lock->waiting_writers) != 0) abort (); } else { /* Wake up all waiting readers. */ if (pthread_cond_broadcast (&lock->waiting_readers) != 0) abort (); } } if (pthread_mutex_unlock (&lock->lock) != 0) abort (); } void glthread_rwlock_destroy (gl_rwlock_t *lock) { if (pthread_mutex_destroy (&lock->lock) != 0) abort (); if (pthread_cond_destroy (&lock->waiting_readers) != 0) abort (); if (pthread_cond_destroy (&lock->waiting_writers) != 0) abort (); } # endif /* --------------------- gl_recursive_lock_t datatype --------------------- */ # if HAVE_PTHREAD_MUTEX_RECURSIVE # if !(defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER || defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP) void glthread_recursive_lock_init (gl_recursive_lock_t *lock) { pthread_mutexattr_t attributes; if (pthread_mutexattr_init (&attributes) != 0) abort (); if (pthread_mutexattr_settype (&attributes, PTHREAD_MUTEX_RECURSIVE) != 0) abort (); if (pthread_mutex_init (&lock->recmutex, &attributes) != 0) abort (); if (pthread_mutexattr_destroy (&attributes) != 0) abort (); lock->initialized = 1; } void glthread_recursive_lock_lock (gl_recursive_lock_t *lock) { if (!lock->initialized) { if (pthread_mutex_lock (&lock->guard) != 0) abort (); if (!lock->initialized) glthread_recursive_lock_init (lock); if (pthread_mutex_unlock (&lock->guard) != 0) abort (); } if (pthread_mutex_lock (&lock->recmutex) != 0) abort (); } void glthread_recursive_lock_unlock (gl_recursive_lock_t *lock) { if (!lock->initialized) abort (); if (pthread_mutex_unlock (&lock->recmutex) != 0) abort (); } void glthread_recursive_lock_destroy (gl_recursive_lock_t *lock) { if (!lock->initialized) abort (); if (pthread_mutex_destroy (&lock->recmutex) != 0) abort (); lock->initialized = 0; } # endif # else void glthread_recursive_lock_init (gl_recursive_lock_t *lock) { if (pthread_mutex_init (&lock->mutex, NULL) != 0) abort (); lock->owner = (pthread_t) 0; lock->depth = 0; } void glthread_recursive_lock_lock (gl_recursive_lock_t *lock) { pthread_t self = pthread_self (); if (lock->owner != self) { if (pthread_mutex_lock (&lock->mutex) != 0) abort (); lock->owner = self; } if (++(lock->depth) == 0) /* wraparound? */ abort (); } void glthread_recursive_lock_unlock (gl_recursive_lock_t *lock) { if (lock->owner != pthread_self ()) abort (); if (lock->depth == 0) abort (); if (--(lock->depth) == 0) { lock->owner = (pthread_t) 0; if (pthread_mutex_unlock (&lock->mutex) != 0) abort (); } } void glthread_recursive_lock_destroy (gl_recursive_lock_t *lock) { if (lock->owner != (pthread_t) 0) abort (); if (pthread_mutex_destroy (&lock->mutex) != 0) abort (); } # endif /* -------------------------- gl_once_t datatype -------------------------- */ static const pthread_once_t fresh_once = PTHREAD_ONCE_INIT; int glthread_once_singlethreaded (pthread_once_t *once_control) { /* We don't know whether pthread_once_t is an integer type, a floating-point type, a pointer type, or a structure type. */ char *firstbyte = (char *)once_control; if (*firstbyte == *(const char *)&fresh_once) { /* First time use of once_control. Invert the first byte. */ *firstbyte = ~ *(const char *)&fresh_once; return 1; } else return 0; } #endif /* ========================================================================= */ #if USE_PTH_THREADS /* Use the GNU Pth threads library. */ /* -------------------------- gl_lock_t datatype -------------------------- */ /* ------------------------- gl_rwlock_t datatype ------------------------- */ /* --------------------- gl_recursive_lock_t datatype --------------------- */ /* -------------------------- gl_once_t datatype -------------------------- */ void glthread_once_call (void *arg) { void (**gl_once_temp_addr) (void) = (void (**) (void)) arg; void (*initfunction) (void) = *gl_once_temp_addr; initfunction (); } int glthread_once_singlethreaded (pth_once_t *once_control) { /* We know that pth_once_t is an integer type. */ if (*once_control == PTH_ONCE_INIT) { /* First time use of once_control. Invert the marker. */ *once_control = ~ PTH_ONCE_INIT; return 1; } else return 0; } #endif /* ========================================================================= */ #if USE_SOLARIS_THREADS /* Use the old Solaris threads library. */ /* -------------------------- gl_lock_t datatype -------------------------- */ /* ------------------------- gl_rwlock_t datatype ------------------------- */ /* --------------------- gl_recursive_lock_t datatype --------------------- */ void glthread_recursive_lock_init (gl_recursive_lock_t *lock) { if (mutex_init (&lock->mutex, USYNC_THREAD, NULL) != 0) abort (); lock->owner = (thread_t) 0; lock->depth = 0; } void glthread_recursive_lock_lock (gl_recursive_lock_t *lock) { thread_t self = thr_self (); if (lock->owner != self) { if (mutex_lock (&lock->mutex) != 0) abort (); lock->owner = self; } if (++(lock->depth) == 0) /* wraparound? */ abort (); } void glthread_recursive_lock_unlock (gl_recursive_lock_t *lock) { if (lock->owner != thr_self ()) abort (); if (lock->depth == 0) abort (); if (--(lock->depth) == 0) { lock->owner = (thread_t) 0; if (mutex_unlock (&lock->mutex) != 0) abort (); } } void glthread_recursive_lock_destroy (gl_recursive_lock_t *lock) { if (lock->owner != (thread_t) 0) abort (); if (mutex_destroy (&lock->mutex) != 0) abort (); } /* -------------------------- gl_once_t datatype -------------------------- */ void glthread_once (gl_once_t *once_control, void (*initfunction) (void)) { if (!once_control->inited) { /* Use the mutex to guarantee that if another thread is already calling the initfunction, this thread waits until it's finished. */ if (mutex_lock (&once_control->mutex) != 0) abort (); if (!once_control->inited) { once_control->inited = 1; initfunction (); } if (mutex_unlock (&once_control->mutex) != 0) abort (); } } int glthread_once_singlethreaded (gl_once_t *once_control) { /* We know that gl_once_t contains an integer type. */ if (!once_control->inited) { /* First time use of once_control. Invert the marker. */ once_control->inited = ~ 0; return 1; } else return 0; } #endif /* ========================================================================= */ #if USE_WIN32_THREADS /* -------------------------- gl_lock_t datatype -------------------------- */ void glthread_lock_init (gl_lock_t *lock) { InitializeCriticalSection (&lock->lock); lock->guard.done = 1; } void glthread_lock_lock (gl_lock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glthread_lock_init (lock); else /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } EnterCriticalSection (&lock->lock); } void glthread_lock_unlock (gl_lock_t *lock) { if (!lock->guard.done) abort (); LeaveCriticalSection (&lock->lock); } void glthread_lock_destroy (gl_lock_t *lock) { if (!lock->guard.done) abort (); DeleteCriticalSection (&lock->lock); lock->guard.done = 0; } /* ------------------------- gl_rwlock_t datatype ------------------------- */ static inline void gl_waitqueue_init (gl_waitqueue_t *wq) { wq->array = NULL; wq->count = 0; wq->alloc = 0; wq->offset = 0; } /* Enqueues the current thread, represented by an event, in a wait queue. Returns INVALID_HANDLE_VALUE if an allocation failure occurs. */ static HANDLE gl_waitqueue_add (gl_waitqueue_t *wq) { HANDLE event; unsigned int index; if (wq->count == wq->alloc) { unsigned int new_alloc = 2 * wq->alloc + 1; HANDLE *new_array = (HANDLE *) realloc (wq->array, new_alloc * sizeof (HANDLE)); if (new_array == NULL) /* No more memory. */ return INVALID_HANDLE_VALUE; /* Now is a good opportunity to rotate the array so that its contents starts at offset 0. */ if (wq->offset > 0) { unsigned int old_count = wq->count; unsigned int old_alloc = wq->alloc; unsigned int old_offset = wq->offset; unsigned int i; if (old_offset + old_count > old_alloc) { unsigned int limit = old_offset + old_count - old_alloc; for (i = 0; i < limit; i++) new_array[old_alloc + i] = new_array[i]; } for (i = 0; i < old_count; i++) new_array[i] = new_array[old_offset + i]; wq->offset = 0; } wq->array = new_array; wq->alloc = new_alloc; } event = CreateEvent (NULL, TRUE, FALSE, NULL); if (event == INVALID_HANDLE_VALUE) /* No way to allocate an event. */ return INVALID_HANDLE_VALUE; index = wq->offset + wq->count; if (index >= wq->alloc) index -= wq->alloc; wq->array[index] = event; wq->count++; return event; } /* Notifies the first thread from a wait queue and dequeues it. */ static inline void gl_waitqueue_notify_first (gl_waitqueue_t *wq) { SetEvent (wq->array[wq->offset + 0]); wq->offset++; wq->count--; if (wq->count == 0 || wq->offset == wq->alloc) wq->offset = 0; } /* Notifies all threads from a wait queue and dequeues them all. */ static inline void gl_waitqueue_notify_all (gl_waitqueue_t *wq) { unsigned int i; for (i = 0; i < wq->count; i++) { unsigned int index = wq->offset + i; if (index >= wq->alloc) index -= wq->alloc; SetEvent (wq->array[index]); } wq->count = 0; wq->offset = 0; } void glthread_rwlock_init (gl_rwlock_t *lock) { InitializeCriticalSection (&lock->lock); gl_waitqueue_init (&lock->waiting_readers); gl_waitqueue_init (&lock->waiting_writers); lock->runcount = 0; lock->guard.done = 1; } void glthread_rwlock_rdlock (gl_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glthread_rwlock_init (lock); else /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } EnterCriticalSection (&lock->lock); /* Test whether only readers are currently running, and whether the runcount field will not overflow. */ if (!(lock->runcount + 1 > 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_readers. */ HANDLE event = gl_waitqueue_add (&lock->waiting_readers); if (event != INVALID_HANDLE_VALUE) { DWORD result; LeaveCriticalSection (&lock->lock); /* Wait until another thread signals this event. */ result = WaitForSingleObject (event, INFINITE); if (result == WAIT_FAILED || result == WAIT_TIMEOUT) abort (); CloseHandle (event); /* The thread which signalled the event already did the bookkeeping: removed us from the waiting_readers, incremented lock->runcount. */ if (!(lock->runcount > 0)) abort (); return; } else { /* Allocation failure. Weird. */ do { LeaveCriticalSection (&lock->lock); Sleep (1); EnterCriticalSection (&lock->lock); } while (!(lock->runcount + 1 > 0)); } } lock->runcount++; LeaveCriticalSection (&lock->lock); } void glthread_rwlock_wrlock (gl_rwlock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glthread_rwlock_init (lock); else /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } EnterCriticalSection (&lock->lock); /* Test whether no readers or writers are currently running. */ if (!(lock->runcount == 0)) { /* This thread has to wait for a while. Enqueue it among the waiting_writers. */ HANDLE event = gl_waitqueue_add (&lock->waiting_writers); if (event != INVALID_HANDLE_VALUE) { DWORD result; LeaveCriticalSection (&lock->lock); /* Wait until another thread signals this event. */ result = WaitForSingleObject (event, INFINITE); if (result == WAIT_FAILED || result == WAIT_TIMEOUT) abort (); CloseHandle (event); /* The thread which signalled the event already did the bookkeeping: removed us from the waiting_writers, set lock->runcount = -1. */ if (!(lock->runcount == -1)) abort (); return; } else { /* Allocation failure. Weird. */ do { LeaveCriticalSection (&lock->lock); Sleep (1); EnterCriticalSection (&lock->lock); } while (!(lock->runcount == 0)); } } lock->runcount--; /* runcount becomes -1 */ LeaveCriticalSection (&lock->lock); } void glthread_rwlock_unlock (gl_rwlock_t *lock) { if (!lock->guard.done) abort (); EnterCriticalSection (&lock->lock); if (lock->runcount < 0) { /* Drop a writer lock. */ if (!(lock->runcount == -1)) abort (); lock->runcount = 0; } else { /* Drop a reader lock. */ if (!(lock->runcount > 0)) abort (); lock->runcount--; } if (lock->runcount == 0) { /* POSIX recommends that "write locks shall take precedence over read locks", to avoid "writer starvation". */ if (lock->waiting_writers.count > 0) { /* Wake up one of the waiting writers. */ lock->runcount--; gl_waitqueue_notify_first (&lock->waiting_writers); } else { /* Wake up all waiting readers. */ lock->runcount += lock->waiting_readers.count; gl_waitqueue_notify_all (&lock->waiting_readers); } } LeaveCriticalSection (&lock->lock); } void glthread_rwlock_destroy (gl_rwlock_t *lock) { if (!lock->guard.done) abort (); if (lock->runcount != 0) abort (); DeleteCriticalSection (&lock->lock); if (lock->waiting_readers.array != NULL) free (lock->waiting_readers.array); if (lock->waiting_writers.array != NULL) free (lock->waiting_writers.array); lock->guard.done = 0; } /* --------------------- gl_recursive_lock_t datatype --------------------- */ void glthread_recursive_lock_init (gl_recursive_lock_t *lock) { lock->owner = 0; lock->depth = 0; InitializeCriticalSection (&lock->lock); lock->guard.done = 1; } void glthread_recursive_lock_lock (gl_recursive_lock_t *lock) { if (!lock->guard.done) { if (InterlockedIncrement (&lock->guard.started) == 0) /* This thread is the first one to need this lock. Initialize it. */ glthread_recursive_lock_init (lock); else /* Yield the CPU while waiting for another thread to finish initializing this lock. */ while (!lock->guard.done) Sleep (0); } { DWORD self = GetCurrentThreadId (); if (lock->owner != self) { EnterCriticalSection (&lock->lock); lock->owner = self; } if (++(lock->depth) == 0) /* wraparound? */ abort (); } } void glthread_recursive_lock_unlock (gl_recursive_lock_t *lock) { if (lock->owner != GetCurrentThreadId ()) abort (); if (lock->depth == 0) abort (); if (--(lock->depth) == 0) { lock->owner = 0; LeaveCriticalSection (&lock->lock); } } void glthread_recursive_lock_destroy (gl_recursive_lock_t *lock) { if (lock->owner != 0) abort (); DeleteCriticalSection (&lock->lock); lock->guard.done = 0; } /* -------------------------- gl_once_t datatype -------------------------- */ void glthread_once (gl_once_t *once_control, void (*initfunction) (void)) { if (once_control->inited <= 0) { if (InterlockedIncrement (&once_control->started) == 0) { /* This thread is the first one to come to this once_control. */ InitializeCriticalSection (&once_control->lock); EnterCriticalSection (&once_control->lock); once_control->inited = 0; initfunction (); once_control->inited = 1; LeaveCriticalSection (&once_control->lock); } else { /* Undo last operation. */ InterlockedDecrement (&once_control->started); /* Some other thread has already started the initialization. Yield the CPU while waiting for the other thread to finish initializing and taking the lock. */ while (once_control->inited < 0) Sleep (0); if (once_control->inited <= 0) { /* Take the lock. This blocks until the other thread has finished calling the initfunction. */ EnterCriticalSection (&once_control->lock); LeaveCriticalSection (&once_control->lock); if (!(once_control->inited > 0)) abort (); } } } } #endif /* ========================================================================= */ vorbis-tools-1.4.2/intl/tsearch.h0000644000175000017500000000536613767140576013703 00000000000000/* Binary tree data structure. Copyright (C) 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _TSEARCH_H #define _TSEARCH_H #if HAVE_TSEARCH /* Get tseach(), tfind(), tdelete(), twalk() declarations. */ #include #else #ifdef __cplusplus extern "C" { #endif /* See , for details. */ typedef enum { preorder, postorder, endorder, leaf } VISIT; /* Searches an element in the tree *VROOTP that compares equal to KEY. If one is found, it is returned. Otherwise, a new element equal to KEY is inserted in the tree and is returned. */ extern void * tsearch (const void *key, void **vrootp, int (*compar) (const void *, const void *)); /* Searches an element in the tree *VROOTP that compares equal to KEY. If one is found, it is returned. Otherwise, NULL is returned. */ extern void * tfind (const void *key, void *const *vrootp, int (*compar) (const void *, const void *)); /* Searches an element in the tree *VROOTP that compares equal to KEY. If one is found, it is removed from the tree, and its parent node is returned. Otherwise, NULL is returned. */ extern void * tdelete (const void *key, void **vrootp, int (*compar) (const void *, const void *)); /* Perform a depth-first, left-to-right traversal of the tree VROOT. The ACTION function is called: - for non-leaf nodes: 3 times, before the left subtree traversal, after the left subtree traversal but before the right subtree traversal, and after the right subtree traversal, - for leaf nodes: once. The arguments passed to ACTION are: 1. the node; it can be casted to a 'const void * const *', i.e. into a pointer to the key, 2. an indicator which visit of the node this is, 3. the level of the node in the tree (0 for the root). */ extern void twalk (const void *vroot, void (*action) (const void *, VISIT, int)); #ifdef __cplusplus } #endif #endif #endif /* _TSEARCH_H */ vorbis-tools-1.4.2/intl/plural-exp.h0000644000175000017500000001013113767140576014325 00000000000000/* Expression parsing and evaluation for plural form selection. Copyright (C) 2000-2003, 2005-2007 Free Software Foundation, Inc. Written by Ulrich Drepper , 2000. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _PLURAL_EXP_H #define _PLURAL_EXP_H #ifndef internal_function # define internal_function #endif #ifndef attribute_hidden # define attribute_hidden #endif #ifdef __cplusplus extern "C" { #endif enum expression_operator { /* Without arguments: */ var, /* The variable "n". */ num, /* Decimal number. */ /* Unary operators: */ lnot, /* Logical NOT. */ /* Binary operators: */ mult, /* Multiplication. */ divide, /* Division. */ module, /* Modulo operation. */ plus, /* Addition. */ minus, /* Subtraction. */ less_than, /* Comparison. */ greater_than, /* Comparison. */ less_or_equal, /* Comparison. */ greater_or_equal, /* Comparison. */ equal, /* Comparison for equality. */ not_equal, /* Comparison for inequality. */ land, /* Logical AND. */ lor, /* Logical OR. */ /* Ternary operators: */ qmop /* Question mark operator. */ }; /* This is the representation of the expressions to determine the plural form. */ struct expression { int nargs; /* Number of arguments. */ enum expression_operator operation; union { unsigned long int num; /* Number value for `num'. */ struct expression *args[3]; /* Up to three arguments. */ } val; }; /* This is the data structure to pass information to the parser and get the result in a thread-safe way. */ struct parse_args { const char *cp; struct expression *res; }; /* Names for the libintl functions are a problem. This source code is used 1. in the GNU C Library library, 2. in the GNU libintl library, 3. in the GNU gettext tools. The function names in each situation must be different, to allow for binary incompatible changes in 'struct expression'. Furthermore, 1. in the GNU C Library library, the names have a __ prefix, 2.+3. in the GNU libintl library and in the GNU gettext tools, the names must follow ANSI C and not start with __. So we have to distinguish the three cases. */ #ifdef _LIBC # define FREE_EXPRESSION __gettext_free_exp # define PLURAL_PARSE __gettextparse # define GERMANIC_PLURAL __gettext_germanic_plural # define EXTRACT_PLURAL_EXPRESSION __gettext_extract_plural #elif defined (IN_LIBINTL) # define FREE_EXPRESSION libintl_gettext_free_exp # define PLURAL_PARSE libintl_gettextparse # define GERMANIC_PLURAL libintl_gettext_germanic_plural # define EXTRACT_PLURAL_EXPRESSION libintl_gettext_extract_plural #else # define FREE_EXPRESSION free_plural_expression # define PLURAL_PARSE parse_plural_expression # define GERMANIC_PLURAL germanic_plural # define EXTRACT_PLURAL_EXPRESSION extract_plural_expression #endif extern void FREE_EXPRESSION (struct expression *exp) internal_function; extern int PLURAL_PARSE (void *arg); extern struct expression GERMANIC_PLURAL attribute_hidden; extern void EXTRACT_PLURAL_EXPRESSION (const char *nullentry, const struct expression **pluralp, unsigned long int *npluralsp) internal_function; #if !defined (_LIBC) && !defined (IN_LIBINTL) && !defined (IN_LIBGLOCALE) extern unsigned long int plural_eval (const struct expression *pexp, unsigned long int n); #endif #ifdef __cplusplus } #endif #endif /* _PLURAL_EXP_H */ vorbis-tools-1.4.2/intl/os2compat.h0000644000175000017500000000302613767140576014150 00000000000000/* OS/2 compatibility defines. This file is intended to be included from config.h Copyright (C) 2001-2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* When included from os2compat.h we need all the original definitions */ #ifndef OS2_AWARE #undef LIBDIR #define LIBDIR _nlos2_libdir extern char *_nlos2_libdir; #undef LOCALEDIR #define LOCALEDIR _nlos2_localedir extern char *_nlos2_localedir; #undef LOCALE_ALIAS_PATH #define LOCALE_ALIAS_PATH _nlos2_localealiaspath extern char *_nlos2_localealiaspath; #endif #undef HAVE_STRCASECMP #define HAVE_STRCASECMP 1 #define strcasecmp stricmp #define strncasecmp strnicmp /* We have our own getenv() which works even if library is compiled as DLL */ #define getenv _nl_getenv /* Older versions of gettext used -1 as the value of LC_MESSAGES */ #define LC_MESSAGES_COMPAT (-1) vorbis-tools-1.4.2/intl/localename.c0000644000175000017500000012457113767140576014345 00000000000000/* Determine name of the currently selected locale. Copyright (C) 1995-1999, 2000-2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Ulrich Drepper , 1995. */ /* Win32 code written by Tor Lillqvist . */ /* MacOS X code written by Bruno Haible . */ #include /* Specification. */ #ifdef IN_LIBINTL # include "gettextP.h" #else # include "localename.h" #endif #include #include #if HAVE_CFLOCALECOPYCURRENT || HAVE_CFPREFERENCESCOPYAPPVALUE # include # include # if HAVE_CFLOCALECOPYCURRENT # include # elif HAVE_CFPREFERENCESCOPYAPPVALUE # include # endif #endif #if defined _WIN32 || defined __WIN32__ # define WIN32_NATIVE #endif #ifdef WIN32_NATIVE # define WIN32_LEAN_AND_MEAN # include /* List of language codes, sorted by value: 0x01 LANG_ARABIC 0x02 LANG_BULGARIAN 0x03 LANG_CATALAN 0x04 LANG_CHINESE 0x05 LANG_CZECH 0x06 LANG_DANISH 0x07 LANG_GERMAN 0x08 LANG_GREEK 0x09 LANG_ENGLISH 0x0a LANG_SPANISH 0x0b LANG_FINNISH 0x0c LANG_FRENCH 0x0d LANG_HEBREW 0x0e LANG_HUNGARIAN 0x0f LANG_ICELANDIC 0x10 LANG_ITALIAN 0x11 LANG_JAPANESE 0x12 LANG_KOREAN 0x13 LANG_DUTCH 0x14 LANG_NORWEGIAN 0x15 LANG_POLISH 0x16 LANG_PORTUGUESE 0x17 LANG_RHAETO_ROMANCE 0x18 LANG_ROMANIAN 0x19 LANG_RUSSIAN 0x1a LANG_CROATIAN == LANG_SERBIAN 0x1b LANG_SLOVAK 0x1c LANG_ALBANIAN 0x1d LANG_SWEDISH 0x1e LANG_THAI 0x1f LANG_TURKISH 0x20 LANG_URDU 0x21 LANG_INDONESIAN 0x22 LANG_UKRAINIAN 0x23 LANG_BELARUSIAN 0x24 LANG_SLOVENIAN 0x25 LANG_ESTONIAN 0x26 LANG_LATVIAN 0x27 LANG_LITHUANIAN 0x28 LANG_TAJIK 0x29 LANG_FARSI 0x2a LANG_VIETNAMESE 0x2b LANG_ARMENIAN 0x2c LANG_AZERI 0x2d LANG_BASQUE 0x2e LANG_SORBIAN 0x2f LANG_MACEDONIAN 0x30 LANG_SUTU 0x31 LANG_TSONGA 0x32 LANG_TSWANA 0x33 LANG_VENDA 0x34 LANG_XHOSA 0x35 LANG_ZULU 0x36 LANG_AFRIKAANS 0x37 LANG_GEORGIAN 0x38 LANG_FAEROESE 0x39 LANG_HINDI 0x3a LANG_MALTESE 0x3b LANG_SAAMI 0x3c LANG_GAELIC 0x3d LANG_YIDDISH 0x3e LANG_MALAY 0x3f LANG_KAZAK 0x40 LANG_KYRGYZ 0x41 LANG_SWAHILI 0x42 LANG_TURKMEN 0x43 LANG_UZBEK 0x44 LANG_TATAR 0x45 LANG_BENGALI 0x46 LANG_PUNJABI 0x47 LANG_GUJARATI 0x48 LANG_ORIYA 0x49 LANG_TAMIL 0x4a LANG_TELUGU 0x4b LANG_KANNADA 0x4c LANG_MALAYALAM 0x4d LANG_ASSAMESE 0x4e LANG_MARATHI 0x4f LANG_SANSKRIT 0x50 LANG_MONGOLIAN 0x51 LANG_TIBETAN 0x52 LANG_WELSH 0x53 LANG_CAMBODIAN 0x54 LANG_LAO 0x55 LANG_BURMESE 0x56 LANG_GALICIAN 0x57 LANG_KONKANI 0x58 LANG_MANIPURI 0x59 LANG_SINDHI 0x5a LANG_SYRIAC 0x5b LANG_SINHALESE 0x5c LANG_CHEROKEE 0x5d LANG_INUKTITUT 0x5e LANG_AMHARIC 0x5f LANG_TAMAZIGHT 0x60 LANG_KASHMIRI 0x61 LANG_NEPALI 0x62 LANG_FRISIAN 0x63 LANG_PASHTO 0x64 LANG_TAGALOG 0x65 LANG_DIVEHI 0x66 LANG_EDO 0x67 LANG_FULFULDE 0x68 LANG_HAUSA 0x69 LANG_IBIBIO 0x6a LANG_YORUBA 0x70 LANG_IGBO 0x71 LANG_KANURI 0x72 LANG_OROMO 0x73 LANG_TIGRINYA 0x74 LANG_GUARANI 0x75 LANG_HAWAIIAN 0x76 LANG_LATIN 0x77 LANG_SOMALI 0x78 LANG_YI 0x79 LANG_PAPIAMENTU */ /* Mingw headers don't have latest language and sublanguage codes. */ # ifndef LANG_AFRIKAANS # define LANG_AFRIKAANS 0x36 # endif # ifndef LANG_ALBANIAN # define LANG_ALBANIAN 0x1c # endif # ifndef LANG_AMHARIC # define LANG_AMHARIC 0x5e # endif # ifndef LANG_ARABIC # define LANG_ARABIC 0x01 # endif # ifndef LANG_ARMENIAN # define LANG_ARMENIAN 0x2b # endif # ifndef LANG_ASSAMESE # define LANG_ASSAMESE 0x4d # endif # ifndef LANG_AZERI # define LANG_AZERI 0x2c # endif # ifndef LANG_BASQUE # define LANG_BASQUE 0x2d # endif # ifndef LANG_BELARUSIAN # define LANG_BELARUSIAN 0x23 # endif # ifndef LANG_BENGALI # define LANG_BENGALI 0x45 # endif # ifndef LANG_BURMESE # define LANG_BURMESE 0x55 # endif # ifndef LANG_CAMBODIAN # define LANG_CAMBODIAN 0x53 # endif # ifndef LANG_CATALAN # define LANG_CATALAN 0x03 # endif # ifndef LANG_CHEROKEE # define LANG_CHEROKEE 0x5c # endif # ifndef LANG_DIVEHI # define LANG_DIVEHI 0x65 # endif # ifndef LANG_EDO # define LANG_EDO 0x66 # endif # ifndef LANG_ESTONIAN # define LANG_ESTONIAN 0x25 # endif # ifndef LANG_FAEROESE # define LANG_FAEROESE 0x38 # endif # ifndef LANG_FARSI # define LANG_FARSI 0x29 # endif # ifndef LANG_FRISIAN # define LANG_FRISIAN 0x62 # endif # ifndef LANG_FULFULDE # define LANG_FULFULDE 0x67 # endif # ifndef LANG_GAELIC # define LANG_GAELIC 0x3c # endif # ifndef LANG_GALICIAN # define LANG_GALICIAN 0x56 # endif # ifndef LANG_GEORGIAN # define LANG_GEORGIAN 0x37 # endif # ifndef LANG_GUARANI # define LANG_GUARANI 0x74 # endif # ifndef LANG_GUJARATI # define LANG_GUJARATI 0x47 # endif # ifndef LANG_HAUSA # define LANG_HAUSA 0x68 # endif # ifndef LANG_HAWAIIAN # define LANG_HAWAIIAN 0x75 # endif # ifndef LANG_HEBREW # define LANG_HEBREW 0x0d # endif # ifndef LANG_HINDI # define LANG_HINDI 0x39 # endif # ifndef LANG_IBIBIO # define LANG_IBIBIO 0x69 # endif # ifndef LANG_IGBO # define LANG_IGBO 0x70 # endif # ifndef LANG_INDONESIAN # define LANG_INDONESIAN 0x21 # endif # ifndef LANG_INUKTITUT # define LANG_INUKTITUT 0x5d # endif # ifndef LANG_KANNADA # define LANG_KANNADA 0x4b # endif # ifndef LANG_KANURI # define LANG_KANURI 0x71 # endif # ifndef LANG_KASHMIRI # define LANG_KASHMIRI 0x60 # endif # ifndef LANG_KAZAK # define LANG_KAZAK 0x3f # endif # ifndef LANG_KONKANI # define LANG_KONKANI 0x57 # endif # ifndef LANG_KYRGYZ # define LANG_KYRGYZ 0x40 # endif # ifndef LANG_LAO # define LANG_LAO 0x54 # endif # ifndef LANG_LATIN # define LANG_LATIN 0x76 # endif # ifndef LANG_LATVIAN # define LANG_LATVIAN 0x26 # endif # ifndef LANG_LITHUANIAN # define LANG_LITHUANIAN 0x27 # endif # ifndef LANG_MACEDONIAN # define LANG_MACEDONIAN 0x2f # endif # ifndef LANG_MALAY # define LANG_MALAY 0x3e # endif # ifndef LANG_MALAYALAM # define LANG_MALAYALAM 0x4c # endif # ifndef LANG_MALTESE # define LANG_MALTESE 0x3a # endif # ifndef LANG_MANIPURI # define LANG_MANIPURI 0x58 # endif # ifndef LANG_MARATHI # define LANG_MARATHI 0x4e # endif # ifndef LANG_MONGOLIAN # define LANG_MONGOLIAN 0x50 # endif # ifndef LANG_NEPALI # define LANG_NEPALI 0x61 # endif # ifndef LANG_ORIYA # define LANG_ORIYA 0x48 # endif # ifndef LANG_OROMO # define LANG_OROMO 0x72 # endif # ifndef LANG_PAPIAMENTU # define LANG_PAPIAMENTU 0x79 # endif # ifndef LANG_PASHTO # define LANG_PASHTO 0x63 # endif # ifndef LANG_PUNJABI # define LANG_PUNJABI 0x46 # endif # ifndef LANG_RHAETO_ROMANCE # define LANG_RHAETO_ROMANCE 0x17 # endif # ifndef LANG_SAAMI # define LANG_SAAMI 0x3b # endif # ifndef LANG_SANSKRIT # define LANG_SANSKRIT 0x4f # endif # ifndef LANG_SERBIAN # define LANG_SERBIAN 0x1a # endif # ifndef LANG_SINDHI # define LANG_SINDHI 0x59 # endif # ifndef LANG_SINHALESE # define LANG_SINHALESE 0x5b # endif # ifndef LANG_SLOVAK # define LANG_SLOVAK 0x1b # endif # ifndef LANG_SOMALI # define LANG_SOMALI 0x77 # endif # ifndef LANG_SORBIAN # define LANG_SORBIAN 0x2e # endif # ifndef LANG_SUTU # define LANG_SUTU 0x30 # endif # ifndef LANG_SWAHILI # define LANG_SWAHILI 0x41 # endif # ifndef LANG_SYRIAC # define LANG_SYRIAC 0x5a # endif # ifndef LANG_TAGALOG # define LANG_TAGALOG 0x64 # endif # ifndef LANG_TAJIK # define LANG_TAJIK 0x28 # endif # ifndef LANG_TAMAZIGHT # define LANG_TAMAZIGHT 0x5f # endif # ifndef LANG_TAMIL # define LANG_TAMIL 0x49 # endif # ifndef LANG_TATAR # define LANG_TATAR 0x44 # endif # ifndef LANG_TELUGU # define LANG_TELUGU 0x4a # endif # ifndef LANG_THAI # define LANG_THAI 0x1e # endif # ifndef LANG_TIBETAN # define LANG_TIBETAN 0x51 # endif # ifndef LANG_TIGRINYA # define LANG_TIGRINYA 0x73 # endif # ifndef LANG_TSONGA # define LANG_TSONGA 0x31 # endif # ifndef LANG_TSWANA # define LANG_TSWANA 0x32 # endif # ifndef LANG_TURKMEN # define LANG_TURKMEN 0x42 # endif # ifndef LANG_UKRAINIAN # define LANG_UKRAINIAN 0x22 # endif # ifndef LANG_URDU # define LANG_URDU 0x20 # endif # ifndef LANG_UZBEK # define LANG_UZBEK 0x43 # endif # ifndef LANG_VENDA # define LANG_VENDA 0x33 # endif # ifndef LANG_VIETNAMESE # define LANG_VIETNAMESE 0x2a # endif # ifndef LANG_WELSH # define LANG_WELSH 0x52 # endif # ifndef LANG_XHOSA # define LANG_XHOSA 0x34 # endif # ifndef LANG_YI # define LANG_YI 0x78 # endif # ifndef LANG_YIDDISH # define LANG_YIDDISH 0x3d # endif # ifndef LANG_YORUBA # define LANG_YORUBA 0x6a # endif # ifndef LANG_ZULU # define LANG_ZULU 0x35 # endif # ifndef SUBLANG_ARABIC_SAUDI_ARABIA # define SUBLANG_ARABIC_SAUDI_ARABIA 0x01 # endif # ifndef SUBLANG_ARABIC_IRAQ # define SUBLANG_ARABIC_IRAQ 0x02 # endif # ifndef SUBLANG_ARABIC_EGYPT # define SUBLANG_ARABIC_EGYPT 0x03 # endif # ifndef SUBLANG_ARABIC_LIBYA # define SUBLANG_ARABIC_LIBYA 0x04 # endif # ifndef SUBLANG_ARABIC_ALGERIA # define SUBLANG_ARABIC_ALGERIA 0x05 # endif # ifndef SUBLANG_ARABIC_MOROCCO # define SUBLANG_ARABIC_MOROCCO 0x06 # endif # ifndef SUBLANG_ARABIC_TUNISIA # define SUBLANG_ARABIC_TUNISIA 0x07 # endif # ifndef SUBLANG_ARABIC_OMAN # define SUBLANG_ARABIC_OMAN 0x08 # endif # ifndef SUBLANG_ARABIC_YEMEN # define SUBLANG_ARABIC_YEMEN 0x09 # endif # ifndef SUBLANG_ARABIC_SYRIA # define SUBLANG_ARABIC_SYRIA 0x0a # endif # ifndef SUBLANG_ARABIC_JORDAN # define SUBLANG_ARABIC_JORDAN 0x0b # endif # ifndef SUBLANG_ARABIC_LEBANON # define SUBLANG_ARABIC_LEBANON 0x0c # endif # ifndef SUBLANG_ARABIC_KUWAIT # define SUBLANG_ARABIC_KUWAIT 0x0d # endif # ifndef SUBLANG_ARABIC_UAE # define SUBLANG_ARABIC_UAE 0x0e # endif # ifndef SUBLANG_ARABIC_BAHRAIN # define SUBLANG_ARABIC_BAHRAIN 0x0f # endif # ifndef SUBLANG_ARABIC_QATAR # define SUBLANG_ARABIC_QATAR 0x10 # endif # ifndef SUBLANG_AZERI_LATIN # define SUBLANG_AZERI_LATIN 0x01 # endif # ifndef SUBLANG_AZERI_CYRILLIC # define SUBLANG_AZERI_CYRILLIC 0x02 # endif # ifndef SUBLANG_BENGALI_INDIA # define SUBLANG_BENGALI_INDIA 0x01 # endif # ifndef SUBLANG_BENGALI_BANGLADESH # define SUBLANG_BENGALI_BANGLADESH 0x02 # endif # ifndef SUBLANG_CHINESE_MACAU # define SUBLANG_CHINESE_MACAU 0x05 # endif # ifndef SUBLANG_ENGLISH_SOUTH_AFRICA # define SUBLANG_ENGLISH_SOUTH_AFRICA 0x07 # endif # ifndef SUBLANG_ENGLISH_JAMAICA # define SUBLANG_ENGLISH_JAMAICA 0x08 # endif # ifndef SUBLANG_ENGLISH_CARIBBEAN # define SUBLANG_ENGLISH_CARIBBEAN 0x09 # endif # ifndef SUBLANG_ENGLISH_BELIZE # define SUBLANG_ENGLISH_BELIZE 0x0a # endif # ifndef SUBLANG_ENGLISH_TRINIDAD # define SUBLANG_ENGLISH_TRINIDAD 0x0b # endif # ifndef SUBLANG_ENGLISH_ZIMBABWE # define SUBLANG_ENGLISH_ZIMBABWE 0x0c # endif # ifndef SUBLANG_ENGLISH_PHILIPPINES # define SUBLANG_ENGLISH_PHILIPPINES 0x0d # endif # ifndef SUBLANG_ENGLISH_INDONESIA # define SUBLANG_ENGLISH_INDONESIA 0x0e # endif # ifndef SUBLANG_ENGLISH_HONGKONG # define SUBLANG_ENGLISH_HONGKONG 0x0f # endif # ifndef SUBLANG_ENGLISH_INDIA # define SUBLANG_ENGLISH_INDIA 0x10 # endif # ifndef SUBLANG_ENGLISH_MALAYSIA # define SUBLANG_ENGLISH_MALAYSIA 0x11 # endif # ifndef SUBLANG_ENGLISH_SINGAPORE # define SUBLANG_ENGLISH_SINGAPORE 0x12 # endif # ifndef SUBLANG_FRENCH_LUXEMBOURG # define SUBLANG_FRENCH_LUXEMBOURG 0x05 # endif # ifndef SUBLANG_FRENCH_MONACO # define SUBLANG_FRENCH_MONACO 0x06 # endif # ifndef SUBLANG_FRENCH_WESTINDIES # define SUBLANG_FRENCH_WESTINDIES 0x07 # endif # ifndef SUBLANG_FRENCH_REUNION # define SUBLANG_FRENCH_REUNION 0x08 # endif # ifndef SUBLANG_FRENCH_CONGO # define SUBLANG_FRENCH_CONGO 0x09 # endif # ifndef SUBLANG_FRENCH_SENEGAL # define SUBLANG_FRENCH_SENEGAL 0x0a # endif # ifndef SUBLANG_FRENCH_CAMEROON # define SUBLANG_FRENCH_CAMEROON 0x0b # endif # ifndef SUBLANG_FRENCH_COTEDIVOIRE # define SUBLANG_FRENCH_COTEDIVOIRE 0x0c # endif # ifndef SUBLANG_FRENCH_MALI # define SUBLANG_FRENCH_MALI 0x0d # endif # ifndef SUBLANG_FRENCH_MOROCCO # define SUBLANG_FRENCH_MOROCCO 0x0e # endif # ifndef SUBLANG_FRENCH_HAITI # define SUBLANG_FRENCH_HAITI 0x0f # endif # ifndef SUBLANG_GERMAN_LUXEMBOURG # define SUBLANG_GERMAN_LUXEMBOURG 0x04 # endif # ifndef SUBLANG_GERMAN_LIECHTENSTEIN # define SUBLANG_GERMAN_LIECHTENSTEIN 0x05 # endif # ifndef SUBLANG_KASHMIRI_INDIA # define SUBLANG_KASHMIRI_INDIA 0x02 # endif # ifndef SUBLANG_MALAY_MALAYSIA # define SUBLANG_MALAY_MALAYSIA 0x01 # endif # ifndef SUBLANG_MALAY_BRUNEI_DARUSSALAM # define SUBLANG_MALAY_BRUNEI_DARUSSALAM 0x02 # endif # ifndef SUBLANG_NEPALI_INDIA # define SUBLANG_NEPALI_INDIA 0x02 # endif # ifndef SUBLANG_PUNJABI_INDIA # define SUBLANG_PUNJABI_INDIA 0x01 # endif # ifndef SUBLANG_PUNJABI_PAKISTAN # define SUBLANG_PUNJABI_PAKISTAN 0x02 # endif # ifndef SUBLANG_ROMANIAN_ROMANIA # define SUBLANG_ROMANIAN_ROMANIA 0x01 # endif # ifndef SUBLANG_ROMANIAN_MOLDOVA # define SUBLANG_ROMANIAN_MOLDOVA 0x02 # endif # ifndef SUBLANG_SERBIAN_LATIN # define SUBLANG_SERBIAN_LATIN 0x02 # endif # ifndef SUBLANG_SERBIAN_CYRILLIC # define SUBLANG_SERBIAN_CYRILLIC 0x03 # endif # ifndef SUBLANG_SINDHI_PAKISTAN # define SUBLANG_SINDHI_PAKISTAN 0x01 # endif # ifndef SUBLANG_SINDHI_AFGHANISTAN # define SUBLANG_SINDHI_AFGHANISTAN 0x02 # endif # ifndef SUBLANG_SPANISH_GUATEMALA # define SUBLANG_SPANISH_GUATEMALA 0x04 # endif # ifndef SUBLANG_SPANISH_COSTA_RICA # define SUBLANG_SPANISH_COSTA_RICA 0x05 # endif # ifndef SUBLANG_SPANISH_PANAMA # define SUBLANG_SPANISH_PANAMA 0x06 # endif # ifndef SUBLANG_SPANISH_DOMINICAN_REPUBLIC # define SUBLANG_SPANISH_DOMINICAN_REPUBLIC 0x07 # endif # ifndef SUBLANG_SPANISH_VENEZUELA # define SUBLANG_SPANISH_VENEZUELA 0x08 # endif # ifndef SUBLANG_SPANISH_COLOMBIA # define SUBLANG_SPANISH_COLOMBIA 0x09 # endif # ifndef SUBLANG_SPANISH_PERU # define SUBLANG_SPANISH_PERU 0x0a # endif # ifndef SUBLANG_SPANISH_ARGENTINA # define SUBLANG_SPANISH_ARGENTINA 0x0b # endif # ifndef SUBLANG_SPANISH_ECUADOR # define SUBLANG_SPANISH_ECUADOR 0x0c # endif # ifndef SUBLANG_SPANISH_CHILE # define SUBLANG_SPANISH_CHILE 0x0d # endif # ifndef SUBLANG_SPANISH_URUGUAY # define SUBLANG_SPANISH_URUGUAY 0x0e # endif # ifndef SUBLANG_SPANISH_PARAGUAY # define SUBLANG_SPANISH_PARAGUAY 0x0f # endif # ifndef SUBLANG_SPANISH_BOLIVIA # define SUBLANG_SPANISH_BOLIVIA 0x10 # endif # ifndef SUBLANG_SPANISH_EL_SALVADOR # define SUBLANG_SPANISH_EL_SALVADOR 0x11 # endif # ifndef SUBLANG_SPANISH_HONDURAS # define SUBLANG_SPANISH_HONDURAS 0x12 # endif # ifndef SUBLANG_SPANISH_NICARAGUA # define SUBLANG_SPANISH_NICARAGUA 0x13 # endif # ifndef SUBLANG_SPANISH_PUERTO_RICO # define SUBLANG_SPANISH_PUERTO_RICO 0x14 # endif # ifndef SUBLANG_SWEDISH_FINLAND # define SUBLANG_SWEDISH_FINLAND 0x02 # endif # ifndef SUBLANG_TAMAZIGHT_ARABIC # define SUBLANG_TAMAZIGHT_ARABIC 0x01 # endif # ifndef SUBLANG_TAMAZIGHT_ALGERIA_LATIN # define SUBLANG_TAMAZIGHT_ALGERIA_LATIN 0x02 # endif # ifndef SUBLANG_TIGRINYA_ETHIOPIA # define SUBLANG_TIGRINYA_ETHIOPIA 0x01 # endif # ifndef SUBLANG_TIGRINYA_ERITREA # define SUBLANG_TIGRINYA_ERITREA 0x02 # endif # ifndef SUBLANG_URDU_PAKISTAN # define SUBLANG_URDU_PAKISTAN 0x01 # endif # ifndef SUBLANG_URDU_INDIA # define SUBLANG_URDU_INDIA 0x02 # endif # ifndef SUBLANG_UZBEK_LATIN # define SUBLANG_UZBEK_LATIN 0x01 # endif # ifndef SUBLANG_UZBEK_CYRILLIC # define SUBLANG_UZBEK_CYRILLIC 0x02 # endif #endif # if HAVE_CFLOCALECOPYCURRENT || HAVE_CFPREFERENCESCOPYAPPVALUE /* MacOS X 10.2 or newer */ /* Canonicalize a MacOS X locale name to a Unix locale name. NAME is a sufficiently large buffer. On input, it contains the MacOS X locale name. On output, it contains the Unix locale name. */ # if !defined IN_LIBINTL static # endif void gl_locale_name_canonicalize (char *name) { /* This conversion is based on a posting by Deborah GoldSmith on 2005-03-08, http://lists.apple.com/archives/carbon-dev/2005/Mar/msg00293.html */ /* Convert legacy (NeXTstep inherited) English names to Unix (ISO 639 and ISO 3166) names. Prior to MacOS X 10.3, there is no API for doing this. Therefore we do it ourselves, using a table based on the results of the MacOS X 10.3.8 function CFLocaleCreateCanonicalLocaleIdentifierFromString(). */ typedef struct { const char legacy[21+1]; const char unixy[5+1]; } legacy_entry; static const legacy_entry legacy_table[] = { { "Afrikaans", "af" }, { "Albanian", "sq" }, { "Amharic", "am" }, { "Arabic", "ar" }, { "Armenian", "hy" }, { "Assamese", "as" }, { "Aymara", "ay" }, { "Azerbaijani", "az" }, { "Basque", "eu" }, { "Belarusian", "be" }, { "Belorussian", "be" }, { "Bengali", "bn" }, { "Brazilian Portugese", "pt_BR" }, { "Brazilian Portuguese", "pt_BR" }, { "Breton", "br" }, { "Bulgarian", "bg" }, { "Burmese", "my" }, { "Byelorussian", "be" }, { "Catalan", "ca" }, { "Chewa", "ny" }, { "Chichewa", "ny" }, { "Chinese", "zh" }, { "Chinese, Simplified", "zh_CN" }, { "Chinese, Traditional", "zh_TW" }, { "Chinese, Tradtional", "zh_TW" }, { "Croatian", "hr" }, { "Czech", "cs" }, { "Danish", "da" }, { "Dutch", "nl" }, { "Dzongkha", "dz" }, { "English", "en" }, { "Esperanto", "eo" }, { "Estonian", "et" }, { "Faroese", "fo" }, { "Farsi", "fa" }, { "Finnish", "fi" }, { "Flemish", "nl_BE" }, { "French", "fr" }, { "Galician", "gl" }, { "Gallegan", "gl" }, { "Georgian", "ka" }, { "German", "de" }, { "Greek", "el" }, { "Greenlandic", "kl" }, { "Guarani", "gn" }, { "Gujarati", "gu" }, { "Hawaiian", "haw" }, /* Yes, "haw", not "cpe". */ { "Hebrew", "he" }, { "Hindi", "hi" }, { "Hungarian", "hu" }, { "Icelandic", "is" }, { "Indonesian", "id" }, { "Inuktitut", "iu" }, { "Irish", "ga" }, { "Italian", "it" }, { "Japanese", "ja" }, { "Javanese", "jv" }, { "Kalaallisut", "kl" }, { "Kannada", "kn" }, { "Kashmiri", "ks" }, { "Kazakh", "kk" }, { "Khmer", "km" }, { "Kinyarwanda", "rw" }, { "Kirghiz", "ky" }, { "Korean", "ko" }, { "Kurdish", "ku" }, { "Latin", "la" }, { "Latvian", "lv" }, { "Lithuanian", "lt" }, { "Macedonian", "mk" }, { "Malagasy", "mg" }, { "Malay", "ms" }, { "Malayalam", "ml" }, { "Maltese", "mt" }, { "Manx", "gv" }, { "Marathi", "mr" }, { "Moldavian", "mo" }, { "Mongolian", "mn" }, { "Nepali", "ne" }, { "Norwegian", "nb" }, /* Yes, "nb", not the obsolete "no". */ { "Nyanja", "ny" }, { "Nynorsk", "nn" }, { "Oriya", "or" }, { "Oromo", "om" }, { "Panjabi", "pa" }, { "Pashto", "ps" }, { "Persian", "fa" }, { "Polish", "pl" }, { "Portuguese", "pt" }, { "Portuguese, Brazilian", "pt_BR" }, { "Punjabi", "pa" }, { "Pushto", "ps" }, { "Quechua", "qu" }, { "Romanian", "ro" }, { "Ruanda", "rw" }, { "Rundi", "rn" }, { "Russian", "ru" }, { "Sami", "se_NO" }, /* Not just "se". */ { "Sanskrit", "sa" }, { "Scottish", "gd" }, { "Serbian", "sr" }, { "Simplified Chinese", "zh_CN" }, { "Sindhi", "sd" }, { "Sinhalese", "si" }, { "Slovak", "sk" }, { "Slovenian", "sl" }, { "Somali", "so" }, { "Spanish", "es" }, { "Sundanese", "su" }, { "Swahili", "sw" }, { "Swedish", "sv" }, { "Tagalog", "tl" }, { "Tajik", "tg" }, { "Tajiki", "tg" }, { "Tamil", "ta" }, { "Tatar", "tt" }, { "Telugu", "te" }, { "Thai", "th" }, { "Tibetan", "bo" }, { "Tigrinya", "ti" }, { "Tongan", "to" }, { "Traditional Chinese", "zh_TW" }, { "Turkish", "tr" }, { "Turkmen", "tk" }, { "Uighur", "ug" }, { "Ukrainian", "uk" }, { "Urdu", "ur" }, { "Uzbek", "uz" }, { "Vietnamese", "vi" }, { "Welsh", "cy" }, { "Yiddish", "yi" } }; /* Convert new-style locale names with language tags (ISO 639 and ISO 15924) to Unix (ISO 639 and ISO 3166) names. */ typedef struct { const char langtag[7+1]; const char unixy[12+1]; } langtag_entry; static const langtag_entry langtag_table[] = { /* MacOS X has "az-Arab", "az-Cyrl", "az-Latn". The default script for az on Unix is Latin. */ { "az-Latn", "az" }, /* MacOS X has "ga-dots". Does not yet exist on Unix. */ { "ga-dots", "ga" }, /* MacOS X has "kk-Cyrl". Does not yet exist on Unix. */ /* MacOS X has "mn-Cyrl", "mn-Mong". The default script for mn on Unix is Cyrillic. */ { "mn-Cyrl", "mn" }, /* MacOS X has "ms-Arab", "ms-Latn". The default script for ms on Unix is Latin. */ { "ms-Latn", "ms" }, /* MacOS X has "tg-Cyrl". The default script for tg on Unix is Cyrillic. */ { "tg-Cyrl", "tg" }, /* MacOS X has "tk-Cyrl". Does not yet exist on Unix. */ /* MacOS X has "tt-Cyrl". The default script for tt on Unix is Cyrillic. */ { "tt-Cyrl", "tt" }, /* MacOS X has "zh-Hans", "zh-Hant". Country codes are used to distinguish these on Unix. */ { "zh-Hans", "zh_CN" }, { "zh-Hant", "zh_TW" } }; /* Convert script names (ISO 15924) to Unix conventions. See http://www.unicode.org/iso15924/iso15924-codes.html */ typedef struct { const char script[4+1]; const char unixy[9+1]; } script_entry; static const script_entry script_table[] = { { "Arab", "arabic" }, { "Cyrl", "cyrillic" }, { "Mong", "mongolian" } }; /* Step 1: Convert using legacy_table. */ if (name[0] >= 'A' && name[0] <= 'Z') { unsigned int i1, i2; i1 = 0; i2 = sizeof (legacy_table) / sizeof (legacy_entry); while (i2 - i1 > 1) { /* At this point we know that if name occurs in legacy_table, its index must be >= i1 and < i2. */ unsigned int i = (i1 + i2) >> 1; const legacy_entry *p = &legacy_table[i]; if (strcmp (name, p->legacy) < 0) i2 = i; else i1 = i; } if (strcmp (name, legacy_table[i1].legacy) == 0) { strcpy (name, legacy_table[i1].unixy); return; } } /* Step 2: Convert using langtag_table and script_table. */ if (strlen (name) == 7 && name[2] == '-') { unsigned int i1, i2; i1 = 0; i2 = sizeof (langtag_table) / sizeof (langtag_entry); while (i2 - i1 > 1) { /* At this point we know that if name occurs in langtag_table, its index must be >= i1 and < i2. */ unsigned int i = (i1 + i2) >> 1; const langtag_entry *p = &langtag_table[i]; if (strcmp (name, p->langtag) < 0) i2 = i; else i1 = i; } if (strcmp (name, langtag_table[i1].langtag) == 0) { strcpy (name, langtag_table[i1].unixy); return; } i1 = 0; i2 = sizeof (script_table) / sizeof (script_entry); while (i2 - i1 > 1) { /* At this point we know that if (name + 3) occurs in script_table, its index must be >= i1 and < i2. */ unsigned int i = (i1 + i2) >> 1; const script_entry *p = &script_table[i]; if (strcmp (name + 3, p->script) < 0) i2 = i; else i1 = i; } if (strcmp (name + 3, script_table[i1].script) == 0) { name[2] = '@'; strcpy (name + 3, script_table[i1].unixy); return; } } /* Step 3: Convert new-style dash to Unix underscore. */ { char *p; for (p = name; *p != '\0'; p++) if (*p == '-') *p = '_'; } } #endif /* XPG3 defines the result of 'setlocale (category, NULL)' as: "Directs 'setlocale()' to query 'category' and return the current setting of 'local'." However it does not specify the exact format. Neither do SUSV2 and ISO C 99. So we can use this feature only on selected systems (e.g. those using GNU C Library). */ #if defined _LIBC || (defined __GLIBC__ && __GLIBC__ >= 2) # define HAVE_LOCALE_NULL #endif /* Determine the current locale's name, and canonicalize it into XPG syntax language[_territory][.codeset][@modifier] The codeset part in the result is not reliable; the locale_charset() should be used for codeset information instead. The result must not be freed; it is statically allocated. */ const char * gl_locale_name_posix (int category, const char *categoryname) { /* Use the POSIX methods of looking to 'LC_ALL', 'LC_xxx', and 'LANG'. On some systems this can be done by the 'setlocale' function itself. */ #if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL return setlocale (category, NULL); #else const char *retval; /* Setting of LC_ALL overrides all other. */ retval = getenv ("LC_ALL"); if (retval != NULL && retval[0] != '\0') return retval; /* Next comes the name of the desired category. */ retval = getenv (categoryname); if (retval != NULL && retval[0] != '\0') return retval; /* Last possibility is the LANG environment variable. */ retval = getenv ("LANG"); if (retval != NULL && retval[0] != '\0') return retval; return NULL; #endif } const char * gl_locale_name_default (void) { /* POSIX:2001 says: "All implementations shall define a locale as the default locale, to be invoked when no environment variables are set, or set to the empty string. This default locale can be the POSIX locale or any other implementation-defined locale. Some implementations may provide facilities for local installation administrators to set the default locale, customizing it for each location. POSIX:2001 does not require such a facility. */ #if !(HAVE_CFLOCALECOPYCURRENT || HAVE_CFPREFERENCESCOPYAPPVALUE || defined(WIN32_NATIVE)) /* The system does not have a way of setting the locale, other than the POSIX specified environment variables. We use C as default locale. */ return "C"; #else /* Return an XPG style locale name language[_territory][@modifier]. Don't even bother determining the codeset; it's not useful in this context, because message catalogs are not specific to a single codeset. */ # if HAVE_CFLOCALECOPYCURRENT || HAVE_CFPREFERENCESCOPYAPPVALUE /* MacOS X 10.2 or newer */ { /* Cache the locale name, since CoreFoundation calls are expensive. */ static const char *cached_localename; if (cached_localename == NULL) { char namebuf[256]; # if HAVE_CFLOCALECOPYCURRENT /* MacOS X 10.3 or newer */ CFLocaleRef locale = CFLocaleCopyCurrent (); CFStringRef name = CFLocaleGetIdentifier (locale); if (CFStringGetCString (name, namebuf, sizeof(namebuf), kCFStringEncodingASCII)) { gl_locale_name_canonicalize (namebuf); cached_localename = strdup (namebuf); } CFRelease (locale); # elif HAVE_CFPREFERENCESCOPYAPPVALUE /* MacOS X 10.2 or newer */ CFTypeRef value = CFPreferencesCopyAppValue (CFSTR ("AppleLocale"), kCFPreferencesCurrentApplication); if (value != NULL && CFGetTypeID (value) == CFStringGetTypeID () && CFStringGetCString ((CFStringRef)value, namebuf, sizeof(namebuf), kCFStringEncodingASCII)) { gl_locale_name_canonicalize (namebuf); cached_localename = strdup (namebuf); } # endif if (cached_localename == NULL) cached_localename = "C"; } return cached_localename; } # endif # if defined(WIN32_NATIVE) /* WIN32, not Cygwin */ { LCID lcid; LANGID langid; int primary, sub; /* Use native Win32 API locale ID. */ lcid = GetThreadLocale (); /* Strip off the sorting rules, keep only the language part. */ langid = LANGIDFROMLCID (lcid); /* Split into language and territory part. */ primary = PRIMARYLANGID (langid); sub = SUBLANGID (langid); /* Dispatch on language. See also http://www.unicode.org/unicode/onlinedat/languages.html . For details about languages, see http://www.ethnologue.com/ . */ switch (primary) { case LANG_AFRIKAANS: return "af_ZA"; case LANG_ALBANIAN: return "sq_AL"; case LANG_AMHARIC: return "am_ET"; case LANG_ARABIC: switch (sub) { case SUBLANG_ARABIC_SAUDI_ARABIA: return "ar_SA"; case SUBLANG_ARABIC_IRAQ: return "ar_IQ"; case SUBLANG_ARABIC_EGYPT: return "ar_EG"; case SUBLANG_ARABIC_LIBYA: return "ar_LY"; case SUBLANG_ARABIC_ALGERIA: return "ar_DZ"; case SUBLANG_ARABIC_MOROCCO: return "ar_MA"; case SUBLANG_ARABIC_TUNISIA: return "ar_TN"; case SUBLANG_ARABIC_OMAN: return "ar_OM"; case SUBLANG_ARABIC_YEMEN: return "ar_YE"; case SUBLANG_ARABIC_SYRIA: return "ar_SY"; case SUBLANG_ARABIC_JORDAN: return "ar_JO"; case SUBLANG_ARABIC_LEBANON: return "ar_LB"; case SUBLANG_ARABIC_KUWAIT: return "ar_KW"; case SUBLANG_ARABIC_UAE: return "ar_AE"; case SUBLANG_ARABIC_BAHRAIN: return "ar_BH"; case SUBLANG_ARABIC_QATAR: return "ar_QA"; } return "ar"; case LANG_ARMENIAN: return "hy_AM"; case LANG_ASSAMESE: return "as_IN"; case LANG_AZERI: switch (sub) { /* FIXME: Adjust this when Azerbaijani locales appear on Unix. */ case SUBLANG_AZERI_LATIN: return "az_AZ@latin"; case SUBLANG_AZERI_CYRILLIC: return "az_AZ@cyrillic"; } return "az"; case LANG_BASQUE: switch (sub) { case SUBLANG_DEFAULT: return "eu_ES"; } return "eu"; /* Ambiguous: could be "eu_ES" or "eu_FR". */ case LANG_BELARUSIAN: return "be_BY"; case LANG_BENGALI: switch (sub) { case SUBLANG_BENGALI_INDIA: return "bn_IN"; case SUBLANG_BENGALI_BANGLADESH: return "bn_BD"; } return "bn"; case LANG_BULGARIAN: return "bg_BG"; case LANG_BURMESE: return "my_MM"; case LANG_CAMBODIAN: return "km_KH"; case LANG_CATALAN: return "ca_ES"; case LANG_CHEROKEE: return "chr_US"; case LANG_CHINESE: switch (sub) { case SUBLANG_CHINESE_TRADITIONAL: return "zh_TW"; case SUBLANG_CHINESE_SIMPLIFIED: return "zh_CN"; case SUBLANG_CHINESE_HONGKONG: return "zh_HK"; case SUBLANG_CHINESE_SINGAPORE: return "zh_SG"; case SUBLANG_CHINESE_MACAU: return "zh_MO"; } return "zh"; case LANG_CROATIAN: /* LANG_CROATIAN == LANG_SERBIAN * What used to be called Serbo-Croatian * should really now be two separate * languages because of political reasons. * (Says tml, who knows nothing about Serbian * or Croatian.) * (I can feel those flames coming already.) */ switch (sub) { case SUBLANG_DEFAULT: return "hr_HR"; case SUBLANG_SERBIAN_LATIN: return "sr_CS"; case SUBLANG_SERBIAN_CYRILLIC: return "sr_CS@cyrillic"; } return "hr"; case LANG_CZECH: return "cs_CZ"; case LANG_DANISH: return "da_DK"; case LANG_DIVEHI: return "dv_MV"; case LANG_DUTCH: switch (sub) { case SUBLANG_DUTCH: return "nl_NL"; case SUBLANG_DUTCH_BELGIAN: /* FLEMISH, VLAAMS */ return "nl_BE"; } return "nl"; case LANG_EDO: return "bin_NG"; case LANG_ENGLISH: switch (sub) { /* SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. Heh. I thought * English was the language spoken in England. * Oh well. */ case SUBLANG_ENGLISH_US: return "en_US"; case SUBLANG_ENGLISH_UK: return "en_GB"; case SUBLANG_ENGLISH_AUS: return "en_AU"; case SUBLANG_ENGLISH_CAN: return "en_CA"; case SUBLANG_ENGLISH_NZ: return "en_NZ"; case SUBLANG_ENGLISH_EIRE: return "en_IE"; case SUBLANG_ENGLISH_SOUTH_AFRICA: return "en_ZA"; case SUBLANG_ENGLISH_JAMAICA: return "en_JM"; case SUBLANG_ENGLISH_CARIBBEAN: return "en_GD"; /* Grenada? */ case SUBLANG_ENGLISH_BELIZE: return "en_BZ"; case SUBLANG_ENGLISH_TRINIDAD: return "en_TT"; case SUBLANG_ENGLISH_ZIMBABWE: return "en_ZW"; case SUBLANG_ENGLISH_PHILIPPINES: return "en_PH"; case SUBLANG_ENGLISH_INDONESIA: return "en_ID"; case SUBLANG_ENGLISH_HONGKONG: return "en_HK"; case SUBLANG_ENGLISH_INDIA: return "en_IN"; case SUBLANG_ENGLISH_MALAYSIA: return "en_MY"; case SUBLANG_ENGLISH_SINGAPORE: return "en_SG"; } return "en"; case LANG_ESTONIAN: return "et_EE"; case LANG_FAEROESE: return "fo_FO"; case LANG_FARSI: return "fa_IR"; case LANG_FINNISH: return "fi_FI"; case LANG_FRENCH: switch (sub) { case SUBLANG_FRENCH: return "fr_FR"; case SUBLANG_FRENCH_BELGIAN: /* WALLOON */ return "fr_BE"; case SUBLANG_FRENCH_CANADIAN: return "fr_CA"; case SUBLANG_FRENCH_SWISS: return "fr_CH"; case SUBLANG_FRENCH_LUXEMBOURG: return "fr_LU"; case SUBLANG_FRENCH_MONACO: return "fr_MC"; case SUBLANG_FRENCH_WESTINDIES: return "fr"; /* Caribbean? */ case SUBLANG_FRENCH_REUNION: return "fr_RE"; case SUBLANG_FRENCH_CONGO: return "fr_CG"; case SUBLANG_FRENCH_SENEGAL: return "fr_SN"; case SUBLANG_FRENCH_CAMEROON: return "fr_CM"; case SUBLANG_FRENCH_COTEDIVOIRE: return "fr_CI"; case SUBLANG_FRENCH_MALI: return "fr_ML"; case SUBLANG_FRENCH_MOROCCO: return "fr_MA"; case SUBLANG_FRENCH_HAITI: return "fr_HT"; } return "fr"; case LANG_FRISIAN: return "fy_NL"; case LANG_FULFULDE: /* Spoken in Nigeria, Guinea, Senegal, Mali, Niger, Cameroon, Benin. */ return "ff_NG"; case LANG_GAELIC: switch (sub) { case 0x01: /* SCOTTISH */ return "gd_GB"; case 0x02: /* IRISH */ return "ga_IE"; } return "C"; case LANG_GALICIAN: return "gl_ES"; case LANG_GEORGIAN: return "ka_GE"; case LANG_GERMAN: switch (sub) { case SUBLANG_GERMAN: return "de_DE"; case SUBLANG_GERMAN_SWISS: return "de_CH"; case SUBLANG_GERMAN_AUSTRIAN: return "de_AT"; case SUBLANG_GERMAN_LUXEMBOURG: return "de_LU"; case SUBLANG_GERMAN_LIECHTENSTEIN: return "de_LI"; } return "de"; case LANG_GREEK: return "el_GR"; case LANG_GUARANI: return "gn_PY"; case LANG_GUJARATI: return "gu_IN"; case LANG_HAUSA: return "ha_NG"; case LANG_HAWAIIAN: /* FIXME: Do they mean Hawaiian ("haw_US", 1000 speakers) or Hawaii Creole English ("cpe_US", 600000 speakers)? */ return "cpe_US"; case LANG_HEBREW: return "he_IL"; case LANG_HINDI: return "hi_IN"; case LANG_HUNGARIAN: return "hu_HU"; case LANG_IBIBIO: return "nic_NG"; case LANG_ICELANDIC: return "is_IS"; case LANG_IGBO: return "ig_NG"; case LANG_INDONESIAN: return "id_ID"; case LANG_INUKTITUT: return "iu_CA"; case LANG_ITALIAN: switch (sub) { case SUBLANG_ITALIAN: return "it_IT"; case SUBLANG_ITALIAN_SWISS: return "it_CH"; } return "it"; case LANG_JAPANESE: return "ja_JP"; case LANG_KANNADA: return "kn_IN"; case LANG_KANURI: return "kr_NG"; case LANG_KASHMIRI: switch (sub) { case SUBLANG_DEFAULT: return "ks_PK"; case SUBLANG_KASHMIRI_INDIA: return "ks_IN"; } return "ks"; case LANG_KAZAK: return "kk_KZ"; case LANG_KONKANI: /* FIXME: Adjust this when such locales appear on Unix. */ return "kok_IN"; case LANG_KOREAN: return "ko_KR"; case LANG_KYRGYZ: return "ky_KG"; case LANG_LAO: return "lo_LA"; case LANG_LATIN: return "la_VA"; case LANG_LATVIAN: return "lv_LV"; case LANG_LITHUANIAN: return "lt_LT"; case LANG_MACEDONIAN: return "mk_MK"; case LANG_MALAY: switch (sub) { case SUBLANG_MALAY_MALAYSIA: return "ms_MY"; case SUBLANG_MALAY_BRUNEI_DARUSSALAM: return "ms_BN"; } return "ms"; case LANG_MALAYALAM: return "ml_IN"; case LANG_MALTESE: return "mt_MT"; case LANG_MANIPURI: /* FIXME: Adjust this when such locales appear on Unix. */ return "mni_IN"; case LANG_MARATHI: return "mr_IN"; case LANG_MONGOLIAN: switch (sub) { case SUBLANG_DEFAULT: return "mn_MN"; } return "mn"; /* Ambiguous: could be "mn_CN" or "mn_MN". */ case LANG_NEPALI: switch (sub) { case SUBLANG_DEFAULT: return "ne_NP"; case SUBLANG_NEPALI_INDIA: return "ne_IN"; } return "ne"; case LANG_NORWEGIAN: switch (sub) { case SUBLANG_NORWEGIAN_BOKMAL: return "nb_NO"; case SUBLANG_NORWEGIAN_NYNORSK: return "nn_NO"; } return "no"; case LANG_ORIYA: return "or_IN"; case LANG_OROMO: return "om_ET"; case LANG_PAPIAMENTU: return "pap_AN"; case LANG_PASHTO: return "ps"; /* Ambiguous: could be "ps_PK" or "ps_AF". */ case LANG_POLISH: return "pl_PL"; case LANG_PORTUGUESE: switch (sub) { case SUBLANG_PORTUGUESE: return "pt_PT"; /* Hmm. SUBLANG_PORTUGUESE_BRAZILIAN == SUBLANG_DEFAULT. Same phenomenon as SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. */ case SUBLANG_PORTUGUESE_BRAZILIAN: return "pt_BR"; } return "pt"; case LANG_PUNJABI: switch (sub) { case SUBLANG_PUNJABI_INDIA: return "pa_IN"; /* Gurmukhi script */ case SUBLANG_PUNJABI_PAKISTAN: return "pa_PK"; /* Arabic script */ } return "pa"; case LANG_RHAETO_ROMANCE: return "rm_CH"; case LANG_ROMANIAN: switch (sub) { case SUBLANG_ROMANIAN_ROMANIA: return "ro_RO"; case SUBLANG_ROMANIAN_MOLDOVA: return "ro_MD"; } return "ro"; case LANG_RUSSIAN: switch (sub) { case SUBLANG_DEFAULT: return "ru_RU"; } return "ru"; /* Ambiguous: could be "ru_RU" or "ru_UA" or "ru_MD". */ case LANG_SAAMI: /* actually Northern Sami */ return "se_NO"; case LANG_SANSKRIT: return "sa_IN"; case LANG_SINDHI: switch (sub) { case SUBLANG_SINDHI_PAKISTAN: return "sd_PK"; case SUBLANG_SINDHI_AFGHANISTAN: return "sd_AF"; } return "sd"; case LANG_SINHALESE: return "si_LK"; case LANG_SLOVAK: return "sk_SK"; case LANG_SLOVENIAN: return "sl_SI"; case LANG_SOMALI: return "so_SO"; case LANG_SORBIAN: /* FIXME: Adjust this when such locales appear on Unix. */ return "wen_DE"; case LANG_SPANISH: switch (sub) { case SUBLANG_SPANISH: return "es_ES"; case SUBLANG_SPANISH_MEXICAN: return "es_MX"; case SUBLANG_SPANISH_MODERN: return "es_ES@modern"; /* not seen on Unix */ case SUBLANG_SPANISH_GUATEMALA: return "es_GT"; case SUBLANG_SPANISH_COSTA_RICA: return "es_CR"; case SUBLANG_SPANISH_PANAMA: return "es_PA"; case SUBLANG_SPANISH_DOMINICAN_REPUBLIC: return "es_DO"; case SUBLANG_SPANISH_VENEZUELA: return "es_VE"; case SUBLANG_SPANISH_COLOMBIA: return "es_CO"; case SUBLANG_SPANISH_PERU: return "es_PE"; case SUBLANG_SPANISH_ARGENTINA: return "es_AR"; case SUBLANG_SPANISH_ECUADOR: return "es_EC"; case SUBLANG_SPANISH_CHILE: return "es_CL"; case SUBLANG_SPANISH_URUGUAY: return "es_UY"; case SUBLANG_SPANISH_PARAGUAY: return "es_PY"; case SUBLANG_SPANISH_BOLIVIA: return "es_BO"; case SUBLANG_SPANISH_EL_SALVADOR: return "es_SV"; case SUBLANG_SPANISH_HONDURAS: return "es_HN"; case SUBLANG_SPANISH_NICARAGUA: return "es_NI"; case SUBLANG_SPANISH_PUERTO_RICO: return "es_PR"; } return "es"; case LANG_SUTU: return "bnt_TZ"; /* or "st_LS" or "nso_ZA"? */ case LANG_SWAHILI: return "sw_KE"; case LANG_SWEDISH: switch (sub) { case SUBLANG_DEFAULT: return "sv_SE"; case SUBLANG_SWEDISH_FINLAND: return "sv_FI"; } return "sv"; case LANG_SYRIAC: return "syr_TR"; /* An extinct language. */ case LANG_TAGALOG: return "tl_PH"; case LANG_TAJIK: return "tg_TJ"; case LANG_TAMAZIGHT: switch (sub) { /* FIXME: Adjust this when Tamazight locales appear on Unix. */ case SUBLANG_TAMAZIGHT_ARABIC: return "ber_MA@arabic"; case SUBLANG_TAMAZIGHT_ALGERIA_LATIN: return "ber_DZ@latin"; } return "ber_MA"; case LANG_TAMIL: switch (sub) { case SUBLANG_DEFAULT: return "ta_IN"; } return "ta"; /* Ambiguous: could be "ta_IN" or "ta_LK" or "ta_SG". */ case LANG_TATAR: return "tt_RU"; case LANG_TELUGU: return "te_IN"; case LANG_THAI: return "th_TH"; case LANG_TIBETAN: return "bo_CN"; case LANG_TIGRINYA: switch (sub) { case SUBLANG_TIGRINYA_ETHIOPIA: return "ti_ET"; case SUBLANG_TIGRINYA_ERITREA: return "ti_ER"; } return "ti"; case LANG_TSONGA: return "ts_ZA"; case LANG_TSWANA: return "tn_BW"; case LANG_TURKISH: return "tr_TR"; case LANG_TURKMEN: return "tk_TM"; case LANG_UKRAINIAN: return "uk_UA"; case LANG_URDU: switch (sub) { case SUBLANG_URDU_PAKISTAN: return "ur_PK"; case SUBLANG_URDU_INDIA: return "ur_IN"; } return "ur"; case LANG_UZBEK: switch (sub) { case SUBLANG_UZBEK_LATIN: return "uz_UZ"; case SUBLANG_UZBEK_CYRILLIC: return "uz_UZ@cyrillic"; } return "uz"; case LANG_VENDA: return "ve_ZA"; case LANG_VIETNAMESE: return "vi_VN"; case LANG_WELSH: return "cy_GB"; case LANG_XHOSA: return "xh_ZA"; case LANG_YI: return "sit_CN"; case LANG_YIDDISH: return "yi_IL"; case LANG_YORUBA: return "yo_NG"; case LANG_ZULU: return "zu_ZA"; default: return "C"; } } # endif #endif } const char * gl_locale_name (int category, const char *categoryname) { const char *retval; retval = gl_locale_name_posix (category, categoryname); if (retval != NULL) return retval; return gl_locale_name_default (); } vorbis-tools-1.4.2/intl/localealias.c0000644000175000017500000002454613767140576014517 00000000000000/* Handle aliases for locale names. Copyright (C) 1995-1999, 2000-2001, 2003, 2005-2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Tell glibc's to provide a prototype for mempcpy(). This must come before because may include , and once has been included, it's too late. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif #ifdef HAVE_CONFIG_H # include #endif #include #include #if defined _LIBC || defined HAVE___FSETLOCKING # include #endif #include #ifdef __GNUC__ # undef alloca # define alloca __builtin_alloca # define HAVE_ALLOCA 1 #else # ifdef _MSC_VER # include # define alloca _alloca # else # if defined HAVE_ALLOCA_H || defined _LIBC # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca char *alloca (); # endif # endif # endif # endif #endif #include #include #include "gettextP.h" #if ENABLE_RELOCATABLE # include "relocatable.h" #else # define relocate(pathname) (pathname) #endif /* @@ end of prolog @@ */ #ifdef _LIBC /* Rename the non ANSI C functions. This is required by the standard because some ANSI C functions will require linking with this object file and the name space must not be polluted. */ # define strcasecmp __strcasecmp # ifndef mempcpy # define mempcpy __mempcpy # endif # define HAVE_MEMPCPY 1 # define HAVE___FSETLOCKING 1 #endif /* Handle multi-threaded applications. */ #ifdef _LIBC # include #else # include "lock.h" #endif #ifndef internal_function # define internal_function #endif /* Some optimizations for glibc. */ #ifdef _LIBC # define FEOF(fp) feof_unlocked (fp) # define FGETS(buf, n, fp) fgets_unlocked (buf, n, fp) #else # define FEOF(fp) feof (fp) # define FGETS(buf, n, fp) fgets (buf, n, fp) #endif /* For those losing systems which don't have `alloca' we have to add some additional code emulating it. */ #ifdef HAVE_ALLOCA # define freea(p) /* nothing */ #else # define alloca(n) malloc (n) # define freea(p) free (p) #endif #if defined _LIBC_REENTRANT || HAVE_DECL_FGETS_UNLOCKED # undef fgets # define fgets(buf, len, s) fgets_unlocked (buf, len, s) #endif #if defined _LIBC_REENTRANT || HAVE_DECL_FEOF_UNLOCKED # undef feof # define feof(s) feof_unlocked (s) #endif __libc_lock_define_initialized (static, lock) struct alias_map { const char *alias; const char *value; }; #ifndef _LIBC # define libc_freeres_ptr(decl) decl #endif libc_freeres_ptr (static char *string_space); static size_t string_space_act; static size_t string_space_max; libc_freeres_ptr (static struct alias_map *map); static size_t nmap; static size_t maxmap; /* Prototypes for local functions. */ static size_t read_alias_file (const char *fname, int fname_len) internal_function; static int extend_alias_table (void); static int alias_compare (const struct alias_map *map1, const struct alias_map *map2); const char * _nl_expand_alias (const char *name) { static const char *locale_alias_path; struct alias_map *retval; const char *result = NULL; size_t added; __libc_lock_lock (lock); if (locale_alias_path == NULL) locale_alias_path = LOCALE_ALIAS_PATH; do { struct alias_map item; item.alias = name; if (nmap > 0) retval = (struct alias_map *) bsearch (&item, map, nmap, sizeof (struct alias_map), (int (*) (const void *, const void *) ) alias_compare); else retval = NULL; /* We really found an alias. Return the value. */ if (retval != NULL) { result = retval->value; break; } /* Perhaps we can find another alias file. */ added = 0; while (added == 0 && locale_alias_path[0] != '\0') { const char *start; while (locale_alias_path[0] == PATH_SEPARATOR) ++locale_alias_path; start = locale_alias_path; while (locale_alias_path[0] != '\0' && locale_alias_path[0] != PATH_SEPARATOR) ++locale_alias_path; if (start < locale_alias_path) added = read_alias_file (start, locale_alias_path - start); } } while (added != 0); __libc_lock_unlock (lock); return result; } static size_t internal_function read_alias_file (const char *fname, int fname_len) { FILE *fp; char *full_fname; size_t added; static const char aliasfile[] = "/locale.alias"; full_fname = (char *) alloca (fname_len + sizeof aliasfile); #ifdef HAVE_MEMPCPY mempcpy (mempcpy (full_fname, fname, fname_len), aliasfile, sizeof aliasfile); #else memcpy (full_fname, fname, fname_len); memcpy (&full_fname[fname_len], aliasfile, sizeof aliasfile); #endif #ifdef _LIBC /* Note the file is opened with cancellation in the I/O functions disabled. */ fp = fopen (relocate (full_fname), "rc"); #else fp = fopen (relocate (full_fname), "r"); #endif freea (full_fname); if (fp == NULL) return 0; #ifdef HAVE___FSETLOCKING /* No threads present. */ __fsetlocking (fp, FSETLOCKING_BYCALLER); #endif added = 0; while (!FEOF (fp)) { /* It is a reasonable approach to use a fix buffer here because a) we are only interested in the first two fields b) these fields must be usable as file names and so must not be that long We avoid a multi-kilobyte buffer here since this would use up stack space which we might not have if the program ran out of memory. */ char buf[400]; char *alias; char *value; char *cp; int complete_line; if (FGETS (buf, sizeof buf, fp) == NULL) /* EOF reached. */ break; /* Determine whether the line is complete. */ complete_line = strchr (buf, '\n') != NULL; cp = buf; /* Ignore leading white space. */ while (isspace ((unsigned char) cp[0])) ++cp; /* A leading '#' signals a comment line. */ if (cp[0] != '\0' && cp[0] != '#') { alias = cp++; while (cp[0] != '\0' && !isspace ((unsigned char) cp[0])) ++cp; /* Terminate alias name. */ if (cp[0] != '\0') *cp++ = '\0'; /* Now look for the beginning of the value. */ while (isspace ((unsigned char) cp[0])) ++cp; if (cp[0] != '\0') { value = cp++; while (cp[0] != '\0' && !isspace ((unsigned char) cp[0])) ++cp; /* Terminate value. */ if (cp[0] == '\n') { /* This has to be done to make the following test for the end of line possible. We are looking for the terminating '\n' which do not overwrite here. */ *cp++ = '\0'; *cp = '\n'; } else if (cp[0] != '\0') *cp++ = '\0'; #ifdef IN_LIBGLOCALE /* glibc's locale.alias contains entries for ja_JP and ko_KR that make it impossible to use a Japanese or Korean UTF-8 locale under the name "ja_JP" or "ko_KR". Ignore these entries. */ if (strchr (alias, '_') == NULL) #endif { size_t alias_len; size_t value_len; if (nmap >= maxmap) if (__builtin_expect (extend_alias_table (), 0)) goto out; alias_len = strlen (alias) + 1; value_len = strlen (value) + 1; if (string_space_act + alias_len + value_len > string_space_max) { /* Increase size of memory pool. */ size_t new_size = (string_space_max + (alias_len + value_len > 1024 ? alias_len + value_len : 1024)); char *new_pool = (char *) realloc (string_space, new_size); if (new_pool == NULL) goto out; if (__builtin_expect (string_space != new_pool, 0)) { size_t i; for (i = 0; i < nmap; i++) { map[i].alias += new_pool - string_space; map[i].value += new_pool - string_space; } } string_space = new_pool; string_space_max = new_size; } map[nmap].alias = (const char *) memcpy (&string_space[string_space_act], alias, alias_len); string_space_act += alias_len; map[nmap].value = (const char *) memcpy (&string_space[string_space_act], value, value_len); string_space_act += value_len; ++nmap; ++added; } } } /* Possibly not the whole line fits into the buffer. Ignore the rest of the line. */ if (! complete_line) do if (FGETS (buf, sizeof buf, fp) == NULL) /* Make sure the inner loop will be left. The outer loop will exit at the `feof' test. */ break; while (strchr (buf, '\n') == NULL); } out: /* Should we test for ferror()? I think we have to silently ignore errors. --drepper */ fclose (fp); if (added > 0) qsort (map, nmap, sizeof (struct alias_map), (int (*) (const void *, const void *)) alias_compare); return added; } static int extend_alias_table () { size_t new_size; struct alias_map *new_map; new_size = maxmap == 0 ? 100 : 2 * maxmap; new_map = (struct alias_map *) realloc (map, (new_size * sizeof (struct alias_map))); if (new_map == NULL) /* Simply don't extend: we don't have any more core. */ return -1; map = new_map; maxmap = new_size; return 0; } static int alias_compare (const struct alias_map *map1, const struct alias_map *map2) { #if defined _LIBC || defined HAVE_STRCASECMP return strcasecmp (map1->alias, map2->alias); #else const unsigned char *p1 = (const unsigned char *) map1->alias; const unsigned char *p2 = (const unsigned char *) map2->alias; unsigned char c1, c2; if (p1 == p2) return 0; do { /* I know this seems to be odd but the tolower() function in some systems libc cannot handle nonalpha characters. */ c1 = isupper (*p1) ? tolower (*p1) : *p1; c2 = isupper (*p2) ? tolower (*p2) : *p2; if (c1 == '\0') break; ++p1; ++p2; } while (c1 == c2); return c1 - c2; #endif } vorbis-tools-1.4.2/intl/textdomain.c0000644000175000017500000000746613767140576014424 00000000000000/* Implementation of the textdomain(3) function. Copyright (C) 1995-1998, 2000-2003, 2005-2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include "gettextP.h" #ifdef _LIBC # include #else # include "libgnuintl.h" #endif /* Handle multi-threaded applications. */ #ifdef _LIBC # include # define gl_rwlock_define __libc_rwlock_define # define gl_rwlock_wrlock __libc_rwlock_wrlock # define gl_rwlock_unlock __libc_rwlock_unlock #else # include "lock.h" #endif /* @@ end of prolog @@ */ /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define TEXTDOMAIN __textdomain # ifndef strdup # define strdup(str) __strdup (str) # endif #else # define TEXTDOMAIN libintl_textdomain #endif /* Lock variable to protect the global data in the gettext implementation. */ gl_rwlock_define (extern, _nl_state_lock attribute_hidden) /* Set the current default message catalog to DOMAINNAME. If DOMAINNAME is null, return the current default. If DOMAINNAME is "", reset to the default of "messages". */ char * TEXTDOMAIN (const char *domainname) { char *new_domain; char *old_domain; /* A NULL pointer requests the current setting. */ if (domainname == NULL) return (char *) _nl_current_default_domain; gl_rwlock_wrlock (_nl_state_lock); old_domain = (char *) _nl_current_default_domain; /* If domain name is the null string set to default domain "messages". */ if (domainname[0] == '\0' || strcmp (domainname, _nl_default_default_domain) == 0) { _nl_current_default_domain = _nl_default_default_domain; new_domain = (char *) _nl_current_default_domain; } else if (strcmp (domainname, old_domain) == 0) /* This can happen and people will use it to signal that some environment variable changed. */ new_domain = old_domain; else { /* If the following malloc fails `_nl_current_default_domain' will be NULL. This value will be returned and so signals we are out of core. */ #if defined _LIBC || defined HAVE_STRDUP new_domain = strdup (domainname); #else size_t len = strlen (domainname) + 1; new_domain = (char *) malloc (len); if (new_domain != NULL) memcpy (new_domain, domainname, len); #endif if (new_domain != NULL) _nl_current_default_domain = new_domain; } /* We use this possibility to signal a change of the loaded catalogs since this is most likely the case and there is no other easy we to do it. Do it only when the call was successful. */ if (new_domain != NULL) { ++_nl_msg_cat_cntr; if (old_domain != new_domain && old_domain != _nl_default_default_domain) free (old_domain); } gl_rwlock_unlock (_nl_state_lock); return new_domain; } #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__textdomain, textdomain); #endif vorbis-tools-1.4.2/intl/libintl.rc0000644000175000017500000000323313767140576014053 00000000000000/* Resources for intl.dll */ #include VS_VERSION_INFO VERSIONINFO FILEVERSION PACKAGE_VERSION_MAJOR,PACKAGE_VERSION_MINOR,PACKAGE_VERSION_SUBMINOR,0 PRODUCTVERSION PACKAGE_VERSION_MAJOR,PACKAGE_VERSION_MINOR,PACKAGE_VERSION_SUBMINOR,0 FILEFLAGSMASK 0x3fL /* VS_FFI_FILEFLAGSMASK */ #ifdef _DEBUG FILEFLAGS 0x1L /* VS_FF_DEBUG */ #else FILEFLAGS 0x0L #endif FILEOS 0x10004L /* VOS_DOS_WINDOWS32 */ FILETYPE 0x2L /* VFT_DLL */ FILESUBTYPE 0x0L /* VFT2_UNKNOWN */ BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "04090000" /* Lang = US English, Charset = ASCII */ BEGIN VALUE "Comments", "This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\0" VALUE "CompanyName", "Free Software Foundation\0" VALUE "FileDescription", "LGPLed libintl for Windows NT/2000/XP/Vista and Windows 95/98/ME\0" VALUE "FileVersion", PACKAGE_VERSION_STRING "\0" VALUE "InternalName", "intl.dll\0" VALUE "LegalCopyright", "Copyright (C) 1995-2007\0" VALUE "LegalTrademarks", "\0" VALUE "OriginalFilename", "intl.dll\0" VALUE "ProductName", "libintl: accessing NLS message catalogs\0" VALUE "ProductVersion", PACKAGE_VERSION_STRING "\0" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x0409, 0 /* US English, ASCII */ END END vorbis-tools-1.4.2/intl/printf-parse.h0000644000175000017500000000421313767140576014652 00000000000000/* Parse printf format string. Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _PRINTF_PARSE_H #define _PRINTF_PARSE_H #include "printf-args.h" /* Flags */ #define FLAG_GROUP 1 /* ' flag */ #define FLAG_LEFT 2 /* - flag */ #define FLAG_SHOWSIGN 4 /* + flag */ #define FLAG_SPACE 8 /* space flag */ #define FLAG_ALT 16 /* # flag */ #define FLAG_ZERO 32 /* arg_index value indicating that no argument is consumed. */ #define ARG_NONE (~(size_t)0) /* A parsed directive. */ typedef struct { const char* dir_start; const char* dir_end; int flags; const char* width_start; const char* width_end; size_t width_arg_index; const char* precision_start; const char* precision_end; size_t precision_arg_index; char conversion; /* d i o u x X f e E g G c s p n U % but not C S */ size_t arg_index; } char_directive; /* A parsed format string. */ typedef struct { size_t count; char_directive *dir; size_t max_width_length; size_t max_precision_length; } char_directives; /* Parses the format string. Fills in the number N of directives, and fills in directives[0], ..., directives[N-1], and sets directives[N].dir_start to the end of the format string. Also fills in the arg_type fields of the arguments and the needed count of arguments. */ #ifdef STATIC STATIC #else extern #endif int printf_parse (const char *format, char_directives *d, arguments *a); #endif /* _PRINTF_PARSE_H */ vorbis-tools-1.4.2/intl/wprintf-parse.h0000644000175000017500000000426313767140576015046 00000000000000/* Parse printf format string. Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _WPRINTF_PARSE_H #define _WPRINTF_PARSE_H #include "printf-args.h" /* Flags */ #define FLAG_GROUP 1 /* ' flag */ #define FLAG_LEFT 2 /* - flag */ #define FLAG_SHOWSIGN 4 /* + flag */ #define FLAG_SPACE 8 /* space flag */ #define FLAG_ALT 16 /* # flag */ #define FLAG_ZERO 32 /* arg_index value indicating that no argument is consumed. */ #define ARG_NONE (~(size_t)0) /* A parsed directive. */ typedef struct { const wchar_t* dir_start; const wchar_t* dir_end; int flags; const wchar_t* width_start; const wchar_t* width_end; size_t width_arg_index; const wchar_t* precision_start; const wchar_t* precision_end; size_t precision_arg_index; wchar_t conversion; /* d i o u x X f e E g G c s p n U % but not C S */ size_t arg_index; } wchar_t_directive; /* A parsed format string. */ typedef struct { size_t count; wchar_t_directive *dir; size_t max_width_length; size_t max_precision_length; } wchar_t_directives; /* Parses the format string. Fills in the number N of directives, and fills in directives[0], ..., directives[N-1], and sets directives[N].dir_start to the end of the format string. Also fills in the arg_type fields of the arguments and the needed count of arguments. */ #ifdef STATIC STATIC #else extern #endif int wprintf_parse (const wchar_t *format, wchar_t_directives *d, arguments *a); #endif /* _WPRINTF_PARSE_H */ vorbis-tools-1.4.2/intl/printf.c0000644000175000017500000002217313767140576013542 00000000000000/* Formatted output to strings, using POSIX/XSI format strings with positions. Copyright (C) 2003, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #ifdef __GNUC__ # define alloca __builtin_alloca # define HAVE_ALLOCA 1 #else # ifdef _MSC_VER # include # define alloca _alloca # else # if defined HAVE_ALLOCA_H || defined _LIBC # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca char *alloca (); # endif # endif # endif # endif #endif #include #if !HAVE_POSIX_PRINTF #include #include #include #include /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ #ifndef EOVERFLOW # define EOVERFLOW E2BIG #endif /* When building a DLL, we must export some functions. Note that because the functions are only defined for binary backward compatibility, we don't need to use __declspec(dllimport) in any case. */ #if defined _MSC_VER && BUILDING_DLL # define DLL_EXPORTED __declspec(dllexport) #else # define DLL_EXPORTED #endif #define STATIC static /* This needs to be consistent with libgnuintl.h.in. */ #if defined __NetBSD__ || defined __BEOS__ || defined __CYGWIN__ || defined __MINGW32__ /* Don't break __attribute__((format(printf,M,N))). This redefinition is only possible because the libc in NetBSD, Cygwin, mingw does not have a function __printf__. */ # define libintl_printf __printf__ #endif /* Define auxiliary functions declared in "printf-args.h". */ #include "printf-args.c" /* Define auxiliary functions declared in "printf-parse.h". */ #include "printf-parse.c" /* Define functions declared in "vasnprintf.h". */ #define vasnprintf libintl_vasnprintf #include "vasnprintf.c" #if 0 /* not needed */ #define asnprintf libintl_asnprintf #include "asnprintf.c" #endif DLL_EXPORTED int libintl_vfprintf (FILE *stream, const char *format, va_list args) { if (strchr (format, '$') == NULL) return vfprintf (stream, format, args); else { size_t length; char *result = libintl_vasnprintf (NULL, &length, format, args); int retval = -1; if (result != NULL) { size_t written = fwrite (result, 1, length, stream); free (result); if (written == length) { if (length > INT_MAX) errno = EOVERFLOW; else retval = length; } } return retval; } } DLL_EXPORTED int libintl_fprintf (FILE *stream, const char *format, ...) { va_list args; int retval; va_start (args, format); retval = libintl_vfprintf (stream, format, args); va_end (args); return retval; } DLL_EXPORTED int libintl_vprintf (const char *format, va_list args) { return libintl_vfprintf (stdout, format, args); } DLL_EXPORTED int libintl_printf (const char *format, ...) { va_list args; int retval; va_start (args, format); retval = libintl_vprintf (format, args); va_end (args); return retval; } DLL_EXPORTED int libintl_vsprintf (char *resultbuf, const char *format, va_list args) { if (strchr (format, '$') == NULL) return vsprintf (resultbuf, format, args); else { size_t length = (size_t) ~0 / (4 * sizeof (char)); char *result = libintl_vasnprintf (resultbuf, &length, format, args); if (result != resultbuf) { free (result); return -1; } if (length > INT_MAX) { errno = EOVERFLOW; return -1; } else return length; } } DLL_EXPORTED int libintl_sprintf (char *resultbuf, const char *format, ...) { va_list args; int retval; va_start (args, format); retval = libintl_vsprintf (resultbuf, format, args); va_end (args); return retval; } #if HAVE_SNPRINTF # if HAVE_DECL__SNPRINTF /* Windows. */ # define system_vsnprintf _vsnprintf # else /* Unix. */ # define system_vsnprintf vsnprintf # endif DLL_EXPORTED int libintl_vsnprintf (char *resultbuf, size_t length, const char *format, va_list args) { if (strchr (format, '$') == NULL) return system_vsnprintf (resultbuf, length, format, args); else { size_t maxlength = length; char *result = libintl_vasnprintf (resultbuf, &length, format, args); if (result != resultbuf) { if (maxlength > 0) { size_t pruned_length = (length < maxlength ? length : maxlength - 1); memcpy (resultbuf, result, pruned_length); resultbuf[pruned_length] = '\0'; } free (result); } if (length > INT_MAX) { errno = EOVERFLOW; return -1; } else return length; } } DLL_EXPORTED int libintl_snprintf (char *resultbuf, size_t length, const char *format, ...) { va_list args; int retval; va_start (args, format); retval = libintl_vsnprintf (resultbuf, length, format, args); va_end (args); return retval; } #endif #if HAVE_ASPRINTF DLL_EXPORTED int libintl_vasprintf (char **resultp, const char *format, va_list args) { size_t length; char *result = libintl_vasnprintf (NULL, &length, format, args); if (result == NULL) return -1; if (length > INT_MAX) { free (result); errno = EOVERFLOW; return -1; } *resultp = result; return length; } DLL_EXPORTED int libintl_asprintf (char **resultp, const char *format, ...) { va_list args; int retval; va_start (args, format); retval = libintl_vasprintf (resultp, format, args); va_end (args); return retval; } #endif #if HAVE_FWPRINTF #include #define WIDE_CHAR_VERSION 1 #include "wprintf-parse.h" /* Define auxiliary functions declared in "wprintf-parse.h". */ #define CHAR_T wchar_t #define DIRECTIVE wchar_t_directive #define DIRECTIVES wchar_t_directives #define PRINTF_PARSE wprintf_parse #include "printf-parse.c" /* Define functions declared in "vasnprintf.h". */ #define vasnwprintf libintl_vasnwprintf #include "vasnprintf.c" #if 0 /* not needed */ #define asnwprintf libintl_asnwprintf #include "asnprintf.c" #endif # if HAVE_DECL__SNWPRINTF /* Windows. */ # define system_vswprintf _vsnwprintf # else /* Unix. */ # define system_vswprintf vswprintf # endif DLL_EXPORTED int libintl_vfwprintf (FILE *stream, const wchar_t *format, va_list args) { if (wcschr (format, '$') == NULL) return vfwprintf (stream, format, args); else { size_t length; wchar_t *result = libintl_vasnwprintf (NULL, &length, format, args); int retval = -1; if (result != NULL) { size_t i; for (i = 0; i < length; i++) if (fputwc (result[i], stream) == WEOF) break; free (result); if (i == length) { if (length > INT_MAX) errno = EOVERFLOW; else retval = length; } } return retval; } } DLL_EXPORTED int libintl_fwprintf (FILE *stream, const wchar_t *format, ...) { va_list args; int retval; va_start (args, format); retval = libintl_vfwprintf (stream, format, args); va_end (args); return retval; } DLL_EXPORTED int libintl_vwprintf (const wchar_t *format, va_list args) { return libintl_vfwprintf (stdout, format, args); } DLL_EXPORTED int libintl_wprintf (const wchar_t *format, ...) { va_list args; int retval; va_start (args, format); retval = libintl_vwprintf (format, args); va_end (args); return retval; } DLL_EXPORTED int libintl_vswprintf (wchar_t *resultbuf, size_t length, const wchar_t *format, va_list args) { if (wcschr (format, '$') == NULL) return system_vswprintf (resultbuf, length, format, args); else { size_t maxlength = length; wchar_t *result = libintl_vasnwprintf (resultbuf, &length, format, args); if (result != resultbuf) { if (maxlength > 0) { size_t pruned_length = (length < maxlength ? length : maxlength - 1); memcpy (resultbuf, result, pruned_length * sizeof (wchar_t)); resultbuf[pruned_length] = 0; } free (result); /* Unlike vsnprintf, which has to return the number of character that would have been produced if the resultbuf had been sufficiently large, the vswprintf function has to return a negative value if the resultbuf was not sufficiently large. */ if (length >= maxlength) return -1; } if (length > INT_MAX) { errno = EOVERFLOW; return -1; } else return length; } } DLL_EXPORTED int libintl_swprintf (wchar_t *resultbuf, size_t length, const wchar_t *format, ...) { va_list args; int retval; va_start (args, format); retval = libintl_vswprintf (resultbuf, length, format, args); va_end (args); return retval; } #endif #endif vorbis-tools-1.4.2/intl/relocatable.c0000644000175000017500000003353413767140576014520 00000000000000/* Provide relocatable packages. Copyright (C) 2003-2006 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Tell glibc's to provide a prototype for getline(). This must come before because may include , and once has been included, it's too late. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif #include /* Specification. */ #include "relocatable.h" #if ENABLE_RELOCATABLE #include #include #include #include #ifdef NO_XMALLOC # define xmalloc malloc #else # include "xalloc.h" #endif #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN # include #endif #if DEPENDS_ON_LIBCHARSET # include #endif #if DEPENDS_ON_LIBICONV && HAVE_ICONV # include #endif #if DEPENDS_ON_LIBINTL && ENABLE_NLS # include #endif /* Faked cheap 'bool'. */ #undef bool #undef false #undef true #define bool int #define false 0 #define true 1 /* Pathname support. ISSLASH(C) tests whether C is a directory separator character. IS_PATH_WITH_DIR(P) tests whether P contains a directory specification. */ #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ /* Win32, Cygwin, OS/2, DOS */ # define ISSLASH(C) ((C) == '/' || (C) == '\\') # define HAS_DEVICE(P) \ ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ && (P)[1] == ':') # define IS_PATH_WITH_DIR(P) \ (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P)) # define FILE_SYSTEM_PREFIX_LEN(P) (HAS_DEVICE (P) ? 2 : 0) #else /* Unix */ # define ISSLASH(C) ((C) == '/') # define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) # define FILE_SYSTEM_PREFIX_LEN(P) 0 #endif /* Original installation prefix. */ static char *orig_prefix; static size_t orig_prefix_len; /* Current installation prefix. */ static char *curr_prefix; static size_t curr_prefix_len; /* These prefixes do not end in a slash. Anything that will be concatenated to them must start with a slash. */ /* Sets the original and the current installation prefix of this module. Relocation simply replaces a pathname starting with the original prefix by the corresponding pathname with the current prefix instead. Both prefixes should be directory names without trailing slash (i.e. use "" instead of "/"). */ static void set_this_relocation_prefix (const char *orig_prefix_arg, const char *curr_prefix_arg) { if (orig_prefix_arg != NULL && curr_prefix_arg != NULL /* Optimization: if orig_prefix and curr_prefix are equal, the relocation is a nop. */ && strcmp (orig_prefix_arg, curr_prefix_arg) != 0) { /* Duplicate the argument strings. */ char *memory; orig_prefix_len = strlen (orig_prefix_arg); curr_prefix_len = strlen (curr_prefix_arg); memory = (char *) xmalloc (orig_prefix_len + 1 + curr_prefix_len + 1); #ifdef NO_XMALLOC if (memory != NULL) #endif { memcpy (memory, orig_prefix_arg, orig_prefix_len + 1); orig_prefix = memory; memory += orig_prefix_len + 1; memcpy (memory, curr_prefix_arg, curr_prefix_len + 1); curr_prefix = memory; return; } } orig_prefix = NULL; curr_prefix = NULL; /* Don't worry about wasted memory here - this function is usually only called once. */ } /* Sets the original and the current installation prefix of the package. Relocation simply replaces a pathname starting with the original prefix by the corresponding pathname with the current prefix instead. Both prefixes should be directory names without trailing slash (i.e. use "" instead of "/"). */ void set_relocation_prefix (const char *orig_prefix_arg, const char *curr_prefix_arg) { set_this_relocation_prefix (orig_prefix_arg, curr_prefix_arg); /* Now notify all dependent libraries. */ #if DEPENDS_ON_LIBCHARSET libcharset_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); #endif #if DEPENDS_ON_LIBICONV && HAVE_ICONV && _LIBICONV_VERSION >= 0x0109 libiconv_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); #endif #if DEPENDS_ON_LIBINTL && ENABLE_NLS && defined libintl_set_relocation_prefix libintl_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); #endif } #if !defined IN_LIBRARY || (defined PIC && defined INSTALLDIR) /* Convenience function: Computes the current installation prefix, based on the original installation prefix, the original installation directory of a particular file, and the current pathname of this file. Returns NULL upon failure. */ #ifdef IN_LIBRARY #define compute_curr_prefix local_compute_curr_prefix static #endif const char * compute_curr_prefix (const char *orig_installprefix, const char *orig_installdir, const char *curr_pathname) { const char *curr_installdir; const char *rel_installdir; if (curr_pathname == NULL) return NULL; /* Determine the relative installation directory, relative to the prefix. This is simply the difference between orig_installprefix and orig_installdir. */ if (strncmp (orig_installprefix, orig_installdir, strlen (orig_installprefix)) != 0) /* Shouldn't happen - nothing should be installed outside $(prefix). */ return NULL; rel_installdir = orig_installdir + strlen (orig_installprefix); /* Determine the current installation directory. */ { const char *p_base = curr_pathname + FILE_SYSTEM_PREFIX_LEN (curr_pathname); const char *p = curr_pathname + strlen (curr_pathname); char *q; while (p > p_base) { p--; if (ISSLASH (*p)) break; } q = (char *) xmalloc (p - curr_pathname + 1); #ifdef NO_XMALLOC if (q == NULL) return NULL; #endif memcpy (q, curr_pathname, p - curr_pathname); q[p - curr_pathname] = '\0'; curr_installdir = q; } /* Compute the current installation prefix by removing the trailing rel_installdir from it. */ { const char *rp = rel_installdir + strlen (rel_installdir); const char *cp = curr_installdir + strlen (curr_installdir); const char *cp_base = curr_installdir + FILE_SYSTEM_PREFIX_LEN (curr_installdir); while (rp > rel_installdir && cp > cp_base) { bool same = false; const char *rpi = rp; const char *cpi = cp; while (rpi > rel_installdir && cpi > cp_base) { rpi--; cpi--; if (ISSLASH (*rpi) || ISSLASH (*cpi)) { if (ISSLASH (*rpi) && ISSLASH (*cpi)) same = true; break; } /* Do case-insensitive comparison if the filesystem is always or often case-insensitive. It's better to accept the comparison if the difference is only in case, rather than to fail. */ #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ /* Win32, Cygwin, OS/2, DOS - case insignificant filesystem */ if ((*rpi >= 'a' && *rpi <= 'z' ? *rpi - 'a' + 'A' : *rpi) != (*cpi >= 'a' && *cpi <= 'z' ? *cpi - 'a' + 'A' : *cpi)) break; #else if (*rpi != *cpi) break; #endif } if (!same) break; /* The last pathname component was the same. opi and cpi now point to the slash before it. */ rp = rpi; cp = cpi; } if (rp > rel_installdir) /* Unexpected: The curr_installdir does not end with rel_installdir. */ return NULL; { size_t curr_prefix_len = cp - curr_installdir; char *curr_prefix; curr_prefix = (char *) xmalloc (curr_prefix_len + 1); #ifdef NO_XMALLOC if (curr_prefix == NULL) return NULL; #endif memcpy (curr_prefix, curr_installdir, curr_prefix_len); curr_prefix[curr_prefix_len] = '\0'; return curr_prefix; } } } #endif /* !IN_LIBRARY || PIC */ #if defined PIC && defined INSTALLDIR /* Full pathname of shared library, or NULL. */ static char *shared_library_fullname; #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ /* Determine the full pathname of the shared library when it is loaded. */ BOOL WINAPI DllMain (HINSTANCE module_handle, DWORD event, LPVOID reserved) { (void) reserved; if (event == DLL_PROCESS_ATTACH) { /* The DLL is being loaded into an application's address range. */ static char location[MAX_PATH]; if (!GetModuleFileName (module_handle, location, sizeof (location))) /* Shouldn't happen. */ return FALSE; if (!IS_PATH_WITH_DIR (location)) /* Shouldn't happen. */ return FALSE; { #if defined __CYGWIN__ /* On Cygwin, we need to convert paths coming from Win32 system calls to the Unix-like slashified notation. */ static char location_as_posix_path[2 * MAX_PATH]; /* There's no error return defined for cygwin_conv_to_posix_path. See cygwin-api/func-cygwin-conv-to-posix-path.html. Does it overflow the buffer of expected size MAX_PATH or does it truncate the path? I don't know. Let's catch both. */ cygwin_conv_to_posix_path (location, location_as_posix_path); location_as_posix_path[MAX_PATH - 1] = '\0'; if (strlen (location_as_posix_path) >= MAX_PATH - 1) /* A sign of buffer overflow or path truncation. */ return FALSE; shared_library_fullname = strdup (location_as_posix_path); #else shared_library_fullname = strdup (location); #endif } } return TRUE; } #else /* Unix except Cygwin */ static void find_shared_library_fullname () { #if defined __linux__ && __GLIBC__ >= 2 /* Linux has /proc/self/maps. glibc 2 has the getline() function. */ FILE *fp; /* Open the current process' maps file. It describes one VMA per line. */ fp = fopen ("/proc/self/maps", "r"); if (fp) { unsigned long address = (unsigned long) &find_shared_library_fullname; for (;;) { unsigned long start, end; int c; if (fscanf (fp, "%lx-%lx", &start, &end) != 2) break; if (address >= start && address <= end - 1) { /* Found it. Now see if this line contains a filename. */ while (c = getc (fp), c != EOF && c != '\n' && c != '/') continue; if (c == '/') { size_t size; int len; ungetc (c, fp); shared_library_fullname = NULL; size = 0; len = getline (&shared_library_fullname, &size, fp); if (len >= 0) { /* Success: filled shared_library_fullname. */ if (len > 0 && shared_library_fullname[len - 1] == '\n') shared_library_fullname[len - 1] = '\0'; } } break; } while (c = getc (fp), c != EOF && c != '\n') continue; } fclose (fp); } #endif } #endif /* (WIN32 or Cygwin) / (Unix except Cygwin) */ /* Return the full pathname of the current shared library. Return NULL if unknown. Guaranteed to work only on Linux, Cygwin and Woe32. */ static char * get_shared_library_fullname () { #if !(defined _WIN32 || defined __WIN32__ || defined __CYGWIN__) static bool tried_find_shared_library_fullname; if (!tried_find_shared_library_fullname) { find_shared_library_fullname (); tried_find_shared_library_fullname = true; } #endif return shared_library_fullname; } #endif /* PIC */ /* Returns the pathname, relocated according to the current installation directory. */ const char * relocate (const char *pathname) { #if defined PIC && defined INSTALLDIR static int initialized; /* Initialization code for a shared library. */ if (!initialized) { /* At this point, orig_prefix and curr_prefix likely have already been set through the main program's set_program_name_and_installdir function. This is sufficient in the case that the library has initially been installed in the same orig_prefix. But we can do better, to also cover the cases that 1. it has been installed in a different prefix before being moved to orig_prefix and (later) to curr_prefix, 2. unlike the program, it has not moved away from orig_prefix. */ const char *orig_installprefix = INSTALLPREFIX; const char *orig_installdir = INSTALLDIR; const char *curr_prefix_better; curr_prefix_better = compute_curr_prefix (orig_installprefix, orig_installdir, get_shared_library_fullname ()); if (curr_prefix_better == NULL) curr_prefix_better = curr_prefix; set_relocation_prefix (orig_installprefix, curr_prefix_better); initialized = 1; } #endif /* Note: It is not necessary to perform case insensitive comparison here, even for DOS-like filesystems, because the pathname argument was typically created from the same Makefile variable as orig_prefix came from. */ if (orig_prefix != NULL && curr_prefix != NULL && strncmp (pathname, orig_prefix, orig_prefix_len) == 0) { if (pathname[orig_prefix_len] == '\0') /* pathname equals orig_prefix. */ return curr_prefix; if (ISSLASH (pathname[orig_prefix_len])) { /* pathname starts with orig_prefix. */ const char *pathname_tail = &pathname[orig_prefix_len]; char *result = (char *) xmalloc (curr_prefix_len + strlen (pathname_tail) + 1); #ifdef NO_XMALLOC if (result != NULL) #endif { memcpy (result, curr_prefix, curr_prefix_len); strcpy (result + curr_prefix_len, pathname_tail); return result; } } } /* Nothing to relocate. */ return pathname; } #endif vorbis-tools-1.4.2/intl/localcharset.c0000644000175000017500000003031413767140576014700 00000000000000/* Determine a canonical name for the current locale's character encoding. Copyright (C) 2000-2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Bruno Haible . */ #include /* Specification. */ #include "localcharset.h" #include #include #include #include #if defined _WIN32 || defined __WIN32__ # define WIN32_NATIVE #endif #if defined __EMX__ /* Assume EMX program runs on OS/2, even if compiled under DOS. */ # define OS2 #endif #if !defined WIN32_NATIVE # if HAVE_LANGINFO_CODESET # include # else # if 0 /* see comment below */ # include # endif # endif # ifdef __CYGWIN__ # define WIN32_LEAN_AND_MEAN # include # endif #elif defined WIN32_NATIVE # define WIN32_LEAN_AND_MEAN # include #endif #if defined OS2 # define INCL_DOS # include #endif #if ENABLE_RELOCATABLE # include "relocatable.h" #else # define relocate(pathname) (pathname) #endif /* Get LIBDIR. */ #ifndef LIBDIR # include "configmake.h" #endif #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ /* Win32, Cygwin, OS/2, DOS */ # define ISSLASH(C) ((C) == '/' || (C) == '\\') #endif #ifndef DIRECTORY_SEPARATOR # define DIRECTORY_SEPARATOR '/' #endif #ifndef ISSLASH # define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) #endif #if HAVE_DECL_GETC_UNLOCKED # undef getc # define getc getc_unlocked #endif /* The following static variable is declared 'volatile' to avoid a possible multithread problem in the function get_charset_aliases. If we are running in a threaded environment, and if two threads initialize 'charset_aliases' simultaneously, both will produce the same value, and everything will be ok if the two assignments to 'charset_aliases' are atomic. But I don't know what will happen if the two assignments mix. */ #if __STDC__ != 1 # define volatile /* empty */ #endif /* Pointer to the contents of the charset.alias file, if it has already been read, else NULL. Its format is: ALIAS_1 '\0' CANONICAL_1 '\0' ... ALIAS_n '\0' CANONICAL_n '\0' '\0' */ static const char * volatile charset_aliases; /* Return a pointer to the contents of the charset.alias file. */ static const char * get_charset_aliases (void) { const char *cp; cp = charset_aliases; if (cp == NULL) { #if !(defined VMS || defined WIN32_NATIVE || defined __CYGWIN__) FILE *fp; const char *dir; const char *base = "charset.alias"; char *file_name; /* Make it possible to override the charset.alias location. This is necessary for running the testsuite before "make install". */ dir = getenv ("CHARSETALIASDIR"); if (dir == NULL || dir[0] == '\0') dir = relocate (LIBDIR); /* Concatenate dir and base into freshly allocated file_name. */ { size_t dir_len = strlen (dir); size_t base_len = strlen (base); int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); file_name = (char *) malloc (dir_len + add_slash + base_len + 1); if (file_name != NULL) { memcpy (file_name, dir, dir_len); if (add_slash) file_name[dir_len] = DIRECTORY_SEPARATOR; memcpy (file_name + dir_len + add_slash, base, base_len + 1); } } if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL) /* Out of memory or file not found, treat it as empty. */ cp = ""; else { /* Parse the file's contents. */ char *res_ptr = NULL; size_t res_size = 0; for (;;) { int c; char buf1[50+1]; char buf2[50+1]; size_t l1, l2; char *old_res_ptr; c = getc (fp); if (c == EOF) break; if (c == '\n' || c == ' ' || c == '\t') continue; if (c == '#') { /* Skip comment, to end of line. */ do c = getc (fp); while (!(c == EOF || c == '\n')); if (c == EOF) break; continue; } ungetc (c, fp); if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) break; l1 = strlen (buf1); l2 = strlen (buf2); old_res_ptr = res_ptr; if (res_size == 0) { res_size = l1 + 1 + l2 + 1; res_ptr = (char *) malloc (res_size + 1); } else { res_size += l1 + 1 + l2 + 1; res_ptr = (char *) realloc (res_ptr, res_size + 1); } if (res_ptr == NULL) { /* Out of memory. */ res_size = 0; if (old_res_ptr != NULL) free (old_res_ptr); break; } strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1); strcpy (res_ptr + res_size - (l2 + 1), buf2); } fclose (fp); if (res_size == 0) cp = ""; else { *(res_ptr + res_size) = '\0'; cp = res_ptr; } } if (file_name != NULL) free (file_name); #else # if defined VMS /* To avoid the troubles of an extra file charset.alias_vms in the sources of many GNU packages, simply inline the aliases here. */ /* The list of encodings is taken from the OpenVMS 7.3-1 documentation "Compaq C Run-Time Library Reference Manual for OpenVMS systems" section 10.7 "Handling Different Character Sets". */ cp = "ISO8859-1" "\0" "ISO-8859-1" "\0" "ISO8859-2" "\0" "ISO-8859-2" "\0" "ISO8859-5" "\0" "ISO-8859-5" "\0" "ISO8859-7" "\0" "ISO-8859-7" "\0" "ISO8859-8" "\0" "ISO-8859-8" "\0" "ISO8859-9" "\0" "ISO-8859-9" "\0" /* Japanese */ "eucJP" "\0" "EUC-JP" "\0" "SJIS" "\0" "SHIFT_JIS" "\0" "DECKANJI" "\0" "DEC-KANJI" "\0" "SDECKANJI" "\0" "EUC-JP" "\0" /* Chinese */ "eucTW" "\0" "EUC-TW" "\0" "DECHANYU" "\0" "DEC-HANYU" "\0" "DECHANZI" "\0" "GB2312" "\0" /* Korean */ "DECKOREAN" "\0" "EUC-KR" "\0"; # endif # if defined WIN32_NATIVE || defined __CYGWIN__ /* To avoid the troubles of installing a separate file in the same directory as the DLL and of retrieving the DLL's directory at runtime, simply inline the aliases here. */ cp = "CP936" "\0" "GBK" "\0" "CP1361" "\0" "JOHAB" "\0" "CP20127" "\0" "ASCII" "\0" "CP20866" "\0" "KOI8-R" "\0" "CP20936" "\0" "GB2312" "\0" "CP21866" "\0" "KOI8-RU" "\0" "CP28591" "\0" "ISO-8859-1" "\0" "CP28592" "\0" "ISO-8859-2" "\0" "CP28593" "\0" "ISO-8859-3" "\0" "CP28594" "\0" "ISO-8859-4" "\0" "CP28595" "\0" "ISO-8859-5" "\0" "CP28596" "\0" "ISO-8859-6" "\0" "CP28597" "\0" "ISO-8859-7" "\0" "CP28598" "\0" "ISO-8859-8" "\0" "CP28599" "\0" "ISO-8859-9" "\0" "CP28605" "\0" "ISO-8859-15" "\0" "CP38598" "\0" "ISO-8859-8" "\0" "CP51932" "\0" "EUC-JP" "\0" "CP51936" "\0" "GB2312" "\0" "CP51949" "\0" "EUC-KR" "\0" "CP51950" "\0" "EUC-TW" "\0" "CP54936" "\0" "GB18030" "\0" "CP65001" "\0" "UTF-8" "\0"; # endif #endif charset_aliases = cp; } return cp; } /* Determine the current locale's character encoding, and canonicalize it into one of the canonical names listed in config.charset. The result must not be freed; it is statically allocated. If the canonical name cannot be determined, the result is a non-canonical name. */ #ifdef STATIC STATIC #endif const char * locale_charset (void) { const char *codeset; const char *aliases; #if !(defined WIN32_NATIVE || defined OS2) # if HAVE_LANGINFO_CODESET /* Most systems support nl_langinfo (CODESET) nowadays. */ codeset = nl_langinfo (CODESET); # ifdef __CYGWIN__ /* Cygwin 2006 does not have locales. nl_langinfo (CODESET) always returns "US-ASCII". As long as this is not fixed, return the suffix of the locale name from the environment variables (if present) or the codepage as a number. */ if (codeset != NULL && strcmp (codeset, "US-ASCII") == 0) { const char *locale; static char buf[2 + 10 + 1]; locale = getenv ("LC_ALL"); if (locale == NULL || locale[0] == '\0') { locale = getenv ("LC_CTYPE"); if (locale == NULL || locale[0] == '\0') locale = getenv ("LANG"); } if (locale != NULL && locale[0] != '\0') { /* If the locale name contains an encoding after the dot, return it. */ const char *dot = strchr (locale, '.'); if (dot != NULL) { const char *modifier; dot++; /* Look for the possible @... trailer and remove it, if any. */ modifier = strchr (dot, '@'); if (modifier == NULL) return dot; if (modifier - dot < sizeof (buf)) { memcpy (buf, dot, modifier - dot); buf [modifier - dot] = '\0'; return buf; } } } /* Woe32 has a function returning the locale's codepage as a number. */ sprintf (buf, "CP%u", GetACP ()); codeset = buf; } # endif # else /* On old systems which lack it, use setlocale or getenv. */ const char *locale = NULL; /* But most old systems don't have a complete set of locales. Some (like SunOS 4 or DJGPP) have only the C locale. Therefore we don't use setlocale here; it would return "C" when it doesn't support the locale name the user has set. */ # if 0 locale = setlocale (LC_CTYPE, NULL); # endif if (locale == NULL || locale[0] == '\0') { locale = getenv ("LC_ALL"); if (locale == NULL || locale[0] == '\0') { locale = getenv ("LC_CTYPE"); if (locale == NULL || locale[0] == '\0') locale = getenv ("LANG"); } } /* On some old systems, one used to set locale = "iso8859_1". On others, you set it to "language_COUNTRY.charset". In any case, we resolve it through the charset.alias file. */ codeset = locale; # endif #elif defined WIN32_NATIVE static char buf[2 + 10 + 1]; /* Woe32 has a function returning the locale's codepage as a number. */ sprintf (buf, "CP%u", GetACP ()); codeset = buf; #elif defined OS2 const char *locale; static char buf[2 + 10 + 1]; ULONG cp[3]; ULONG cplen; /* Allow user to override the codeset, as set in the operating system, with standard language environment variables. */ locale = getenv ("LC_ALL"); if (locale == NULL || locale[0] == '\0') { locale = getenv ("LC_CTYPE"); if (locale == NULL || locale[0] == '\0') locale = getenv ("LANG"); } if (locale != NULL && locale[0] != '\0') { /* If the locale name contains an encoding after the dot, return it. */ const char *dot = strchr (locale, '.'); if (dot != NULL) { const char *modifier; dot++; /* Look for the possible @... trailer and remove it, if any. */ modifier = strchr (dot, '@'); if (modifier == NULL) return dot; if (modifier - dot < sizeof (buf)) { memcpy (buf, dot, modifier - dot); buf [modifier - dot] = '\0'; return buf; } } /* Resolve through the charset.alias file. */ codeset = locale; } else { /* OS/2 has a function returning the locale's codepage as a number. */ if (DosQueryCp (sizeof (cp), cp, &cplen)) codeset = ""; else { sprintf (buf, "CP%u", cp[0]); codeset = buf; } } #endif if (codeset == NULL) /* The canonical name cannot be determined. */ codeset = ""; /* Resolve alias. */ for (aliases = get_charset_aliases (); *aliases != '\0'; aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1) if (strcmp (codeset, aliases) == 0 || (aliases[0] == '*' && aliases[1] == '\0')) { codeset = aliases + strlen (aliases) + 1; break; } /* Don't return an empty string. GNU libc and GNU libiconv interpret the empty string as denoting "the locale's character encoding", thus GNU libiconv would call this function a second time. */ if (codeset[0] == '\0') codeset = "ASCII"; return codeset; } vorbis-tools-1.4.2/intl/lock.h0000644000175000017500000012735613767140576013206 00000000000000/* Locking in multithreaded situations. Copyright (C) 2005-2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Bruno Haible , 2005. Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-solaris.h, gthr-win32.h. */ /* This file contains locking primitives for use with a given thread library. It does not contain primitives for creating threads or for other synchronization primitives. Normal (non-recursive) locks: Type: gl_lock_t Declaration: gl_lock_define(extern, name) Initializer: gl_lock_define_initialized(, name) Initialization: gl_lock_init (name); Taking the lock: gl_lock_lock (name); Releasing the lock: gl_lock_unlock (name); De-initialization: gl_lock_destroy (name); Read-Write (non-recursive) locks: Type: gl_rwlock_t Declaration: gl_rwlock_define(extern, name) Initializer: gl_rwlock_define_initialized(, name) Initialization: gl_rwlock_init (name); Taking the lock: gl_rwlock_rdlock (name); gl_rwlock_wrlock (name); Releasing the lock: gl_rwlock_unlock (name); De-initialization: gl_rwlock_destroy (name); Recursive locks: Type: gl_recursive_lock_t Declaration: gl_recursive_lock_define(extern, name) Initializer: gl_recursive_lock_define_initialized(, name) Initialization: gl_recursive_lock_init (name); Taking the lock: gl_recursive_lock_lock (name); Releasing the lock: gl_recursive_lock_unlock (name); De-initialization: gl_recursive_lock_destroy (name); Once-only execution: Type: gl_once_t Initializer: gl_once_define(extern, name) Execution: gl_once (name, initfunction); */ #ifndef _LOCK_H #define _LOCK_H /* ========================================================================= */ #if USE_POSIX_THREADS /* Use the POSIX threads library. */ # include # include # ifdef __cplusplus extern "C" { # endif # if PTHREAD_IN_USE_DETECTION_HARD /* The pthread_in_use() detection needs to be done at runtime. */ # define pthread_in_use() \ glthread_in_use () extern int glthread_in_use (void); # endif # if USE_POSIX_THREADS_WEAK /* Use weak references to the POSIX threads library. */ /* Weak references avoid dragging in external libraries if the other parts of the program don't use them. Here we use them, because we don't want every program that uses libintl to depend on libpthread. This assumes that libpthread would not be loaded after libintl; i.e. if libintl is loaded first, by an executable that does not depend on libpthread, and then a module is dynamically loaded that depends on libpthread, libintl will not be multithread-safe. */ /* The way to test at runtime whether libpthread is present is to test whether a function pointer's value, such as &pthread_mutex_init, is non-NULL. However, some versions of GCC have a bug through which, in PIC mode, &foo != NULL always evaluates to true if there is a direct call to foo(...) in the same function. To avoid this, we test the address of a function in libpthread that we don't use. */ # pragma weak pthread_mutex_init # pragma weak pthread_mutex_lock # pragma weak pthread_mutex_unlock # pragma weak pthread_mutex_destroy # pragma weak pthread_rwlock_init # pragma weak pthread_rwlock_rdlock # pragma weak pthread_rwlock_wrlock # pragma weak pthread_rwlock_unlock # pragma weak pthread_rwlock_destroy # pragma weak pthread_once # pragma weak pthread_cond_init # pragma weak pthread_cond_wait # pragma weak pthread_cond_signal # pragma weak pthread_cond_broadcast # pragma weak pthread_cond_destroy # pragma weak pthread_mutexattr_init # pragma weak pthread_mutexattr_settype # pragma weak pthread_mutexattr_destroy # ifndef pthread_self # pragma weak pthread_self # endif # if !PTHREAD_IN_USE_DETECTION_HARD # pragma weak pthread_cancel # define pthread_in_use() (pthread_cancel != NULL) # endif # else # if !PTHREAD_IN_USE_DETECTION_HARD # define pthread_in_use() 1 # endif # endif /* -------------------------- gl_lock_t datatype -------------------------- */ typedef pthread_mutex_t gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME; # define gl_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME = gl_lock_initializer; # define gl_lock_initializer \ PTHREAD_MUTEX_INITIALIZER # define gl_lock_init(NAME) \ do \ { \ if (pthread_in_use () && pthread_mutex_init (&NAME, NULL) != 0) \ abort (); \ } \ while (0) # define gl_lock_lock(NAME) \ do \ { \ if (pthread_in_use () && pthread_mutex_lock (&NAME) != 0) \ abort (); \ } \ while (0) # define gl_lock_unlock(NAME) \ do \ { \ if (pthread_in_use () && pthread_mutex_unlock (&NAME) != 0) \ abort (); \ } \ while (0) # define gl_lock_destroy(NAME) \ do \ { \ if (pthread_in_use () && pthread_mutex_destroy (&NAME) != 0) \ abort (); \ } \ while (0) /* ------------------------- gl_rwlock_t datatype ------------------------- */ # if HAVE_PTHREAD_RWLOCK # ifdef PTHREAD_RWLOCK_INITIALIZER typedef pthread_rwlock_t gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pthread_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ PTHREAD_RWLOCK_INITIALIZER # define gl_rwlock_init(NAME) \ do \ { \ if (pthread_in_use () && pthread_rwlock_init (&NAME, NULL) != 0) \ abort (); \ } \ while (0) # define gl_rwlock_rdlock(NAME) \ do \ { \ if (pthread_in_use () && pthread_rwlock_rdlock (&NAME) != 0) \ abort (); \ } \ while (0) # define gl_rwlock_wrlock(NAME) \ do \ { \ if (pthread_in_use () && pthread_rwlock_wrlock (&NAME) != 0) \ abort (); \ } \ while (0) # define gl_rwlock_unlock(NAME) \ do \ { \ if (pthread_in_use () && pthread_rwlock_unlock (&NAME) != 0) \ abort (); \ } \ while (0) # define gl_rwlock_destroy(NAME) \ do \ { \ if (pthread_in_use () && pthread_rwlock_destroy (&NAME) != 0) \ abort (); \ } \ while (0) # else typedef struct { int initialized; pthread_mutex_t guard; /* protects the initialization */ pthread_rwlock_t rwlock; /* read-write lock */ } gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ { 0, PTHREAD_MUTEX_INITIALIZER } # define gl_rwlock_init(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_rwlock_init (&NAME); \ } \ while (0) # define gl_rwlock_rdlock(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_rwlock_rdlock (&NAME); \ } \ while (0) # define gl_rwlock_wrlock(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_rwlock_wrlock (&NAME); \ } \ while (0) # define gl_rwlock_unlock(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_rwlock_unlock (&NAME); \ } \ while (0) # define gl_rwlock_destroy(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_rwlock_destroy (&NAME); \ } \ while (0) extern void glthread_rwlock_init (gl_rwlock_t *lock); extern void glthread_rwlock_rdlock (gl_rwlock_t *lock); extern void glthread_rwlock_wrlock (gl_rwlock_t *lock); extern void glthread_rwlock_unlock (gl_rwlock_t *lock); extern void glthread_rwlock_destroy (gl_rwlock_t *lock); # endif # else typedef struct { pthread_mutex_t lock; /* protects the remaining fields */ pthread_cond_t waiting_readers; /* waiting readers */ pthread_cond_t waiting_writers; /* waiting writers */ unsigned int waiting_writers_count; /* number of waiting writers */ int runcount; /* number of readers running, or -1 when a writer runs */ } gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ { PTHREAD_MUTEX_INITIALIZER, PTHREAD_COND_INITIALIZER, PTHREAD_COND_INITIALIZER, 0, 0 } # define gl_rwlock_init(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_rwlock_init (&NAME); \ } \ while (0) # define gl_rwlock_rdlock(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_rwlock_rdlock (&NAME); \ } \ while (0) # define gl_rwlock_wrlock(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_rwlock_wrlock (&NAME); \ } \ while (0) # define gl_rwlock_unlock(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_rwlock_unlock (&NAME); \ } \ while (0) # define gl_rwlock_destroy(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_rwlock_destroy (&NAME); \ } \ while (0) extern void glthread_rwlock_init (gl_rwlock_t *lock); extern void glthread_rwlock_rdlock (gl_rwlock_t *lock); extern void glthread_rwlock_wrlock (gl_rwlock_t *lock); extern void glthread_rwlock_unlock (gl_rwlock_t *lock); extern void glthread_rwlock_destroy (gl_rwlock_t *lock); # endif /* --------------------- gl_recursive_lock_t datatype --------------------- */ # if HAVE_PTHREAD_MUTEX_RECURSIVE # if defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER || defined PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP typedef pthread_mutex_t gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pthread_mutex_t NAME = gl_recursive_lock_initializer; # ifdef PTHREAD_RECURSIVE_MUTEX_INITIALIZER # define gl_recursive_lock_initializer \ PTHREAD_RECURSIVE_MUTEX_INITIALIZER # else # define gl_recursive_lock_initializer \ PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP # endif # define gl_recursive_lock_init(NAME) \ do \ { \ if (pthread_in_use () && pthread_mutex_init (&NAME, NULL) != 0) \ abort (); \ } \ while (0) # define gl_recursive_lock_lock(NAME) \ do \ { \ if (pthread_in_use () && pthread_mutex_lock (&NAME) != 0) \ abort (); \ } \ while (0) # define gl_recursive_lock_unlock(NAME) \ do \ { \ if (pthread_in_use () && pthread_mutex_unlock (&NAME) != 0) \ abort (); \ } \ while (0) # define gl_recursive_lock_destroy(NAME) \ do \ { \ if (pthread_in_use () && pthread_mutex_destroy (&NAME) != 0) \ abort (); \ } \ while (0) # else typedef struct { pthread_mutex_t recmutex; /* recursive mutex */ pthread_mutex_t guard; /* protects the initialization */ int initialized; } gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ { PTHREAD_MUTEX_INITIALIZER, PTHREAD_MUTEX_INITIALIZER, 0 } # define gl_recursive_lock_init(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_recursive_lock_init (&NAME); \ } \ while (0) # define gl_recursive_lock_lock(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_recursive_lock_lock (&NAME); \ } \ while (0) # define gl_recursive_lock_unlock(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_recursive_lock_unlock (&NAME); \ } \ while (0) # define gl_recursive_lock_destroy(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_recursive_lock_destroy (&NAME); \ } \ while (0) extern void glthread_recursive_lock_init (gl_recursive_lock_t *lock); extern void glthread_recursive_lock_lock (gl_recursive_lock_t *lock); extern void glthread_recursive_lock_unlock (gl_recursive_lock_t *lock); extern void glthread_recursive_lock_destroy (gl_recursive_lock_t *lock); # endif # else /* Old versions of POSIX threads on Solaris did not have recursive locks. We have to implement them ourselves. */ typedef struct { pthread_mutex_t mutex; pthread_t owner; unsigned long depth; } gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ { PTHREAD_MUTEX_INITIALIZER, (pthread_t) 0, 0 } # define gl_recursive_lock_init(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_recursive_lock_init (&NAME); \ } \ while (0) # define gl_recursive_lock_lock(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_recursive_lock_lock (&NAME); \ } \ while (0) # define gl_recursive_lock_unlock(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_recursive_lock_unlock (&NAME); \ } \ while (0) # define gl_recursive_lock_destroy(NAME) \ do \ { \ if (pthread_in_use ()) \ glthread_recursive_lock_destroy (&NAME); \ } \ while (0) extern void glthread_recursive_lock_init (gl_recursive_lock_t *lock); extern void glthread_recursive_lock_lock (gl_recursive_lock_t *lock); extern void glthread_recursive_lock_unlock (gl_recursive_lock_t *lock); extern void glthread_recursive_lock_destroy (gl_recursive_lock_t *lock); # endif /* -------------------------- gl_once_t datatype -------------------------- */ typedef pthread_once_t gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS pthread_once_t NAME = PTHREAD_ONCE_INIT; # define gl_once(NAME, INITFUNCTION) \ do \ { \ if (pthread_in_use ()) \ { \ if (pthread_once (&NAME, INITFUNCTION) != 0) \ abort (); \ } \ else \ { \ if (glthread_once_singlethreaded (&NAME)) \ INITFUNCTION (); \ } \ } \ while (0) extern int glthread_once_singlethreaded (pthread_once_t *once_control); # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if USE_PTH_THREADS /* Use the GNU Pth threads library. */ # include # include # ifdef __cplusplus extern "C" { # endif # if USE_PTH_THREADS_WEAK /* Use weak references to the GNU Pth threads library. */ # pragma weak pth_mutex_init # pragma weak pth_mutex_acquire # pragma weak pth_mutex_release # pragma weak pth_rwlock_init # pragma weak pth_rwlock_acquire # pragma weak pth_rwlock_release # pragma weak pth_once # pragma weak pth_cancel # define pth_in_use() (pth_cancel != NULL) # else # define pth_in_use() 1 # endif /* -------------------------- gl_lock_t datatype -------------------------- */ typedef pth_mutex_t gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) \ STORAGECLASS pth_mutex_t NAME; # define gl_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pth_mutex_t NAME = gl_lock_initializer; # define gl_lock_initializer \ PTH_MUTEX_INIT # define gl_lock_init(NAME) \ do \ { \ if (pth_in_use() && !pth_mutex_init (&NAME)) \ abort (); \ } \ while (0) # define gl_lock_lock(NAME) \ do \ { \ if (pth_in_use() && !pth_mutex_acquire (&NAME, 0, NULL)) \ abort (); \ } \ while (0) # define gl_lock_unlock(NAME) \ do \ { \ if (pth_in_use() && !pth_mutex_release (&NAME)) \ abort (); \ } \ while (0) # define gl_lock_destroy(NAME) \ (void)(&NAME) /* ------------------------- gl_rwlock_t datatype ------------------------- */ typedef pth_rwlock_t gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS pth_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pth_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ PTH_RWLOCK_INIT # define gl_rwlock_init(NAME) \ do \ { \ if (pth_in_use() && !pth_rwlock_init (&NAME)) \ abort (); \ } \ while (0) # define gl_rwlock_rdlock(NAME) \ do \ { \ if (pth_in_use() \ && !pth_rwlock_acquire (&NAME, PTH_RWLOCK_RD, 0, NULL)) \ abort (); \ } \ while (0) # define gl_rwlock_wrlock(NAME) \ do \ { \ if (pth_in_use() \ && !pth_rwlock_acquire (&NAME, PTH_RWLOCK_RW, 0, NULL)) \ abort (); \ } \ while (0) # define gl_rwlock_unlock(NAME) \ do \ { \ if (pth_in_use() && !pth_rwlock_release (&NAME)) \ abort (); \ } \ while (0) # define gl_rwlock_destroy(NAME) \ (void)(&NAME) /* --------------------- gl_recursive_lock_t datatype --------------------- */ /* In Pth, mutexes are recursive by default. */ typedef pth_mutex_t gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS pth_mutex_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS pth_mutex_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ PTH_MUTEX_INIT # define gl_recursive_lock_init(NAME) \ do \ { \ if (pth_in_use() && !pth_mutex_init (&NAME)) \ abort (); \ } \ while (0) # define gl_recursive_lock_lock(NAME) \ do \ { \ if (pth_in_use() && !pth_mutex_acquire (&NAME, 0, NULL)) \ abort (); \ } \ while (0) # define gl_recursive_lock_unlock(NAME) \ do \ { \ if (pth_in_use() && !pth_mutex_release (&NAME)) \ abort (); \ } \ while (0) # define gl_recursive_lock_destroy(NAME) \ (void)(&NAME) /* -------------------------- gl_once_t datatype -------------------------- */ typedef pth_once_t gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS pth_once_t NAME = PTH_ONCE_INIT; # define gl_once(NAME, INITFUNCTION) \ do \ { \ if (pth_in_use ()) \ { \ void (*gl_once_temp) (void) = INITFUNCTION; \ if (!pth_once (&NAME, glthread_once_call, &gl_once_temp)) \ abort (); \ } \ else \ { \ if (glthread_once_singlethreaded (&NAME)) \ INITFUNCTION (); \ } \ } \ while (0) extern void glthread_once_call (void *arg); extern int glthread_once_singlethreaded (pth_once_t *once_control); # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if USE_SOLARIS_THREADS /* Use the old Solaris threads library. */ # include # include # include # ifdef __cplusplus extern "C" { # endif # if USE_SOLARIS_THREADS_WEAK /* Use weak references to the old Solaris threads library. */ # pragma weak mutex_init # pragma weak mutex_lock # pragma weak mutex_unlock # pragma weak mutex_destroy # pragma weak rwlock_init # pragma weak rw_rdlock # pragma weak rw_wrlock # pragma weak rw_unlock # pragma weak rwlock_destroy # pragma weak thr_self # pragma weak thr_suspend # define thread_in_use() (thr_suspend != NULL) # else # define thread_in_use() 1 # endif /* -------------------------- gl_lock_t datatype -------------------------- */ typedef mutex_t gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) \ STORAGECLASS mutex_t NAME; # define gl_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS mutex_t NAME = gl_lock_initializer; # define gl_lock_initializer \ DEFAULTMUTEX # define gl_lock_init(NAME) \ do \ { \ if (thread_in_use () && mutex_init (&NAME, USYNC_THREAD, NULL) != 0) \ abort (); \ } \ while (0) # define gl_lock_lock(NAME) \ do \ { \ if (thread_in_use () && mutex_lock (&NAME) != 0) \ abort (); \ } \ while (0) # define gl_lock_unlock(NAME) \ do \ { \ if (thread_in_use () && mutex_unlock (&NAME) != 0) \ abort (); \ } \ while (0) # define gl_lock_destroy(NAME) \ do \ { \ if (thread_in_use () && mutex_destroy (&NAME) != 0) \ abort (); \ } \ while (0) /* ------------------------- gl_rwlock_t datatype ------------------------- */ typedef rwlock_t gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ DEFAULTRWLOCK # define gl_rwlock_init(NAME) \ do \ { \ if (thread_in_use () && rwlock_init (&NAME, USYNC_THREAD, NULL) != 0) \ abort (); \ } \ while (0) # define gl_rwlock_rdlock(NAME) \ do \ { \ if (thread_in_use () && rw_rdlock (&NAME) != 0) \ abort (); \ } \ while (0) # define gl_rwlock_wrlock(NAME) \ do \ { \ if (thread_in_use () && rw_wrlock (&NAME) != 0) \ abort (); \ } \ while (0) # define gl_rwlock_unlock(NAME) \ do \ { \ if (thread_in_use () && rw_unlock (&NAME) != 0) \ abort (); \ } \ while (0) # define gl_rwlock_destroy(NAME) \ do \ { \ if (thread_in_use () && rwlock_destroy (&NAME) != 0) \ abort (); \ } \ while (0) /* --------------------- gl_recursive_lock_t datatype --------------------- */ /* Old Solaris threads did not have recursive locks. We have to implement them ourselves. */ typedef struct { mutex_t mutex; thread_t owner; unsigned long depth; } gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ { DEFAULTMUTEX, (thread_t) 0, 0 } # define gl_recursive_lock_init(NAME) \ do \ { \ if (thread_in_use ()) \ glthread_recursive_lock_init (&NAME); \ } \ while (0) # define gl_recursive_lock_lock(NAME) \ do \ { \ if (thread_in_use ()) \ glthread_recursive_lock_lock (&NAME); \ } \ while (0) # define gl_recursive_lock_unlock(NAME) \ do \ { \ if (thread_in_use ()) \ glthread_recursive_lock_unlock (&NAME); \ } \ while (0) # define gl_recursive_lock_destroy(NAME) \ do \ { \ if (thread_in_use ()) \ glthread_recursive_lock_destroy (&NAME); \ } \ while (0) extern void glthread_recursive_lock_init (gl_recursive_lock_t *lock); extern void glthread_recursive_lock_lock (gl_recursive_lock_t *lock); extern void glthread_recursive_lock_unlock (gl_recursive_lock_t *lock); extern void glthread_recursive_lock_destroy (gl_recursive_lock_t *lock); /* -------------------------- gl_once_t datatype -------------------------- */ typedef struct { volatile int inited; mutex_t mutex; } gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS gl_once_t NAME = { 0, DEFAULTMUTEX }; # define gl_once(NAME, INITFUNCTION) \ do \ { \ if (thread_in_use ()) \ { \ glthread_once (&NAME, INITFUNCTION); \ } \ else \ { \ if (glthread_once_singlethreaded (&NAME)) \ INITFUNCTION (); \ } \ } \ while (0) extern void glthread_once (gl_once_t *once_control, void (*initfunction) (void)); extern int glthread_once_singlethreaded (gl_once_t *once_control); # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if USE_WIN32_THREADS # include # ifdef __cplusplus extern "C" { # endif /* We can use CRITICAL_SECTION directly, rather than the Win32 Event, Mutex, Semaphore types, because - we need only to synchronize inside a single process (address space), not inter-process locking, - we don't need to support trylock operations. (TryEnterCriticalSection does not work on Windows 95/98/ME. Packages that need trylock usually define their own mutex type.) */ /* There is no way to statically initialize a CRITICAL_SECTION. It needs to be done lazily, once only. For this we need spinlocks. */ typedef struct { volatile int done; volatile long started; } gl_spinlock_t; /* -------------------------- gl_lock_t datatype -------------------------- */ typedef struct { gl_spinlock_t guard; /* protects the initialization */ CRITICAL_SECTION lock; } gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_lock_t NAME; # define gl_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_lock_t NAME = gl_lock_initializer; # define gl_lock_initializer \ { { 0, -1 } } # define gl_lock_init(NAME) \ glthread_lock_init (&NAME) # define gl_lock_lock(NAME) \ glthread_lock_lock (&NAME) # define gl_lock_unlock(NAME) \ glthread_lock_unlock (&NAME) # define gl_lock_destroy(NAME) \ glthread_lock_destroy (&NAME) extern void glthread_lock_init (gl_lock_t *lock); extern void glthread_lock_lock (gl_lock_t *lock); extern void glthread_lock_unlock (gl_lock_t *lock); extern void glthread_lock_destroy (gl_lock_t *lock); /* ------------------------- gl_rwlock_t datatype ------------------------- */ /* It is impossible to implement read-write locks using plain locks, without introducing an extra thread dedicated to managing read-write locks. Therefore here we need to use the low-level Event type. */ typedef struct { HANDLE *array; /* array of waiting threads, each represented by an event */ unsigned int count; /* number of waiting threads */ unsigned int alloc; /* length of allocated array */ unsigned int offset; /* index of first waiting thread in array */ } gl_waitqueue_t; typedef struct { gl_spinlock_t guard; /* protects the initialization */ CRITICAL_SECTION lock; /* protects the remaining fields */ gl_waitqueue_t waiting_readers; /* waiting readers */ gl_waitqueue_t waiting_writers; /* waiting writers */ int runcount; /* number of readers running, or -1 when a writer runs */ } gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME; # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer; # define gl_rwlock_initializer \ { { 0, -1 } } # define gl_rwlock_init(NAME) \ glthread_rwlock_init (&NAME) # define gl_rwlock_rdlock(NAME) \ glthread_rwlock_rdlock (&NAME) # define gl_rwlock_wrlock(NAME) \ glthread_rwlock_wrlock (&NAME) # define gl_rwlock_unlock(NAME) \ glthread_rwlock_unlock (&NAME) # define gl_rwlock_destroy(NAME) \ glthread_rwlock_destroy (&NAME) extern void glthread_rwlock_init (gl_rwlock_t *lock); extern void glthread_rwlock_rdlock (gl_rwlock_t *lock); extern void glthread_rwlock_wrlock (gl_rwlock_t *lock); extern void glthread_rwlock_unlock (gl_rwlock_t *lock); extern void glthread_rwlock_destroy (gl_rwlock_t *lock); /* --------------------- gl_recursive_lock_t datatype --------------------- */ /* The Win32 documentation says that CRITICAL_SECTION already implements a recursive lock. But we need not rely on it: It's easy to implement a recursive lock without this assumption. */ typedef struct { gl_spinlock_t guard; /* protects the initialization */ DWORD owner; unsigned long depth; CRITICAL_SECTION lock; } gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME; # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \ STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer; # define gl_recursive_lock_initializer \ { { 0, -1 }, 0, 0 } # define gl_recursive_lock_init(NAME) \ glthread_recursive_lock_init (&NAME) # define gl_recursive_lock_lock(NAME) \ glthread_recursive_lock_lock (&NAME) # define gl_recursive_lock_unlock(NAME) \ glthread_recursive_lock_unlock (&NAME) # define gl_recursive_lock_destroy(NAME) \ glthread_recursive_lock_destroy (&NAME) extern void glthread_recursive_lock_init (gl_recursive_lock_t *lock); extern void glthread_recursive_lock_lock (gl_recursive_lock_t *lock); extern void glthread_recursive_lock_unlock (gl_recursive_lock_t *lock); extern void glthread_recursive_lock_destroy (gl_recursive_lock_t *lock); /* -------------------------- gl_once_t datatype -------------------------- */ typedef struct { volatile int inited; volatile long started; CRITICAL_SECTION lock; } gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS gl_once_t NAME = { -1, -1 }; # define gl_once(NAME, INITFUNCTION) \ glthread_once (&NAME, INITFUNCTION) extern void glthread_once (gl_once_t *once_control, void (*initfunction) (void)); # ifdef __cplusplus } # endif #endif /* ========================================================================= */ #if !(USE_POSIX_THREADS || USE_PTH_THREADS || USE_SOLARIS_THREADS || USE_WIN32_THREADS) /* Provide dummy implementation if threads are not supported. */ /* -------------------------- gl_lock_t datatype -------------------------- */ typedef int gl_lock_t; # define gl_lock_define(STORAGECLASS, NAME) # define gl_lock_define_initialized(STORAGECLASS, NAME) # define gl_lock_init(NAME) # define gl_lock_lock(NAME) # define gl_lock_unlock(NAME) /* ------------------------- gl_rwlock_t datatype ------------------------- */ typedef int gl_rwlock_t; # define gl_rwlock_define(STORAGECLASS, NAME) # define gl_rwlock_define_initialized(STORAGECLASS, NAME) # define gl_rwlock_init(NAME) # define gl_rwlock_rdlock(NAME) # define gl_rwlock_wrlock(NAME) # define gl_rwlock_unlock(NAME) /* --------------------- gl_recursive_lock_t datatype --------------------- */ typedef int gl_recursive_lock_t; # define gl_recursive_lock_define(STORAGECLASS, NAME) # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) # define gl_recursive_lock_init(NAME) # define gl_recursive_lock_lock(NAME) # define gl_recursive_lock_unlock(NAME) /* -------------------------- gl_once_t datatype -------------------------- */ typedef int gl_once_t; # define gl_once_define(STORAGECLASS, NAME) \ STORAGECLASS gl_once_t NAME = 0; # define gl_once(NAME, INITFUNCTION) \ do \ { \ if (NAME == 0) \ { \ NAME = ~ 0; \ INITFUNCTION (); \ } \ } \ while (0) #endif /* ========================================================================= */ #endif /* _LOCK_H */ vorbis-tools-1.4.2/intl/export.h0000644000175000017500000000023513767140576013561 00000000000000 #if @HAVE_VISIBILITY@ && BUILDING_LIBINTL #define LIBINTL_DLL_EXPORTED __attribute__((__visibility__("default"))) #else #define LIBINTL_DLL_EXPORTED #endif vorbis-tools-1.4.2/intl/dcigettext.c0000644000175000017500000013334513767140576014410 00000000000000/* Implementation of the internal dcigettext function. Copyright (C) 1995-1999, 2000-2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Tell glibc's to provide a prototype for mempcpy(). This must come before because may include , and once has been included, it's too late. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif #ifdef HAVE_CONFIG_H # include #endif /* NL_LOCALE_NAME does not work in glibc-2.4. Ignore it. */ #undef HAVE_NL_LOCALE_NAME #include #ifdef __GNUC__ # define alloca __builtin_alloca # define HAVE_ALLOCA 1 #else # ifdef _MSC_VER # include # define alloca _alloca # else # if defined HAVE_ALLOCA_H || defined _LIBC # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca char *alloca (); # endif # endif # endif # endif #endif #include #ifndef errno extern int errno; #endif #ifndef __set_errno # define __set_errno(val) errno = (val) #endif #include #include #include #if defined HAVE_UNISTD_H || defined _LIBC # include #endif #include #ifdef _LIBC /* Guess whether integer division by zero raises signal SIGFPE. Set to 1 only if you know for sure. In case of doubt, set to 0. */ # if defined __alpha__ || defined __arm__ || defined __i386__ \ || defined __m68k__ || defined __s390__ # define INTDIV0_RAISES_SIGFPE 1 # else # define INTDIV0_RAISES_SIGFPE 0 # endif #endif #if !INTDIV0_RAISES_SIGFPE # include #endif #if defined HAVE_SYS_PARAM_H || defined _LIBC # include #endif #if !defined _LIBC # if HAVE_NL_LOCALE_NAME # include # endif # include "localcharset.h" #endif #include "gettextP.h" #include "plural-exp.h" #ifdef _LIBC # include #else # ifdef IN_LIBGLOCALE # include # endif # include "libgnuintl.h" #endif #include "hash-string.h" /* Handle multi-threaded applications. */ #ifdef _LIBC # include # define gl_rwlock_define_initialized __libc_rwlock_define_initialized # define gl_rwlock_rdlock __libc_rwlock_rdlock # define gl_rwlock_wrlock __libc_rwlock_wrlock # define gl_rwlock_unlock __libc_rwlock_unlock #else # include "lock.h" #endif /* Alignment of types. */ #if defined __GNUC__ && __GNUC__ >= 2 # define alignof(TYPE) __alignof__ (TYPE) #else # define alignof(TYPE) \ ((int) &((struct { char dummy1; TYPE dummy2; } *) 0)->dummy2) #endif /* Some compilers, like SunOS4 cc, don't have offsetof in . */ #ifndef offsetof # define offsetof(type,ident) ((size_t)&(((type*)0)->ident)) #endif /* @@ end of prolog @@ */ #ifdef _LIBC /* Rename the non ANSI C functions. This is required by the standard because some ANSI C functions will require linking with this object file and the name space must not be polluted. */ # define getcwd __getcwd # ifndef stpcpy # define stpcpy __stpcpy # endif # define tfind __tfind #else # if !defined HAVE_GETCWD char *getwd (); # define getcwd(buf, max) getwd (buf) # else # if VMS # define getcwd(buf, max) (getcwd) (buf, max, 0) # else char *getcwd (); # endif # endif # ifndef HAVE_STPCPY static char *stpcpy (char *dest, const char *src); # endif # ifndef HAVE_MEMPCPY static void *mempcpy (void *dest, const void *src, size_t n); # endif #endif /* Use a replacement if the system does not provide the `tsearch' function family. */ #if HAVE_TSEARCH || defined _LIBC # include #else # define tsearch libintl_tsearch # define tfind libintl_tfind # define tdelete libintl_tdelete # define twalk libintl_twalk # include "tsearch.h" #endif #ifdef _LIBC # define tsearch __tsearch #endif /* Amount to increase buffer size by in each try. */ #define PATH_INCR 32 /* The following is from pathmax.h. */ /* Non-POSIX BSD systems might have gcc's limits.h, which doesn't define PATH_MAX but might cause redefinition warnings when sys/param.h is later included (as on MORE/BSD 4.3). */ #if defined _POSIX_VERSION || (defined HAVE_LIMITS_H && !defined __GNUC__) # include #endif #ifndef _POSIX_PATH_MAX # define _POSIX_PATH_MAX 255 #endif #if !defined PATH_MAX && defined _PC_PATH_MAX # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX)) #endif /* Don't include sys/param.h if it already has been. */ #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN # include #endif #if !defined PATH_MAX && defined MAXPATHLEN # define PATH_MAX MAXPATHLEN #endif #ifndef PATH_MAX # define PATH_MAX _POSIX_PATH_MAX #endif /* Pathname support. ISSLASH(C) tests whether C is a directory separator character. IS_ABSOLUTE_PATH(P) tests whether P is an absolute path. If it is not, it may be concatenated to a directory pathname. IS_PATH_WITH_DIR(P) tests whether P contains a directory specification. */ #if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ /* Win32, Cygwin, OS/2, DOS */ # define ISSLASH(C) ((C) == '/' || (C) == '\\') # define HAS_DEVICE(P) \ ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ && (P)[1] == ':') # define IS_ABSOLUTE_PATH(P) (ISSLASH ((P)[0]) || HAS_DEVICE (P)) # define IS_PATH_WITH_DIR(P) \ (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P)) #else /* Unix */ # define ISSLASH(C) ((C) == '/') # define IS_ABSOLUTE_PATH(P) ISSLASH ((P)[0]) # define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) #endif /* Whether to support different locales in different threads. */ #if defined _LIBC || HAVE_NL_LOCALE_NAME || (HAVE_STRUCT___LOCALE_STRUCT___NAMES && defined USE_IN_GETTEXT_TESTS) || defined IN_LIBGLOCALE # define HAVE_PER_THREAD_LOCALE #endif /* This is the type used for the search tree where known translations are stored. */ struct known_translation_t { /* Domain in which to search. */ const char *domainname; /* The category. */ int category; #ifdef HAVE_PER_THREAD_LOCALE /* Name of the relevant locale category, or "" for the global locale. */ const char *localename; #endif #ifdef IN_LIBGLOCALE /* The character encoding. */ const char *encoding; #endif /* State of the catalog counter at the point the string was found. */ int counter; /* Catalog where the string was found. */ struct loaded_l10nfile *domain; /* And finally the translation. */ const char *translation; size_t translation_length; /* Pointer to the string in question. */ char msgid[ZERO]; }; gl_rwlock_define_initialized (static, tree_lock) /* Root of the search tree with known translations. */ static void *root; /* Function to compare two entries in the table of known translations. */ static int transcmp (const void *p1, const void *p2) { const struct known_translation_t *s1; const struct known_translation_t *s2; int result; s1 = (const struct known_translation_t *) p1; s2 = (const struct known_translation_t *) p2; result = strcmp (s1->msgid, s2->msgid); if (result == 0) { result = strcmp (s1->domainname, s2->domainname); if (result == 0) { #ifdef HAVE_PER_THREAD_LOCALE result = strcmp (s1->localename, s2->localename); if (result == 0) #endif { #ifdef IN_LIBGLOCALE result = strcmp (s1->encoding, s2->encoding); if (result == 0) #endif /* We compare the category last (though this is the cheapest operation) since it is hopefully always the same (namely LC_MESSAGES). */ result = s1->category - s2->category; } } } return result; } /* Name of the default domain used for gettext(3) prior any call to textdomain(3). The default value for this is "messages". */ const char _nl_default_default_domain[] attribute_hidden = "messages"; #ifndef IN_LIBGLOCALE /* Value used as the default domain for gettext(3). */ const char *_nl_current_default_domain attribute_hidden = _nl_default_default_domain; #endif /* Contains the default location of the message catalogs. */ #if defined __EMX__ extern const char _nl_default_dirname[]; #else # ifdef _LIBC extern const char _nl_default_dirname[]; libc_hidden_proto (_nl_default_dirname) # endif const char _nl_default_dirname[] = LOCALEDIR; # ifdef _LIBC libc_hidden_data_def (_nl_default_dirname) # endif #endif #ifndef IN_LIBGLOCALE /* List with bindings of specific domains created by bindtextdomain() calls. */ struct binding *_nl_domain_bindings; #endif /* Prototypes for local functions. */ static char *plural_lookup (struct loaded_l10nfile *domain, unsigned long int n, const char *translation, size_t translation_len) internal_function; #ifdef IN_LIBGLOCALE static const char *guess_category_value (int category, const char *categoryname, const char *localename) internal_function; #else static const char *guess_category_value (int category, const char *categoryname) internal_function; #endif #ifdef _LIBC # include "../locale/localeinfo.h" # define category_to_name(category) \ _nl_category_names.str + _nl_category_name_idxs[category] #else static const char *category_to_name (int category) internal_function; #endif #if (defined _LIBC || HAVE_ICONV) && !defined IN_LIBGLOCALE static const char *get_output_charset (struct binding *domainbinding) internal_function; #endif /* For those loosing systems which don't have `alloca' we have to add some additional code emulating it. */ #ifdef HAVE_ALLOCA /* Nothing has to be done. */ # define freea(p) /* nothing */ # define ADD_BLOCK(list, address) /* nothing */ # define FREE_BLOCKS(list) /* nothing */ #else struct block_list { void *address; struct block_list *next; }; # define ADD_BLOCK(list, addr) \ do { \ struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \ /* If we cannot get a free block we cannot add the new element to \ the list. */ \ if (newp != NULL) { \ newp->address = (addr); \ newp->next = (list); \ (list) = newp; \ } \ } while (0) # define FREE_BLOCKS(list) \ do { \ while (list != NULL) { \ struct block_list *old = list; \ list = list->next; \ free (old->address); \ free (old); \ } \ } while (0) # undef alloca # define alloca(size) (malloc (size)) # define freea(p) free (p) #endif /* have alloca */ #ifdef _LIBC /* List of blocks allocated for translations. */ typedef struct transmem_list { struct transmem_list *next; char data[ZERO]; } transmem_block_t; static struct transmem_list *transmem_list; #else typedef unsigned char transmem_block_t; #endif /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define DCIGETTEXT __dcigettext #else # define DCIGETTEXT libintl_dcigettext #endif /* Lock variable to protect the global data in the gettext implementation. */ gl_rwlock_define_initialized (, _nl_state_lock attribute_hidden) /* Checking whether the binaries runs SUID must be done and glibc provides easier methods therefore we make a difference here. */ #ifdef _LIBC # define ENABLE_SECURE __libc_enable_secure # define DETERMINE_SECURE #else # ifndef HAVE_GETUID # define getuid() 0 # endif # ifndef HAVE_GETGID # define getgid() 0 # endif # ifndef HAVE_GETEUID # define geteuid() getuid() # endif # ifndef HAVE_GETEGID # define getegid() getgid() # endif static int enable_secure; # define ENABLE_SECURE (enable_secure == 1) # define DETERMINE_SECURE \ if (enable_secure == 0) \ { \ if (getuid () != geteuid () || getgid () != getegid ()) \ enable_secure = 1; \ else \ enable_secure = -1; \ } #endif /* Get the function to evaluate the plural expression. */ #include "eval-plural.h" /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY locale and, if PLURAL is nonzero, search over string depending on the plural form determined by N. */ #ifdef IN_LIBGLOCALE char * gl_dcigettext (const char *domainname, const char *msgid1, const char *msgid2, int plural, unsigned long int n, int category, const char *localename, const char *encoding) #else char * DCIGETTEXT (const char *domainname, const char *msgid1, const char *msgid2, int plural, unsigned long int n, int category) #endif { #ifndef HAVE_ALLOCA struct block_list *block_list = NULL; #endif struct loaded_l10nfile *domain; struct binding *binding; const char *categoryname; const char *categoryvalue; const char *dirname; char *xdomainname; char *single_locale; char *retval; size_t retlen; int saved_errno; struct known_translation_t *search; struct known_translation_t **foundp = NULL; size_t msgid_len; #if defined HAVE_PER_THREAD_LOCALE && !defined IN_LIBGLOCALE const char *localename; #endif size_t domainname_len; /* If no real MSGID is given return NULL. */ if (msgid1 == NULL) return NULL; #ifdef _LIBC if (category < 0 || category >= __LC_LAST || category == LC_ALL) /* Bogus. */ return (plural == 0 ? (char *) msgid1 /* Use the Germanic plural rule. */ : n == 1 ? (char *) msgid1 : (char *) msgid2); #endif /* Preserve the `errno' value. */ saved_errno = errno; gl_rwlock_rdlock (_nl_state_lock); /* If DOMAINNAME is NULL, we are interested in the default domain. If CATEGORY is not LC_MESSAGES this might not make much sense but the definition left this undefined. */ if (domainname == NULL) domainname = _nl_current_default_domain; /* OS/2 specific: backward compatibility with older libintl versions */ #ifdef LC_MESSAGES_COMPAT if (category == LC_MESSAGES_COMPAT) category = LC_MESSAGES; #endif msgid_len = strlen (msgid1) + 1; /* Try to find the translation among those which we found at some time. */ search = (struct known_translation_t *) alloca (offsetof (struct known_translation_t, msgid) + msgid_len); memcpy (search->msgid, msgid1, msgid_len); search->domainname = domainname; search->category = category; #ifdef HAVE_PER_THREAD_LOCALE # ifndef IN_LIBGLOCALE # ifdef _LIBC localename = __current_locale_name (category); # else # if HAVE_NL_LOCALE_NAME /* NL_LOCALE_NAME is public glibc API introduced in glibc-2.4. */ localename = nl_langinfo (NL_LOCALE_NAME (category)); # else # if HAVE_STRUCT___LOCALE_STRUCT___NAMES && defined USE_IN_GETTEXT_TESTS /* The __names field is not public glibc API and must therefore not be used in code that is installed in public locations. */ { locale_t thread_locale = uselocale (NULL); if (thread_locale != LC_GLOBAL_LOCALE) localename = thread_locale->__names[category]; else localename = ""; } # endif # endif # endif # endif search->localename = localename; # ifdef IN_LIBGLOCALE search->encoding = encoding; # endif /* Since tfind/tsearch manage a balanced tree, concurrent tfind and tsearch calls can be fatal. */ gl_rwlock_rdlock (tree_lock); foundp = (struct known_translation_t **) tfind (search, &root, transcmp); gl_rwlock_unlock (tree_lock); freea (search); if (foundp != NULL && (*foundp)->counter == _nl_msg_cat_cntr) { /* Now deal with plural. */ if (plural) retval = plural_lookup ((*foundp)->domain, n, (*foundp)->translation, (*foundp)->translation_length); else retval = (char *) (*foundp)->translation; gl_rwlock_unlock (_nl_state_lock); __set_errno (saved_errno); return retval; } #endif /* See whether this is a SUID binary or not. */ DETERMINE_SECURE; /* First find matching binding. */ #ifdef IN_LIBGLOCALE /* We can use a trivial binding, since _nl_find_msg will ignore it anyway, and _nl_load_domain and _nl_find_domain just pass it through. */ binding = NULL; dirname = bindtextdomain (domainname, NULL); #else for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) { int compare = strcmp (domainname, binding->domainname); if (compare == 0) /* We found it! */ break; if (compare < 0) { /* It is not in the list. */ binding = NULL; break; } } if (binding == NULL) dirname = _nl_default_dirname; else { dirname = binding->dirname; #endif if (!IS_ABSOLUTE_PATH (dirname)) { /* We have a relative path. Make it absolute now. */ size_t dirname_len = strlen (dirname) + 1; size_t path_max; char *resolved_dirname; char *ret; path_max = (unsigned int) PATH_MAX; path_max += 2; /* The getcwd docs say to do this. */ for (;;) { resolved_dirname = (char *) alloca (path_max + dirname_len); ADD_BLOCK (block_list, tmp_dirname); __set_errno (0); ret = getcwd (resolved_dirname, path_max); if (ret != NULL || errno != ERANGE) break; path_max += path_max / 2; path_max += PATH_INCR; } if (ret == NULL) /* We cannot get the current working directory. Don't signal an error but simply return the default string. */ goto return_untranslated; stpcpy (stpcpy (strchr (resolved_dirname, '\0'), "/"), dirname); dirname = resolved_dirname; } #ifndef IN_LIBGLOCALE } #endif /* Now determine the symbolic name of CATEGORY and its value. */ categoryname = category_to_name (category); #ifdef IN_LIBGLOCALE categoryvalue = guess_category_value (category, categoryname, localename); #else categoryvalue = guess_category_value (category, categoryname); #endif domainname_len = strlen (domainname); xdomainname = (char *) alloca (strlen (categoryname) + domainname_len + 5); ADD_BLOCK (block_list, xdomainname); stpcpy ((char *) mempcpy (stpcpy (stpcpy (xdomainname, categoryname), "/"), domainname, domainname_len), ".mo"); /* Creating working area. */ single_locale = (char *) alloca (strlen (categoryvalue) + 1); ADD_BLOCK (block_list, single_locale); /* Search for the given string. This is a loop because we perhaps got an ordered list of languages to consider for the translation. */ while (1) { /* Make CATEGORYVALUE point to the next element of the list. */ while (categoryvalue[0] != '\0' && categoryvalue[0] == ':') ++categoryvalue; if (categoryvalue[0] == '\0') { /* The whole contents of CATEGORYVALUE has been searched but no valid entry has been found. We solve this situation by implicitly appending a "C" entry, i.e. no translation will take place. */ single_locale[0] = 'C'; single_locale[1] = '\0'; } else { char *cp = single_locale; while (categoryvalue[0] != '\0' && categoryvalue[0] != ':') *cp++ = *categoryvalue++; *cp = '\0'; /* When this is a SUID binary we must not allow accessing files outside the dedicated directories. */ if (ENABLE_SECURE && IS_PATH_WITH_DIR (single_locale)) /* Ingore this entry. */ continue; } /* If the current locale value is C (or POSIX) we don't load a domain. Return the MSGID. */ if (strcmp (single_locale, "C") == 0 || strcmp (single_locale, "POSIX") == 0) break; /* Find structure describing the message catalog matching the DOMAINNAME and CATEGORY. */ domain = _nl_find_domain (dirname, single_locale, xdomainname, binding); if (domain != NULL) { #if defined IN_LIBGLOCALE retval = _nl_find_msg (domain, binding, encoding, msgid1, &retlen); #else retval = _nl_find_msg (domain, binding, msgid1, 1, &retlen); #endif if (retval == NULL) { int cnt; for (cnt = 0; domain->successor[cnt] != NULL; ++cnt) { #if defined IN_LIBGLOCALE retval = _nl_find_msg (domain->successor[cnt], binding, encoding, msgid1, &retlen); #else retval = _nl_find_msg (domain->successor[cnt], binding, msgid1, 1, &retlen); #endif if (retval != NULL) { domain = domain->successor[cnt]; break; } } } /* Returning -1 means that some resource problem exists (likely memory) and that the strings could not be converted. Return the original strings. */ if (__builtin_expect (retval == (char *) -1, 0)) break; if (retval != NULL) { /* Found the translation of MSGID1 in domain DOMAIN: starting at RETVAL, RETLEN bytes. */ FREE_BLOCKS (block_list); if (foundp == NULL) { /* Create a new entry and add it to the search tree. */ size_t size; struct known_translation_t *newp; size = offsetof (struct known_translation_t, msgid) + msgid_len + domainname_len + 1; #ifdef HAVE_PER_THREAD_LOCALE size += strlen (localename) + 1; #endif newp = (struct known_translation_t *) malloc (size); if (newp != NULL) { char *new_domainname; #ifdef HAVE_PER_THREAD_LOCALE char *new_localename; #endif new_domainname = (char *) mempcpy (newp->msgid, msgid1, msgid_len); memcpy (new_domainname, domainname, domainname_len + 1); #ifdef HAVE_PER_THREAD_LOCALE new_localename = new_domainname + domainname_len + 1; strcpy (new_localename, localename); #endif newp->domainname = new_domainname; newp->category = category; #ifdef HAVE_PER_THREAD_LOCALE newp->localename = new_localename; #endif #ifdef IN_LIBGLOCALE newp->encoding = encoding; #endif newp->counter = _nl_msg_cat_cntr; newp->domain = domain; newp->translation = retval; newp->translation_length = retlen; gl_rwlock_wrlock (tree_lock); /* Insert the entry in the search tree. */ foundp = (struct known_translation_t **) tsearch (newp, &root, transcmp); gl_rwlock_unlock (tree_lock); if (foundp == NULL || __builtin_expect (*foundp != newp, 0)) /* The insert failed. */ free (newp); } } else { /* We can update the existing entry. */ (*foundp)->counter = _nl_msg_cat_cntr; (*foundp)->domain = domain; (*foundp)->translation = retval; (*foundp)->translation_length = retlen; } __set_errno (saved_errno); /* Now deal with plural. */ if (plural) retval = plural_lookup (domain, n, retval, retlen); gl_rwlock_unlock (_nl_state_lock); return retval; } } } return_untranslated: /* Return the untranslated MSGID. */ FREE_BLOCKS (block_list); gl_rwlock_unlock (_nl_state_lock); #ifndef _LIBC if (!ENABLE_SECURE) { extern void _nl_log_untranslated (const char *logfilename, const char *domainname, const char *msgid1, const char *msgid2, int plural); const char *logfilename = getenv ("GETTEXT_LOG_UNTRANSLATED"); if (logfilename != NULL && logfilename[0] != '\0') _nl_log_untranslated (logfilename, domainname, msgid1, msgid2, plural); } #endif __set_errno (saved_errno); return (plural == 0 ? (char *) msgid1 /* Use the Germanic plural rule. */ : n == 1 ? (char *) msgid1 : (char *) msgid2); } /* Look up the translation of msgid within DOMAIN_FILE and DOMAINBINDING. Return it if found. Return NULL if not found or in case of a conversion failure (problem in the particular message catalog). Return (char *) -1 in case of a memory allocation failure during conversion (only if ENCODING != NULL resp. CONVERT == true). */ char * internal_function #ifdef IN_LIBGLOCALE _nl_find_msg (struct loaded_l10nfile *domain_file, struct binding *domainbinding, const char *encoding, const char *msgid, size_t *lengthp) #else _nl_find_msg (struct loaded_l10nfile *domain_file, struct binding *domainbinding, const char *msgid, int convert, size_t *lengthp) #endif { struct loaded_domain *domain; nls_uint32 nstrings; size_t act; char *result; size_t resultlen; if (domain_file->decided <= 0) _nl_load_domain (domain_file, domainbinding); if (domain_file->data == NULL) return NULL; domain = (struct loaded_domain *) domain_file->data; nstrings = domain->nstrings; /* Locate the MSGID and its translation. */ if (domain->hash_tab != NULL) { /* Use the hashing table. */ nls_uint32 len = strlen (msgid); nls_uint32 hash_val = __hash_string (msgid); nls_uint32 idx = hash_val % domain->hash_size; nls_uint32 incr = 1 + (hash_val % (domain->hash_size - 2)); while (1) { nls_uint32 nstr = W (domain->must_swap_hash_tab, domain->hash_tab[idx]); if (nstr == 0) /* Hash table entry is empty. */ return NULL; nstr--; /* Compare msgid with the original string at index nstr. We compare the lengths with >=, not ==, because plural entries are represented by strings with an embedded NUL. */ if (nstr < nstrings ? W (domain->must_swap, domain->orig_tab[nstr].length) >= len && (strcmp (msgid, domain->data + W (domain->must_swap, domain->orig_tab[nstr].offset)) == 0) : domain->orig_sysdep_tab[nstr - nstrings].length > len && (strcmp (msgid, domain->orig_sysdep_tab[nstr - nstrings].pointer) == 0)) { act = nstr; goto found; } if (idx >= domain->hash_size - incr) idx -= domain->hash_size - incr; else idx += incr; } /* NOTREACHED */ } else { /* Try the default method: binary search in the sorted array of messages. */ size_t top, bottom; bottom = 0; top = nstrings; while (bottom < top) { int cmp_val; act = (bottom + top) / 2; cmp_val = strcmp (msgid, (domain->data + W (domain->must_swap, domain->orig_tab[act].offset))); if (cmp_val < 0) top = act; else if (cmp_val > 0) bottom = act + 1; else goto found; } /* No translation was found. */ return NULL; } found: /* The translation was found at index ACT. If we have to convert the string to use a different character set, this is the time. */ if (act < nstrings) { result = (char *) (domain->data + W (domain->must_swap, domain->trans_tab[act].offset)); resultlen = W (domain->must_swap, domain->trans_tab[act].length) + 1; } else { result = (char *) domain->trans_sysdep_tab[act - nstrings].pointer; resultlen = domain->trans_sysdep_tab[act - nstrings].length; } #if defined _LIBC || HAVE_ICONV # ifdef IN_LIBGLOCALE if (encoding != NULL) # else if (convert) # endif { /* We are supposed to do a conversion. */ # ifndef IN_LIBGLOCALE const char *encoding = get_output_charset (domainbinding); # endif size_t nconversions; struct converted_domain *convd; size_t i; /* Protect against reallocation of the table. */ gl_rwlock_rdlock (domain->conversions_lock); /* Search whether a table with converted translations for this encoding has already been allocated. */ nconversions = domain->nconversions; convd = NULL; for (i = nconversions; i > 0; ) { i--; if (strcmp (domain->conversions[i].encoding, encoding) == 0) { convd = &domain->conversions[i]; break; } } gl_rwlock_unlock (domain->conversions_lock); if (convd == NULL) { /* We have to allocate a new conversions table. */ gl_rwlock_wrlock (domain->conversions_lock); /* Maybe in the meantime somebody added the translation. Recheck. */ for (i = nconversions; i > 0; ) { i--; if (strcmp (domain->conversions[i].encoding, encoding) == 0) { convd = &domain->conversions[i]; goto found_convd; } } { /* Allocate a table for the converted translations for this encoding. */ struct converted_domain *new_conversions = (struct converted_domain *) (domain->conversions != NULL ? realloc (domain->conversions, (nconversions + 1) * sizeof (struct converted_domain)) : malloc ((nconversions + 1) * sizeof (struct converted_domain))); if (__builtin_expect (new_conversions == NULL, 0)) { /* Nothing we can do, no more memory. We cannot use the translation because it might be encoded incorrectly. */ unlock_fail: gl_rwlock_unlock (domain->conversions_lock); return (char *) -1; } domain->conversions = new_conversions; /* Copy the 'encoding' string to permanent storage. */ encoding = strdup (encoding); if (__builtin_expect (encoding == NULL, 0)) /* Nothing we can do, no more memory. We cannot use the translation because it might be encoded incorrectly. */ goto unlock_fail; convd = &new_conversions[nconversions]; convd->encoding = encoding; /* Find out about the character set the file is encoded with. This can be found (in textual form) in the entry "". If this entry does not exist or if this does not contain the 'charset=' information, we will assume the charset matches the one the current locale and we don't have to perform any conversion. */ # ifdef _LIBC convd->conv = (__gconv_t) -1; # else # if HAVE_ICONV convd->conv = (iconv_t) -1; # endif # endif { char *nullentry; size_t nullentrylen; /* Get the header entry. This is a recursion, but it doesn't reallocate domain->conversions because we pass encoding = NULL or convert = 0, respectively. */ nullentry = # ifdef IN_LIBGLOCALE _nl_find_msg (domain_file, domainbinding, NULL, "", &nullentrylen); # else _nl_find_msg (domain_file, domainbinding, "", 0, &nullentrylen); # endif if (nullentry != NULL) { const char *charsetstr; charsetstr = strstr (nullentry, "charset="); if (charsetstr != NULL) { size_t len; char *charset; const char *outcharset; charsetstr += strlen ("charset="); len = strcspn (charsetstr, " \t\n"); charset = (char *) alloca (len + 1); # if defined _LIBC || HAVE_MEMPCPY *((char *) mempcpy (charset, charsetstr, len)) = '\0'; # else memcpy (charset, charsetstr, len); charset[len] = '\0'; # endif outcharset = encoding; # ifdef _LIBC /* We always want to use transliteration. */ outcharset = norm_add_slashes (outcharset, "TRANSLIT"); charset = norm_add_slashes (charset, ""); int r = __gconv_open (outcharset, charset, &convd->conv, GCONV_AVOID_NOCONV); if (__builtin_expect (r != __GCONV_OK, 0)) { /* If the output encoding is the same there is nothing to do. Otherwise do not use the translation at all. */ if (__builtin_expect (r != __GCONV_NULCONV, 1)) { gl_rwlock_unlock (domain->conversions_lock); free ((char *) encoding); return NULL; } convd->conv = (__gconv_t) -1; } # else # if HAVE_ICONV /* When using GNU libc >= 2.2 or GNU libiconv >= 1.5, we want to use transliteration. */ # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) || __GLIBC__ > 2 \ || _LIBICONV_VERSION >= 0x0105 if (strchr (outcharset, '/') == NULL) { char *tmp; len = strlen (outcharset); tmp = (char *) alloca (len + 10 + 1); memcpy (tmp, outcharset, len); memcpy (tmp + len, "//TRANSLIT", 10 + 1); outcharset = tmp; convd->conv = iconv_open (outcharset, charset); freea (outcharset); } else # endif convd->conv = iconv_open (outcharset, charset); # endif # endif freea (charset); } } } convd->conv_tab = NULL; /* Here domain->conversions is still == new_conversions. */ domain->nconversions++; } found_convd: gl_rwlock_unlock (domain->conversions_lock); } if ( # ifdef _LIBC convd->conv != (__gconv_t) -1 # else # if HAVE_ICONV convd->conv != (iconv_t) -1 # endif # endif ) { /* We are supposed to do a conversion. First allocate an appropriate table with the same structure as the table of translations in the file, where we can put the pointers to the converted strings in. There is a slight complication with plural entries. They are represented by consecutive NUL terminated strings. We handle this case by converting RESULTLEN bytes, including NULs. */ if (convd->conv_tab == NULL && ((convd->conv_tab = (char **) calloc (nstrings + domain->n_sysdep_strings, sizeof (char *))) == NULL)) /* Mark that we didn't succeed allocating a table. */ convd->conv_tab = (char **) -1; if (__builtin_expect (convd->conv_tab == (char **) -1, 0)) /* Nothing we can do, no more memory. We cannot use the translation because it might be encoded incorrectly. */ return (char *) -1; if (convd->conv_tab[act] == NULL) { /* We haven't used this string so far, so it is not translated yet. Do this now. */ /* We use a bit more efficient memory handling. We allocate always larger blocks which get used over time. This is faster than many small allocations. */ __libc_lock_define_initialized (static, lock) # define INITIAL_BLOCK_SIZE 4080 static unsigned char *freemem; static size_t freemem_size; const unsigned char *inbuf; unsigned char *outbuf; int malloc_count; # ifndef _LIBC transmem_block_t *transmem_list = NULL; # endif __libc_lock_lock (lock); inbuf = (const unsigned char *) result; outbuf = freemem + sizeof (size_t); malloc_count = 0; while (1) { transmem_block_t *newmem; # ifdef _LIBC size_t non_reversible; int res; if (freemem_size < sizeof (size_t)) goto resize_freemem; res = __gconv (convd->conv, &inbuf, inbuf + resultlen, &outbuf, outbuf + freemem_size - sizeof (size_t), &non_reversible); if (res == __GCONV_OK || res == __GCONV_EMPTY_INPUT) break; if (res != __GCONV_FULL_OUTPUT) { /* We should not use the translation at all, it is incorrectly encoded. */ __libc_lock_unlock (lock); return NULL; } inbuf = (const unsigned char *) result; # else # if HAVE_ICONV const char *inptr = (const char *) inbuf; size_t inleft = resultlen; char *outptr = (char *) outbuf; size_t outleft; if (freemem_size < sizeof (size_t)) goto resize_freemem; outleft = freemem_size - sizeof (size_t); if (iconv (convd->conv, (ICONV_CONST char **) &inptr, &inleft, &outptr, &outleft) != (size_t) (-1)) { outbuf = (unsigned char *) outptr; break; } if (errno != E2BIG) { __libc_lock_unlock (lock); return NULL; } # endif # endif resize_freemem: /* We must allocate a new buffer or resize the old one. */ if (malloc_count > 0) { ++malloc_count; freemem_size = malloc_count * INITIAL_BLOCK_SIZE; newmem = (transmem_block_t *) realloc (transmem_list, freemem_size); # ifdef _LIBC if (newmem != NULL) transmem_list = transmem_list->next; else { struct transmem_list *old = transmem_list; transmem_list = transmem_list->next; free (old); } # endif } else { malloc_count = 1; freemem_size = INITIAL_BLOCK_SIZE; newmem = (transmem_block_t *) malloc (freemem_size); } if (__builtin_expect (newmem == NULL, 0)) { freemem = NULL; freemem_size = 0; __libc_lock_unlock (lock); return (char *) -1; } # ifdef _LIBC /* Add the block to the list of blocks we have to free at some point. */ newmem->next = transmem_list; transmem_list = newmem; freemem = (unsigned char *) newmem->data; freemem_size -= offsetof (struct transmem_list, data); # else transmem_list = newmem; freemem = newmem; # endif outbuf = freemem + sizeof (size_t); } /* We have now in our buffer a converted string. Put this into the table of conversions. */ *(size_t *) freemem = outbuf - freemem - sizeof (size_t); convd->conv_tab[act] = (char *) freemem; /* Shrink freemem, but keep it aligned. */ freemem_size -= outbuf - freemem; freemem = outbuf; freemem += freemem_size & (alignof (size_t) - 1); freemem_size = freemem_size & ~ (alignof (size_t) - 1); __libc_lock_unlock (lock); } /* Now convd->conv_tab[act] contains the translation of all the plural variants. */ result = convd->conv_tab[act] + sizeof (size_t); resultlen = *(size_t *) convd->conv_tab[act]; } } /* The result string is converted. */ #endif /* _LIBC || HAVE_ICONV */ *lengthp = resultlen; return result; } /* Look up a plural variant. */ static char * internal_function plural_lookup (struct loaded_l10nfile *domain, unsigned long int n, const char *translation, size_t translation_len) { struct loaded_domain *domaindata = (struct loaded_domain *) domain->data; unsigned long int index; const char *p; index = plural_eval (domaindata->plural, n); if (index >= domaindata->nplurals) /* This should never happen. It means the plural expression and the given maximum value do not match. */ index = 0; /* Skip INDEX strings at TRANSLATION. */ p = translation; while (index-- > 0) { #ifdef _LIBC p = __rawmemchr (p, '\0'); #else p = strchr (p, '\0'); #endif /* And skip over the NUL byte. */ p++; if (p >= translation + translation_len) /* This should never happen. It means the plural expression evaluated to a value larger than the number of variants available for MSGID1. */ return (char *) translation; } return (char *) p; } #ifndef _LIBC /* Return string representation of locale CATEGORY. */ static const char * internal_function category_to_name (int category) { const char *retval; switch (category) { #ifdef LC_COLLATE case LC_COLLATE: retval = "LC_COLLATE"; break; #endif #ifdef LC_CTYPE case LC_CTYPE: retval = "LC_CTYPE"; break; #endif #ifdef LC_MONETARY case LC_MONETARY: retval = "LC_MONETARY"; break; #endif #ifdef LC_NUMERIC case LC_NUMERIC: retval = "LC_NUMERIC"; break; #endif #ifdef LC_TIME case LC_TIME: retval = "LC_TIME"; break; #endif #ifdef LC_MESSAGES case LC_MESSAGES: retval = "LC_MESSAGES"; break; #endif #ifdef LC_RESPONSE case LC_RESPONSE: retval = "LC_RESPONSE"; break; #endif #ifdef LC_ALL case LC_ALL: /* This might not make sense but is perhaps better than any other value. */ retval = "LC_ALL"; break; #endif default: /* If you have a better idea for a default value let me know. */ retval = "LC_XXX"; } return retval; } #endif /* Guess value of current locale from value of the environment variables or system-dependent defaults. */ static const char * internal_function #ifdef IN_LIBGLOCALE guess_category_value (int category, const char *categoryname, const char *locale) #else guess_category_value (int category, const char *categoryname) #endif { const char *language; #ifndef IN_LIBGLOCALE const char *locale; # ifndef _LIBC const char *language_default; int locale_defaulted; # endif #endif /* We use the settings in the following order: 1. The value of the environment variable 'LANGUAGE'. This is a GNU extension. Its value can be a colon-separated list of locale names. 2. The value of the environment variable 'LC_ALL', 'LC_xxx', or 'LANG'. More precisely, the first among these that is set to a non-empty value. This is how POSIX specifies it. The value is a single locale name. 3. A system-dependent preference list of languages. Its value can be a colon-separated list of locale names. 4. A system-dependent default locale name. This way: - System-dependent settings can be overridden by environment variables. - If the system provides both a list of languages and a default locale, the former is used. */ #ifndef IN_LIBGLOCALE /* Fetch the locale name, through the POSIX method of looking to `LC_ALL', `LC_xxx', and `LANG'. On some systems this can be done by the `setlocale' function itself. */ # ifdef _LIBC locale = __current_locale_name (category); # else # if HAVE_STRUCT___LOCALE_STRUCT___NAMES && defined USE_IN_GETTEXT_TESTS /* The __names field is not public glibc API and must therefore not be used in code that is installed in public locations. */ locale_t thread_locale = uselocale (NULL); if (thread_locale != LC_GLOBAL_LOCALE) { locale = thread_locale->__names[category]; locale_defaulted = 0; } else # endif { locale = _nl_locale_name_posix (category, categoryname); locale_defaulted = 0; if (locale == NULL) { locale = _nl_locale_name_default (); locale_defaulted = 1; } } # endif #endif /* Ignore LANGUAGE and its system-dependent analogon if the locale is set to "C" because 1. "C" locale usually uses the ASCII encoding, and most international messages use non-ASCII characters. These characters get displayed as question marks (if using glibc's iconv()) or as invalid 8-bit characters (because other iconv()s refuse to convert most non-ASCII characters to ASCII). In any case, the output is ugly. 2. The precise output of some programs in the "C" locale is specified by POSIX and should not depend on environment variables like "LANGUAGE" or system-dependent information. We allow such programs to use gettext(). */ if (strcmp (locale, "C") == 0) return locale; /* The highest priority value is the value of the 'LANGUAGE' environment variable. */ language = getenv ("LANGUAGE"); if (language != NULL && language[0] != '\0') return language; #if !defined IN_LIBGLOCALE && !defined _LIBC /* The next priority value is the locale name, if not defaulted. */ if (locale_defaulted) { /* The next priority value is the default language preferences list. */ language_default = _nl_language_preferences_default (); if (language_default != NULL) return language_default; } /* The least priority value is the locale name, if defaulted. */ #endif return locale; } #if (defined _LIBC || HAVE_ICONV) && !defined IN_LIBGLOCALE /* Returns the output charset. */ static const char * internal_function get_output_charset (struct binding *domainbinding) { /* The output charset should normally be determined by the locale. But sometimes the locale is not used or not correctly set up, so we provide a possibility for the user to override this: the OUTPUT_CHARSET environment variable. Moreover, the value specified through bind_textdomain_codeset overrides both. */ if (domainbinding != NULL && domainbinding->codeset != NULL) return domainbinding->codeset; else { /* For speed reasons, we look at the value of OUTPUT_CHARSET only once. This is a user variable that is not supposed to change during a program run. */ static char *output_charset_cache; static int output_charset_cached; if (!output_charset_cached) { const char *value = getenv ("OUTPUT_CHARSET"); if (value != NULL && value[0] != '\0') { size_t len = strlen (value) + 1; char *value_copy = (char *) malloc (len); if (value_copy != NULL) memcpy (value_copy, value, len); output_charset_cache = value_copy; } output_charset_cached = 1; } if (output_charset_cache != NULL) return output_charset_cache; else { # ifdef _LIBC return _NL_CURRENT (LC_CTYPE, CODESET); # else # if HAVE_ICONV return locale_charset (); # endif # endif } } } #endif /* @@ begin of epilog @@ */ /* We don't want libintl.a to depend on any other library. So we avoid the non-standard function stpcpy. In GNU C Library this function is available, though. Also allow the symbol HAVE_STPCPY to be defined. */ #if !_LIBC && !HAVE_STPCPY static char * stpcpy (char *dest, const char *src) { while ((*dest++ = *src++) != '\0') /* Do nothing. */ ; return dest - 1; } #endif #if !_LIBC && !HAVE_MEMPCPY static void * mempcpy (void *dest, const void *src, size_t n) { return (void *) ((char *) memcpy (dest, src, n) + n); } #endif #if !_LIBC && !HAVE_TSEARCH # include "tsearch.c" #endif #ifdef _LIBC /* If we want to free all resources we have to do some work at program's end. */ libc_freeres_fn (free_mem) { void *old; while (_nl_domain_bindings != NULL) { struct binding *oldp = _nl_domain_bindings; _nl_domain_bindings = _nl_domain_bindings->next; if (oldp->dirname != _nl_default_dirname) /* Yes, this is a pointer comparison. */ free (oldp->dirname); free (oldp->codeset); free (oldp); } if (_nl_current_default_domain != _nl_default_default_domain) /* Yes, again a pointer comparison. */ free ((char *) _nl_current_default_domain); /* Remove the search tree with the known translations. */ __tdestroy (root, free); root = NULL; while (transmem_list != NULL) { old = transmem_list; transmem_list = transmem_list->next; free (old); } } #endif vorbis-tools-1.4.2/intl/printf-args.c0000644000175000017500000001336313767140576014475 00000000000000/* Decomposed printf argument list. Copyright (C) 1999, 2002-2003, 2005-2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file can be parametrized with the following macros: ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. PRINTF_FETCHARGS Name of the function to be defined. STATIC Set to 'static' to declare the function static. */ #ifndef PRINTF_FETCHARGS # include #endif /* Specification. */ #ifndef PRINTF_FETCHARGS # include "printf-args.h" #endif #ifdef STATIC STATIC #endif int PRINTF_FETCHARGS (va_list args, arguments *a) { size_t i; argument *ap; for (i = 0, ap = &a->arg[0]; i < a->count; i++, ap++) switch (ap->type) { case TYPE_SCHAR: ap->a.a_schar = va_arg (args, /*signed char*/ int); break; case TYPE_UCHAR: ap->a.a_uchar = va_arg (args, /*unsigned char*/ int); break; case TYPE_SHORT: ap->a.a_short = va_arg (args, /*short*/ int); break; case TYPE_USHORT: ap->a.a_ushort = va_arg (args, /*unsigned short*/ int); break; case TYPE_INT: ap->a.a_int = va_arg (args, int); break; case TYPE_UINT: ap->a.a_uint = va_arg (args, unsigned int); break; case TYPE_LONGINT: ap->a.a_longint = va_arg (args, long int); break; case TYPE_ULONGINT: ap->a.a_ulongint = va_arg (args, unsigned long int); break; #if HAVE_LONG_LONG_INT case TYPE_LONGLONGINT: ap->a.a_longlongint = va_arg (args, long long int); break; case TYPE_ULONGLONGINT: ap->a.a_ulonglongint = va_arg (args, unsigned long long int); break; #endif case TYPE_DOUBLE: ap->a.a_double = va_arg (args, double); break; case TYPE_LONGDOUBLE: ap->a.a_longdouble = va_arg (args, long double); break; case TYPE_CHAR: ap->a.a_char = va_arg (args, int); break; #if HAVE_WINT_T case TYPE_WIDE_CHAR: /* Although ISO C 99 7.24.1.(2) says that wint_t is "unchanged by default argument promotions", this is not the case in mingw32, where wint_t is 'unsigned short'. */ ap->a.a_wide_char = (sizeof (wint_t) < sizeof (int) ? va_arg (args, int) : va_arg (args, wint_t)); break; #endif case TYPE_STRING: ap->a.a_string = va_arg (args, const char *); /* A null pointer is an invalid argument for "%s", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_string == NULL) ap->a.a_string = "(NULL)"; break; #if HAVE_WCHAR_T case TYPE_WIDE_STRING: ap->a.a_wide_string = va_arg (args, const wchar_t *); /* A null pointer is an invalid argument for "%ls", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_wide_string == NULL) { static const wchar_t wide_null_string[] = { (wchar_t)'(', (wchar_t)'N', (wchar_t)'U', (wchar_t)'L', (wchar_t)'L', (wchar_t)')', (wchar_t)0 }; ap->a.a_wide_string = wide_null_string; } break; #endif case TYPE_POINTER: ap->a.a_pointer = va_arg (args, void *); break; case TYPE_COUNT_SCHAR_POINTER: ap->a.a_count_schar_pointer = va_arg (args, signed char *); break; case TYPE_COUNT_SHORT_POINTER: ap->a.a_count_short_pointer = va_arg (args, short *); break; case TYPE_COUNT_INT_POINTER: ap->a.a_count_int_pointer = va_arg (args, int *); break; case TYPE_COUNT_LONGINT_POINTER: ap->a.a_count_longint_pointer = va_arg (args, long int *); break; #if HAVE_LONG_LONG_INT case TYPE_COUNT_LONGLONGINT_POINTER: ap->a.a_count_longlongint_pointer = va_arg (args, long long int *); break; #endif #if ENABLE_UNISTDIO /* The unistdio extensions. */ case TYPE_U8_STRING: ap->a.a_u8_string = va_arg (args, const uint8_t *); /* A null pointer is an invalid argument for "%U", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_u8_string == NULL) { static const uint8_t u8_null_string[] = { '(', 'N', 'U', 'L', 'L', ')', 0 }; ap->a.a_u8_string = u8_null_string; } break; case TYPE_U16_STRING: ap->a.a_u16_string = va_arg (args, const uint16_t *); /* A null pointer is an invalid argument for "%lU", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_u16_string == NULL) { static const uint16_t u16_null_string[] = { '(', 'N', 'U', 'L', 'L', ')', 0 }; ap->a.a_u16_string = u16_null_string; } break; case TYPE_U32_STRING: ap->a.a_u32_string = va_arg (args, const uint32_t *); /* A null pointer is an invalid argument for "%llU", but in practice it occurs quite frequently in printf statements that produce debug output. Use a fallback in this case. */ if (ap->a.a_u32_string == NULL) { static const uint32_t u32_null_string[] = { '(', 'N', 'U', 'L', 'L', ')', 0 }; ap->a.a_u32_string = u32_null_string; } break; #endif default: /* Unknown type. */ return -1; } return 0; } vorbis-tools-1.4.2/intl/gettext.c0000644000175000017500000000355413767140576013726 00000000000000/* Implementation of gettext(3) function. Copyright (C) 1995, 1997, 2000-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #ifdef _LIBC # define __need_NULL # include #else # include /* Just for NULL. */ #endif #include "gettextP.h" #ifdef _LIBC # include #else # include "libgnuintl.h" #endif /* @@ end of prolog @@ */ /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define GETTEXT __gettext # define DCGETTEXT INTUSE(__dcgettext) #else # define GETTEXT libintl_gettext # define DCGETTEXT libintl_dcgettext #endif /* Look up MSGID in the current default message catalog for the current LC_MESSAGES locale. If not found, returns MSGID itself (the default text). */ char * GETTEXT (const char *msgid) { return DCGETTEXT (NULL, msgid, LC_MESSAGES); } #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__gettext, gettext); #endif vorbis-tools-1.4.2/intl/loadinfo.h0000644000175000017500000001211313767140576014031 00000000000000/* Copyright (C) 1996-1999, 2000-2003, 2005-2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1996. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _LOADINFO_H #define _LOADINFO_H 1 /* Declarations of locale dependent catalog lookup functions. Implemented in localealias.c Possibly replace a locale name by another. explodename.c Split a locale name into its various fields. l10nflist.c Generate a list of filenames of possible message catalogs. finddomain.c Find and open the relevant message catalogs. The main function _nl_find_domain() in finddomain.c is declared in gettextP.h. */ #ifndef internal_function # define internal_function #endif #ifndef LIBINTL_DLL_EXPORTED # define LIBINTL_DLL_EXPORTED #endif /* Tell the compiler when a conditional or integer expression is almost always true or almost always false. */ #ifndef HAVE_BUILTIN_EXPECT # define __builtin_expect(expr, val) (expr) #endif /* Separator in PATH like lists of pathnames. */ #if ((defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__) || defined __EMX__ || defined __DJGPP__ /* Win32, OS/2, DOS */ # define PATH_SEPARATOR ';' #else /* Unix */ # define PATH_SEPARATOR ':' #endif /* Encoding of locale name parts. */ #define XPG_NORM_CODESET 1 #define XPG_CODESET 2 #define XPG_TERRITORY 4 #define XPG_MODIFIER 8 struct loaded_l10nfile { const char *filename; int decided; const void *data; struct loaded_l10nfile *next; struct loaded_l10nfile *successor[1]; }; /* Normalize codeset name. There is no standard for the codeset names. Normalization allows the user to use any of the common names. The return value is dynamically allocated and has to be freed by the caller. */ extern const char *_nl_normalize_codeset (const char *codeset, size_t name_len); /* Lookup a locale dependent file. *L10NFILE_LIST denotes a pool of lookup results of locale dependent files of the same kind, sorted in decreasing order of ->filename. DIRLIST and DIRLIST_LEN are an argz list of directories in which to look, containing at least one directory (i.e. DIRLIST_LEN > 0). MASK, LANGUAGE, TERRITORY, CODESET, NORMALIZED_CODESET, MODIFIER are the pieces of the locale name, as produced by _nl_explode_name(). FILENAME is the filename suffix. The return value is the lookup result, either found in *L10NFILE_LIST, or - if DO_ALLOCATE is nonzero - freshly allocated, or possibly NULL. If the return value is non-NULL, it is added to *L10NFILE_LIST, and its ->next field denotes the chaining inside *L10NFILE_LIST, and furthermore its ->successor[] field contains a list of other lookup results from which this lookup result inherits. */ extern struct loaded_l10nfile * _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_list, const char *dirlist, size_t dirlist_len, int mask, const char *language, const char *territory, const char *codeset, const char *normalized_codeset, const char *modifier, const char *filename, int do_allocate); /* Lookup the real locale name for a locale alias NAME, or NULL if NAME is not a locale alias (but possibly a real locale name). The return value is statically allocated and must not be freed. */ /* Part of the libintl ABI only for the sake of the gettext.m4 macro. */ extern LIBINTL_DLL_EXPORTED const char *_nl_expand_alias (const char *name); /* Split a locale name NAME into its pieces: language, modifier, territory, codeset. NAME gets destructively modified: NUL bytes are inserted here and there. *LANGUAGE gets assigned NAME. Each of *MODIFIER, *TERRITORY, *CODESET gets assigned either a pointer into the old NAME string, or NULL. *NORMALIZED_CODESET gets assigned the expanded *CODESET, if it is different from *CODESET; this one is dynamically allocated and has to be freed by the caller. The return value is a bitmask, where each bit corresponds to one filled-in value: XPG_MODIFIER for *MODIFIER, XPG_TERRITORY for *TERRITORY, XPG_CODESET for *CODESET, XPG_NORM_CODESET for *NORMALIZED_CODESET. */ extern int _nl_explode_name (char *name, const char **language, const char **modifier, const char **territory, const char **codeset, const char **normalized_codeset); #endif /* loadinfo.h */ vorbis-tools-1.4.2/intl/vasnprintf.h0000644000175000017500000000544313767140576014440 00000000000000/* vsprintf with automatic memory allocation. Copyright (C) 2002-2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _VASNPRINTF_H #define _VASNPRINTF_H /* Get va_list. */ #include /* Get size_t. */ #include #ifndef __attribute__ /* This feature is available in gcc versions 2.5 and later. */ # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__ # define __attribute__(Spec) /* empty */ # endif /* The __-protected variants of `format' and `printf' attributes are accepted by gcc versions 2.6.4 (effectively 2.7) and later. */ # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) # define __format__ format # define __printf__ printf # endif #endif #ifdef __cplusplus extern "C" { #endif /* Write formatted output to a string dynamically allocated with malloc(). You can pass a preallocated buffer for the result in RESULTBUF and its size in *LENGTHP; otherwise you pass RESULTBUF = NULL. If successful, return the address of the string (this may be = RESULTBUF if no dynamic memory allocation was necessary) and set *LENGTHP to the number of resulting bytes, excluding the trailing NUL. Upon error, set errno and return NULL. When dynamic memory allocation occurs, the preallocated buffer is left alone (with possibly modified contents). This makes it possible to use a statically allocated or stack-allocated buffer, like this: char buf[100]; size_t len = sizeof (buf); char *output = vasnprintf (buf, &len, format, args); if (output == NULL) ... error handling ...; else { ... use the output string ...; if (output != buf) free (output); } */ extern char * asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) __attribute__ ((__format__ (__printf__, 3, 4))); extern char * vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args) __attribute__ ((__format__ (__printf__, 3, 0))); #ifdef __cplusplus } #endif #endif /* _VASNPRINTF_H */ vorbis-tools-1.4.2/intl/eval-plural.h0000644000175000017500000000534213767140576014470 00000000000000/* Plural expression evaluation. Copyright (C) 2000-2003, 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef STATIC #define STATIC static #endif /* Evaluate the plural expression and return an index value. */ STATIC unsigned long int internal_function plural_eval (const struct expression *pexp, unsigned long int n) { switch (pexp->nargs) { case 0: switch (pexp->operation) { case var: return n; case num: return pexp->val.num; default: break; } /* NOTREACHED */ break; case 1: { /* pexp->operation must be lnot. */ unsigned long int arg = plural_eval (pexp->val.args[0], n); return ! arg; } case 2: { unsigned long int leftarg = plural_eval (pexp->val.args[0], n); if (pexp->operation == lor) return leftarg || plural_eval (pexp->val.args[1], n); else if (pexp->operation == land) return leftarg && plural_eval (pexp->val.args[1], n); else { unsigned long int rightarg = plural_eval (pexp->val.args[1], n); switch (pexp->operation) { case mult: return leftarg * rightarg; case divide: #if !INTDIV0_RAISES_SIGFPE if (rightarg == 0) raise (SIGFPE); #endif return leftarg / rightarg; case module: #if !INTDIV0_RAISES_SIGFPE if (rightarg == 0) raise (SIGFPE); #endif return leftarg % rightarg; case plus: return leftarg + rightarg; case minus: return leftarg - rightarg; case less_than: return leftarg < rightarg; case greater_than: return leftarg > rightarg; case less_or_equal: return leftarg <= rightarg; case greater_or_equal: return leftarg >= rightarg; case equal: return leftarg == rightarg; case not_equal: return leftarg != rightarg; default: break; } } /* NOTREACHED */ break; } case 3: { /* pexp->operation must be qmop. */ unsigned long int boolarg = plural_eval (pexp->val.args[0], n); return plural_eval (pexp->val.args[boolarg ? 1 : 2], n); } } /* NOTREACHED */ return 0; } vorbis-tools-1.4.2/intl/relocatable.h0000644000175000017500000000543213767140576014521 00000000000000/* Provide relocatable packages. Copyright (C) 2003, 2005 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _RELOCATABLE_H #define _RELOCATABLE_H #ifdef __cplusplus extern "C" { #endif /* This can be enabled through the configure --enable-relocatable option. */ #if ENABLE_RELOCATABLE /* When building a DLL, we must export some functions. Note that because this is a private .h file, we don't need to use __declspec(dllimport) in any case. */ #if HAVE_VISIBILITY && BUILDING_DLL # define RELOCATABLE_DLL_EXPORTED __attribute__((__visibility__("default"))) #elif defined _MSC_VER && BUILDING_DLL # define RELOCATABLE_DLL_EXPORTED __declspec(dllexport) #else # define RELOCATABLE_DLL_EXPORTED #endif /* Sets the original and the current installation prefix of the package. Relocation simply replaces a pathname starting with the original prefix by the corresponding pathname with the current prefix instead. Both prefixes should be directory names without trailing slash (i.e. use "" instead of "/"). */ extern RELOCATABLE_DLL_EXPORTED void set_relocation_prefix (const char *orig_prefix, const char *curr_prefix); /* Returns the pathname, relocated according to the current installation directory. */ extern const char * relocate (const char *pathname); /* Memory management: relocate() leaks memory, because it has to construct a fresh pathname. If this is a problem because your program calls relocate() frequently, think about caching the result. */ /* Convenience function: Computes the current installation prefix, based on the original installation prefix, the original installation directory of a particular file, and the current pathname of this file. Returns NULL upon failure. */ extern const char * compute_curr_prefix (const char *orig_installprefix, const char *orig_installdir, const char *curr_pathname); #else /* By default, we use the hardwired pathnames. */ #define relocate(pathname) (pathname) #endif #ifdef __cplusplus } #endif #endif /* _RELOCATABLE_H */ vorbis-tools-1.4.2/intl/hash-string.c0000644000175000017500000000315113767140576014462 00000000000000/* Implements a string hashing function. Copyright (C) 1995, 1997, 1998, 2000, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif /* Specification. */ #include "hash-string.h" /* Defines the so called `hashpjw' function by P.J. Weinberger [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools, 1986, 1987 Bell Telephone Laboratories, Inc.] */ unsigned long int __hash_string (const char *str_param) { unsigned long int hval, g; const char *str = str_param; /* Compute the hash value for the given string. */ hval = 0; while (*str != '\0') { hval <<= 4; hval += (unsigned char) *str++; g = hval & ((unsigned long int) 0xf << (HASHWORDBITS - 4)); if (g != 0) { hval ^= g >> (HASHWORDBITS - 8); hval ^= g; } } return hval; } vorbis-tools-1.4.2/intl/plural-exp.c0000644000175000017500000000773213767140576014335 00000000000000/* Expression parsing for plural form selection. Copyright (C) 2000-2001, 2003, 2005-2007 Free Software Foundation, Inc. Written by Ulrich Drepper , 2000. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include "plural-exp.h" #if (defined __GNUC__ && !(__APPLE_CC__ > 1) && !defined __cplusplus) \ || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) /* These structs are the constant expression for the germanic plural form determination. It represents the expression "n != 1". */ static const struct expression plvar = { .nargs = 0, .operation = var, }; static const struct expression plone = { .nargs = 0, .operation = num, .val = { .num = 1 } }; struct expression GERMANIC_PLURAL = { .nargs = 2, .operation = not_equal, .val = { .args = { [0] = (struct expression *) &plvar, [1] = (struct expression *) &plone } } }; # define INIT_GERMANIC_PLURAL() #else /* For compilers without support for ISO C 99 struct/union initializers: Initialization at run-time. */ static struct expression plvar; static struct expression plone; struct expression GERMANIC_PLURAL; static void init_germanic_plural () { if (plone.val.num == 0) { plvar.nargs = 0; plvar.operation = var; plone.nargs = 0; plone.operation = num; plone.val.num = 1; GERMANIC_PLURAL.nargs = 2; GERMANIC_PLURAL.operation = not_equal; GERMANIC_PLURAL.val.args[0] = &plvar; GERMANIC_PLURAL.val.args[1] = &plone; } } # define INIT_GERMANIC_PLURAL() init_germanic_plural () #endif void internal_function EXTRACT_PLURAL_EXPRESSION (const char *nullentry, const struct expression **pluralp, unsigned long int *npluralsp) { if (nullentry != NULL) { const char *plural; const char *nplurals; plural = strstr (nullentry, "plural="); nplurals = strstr (nullentry, "nplurals="); if (plural == NULL || nplurals == NULL) goto no_plural; else { char *endp; unsigned long int n; struct parse_args args; /* First get the number. */ nplurals += 9; while (*nplurals != '\0' && isspace ((unsigned char) *nplurals)) ++nplurals; if (!(*nplurals >= '0' && *nplurals <= '9')) goto no_plural; #if defined HAVE_STRTOUL || defined _LIBC n = strtoul (nplurals, &endp, 10); #else for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++) n = n * 10 + (*endp - '0'); #endif if (nplurals == endp) goto no_plural; *npluralsp = n; /* Due to the restrictions bison imposes onto the interface of the scanner function we have to put the input string and the result passed up from the parser into the same structure which address is passed down to the parser. */ plural += 7; args.cp = plural; if (PLURAL_PARSE (&args) != 0) goto no_plural; *pluralp = args.res; } } else { /* By default we are using the Germanic form: singular form only for `one', the plural form otherwise. Yes, this is also what English is using since English is a Germanic language. */ no_plural: INIT_GERMANIC_PLURAL (); *pluralp = &GERMANIC_PLURAL; *npluralsp = 2; } } vorbis-tools-1.4.2/intl/printf-parse.c0000644000175000017500000003306013767140576014647 00000000000000/* Formatted output to strings. Copyright (C) 1999-2000, 2002-2003, 2006-2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* This file can be parametrized with the following macros: CHAR_T The element type of the format string. CHAR_T_ONLY_ASCII Set to 1 to enable verification that all characters in the format string are ASCII. DIRECTIVE Structure denoting a format directive. Depends on CHAR_T. DIRECTIVES Structure denoting the set of format directives of a format string. Depends on CHAR_T. PRINTF_PARSE Function that parses a format string. Depends on CHAR_T. STATIC Set to 'static' to declare the function static. ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. */ #ifndef PRINTF_PARSE # include #endif /* Specification. */ #ifndef PRINTF_PARSE # include "printf-parse.h" #endif /* Default parameters. */ #ifndef PRINTF_PARSE # define PRINTF_PARSE printf_parse # define CHAR_T char # define DIRECTIVE char_directive # define DIRECTIVES char_directives #endif /* Get size_t, NULL. */ #include /* Get intmax_t. */ #if defined IN_LIBINTL || defined IN_LIBASPRINTF # if HAVE_STDINT_H_WITH_UINTMAX # include # endif # if HAVE_INTTYPES_H_WITH_UINTMAX # include # endif #else # include #endif /* malloc(), realloc(), free(). */ #include /* errno. */ #include /* Checked size_t computations. */ #include "xsize.h" #if CHAR_T_ONLY_ASCII /* c_isascii(). */ # include "c-ctype.h" #endif #ifdef STATIC STATIC #endif int PRINTF_PARSE (const CHAR_T *format, DIRECTIVES *d, arguments *a) { const CHAR_T *cp = format; /* pointer into format */ size_t arg_posn = 0; /* number of regular arguments consumed */ size_t d_allocated; /* allocated elements of d->dir */ size_t a_allocated; /* allocated elements of a->arg */ size_t max_width_length = 0; size_t max_precision_length = 0; d->count = 0; d_allocated = 1; d->dir = (DIRECTIVE *) malloc (d_allocated * sizeof (DIRECTIVE)); if (d->dir == NULL) /* Out of memory. */ goto out_of_memory_1; a->count = 0; a_allocated = 0; a->arg = NULL; #define REGISTER_ARG(_index_,_type_) \ { \ size_t n = (_index_); \ if (n >= a_allocated) \ { \ size_t memory_size; \ argument *memory; \ \ a_allocated = xtimes (a_allocated, 2); \ if (a_allocated <= n) \ a_allocated = xsum (n, 1); \ memory_size = xtimes (a_allocated, sizeof (argument)); \ if (size_overflow_p (memory_size)) \ /* Overflow, would lead to out of memory. */ \ goto out_of_memory; \ memory = (argument *) (a->arg \ ? realloc (a->arg, memory_size) \ : malloc (memory_size)); \ if (memory == NULL) \ /* Out of memory. */ \ goto out_of_memory; \ a->arg = memory; \ } \ while (a->count <= n) \ a->arg[a->count++].type = TYPE_NONE; \ if (a->arg[n].type == TYPE_NONE) \ a->arg[n].type = (_type_); \ else if (a->arg[n].type != (_type_)) \ /* Ambiguous type for positional argument. */ \ goto error; \ } while (*cp != '\0') { CHAR_T c = *cp++; if (c == '%') { size_t arg_index = ARG_NONE; DIRECTIVE *dp = &d->dir[d->count]; /* pointer to next directive */ /* Initialize the next directive. */ dp->dir_start = cp - 1; dp->flags = 0; dp->width_start = NULL; dp->width_end = NULL; dp->width_arg_index = ARG_NONE; dp->precision_start = NULL; dp->precision_end = NULL; dp->precision_arg_index = ARG_NONE; dp->arg_index = ARG_NONE; /* Test for positional argument. */ if (*cp >= '0' && *cp <= '9') { const CHAR_T *np; for (np = cp; *np >= '0' && *np <= '9'; np++) ; if (*np == '$') { size_t n = 0; for (np = cp; *np >= '0' && *np <= '9'; np++) n = xsum (xtimes (n, 10), *np - '0'); if (n == 0) /* Positional argument 0. */ goto error; if (size_overflow_p (n)) /* n too large, would lead to out of memory later. */ goto error; arg_index = n - 1; cp = np + 1; } } /* Read the flags. */ for (;;) { if (*cp == '\'') { dp->flags |= FLAG_GROUP; cp++; } else if (*cp == '-') { dp->flags |= FLAG_LEFT; cp++; } else if (*cp == '+') { dp->flags |= FLAG_SHOWSIGN; cp++; } else if (*cp == ' ') { dp->flags |= FLAG_SPACE; cp++; } else if (*cp == '#') { dp->flags |= FLAG_ALT; cp++; } else if (*cp == '0') { dp->flags |= FLAG_ZERO; cp++; } else break; } /* Parse the field width. */ if (*cp == '*') { dp->width_start = cp; cp++; dp->width_end = cp; if (max_width_length < 1) max_width_length = 1; /* Test for positional argument. */ if (*cp >= '0' && *cp <= '9') { const CHAR_T *np; for (np = cp; *np >= '0' && *np <= '9'; np++) ; if (*np == '$') { size_t n = 0; for (np = cp; *np >= '0' && *np <= '9'; np++) n = xsum (xtimes (n, 10), *np - '0'); if (n == 0) /* Positional argument 0. */ goto error; if (size_overflow_p (n)) /* n too large, would lead to out of memory later. */ goto error; dp->width_arg_index = n - 1; cp = np + 1; } } if (dp->width_arg_index == ARG_NONE) { dp->width_arg_index = arg_posn++; if (dp->width_arg_index == ARG_NONE) /* arg_posn wrapped around. */ goto error; } REGISTER_ARG (dp->width_arg_index, TYPE_INT); } else if (*cp >= '0' && *cp <= '9') { size_t width_length; dp->width_start = cp; for (; *cp >= '0' && *cp <= '9'; cp++) ; dp->width_end = cp; width_length = dp->width_end - dp->width_start; if (max_width_length < width_length) max_width_length = width_length; } /* Parse the precision. */ if (*cp == '.') { cp++; if (*cp == '*') { dp->precision_start = cp - 1; cp++; dp->precision_end = cp; if (max_precision_length < 2) max_precision_length = 2; /* Test for positional argument. */ if (*cp >= '0' && *cp <= '9') { const CHAR_T *np; for (np = cp; *np >= '0' && *np <= '9'; np++) ; if (*np == '$') { size_t n = 0; for (np = cp; *np >= '0' && *np <= '9'; np++) n = xsum (xtimes (n, 10), *np - '0'); if (n == 0) /* Positional argument 0. */ goto error; if (size_overflow_p (n)) /* n too large, would lead to out of memory later. */ goto error; dp->precision_arg_index = n - 1; cp = np + 1; } } if (dp->precision_arg_index == ARG_NONE) { dp->precision_arg_index = arg_posn++; if (dp->precision_arg_index == ARG_NONE) /* arg_posn wrapped around. */ goto error; } REGISTER_ARG (dp->precision_arg_index, TYPE_INT); } else { size_t precision_length; dp->precision_start = cp - 1; for (; *cp >= '0' && *cp <= '9'; cp++) ; dp->precision_end = cp; precision_length = dp->precision_end - dp->precision_start; if (max_precision_length < precision_length) max_precision_length = precision_length; } } { arg_type type; /* Parse argument type/size specifiers. */ { int flags = 0; for (;;) { if (*cp == 'h') { flags |= (1 << (flags & 1)); cp++; } else if (*cp == 'L') { flags |= 4; cp++; } else if (*cp == 'l') { flags += 8; cp++; } else if (*cp == 'j') { if (sizeof (intmax_t) > sizeof (long)) { /* intmax_t = long long */ flags += 16; } else if (sizeof (intmax_t) > sizeof (int)) { /* intmax_t = long */ flags += 8; } cp++; } else if (*cp == 'z' || *cp == 'Z') { /* 'z' is standardized in ISO C 99, but glibc uses 'Z' because the warning facility in gcc-2.95.2 understands only 'Z' (see gcc-2.95.2/gcc/c-common.c:1784). */ if (sizeof (size_t) > sizeof (long)) { /* size_t = long long */ flags += 16; } else if (sizeof (size_t) > sizeof (int)) { /* size_t = long */ flags += 8; } cp++; } else if (*cp == 't') { if (sizeof (ptrdiff_t) > sizeof (long)) { /* ptrdiff_t = long long */ flags += 16; } else if (sizeof (ptrdiff_t) > sizeof (int)) { /* ptrdiff_t = long */ flags += 8; } cp++; } else break; } /* Read the conversion character. */ c = *cp++; switch (c) { case 'd': case 'i': #if HAVE_LONG_LONG_INT /* If 'long long' exists and is larger than 'long': */ if (flags >= 16 || (flags & 4)) type = TYPE_LONGLONGINT; else #endif /* If 'long long' exists and is the same as 'long', we parse "lld" into TYPE_LONGINT. */ if (flags >= 8) type = TYPE_LONGINT; else if (flags & 2) type = TYPE_SCHAR; else if (flags & 1) type = TYPE_SHORT; else type = TYPE_INT; break; case 'o': case 'u': case 'x': case 'X': #if HAVE_LONG_LONG_INT /* If 'long long' exists and is larger than 'long': */ if (flags >= 16 || (flags & 4)) type = TYPE_ULONGLONGINT; else #endif /* If 'unsigned long long' exists and is the same as 'unsigned long', we parse "llu" into TYPE_ULONGINT. */ if (flags >= 8) type = TYPE_ULONGINT; else if (flags & 2) type = TYPE_UCHAR; else if (flags & 1) type = TYPE_USHORT; else type = TYPE_UINT; break; case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': case 'a': case 'A': if (flags >= 16 || (flags & 4)) type = TYPE_LONGDOUBLE; else type = TYPE_DOUBLE; break; case 'c': if (flags >= 8) #if HAVE_WINT_T type = TYPE_WIDE_CHAR; #else goto error; #endif else type = TYPE_CHAR; break; #if HAVE_WINT_T case 'C': type = TYPE_WIDE_CHAR; c = 'c'; break; #endif case 's': if (flags >= 8) #if HAVE_WCHAR_T type = TYPE_WIDE_STRING; #else goto error; #endif else type = TYPE_STRING; break; #if HAVE_WCHAR_T case 'S': type = TYPE_WIDE_STRING; c = 's'; break; #endif case 'p': type = TYPE_POINTER; break; case 'n': #if HAVE_LONG_LONG_INT /* If 'long long' exists and is larger than 'long': */ if (flags >= 16 || (flags & 4)) type = TYPE_COUNT_LONGLONGINT_POINTER; else #endif /* If 'long long' exists and is the same as 'long', we parse "lln" into TYPE_COUNT_LONGINT_POINTER. */ if (flags >= 8) type = TYPE_COUNT_LONGINT_POINTER; else if (flags & 2) type = TYPE_COUNT_SCHAR_POINTER; else if (flags & 1) type = TYPE_COUNT_SHORT_POINTER; else type = TYPE_COUNT_INT_POINTER; break; #if ENABLE_UNISTDIO /* The unistdio extensions. */ case 'U': if (flags >= 16) type = TYPE_U32_STRING; else if (flags >= 8) type = TYPE_U16_STRING; else type = TYPE_U8_STRING; break; #endif case '%': type = TYPE_NONE; break; default: /* Unknown conversion character. */ goto error; } } if (type != TYPE_NONE) { dp->arg_index = arg_index; if (dp->arg_index == ARG_NONE) { dp->arg_index = arg_posn++; if (dp->arg_index == ARG_NONE) /* arg_posn wrapped around. */ goto error; } REGISTER_ARG (dp->arg_index, type); } dp->conversion = c; dp->dir_end = cp; } d->count++; if (d->count >= d_allocated) { size_t memory_size; DIRECTIVE *memory; d_allocated = xtimes (d_allocated, 2); memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); if (size_overflow_p (memory_size)) /* Overflow, would lead to out of memory. */ goto out_of_memory; memory = (DIRECTIVE *) realloc (d->dir, memory_size); if (memory == NULL) /* Out of memory. */ goto out_of_memory; d->dir = memory; } } #if CHAR_T_ONLY_ASCII else if (!c_isascii (c)) { /* Non-ASCII character. Not supported. */ goto error; } #endif } d->dir[d->count].dir_start = cp; d->max_width_length = max_width_length; d->max_precision_length = max_precision_length; return 0; error: if (a->arg) free (a->arg); if (d->dir) free (d->dir); errno = EINVAL; return -1; out_of_memory: if (a->arg) free (a->arg); if (d->dir) free (d->dir); out_of_memory_1: errno = ENOMEM; return -1; } #undef PRINTF_PARSE #undef DIRECTIVES #undef DIRECTIVE #undef CHAR_T_ONLY_ASCII #undef CHAR_T vorbis-tools-1.4.2/intl/ref-add.sin0000644000175000017500000000210513767140576014102 00000000000000# Add this package to a list of references stored in a text file. # # Copyright (C) 2000 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU Library General Public License as published # by the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # # Written by Bruno Haible . # /^# Packages using this file: / { s/# Packages using this file:// ta :a s/ @PACKAGE@ / @PACKAGE@ / tb s/ $/ @PACKAGE@ / :b s/^/# Packages using this file:/ } vorbis-tools-1.4.2/intl/dcgettext.c0000644000175000017500000000342113767140576014226 00000000000000/* Implementation of the dcgettext(3) function. Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include "gettextP.h" #ifdef _LIBC # include #else # include "libgnuintl.h" #endif /* @@ end of prolog @@ */ /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define DCGETTEXT __dcgettext # define DCIGETTEXT __dcigettext #else # define DCGETTEXT libintl_dcgettext # define DCIGETTEXT libintl_dcigettext #endif /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY locale. */ char * DCGETTEXT (const char *domainname, const char *msgid, int category) { return DCIGETTEXT (domainname, msgid, NULL, 0, 0, category); } #ifdef _LIBC /* Alias for function name in GNU C Library. */ INTDEF(__dcgettext) weak_alias (__dcgettext, dcgettext); #endif vorbis-tools-1.4.2/intl/ngettext.c0000644000175000017500000000367413767140576014107 00000000000000/* Implementation of ngettext(3) function. Copyright (C) 1995, 1997, 2000-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #ifdef _LIBC # define __need_NULL # include #else # include /* Just for NULL. */ #endif #include "gettextP.h" #ifdef _LIBC # include #else # include "libgnuintl.h" #endif #include /* @@ end of prolog @@ */ /* Names for the libintl functions are a problem. They must not clash with existing names and they should follow ANSI C. But this source code is also used in GNU C Library where the names have a __ prefix. So we have to make a difference here. */ #ifdef _LIBC # define NGETTEXT __ngettext # define DCNGETTEXT __dcngettext #else # define NGETTEXT libintl_ngettext # define DCNGETTEXT libintl_dcngettext #endif /* Look up MSGID in the current default message catalog for the current LC_MESSAGES locale. If not found, returns MSGID itself (the default text). */ char * NGETTEXT (const char *msgid1, const char *msgid2, unsigned long int n) { return DCNGETTEXT (NULL, msgid1, msgid2, n, LC_MESSAGES); } #ifdef _LIBC /* Alias for function name in GNU C Library. */ weak_alias (__ngettext, ngettext); #endif vorbis-tools-1.4.2/intl/ChangeLog0000644000175000017500000000010713767140576013637 000000000000002007-11-07 GNU * Version 0.17 released. vorbis-tools-1.4.2/intl/gmo.h0000644000175000017500000001151213767140576013022 00000000000000/* Description of GNU message catalog format: general file layout. Copyright (C) 1995, 1997, 2000-2002, 2004, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _GETTEXT_H #define _GETTEXT_H 1 #include /* @@ end of prolog @@ */ /* The magic number of the GNU message catalog format. */ #define _MAGIC 0x950412de #define _MAGIC_SWAPPED 0xde120495 /* Revision number of the currently used .mo (binary) file format. */ #define MO_REVISION_NUMBER 0 #define MO_REVISION_NUMBER_WITH_SYSDEP_I 1 /* The following contortions are an attempt to use the C preprocessor to determine an unsigned integral type that is 32 bits wide. An alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but as of version autoconf-2.13, the AC_CHECK_SIZEOF macro doesn't work when cross-compiling. */ #if __STDC__ # define UINT_MAX_32_BITS 4294967295U #else # define UINT_MAX_32_BITS 0xFFFFFFFF #endif /* If UINT_MAX isn't defined, assume it's a 32-bit type. This should be valid for all systems GNU cares about because that doesn't include 16-bit systems, and only modern systems (that certainly have ) have 64+-bit integral types. */ #ifndef UINT_MAX # define UINT_MAX UINT_MAX_32_BITS #endif #if UINT_MAX == UINT_MAX_32_BITS typedef unsigned nls_uint32; #else # if USHRT_MAX == UINT_MAX_32_BITS typedef unsigned short nls_uint32; # else # if ULONG_MAX == UINT_MAX_32_BITS typedef unsigned long nls_uint32; # else /* The following line is intended to throw an error. Using #error is not portable enough. */ "Cannot determine unsigned 32-bit data type." # endif # endif #endif /* Header for binary .mo file format. */ struct mo_file_header { /* The magic number. */ nls_uint32 magic; /* The revision number of the file format. */ nls_uint32 revision; /* The following are only used in .mo files with major revision 0 or 1. */ /* The number of strings pairs. */ nls_uint32 nstrings; /* Offset of table with start offsets of original strings. */ nls_uint32 orig_tab_offset; /* Offset of table with start offsets of translated strings. */ nls_uint32 trans_tab_offset; /* Size of hash table. */ nls_uint32 hash_tab_size; /* Offset of first hash table entry. */ nls_uint32 hash_tab_offset; /* The following are only used in .mo files with minor revision >= 1. */ /* The number of system dependent segments. */ nls_uint32 n_sysdep_segments; /* Offset of table describing system dependent segments. */ nls_uint32 sysdep_segments_offset; /* The number of system dependent strings pairs. */ nls_uint32 n_sysdep_strings; /* Offset of table with start offsets of original sysdep strings. */ nls_uint32 orig_sysdep_tab_offset; /* Offset of table with start offsets of translated sysdep strings. */ nls_uint32 trans_sysdep_tab_offset; }; /* Descriptor for static string contained in the binary .mo file. */ struct string_desc { /* Length of addressed string, not including the trailing NUL. */ nls_uint32 length; /* Offset of string in file. */ nls_uint32 offset; }; /* The following are only used in .mo files with minor revision >= 1. */ /* Descriptor for system dependent string segment. */ struct sysdep_segment { /* Length of addressed string, including the trailing NUL. */ nls_uint32 length; /* Offset of string in file. */ nls_uint32 offset; }; /* Pair of a static and a system dependent segment, in struct sysdep_string. */ struct segment_pair { /* Size of static segment. */ nls_uint32 segsize; /* Reference to system dependent string segment, or ~0 at the end. */ nls_uint32 sysdepref; }; /* Descriptor for system dependent string. */ struct sysdep_string { /* Offset of static string segments in file. */ nls_uint32 offset; /* Alternating sequence of static and system dependent segments. The last segment is a static segment, including the trailing NUL. */ struct segment_pair segments[1]; }; /* Marker for the end of the segments[] array. This has the value 0xFFFFFFFF, regardless whether 'int' is 16 bit, 32 bit, or 64 bit. */ #define SEGMENTS_END ((nls_uint32) ~0) /* @@ begin of epilog @@ */ #endif /* gettext.h */ vorbis-tools-1.4.2/intl/loadmsgcat.c0000644000175000017500000010270013767140576014351 00000000000000/* Load needed message catalogs. Copyright (C) 1995-1999, 2000-2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Tell glibc's to provide a prototype for mempcpy(). This must come before because may include , and once has been included, it's too late. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include #include #ifdef __GNUC__ # undef alloca # define alloca __builtin_alloca # define HAVE_ALLOCA 1 #else # ifdef _MSC_VER # include # define alloca _alloca # else # if defined HAVE_ALLOCA_H || defined _LIBC # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca char *alloca (); # endif # endif # endif # endif #endif #include #include #if defined HAVE_UNISTD_H || defined _LIBC # include #endif #ifdef _LIBC # include # include #endif #if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \ || (defined _LIBC && defined _POSIX_MAPPED_FILES) # include # undef HAVE_MMAP # define HAVE_MMAP 1 #else # undef HAVE_MMAP #endif #if defined HAVE_STDINT_H_WITH_UINTMAX || defined _LIBC # include #endif #if defined HAVE_INTTYPES_H || defined _LIBC # include #endif #include "gmo.h" #include "gettextP.h" #include "hash-string.h" #include "plural-exp.h" #ifdef _LIBC # include "../locale/localeinfo.h" # include #endif /* Handle multi-threaded applications. */ #ifdef _LIBC # include #else # include "lock.h" #endif /* Provide fallback values for macros that ought to be defined in . Note that our fallback values need not be literal strings, because we don't use them with preprocessor string concatenation. */ #if !defined PRId8 || PRI_MACROS_BROKEN # undef PRId8 # define PRId8 "d" #endif #if !defined PRIi8 || PRI_MACROS_BROKEN # undef PRIi8 # define PRIi8 "i" #endif #if !defined PRIo8 || PRI_MACROS_BROKEN # undef PRIo8 # define PRIo8 "o" #endif #if !defined PRIu8 || PRI_MACROS_BROKEN # undef PRIu8 # define PRIu8 "u" #endif #if !defined PRIx8 || PRI_MACROS_BROKEN # undef PRIx8 # define PRIx8 "x" #endif #if !defined PRIX8 || PRI_MACROS_BROKEN # undef PRIX8 # define PRIX8 "X" #endif #if !defined PRId16 || PRI_MACROS_BROKEN # undef PRId16 # define PRId16 "d" #endif #if !defined PRIi16 || PRI_MACROS_BROKEN # undef PRIi16 # define PRIi16 "i" #endif #if !defined PRIo16 || PRI_MACROS_BROKEN # undef PRIo16 # define PRIo16 "o" #endif #if !defined PRIu16 || PRI_MACROS_BROKEN # undef PRIu16 # define PRIu16 "u" #endif #if !defined PRIx16 || PRI_MACROS_BROKEN # undef PRIx16 # define PRIx16 "x" #endif #if !defined PRIX16 || PRI_MACROS_BROKEN # undef PRIX16 # define PRIX16 "X" #endif #if !defined PRId32 || PRI_MACROS_BROKEN # undef PRId32 # define PRId32 "d" #endif #if !defined PRIi32 || PRI_MACROS_BROKEN # undef PRIi32 # define PRIi32 "i" #endif #if !defined PRIo32 || PRI_MACROS_BROKEN # undef PRIo32 # define PRIo32 "o" #endif #if !defined PRIu32 || PRI_MACROS_BROKEN # undef PRIu32 # define PRIu32 "u" #endif #if !defined PRIx32 || PRI_MACROS_BROKEN # undef PRIx32 # define PRIx32 "x" #endif #if !defined PRIX32 || PRI_MACROS_BROKEN # undef PRIX32 # define PRIX32 "X" #endif #if !defined PRId64 || PRI_MACROS_BROKEN # undef PRId64 # define PRId64 (sizeof (long) == 8 ? "ld" : "lld") #endif #if !defined PRIi64 || PRI_MACROS_BROKEN # undef PRIi64 # define PRIi64 (sizeof (long) == 8 ? "li" : "lli") #endif #if !defined PRIo64 || PRI_MACROS_BROKEN # undef PRIo64 # define PRIo64 (sizeof (long) == 8 ? "lo" : "llo") #endif #if !defined PRIu64 || PRI_MACROS_BROKEN # undef PRIu64 # define PRIu64 (sizeof (long) == 8 ? "lu" : "llu") #endif #if !defined PRIx64 || PRI_MACROS_BROKEN # undef PRIx64 # define PRIx64 (sizeof (long) == 8 ? "lx" : "llx") #endif #if !defined PRIX64 || PRI_MACROS_BROKEN # undef PRIX64 # define PRIX64 (sizeof (long) == 8 ? "lX" : "llX") #endif #if !defined PRIdLEAST8 || PRI_MACROS_BROKEN # undef PRIdLEAST8 # define PRIdLEAST8 "d" #endif #if !defined PRIiLEAST8 || PRI_MACROS_BROKEN # undef PRIiLEAST8 # define PRIiLEAST8 "i" #endif #if !defined PRIoLEAST8 || PRI_MACROS_BROKEN # undef PRIoLEAST8 # define PRIoLEAST8 "o" #endif #if !defined PRIuLEAST8 || PRI_MACROS_BROKEN # undef PRIuLEAST8 # define PRIuLEAST8 "u" #endif #if !defined PRIxLEAST8 || PRI_MACROS_BROKEN # undef PRIxLEAST8 # define PRIxLEAST8 "x" #endif #if !defined PRIXLEAST8 || PRI_MACROS_BROKEN # undef PRIXLEAST8 # define PRIXLEAST8 "X" #endif #if !defined PRIdLEAST16 || PRI_MACROS_BROKEN # undef PRIdLEAST16 # define PRIdLEAST16 "d" #endif #if !defined PRIiLEAST16 || PRI_MACROS_BROKEN # undef PRIiLEAST16 # define PRIiLEAST16 "i" #endif #if !defined PRIoLEAST16 || PRI_MACROS_BROKEN # undef PRIoLEAST16 # define PRIoLEAST16 "o" #endif #if !defined PRIuLEAST16 || PRI_MACROS_BROKEN # undef PRIuLEAST16 # define PRIuLEAST16 "u" #endif #if !defined PRIxLEAST16 || PRI_MACROS_BROKEN # undef PRIxLEAST16 # define PRIxLEAST16 "x" #endif #if !defined PRIXLEAST16 || PRI_MACROS_BROKEN # undef PRIXLEAST16 # define PRIXLEAST16 "X" #endif #if !defined PRIdLEAST32 || PRI_MACROS_BROKEN # undef PRIdLEAST32 # define PRIdLEAST32 "d" #endif #if !defined PRIiLEAST32 || PRI_MACROS_BROKEN # undef PRIiLEAST32 # define PRIiLEAST32 "i" #endif #if !defined PRIoLEAST32 || PRI_MACROS_BROKEN # undef PRIoLEAST32 # define PRIoLEAST32 "o" #endif #if !defined PRIuLEAST32 || PRI_MACROS_BROKEN # undef PRIuLEAST32 # define PRIuLEAST32 "u" #endif #if !defined PRIxLEAST32 || PRI_MACROS_BROKEN # undef PRIxLEAST32 # define PRIxLEAST32 "x" #endif #if !defined PRIXLEAST32 || PRI_MACROS_BROKEN # undef PRIXLEAST32 # define PRIXLEAST32 "X" #endif #if !defined PRIdLEAST64 || PRI_MACROS_BROKEN # undef PRIdLEAST64 # define PRIdLEAST64 PRId64 #endif #if !defined PRIiLEAST64 || PRI_MACROS_BROKEN # undef PRIiLEAST64 # define PRIiLEAST64 PRIi64 #endif #if !defined PRIoLEAST64 || PRI_MACROS_BROKEN # undef PRIoLEAST64 # define PRIoLEAST64 PRIo64 #endif #if !defined PRIuLEAST64 || PRI_MACROS_BROKEN # undef PRIuLEAST64 # define PRIuLEAST64 PRIu64 #endif #if !defined PRIxLEAST64 || PRI_MACROS_BROKEN # undef PRIxLEAST64 # define PRIxLEAST64 PRIx64 #endif #if !defined PRIXLEAST64 || PRI_MACROS_BROKEN # undef PRIXLEAST64 # define PRIXLEAST64 PRIX64 #endif #if !defined PRIdFAST8 || PRI_MACROS_BROKEN # undef PRIdFAST8 # define PRIdFAST8 "d" #endif #if !defined PRIiFAST8 || PRI_MACROS_BROKEN # undef PRIiFAST8 # define PRIiFAST8 "i" #endif #if !defined PRIoFAST8 || PRI_MACROS_BROKEN # undef PRIoFAST8 # define PRIoFAST8 "o" #endif #if !defined PRIuFAST8 || PRI_MACROS_BROKEN # undef PRIuFAST8 # define PRIuFAST8 "u" #endif #if !defined PRIxFAST8 || PRI_MACROS_BROKEN # undef PRIxFAST8 # define PRIxFAST8 "x" #endif #if !defined PRIXFAST8 || PRI_MACROS_BROKEN # undef PRIXFAST8 # define PRIXFAST8 "X" #endif #if !defined PRIdFAST16 || PRI_MACROS_BROKEN # undef PRIdFAST16 # define PRIdFAST16 "d" #endif #if !defined PRIiFAST16 || PRI_MACROS_BROKEN # undef PRIiFAST16 # define PRIiFAST16 "i" #endif #if !defined PRIoFAST16 || PRI_MACROS_BROKEN # undef PRIoFAST16 # define PRIoFAST16 "o" #endif #if !defined PRIuFAST16 || PRI_MACROS_BROKEN # undef PRIuFAST16 # define PRIuFAST16 "u" #endif #if !defined PRIxFAST16 || PRI_MACROS_BROKEN # undef PRIxFAST16 # define PRIxFAST16 "x" #endif #if !defined PRIXFAST16 || PRI_MACROS_BROKEN # undef PRIXFAST16 # define PRIXFAST16 "X" #endif #if !defined PRIdFAST32 || PRI_MACROS_BROKEN # undef PRIdFAST32 # define PRIdFAST32 "d" #endif #if !defined PRIiFAST32 || PRI_MACROS_BROKEN # undef PRIiFAST32 # define PRIiFAST32 "i" #endif #if !defined PRIoFAST32 || PRI_MACROS_BROKEN # undef PRIoFAST32 # define PRIoFAST32 "o" #endif #if !defined PRIuFAST32 || PRI_MACROS_BROKEN # undef PRIuFAST32 # define PRIuFAST32 "u" #endif #if !defined PRIxFAST32 || PRI_MACROS_BROKEN # undef PRIxFAST32 # define PRIxFAST32 "x" #endif #if !defined PRIXFAST32 || PRI_MACROS_BROKEN # undef PRIXFAST32 # define PRIXFAST32 "X" #endif #if !defined PRIdFAST64 || PRI_MACROS_BROKEN # undef PRIdFAST64 # define PRIdFAST64 PRId64 #endif #if !defined PRIiFAST64 || PRI_MACROS_BROKEN # undef PRIiFAST64 # define PRIiFAST64 PRIi64 #endif #if !defined PRIoFAST64 || PRI_MACROS_BROKEN # undef PRIoFAST64 # define PRIoFAST64 PRIo64 #endif #if !defined PRIuFAST64 || PRI_MACROS_BROKEN # undef PRIuFAST64 # define PRIuFAST64 PRIu64 #endif #if !defined PRIxFAST64 || PRI_MACROS_BROKEN # undef PRIxFAST64 # define PRIxFAST64 PRIx64 #endif #if !defined PRIXFAST64 || PRI_MACROS_BROKEN # undef PRIXFAST64 # define PRIXFAST64 PRIX64 #endif #if !defined PRIdMAX || PRI_MACROS_BROKEN # undef PRIdMAX # define PRIdMAX (sizeof (uintmax_t) == sizeof (long) ? "ld" : "lld") #endif #if !defined PRIiMAX || PRI_MACROS_BROKEN # undef PRIiMAX # define PRIiMAX (sizeof (uintmax_t) == sizeof (long) ? "li" : "lli") #endif #if !defined PRIoMAX || PRI_MACROS_BROKEN # undef PRIoMAX # define PRIoMAX (sizeof (uintmax_t) == sizeof (long) ? "lo" : "llo") #endif #if !defined PRIuMAX || PRI_MACROS_BROKEN # undef PRIuMAX # define PRIuMAX (sizeof (uintmax_t) == sizeof (long) ? "lu" : "llu") #endif #if !defined PRIxMAX || PRI_MACROS_BROKEN # undef PRIxMAX # define PRIxMAX (sizeof (uintmax_t) == sizeof (long) ? "lx" : "llx") #endif #if !defined PRIXMAX || PRI_MACROS_BROKEN # undef PRIXMAX # define PRIXMAX (sizeof (uintmax_t) == sizeof (long) ? "lX" : "llX") #endif #if !defined PRIdPTR || PRI_MACROS_BROKEN # undef PRIdPTR # define PRIdPTR \ (sizeof (void *) == sizeof (long) ? "ld" : \ sizeof (void *) == sizeof (int) ? "d" : \ "lld") #endif #if !defined PRIiPTR || PRI_MACROS_BROKEN # undef PRIiPTR # define PRIiPTR \ (sizeof (void *) == sizeof (long) ? "li" : \ sizeof (void *) == sizeof (int) ? "i" : \ "lli") #endif #if !defined PRIoPTR || PRI_MACROS_BROKEN # undef PRIoPTR # define PRIoPTR \ (sizeof (void *) == sizeof (long) ? "lo" : \ sizeof (void *) == sizeof (int) ? "o" : \ "llo") #endif #if !defined PRIuPTR || PRI_MACROS_BROKEN # undef PRIuPTR # define PRIuPTR \ (sizeof (void *) == sizeof (long) ? "lu" : \ sizeof (void *) == sizeof (int) ? "u" : \ "llu") #endif #if !defined PRIxPTR || PRI_MACROS_BROKEN # undef PRIxPTR # define PRIxPTR \ (sizeof (void *) == sizeof (long) ? "lx" : \ sizeof (void *) == sizeof (int) ? "x" : \ "llx") #endif #if !defined PRIXPTR || PRI_MACROS_BROKEN # undef PRIXPTR # define PRIXPTR \ (sizeof (void *) == sizeof (long) ? "lX" : \ sizeof (void *) == sizeof (int) ? "X" : \ "llX") #endif /* @@ end of prolog @@ */ #ifdef _LIBC /* Rename the non ISO C functions. This is required by the standard because some ISO C functions will require linking with this object file and the name space must not be polluted. */ # define open(name, flags) open_not_cancel_2 (name, flags) # define close(fd) close_not_cancel_no_status (fd) # define read(fd, buf, n) read_not_cancel (fd, buf, n) # define mmap(addr, len, prot, flags, fd, offset) \ __mmap (addr, len, prot, flags, fd, offset) # define munmap(addr, len) __munmap (addr, len) #endif /* For those losing systems which don't have `alloca' we have to add some additional code emulating it. */ #ifdef HAVE_ALLOCA # define freea(p) /* nothing */ #else # define alloca(n) malloc (n) # define freea(p) free (p) #endif /* For systems that distinguish between text and binary I/O. O_BINARY is usually declared in . */ #if !defined O_BINARY && defined _O_BINARY /* For MSC-compatible compilers. */ # define O_BINARY _O_BINARY # define O_TEXT _O_TEXT #endif #ifdef __BEOS__ /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */ # undef O_BINARY # undef O_TEXT #endif /* On reasonable systems, binary I/O is the default. */ #ifndef O_BINARY # define O_BINARY 0 #endif /* We need a sign, whether a new catalog was loaded, which can be associated with all translations. This is important if the translations are cached by one of GCC's features. */ int _nl_msg_cat_cntr; /* Expand a system dependent string segment. Return NULL if unsupported. */ static const char * get_sysdep_segment_value (const char *name) { /* Test for an ISO C 99 section 7.8.1 format string directive. Syntax: P R I { d | i | o | u | x | X } { { | LEAST | FAST } { 8 | 16 | 32 | 64 } | MAX | PTR } */ /* We don't use a table of 14 times 6 'const char *' strings here, because data relocations cost startup time. */ if (name[0] == 'P' && name[1] == 'R' && name[2] == 'I') { if (name[3] == 'd' || name[3] == 'i' || name[3] == 'o' || name[3] == 'u' || name[3] == 'x' || name[3] == 'X') { if (name[4] == '8' && name[5] == '\0') { if (name[3] == 'd') return PRId8; if (name[3] == 'i') return PRIi8; if (name[3] == 'o') return PRIo8; if (name[3] == 'u') return PRIu8; if (name[3] == 'x') return PRIx8; if (name[3] == 'X') return PRIX8; abort (); } if (name[4] == '1' && name[5] == '6' && name[6] == '\0') { if (name[3] == 'd') return PRId16; if (name[3] == 'i') return PRIi16; if (name[3] == 'o') return PRIo16; if (name[3] == 'u') return PRIu16; if (name[3] == 'x') return PRIx16; if (name[3] == 'X') return PRIX16; abort (); } if (name[4] == '3' && name[5] == '2' && name[6] == '\0') { if (name[3] == 'd') return PRId32; if (name[3] == 'i') return PRIi32; if (name[3] == 'o') return PRIo32; if (name[3] == 'u') return PRIu32; if (name[3] == 'x') return PRIx32; if (name[3] == 'X') return PRIX32; abort (); } if (name[4] == '6' && name[5] == '4' && name[6] == '\0') { if (name[3] == 'd') return PRId64; if (name[3] == 'i') return PRIi64; if (name[3] == 'o') return PRIo64; if (name[3] == 'u') return PRIu64; if (name[3] == 'x') return PRIx64; if (name[3] == 'X') return PRIX64; abort (); } if (name[4] == 'L' && name[5] == 'E' && name[6] == 'A' && name[7] == 'S' && name[8] == 'T') { if (name[9] == '8' && name[10] == '\0') { if (name[3] == 'd') return PRIdLEAST8; if (name[3] == 'i') return PRIiLEAST8; if (name[3] == 'o') return PRIoLEAST8; if (name[3] == 'u') return PRIuLEAST8; if (name[3] == 'x') return PRIxLEAST8; if (name[3] == 'X') return PRIXLEAST8; abort (); } if (name[9] == '1' && name[10] == '6' && name[11] == '\0') { if (name[3] == 'd') return PRIdLEAST16; if (name[3] == 'i') return PRIiLEAST16; if (name[3] == 'o') return PRIoLEAST16; if (name[3] == 'u') return PRIuLEAST16; if (name[3] == 'x') return PRIxLEAST16; if (name[3] == 'X') return PRIXLEAST16; abort (); } if (name[9] == '3' && name[10] == '2' && name[11] == '\0') { if (name[3] == 'd') return PRIdLEAST32; if (name[3] == 'i') return PRIiLEAST32; if (name[3] == 'o') return PRIoLEAST32; if (name[3] == 'u') return PRIuLEAST32; if (name[3] == 'x') return PRIxLEAST32; if (name[3] == 'X') return PRIXLEAST32; abort (); } if (name[9] == '6' && name[10] == '4' && name[11] == '\0') { if (name[3] == 'd') return PRIdLEAST64; if (name[3] == 'i') return PRIiLEAST64; if (name[3] == 'o') return PRIoLEAST64; if (name[3] == 'u') return PRIuLEAST64; if (name[3] == 'x') return PRIxLEAST64; if (name[3] == 'X') return PRIXLEAST64; abort (); } } if (name[4] == 'F' && name[5] == 'A' && name[6] == 'S' && name[7] == 'T') { if (name[8] == '8' && name[9] == '\0') { if (name[3] == 'd') return PRIdFAST8; if (name[3] == 'i') return PRIiFAST8; if (name[3] == 'o') return PRIoFAST8; if (name[3] == 'u') return PRIuFAST8; if (name[3] == 'x') return PRIxFAST8; if (name[3] == 'X') return PRIXFAST8; abort (); } if (name[8] == '1' && name[9] == '6' && name[10] == '\0') { if (name[3] == 'd') return PRIdFAST16; if (name[3] == 'i') return PRIiFAST16; if (name[3] == 'o') return PRIoFAST16; if (name[3] == 'u') return PRIuFAST16; if (name[3] == 'x') return PRIxFAST16; if (name[3] == 'X') return PRIXFAST16; abort (); } if (name[8] == '3' && name[9] == '2' && name[10] == '\0') { if (name[3] == 'd') return PRIdFAST32; if (name[3] == 'i') return PRIiFAST32; if (name[3] == 'o') return PRIoFAST32; if (name[3] == 'u') return PRIuFAST32; if (name[3] == 'x') return PRIxFAST32; if (name[3] == 'X') return PRIXFAST32; abort (); } if (name[8] == '6' && name[9] == '4' && name[10] == '\0') { if (name[3] == 'd') return PRIdFAST64; if (name[3] == 'i') return PRIiFAST64; if (name[3] == 'o') return PRIoFAST64; if (name[3] == 'u') return PRIuFAST64; if (name[3] == 'x') return PRIxFAST64; if (name[3] == 'X') return PRIXFAST64; abort (); } } if (name[4] == 'M' && name[5] == 'A' && name[6] == 'X' && name[7] == '\0') { if (name[3] == 'd') return PRIdMAX; if (name[3] == 'i') return PRIiMAX; if (name[3] == 'o') return PRIoMAX; if (name[3] == 'u') return PRIuMAX; if (name[3] == 'x') return PRIxMAX; if (name[3] == 'X') return PRIXMAX; abort (); } if (name[4] == 'P' && name[5] == 'T' && name[6] == 'R' && name[7] == '\0') { if (name[3] == 'd') return PRIdPTR; if (name[3] == 'i') return PRIiPTR; if (name[3] == 'o') return PRIoPTR; if (name[3] == 'u') return PRIuPTR; if (name[3] == 'x') return PRIxPTR; if (name[3] == 'X') return PRIXPTR; abort (); } } } /* Test for a glibc specific printf() format directive flag. */ if (name[0] == 'I' && name[1] == '\0') { #if defined _LIBC || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) /* The 'I' flag, in numeric format directives, replaces ASCII digits with the 'outdigits' defined in the LC_CTYPE locale facet. This is used for Farsi (Persian) and maybe Arabic. */ return "I"; #else return ""; #endif } /* Other system dependent strings are not valid. */ return NULL; } /* Load the message catalogs specified by FILENAME. If it is no valid message catalog do nothing. */ void internal_function _nl_load_domain (struct loaded_l10nfile *domain_file, struct binding *domainbinding) { __libc_lock_define_initialized_recursive (static, lock) int fd = -1; size_t size; #ifdef _LIBC struct stat64 st; #else struct stat st; #endif struct mo_file_header *data = (struct mo_file_header *) -1; int use_mmap = 0; struct loaded_domain *domain; int revision; const char *nullentry; size_t nullentrylen; __libc_lock_lock_recursive (lock); if (domain_file->decided != 0) { /* There are two possibilities: + this is the same thread calling again during this initialization via _nl_find_msg. We have initialized everything this call needs. + this is another thread which tried to initialize this object. Not necessary anymore since if the lock is available this is finished. */ goto done; } domain_file->decided = -1; domain_file->data = NULL; /* Note that it would be useless to store domainbinding in domain_file because domainbinding might be == NULL now but != NULL later (after a call to bind_textdomain_codeset). */ /* If the record does not represent a valid locale the FILENAME might be NULL. This can happen when according to the given specification the locale file name is different for XPG and CEN syntax. */ if (domain_file->filename == NULL) goto out; /* Try to open the addressed file. */ fd = open (domain_file->filename, O_RDONLY | O_BINARY); if (fd == -1) goto out; /* We must know about the size of the file. */ if ( #ifdef _LIBC __builtin_expect (fstat64 (fd, &st) != 0, 0) #else __builtin_expect (fstat (fd, &st) != 0, 0) #endif || __builtin_expect ((size = (size_t) st.st_size) != st.st_size, 0) || __builtin_expect (size < sizeof (struct mo_file_header), 0)) /* Something went wrong. */ goto out; #ifdef HAVE_MMAP /* Now we are ready to load the file. If mmap() is available we try this first. If not available or it failed we try to load it. */ data = (struct mo_file_header *) mmap (NULL, size, PROT_READ, MAP_PRIVATE, fd, 0); if (__builtin_expect (data != (struct mo_file_header *) -1, 1)) { /* mmap() call was successful. */ close (fd); fd = -1; use_mmap = 1; } #endif /* If the data is not yet available (i.e. mmap'ed) we try to load it manually. */ if (data == (struct mo_file_header *) -1) { size_t to_read; char *read_ptr; data = (struct mo_file_header *) malloc (size); if (data == NULL) goto out; to_read = size; read_ptr = (char *) data; do { long int nb = (long int) read (fd, read_ptr, to_read); if (nb <= 0) { #ifdef EINTR if (nb == -1 && errno == EINTR) continue; #endif goto out; } read_ptr += nb; to_read -= nb; } while (to_read > 0); close (fd); fd = -1; } /* Using the magic number we can test whether it really is a message catalog file. */ if (__builtin_expect (data->magic != _MAGIC && data->magic != _MAGIC_SWAPPED, 0)) { /* The magic number is wrong: not a message catalog file. */ #ifdef HAVE_MMAP if (use_mmap) munmap ((caddr_t) data, size); else #endif free (data); goto out; } domain = (struct loaded_domain *) malloc (sizeof (struct loaded_domain)); if (domain == NULL) goto out; domain_file->data = domain; domain->data = (char *) data; domain->use_mmap = use_mmap; domain->mmap_size = size; domain->must_swap = data->magic != _MAGIC; domain->malloced = NULL; /* Fill in the information about the available tables. */ revision = W (domain->must_swap, data->revision); /* We support only the major revisions 0 and 1. */ switch (revision >> 16) { case 0: case 1: domain->nstrings = W (domain->must_swap, data->nstrings); domain->orig_tab = (const struct string_desc *) ((char *) data + W (domain->must_swap, data->orig_tab_offset)); domain->trans_tab = (const struct string_desc *) ((char *) data + W (domain->must_swap, data->trans_tab_offset)); domain->hash_size = W (domain->must_swap, data->hash_tab_size); domain->hash_tab = (domain->hash_size > 2 ? (const nls_uint32 *) ((char *) data + W (domain->must_swap, data->hash_tab_offset)) : NULL); domain->must_swap_hash_tab = domain->must_swap; /* Now dispatch on the minor revision. */ switch (revision & 0xffff) { case 0: domain->n_sysdep_strings = 0; domain->orig_sysdep_tab = NULL; domain->trans_sysdep_tab = NULL; break; case 1: default: { nls_uint32 n_sysdep_strings; if (domain->hash_tab == NULL) /* This is invalid. These minor revisions need a hash table. */ goto invalid; n_sysdep_strings = W (domain->must_swap, data->n_sysdep_strings); if (n_sysdep_strings > 0) { nls_uint32 n_sysdep_segments; const struct sysdep_segment *sysdep_segments; const char **sysdep_segment_values; const nls_uint32 *orig_sysdep_tab; const nls_uint32 *trans_sysdep_tab; nls_uint32 n_inmem_sysdep_strings; size_t memneed; char *mem; struct sysdep_string_desc *inmem_orig_sysdep_tab; struct sysdep_string_desc *inmem_trans_sysdep_tab; nls_uint32 *inmem_hash_tab; unsigned int i, j; /* Get the values of the system dependent segments. */ n_sysdep_segments = W (domain->must_swap, data->n_sysdep_segments); sysdep_segments = (const struct sysdep_segment *) ((char *) data + W (domain->must_swap, data->sysdep_segments_offset)); sysdep_segment_values = (const char **) alloca (n_sysdep_segments * sizeof (const char *)); for (i = 0; i < n_sysdep_segments; i++) { const char *name = (char *) data + W (domain->must_swap, sysdep_segments[i].offset); nls_uint32 namelen = W (domain->must_swap, sysdep_segments[i].length); if (!(namelen > 0 && name[namelen - 1] == '\0')) { freea (sysdep_segment_values); goto invalid; } sysdep_segment_values[i] = get_sysdep_segment_value (name); } orig_sysdep_tab = (const nls_uint32 *) ((char *) data + W (domain->must_swap, data->orig_sysdep_tab_offset)); trans_sysdep_tab = (const nls_uint32 *) ((char *) data + W (domain->must_swap, data->trans_sysdep_tab_offset)); /* Compute the amount of additional memory needed for the system dependent strings and the augmented hash table. At the same time, also drop string pairs which refer to an undefined system dependent segment. */ n_inmem_sysdep_strings = 0; memneed = domain->hash_size * sizeof (nls_uint32); for (i = 0; i < n_sysdep_strings; i++) { int valid = 1; size_t needs[2]; for (j = 0; j < 2; j++) { const struct sysdep_string *sysdep_string = (const struct sysdep_string *) ((char *) data + W (domain->must_swap, j == 0 ? orig_sysdep_tab[i] : trans_sysdep_tab[i])); size_t need = 0; const struct segment_pair *p = sysdep_string->segments; if (W (domain->must_swap, p->sysdepref) != SEGMENTS_END) for (p = sysdep_string->segments;; p++) { nls_uint32 sysdepref; need += W (domain->must_swap, p->segsize); sysdepref = W (domain->must_swap, p->sysdepref); if (sysdepref == SEGMENTS_END) break; if (sysdepref >= n_sysdep_segments) { /* Invalid. */ freea (sysdep_segment_values); goto invalid; } if (sysdep_segment_values[sysdepref] == NULL) { /* This particular string pair is invalid. */ valid = 0; break; } need += strlen (sysdep_segment_values[sysdepref]); } needs[j] = need; if (!valid) break; } if (valid) { n_inmem_sysdep_strings++; memneed += needs[0] + needs[1]; } } memneed += 2 * n_inmem_sysdep_strings * sizeof (struct sysdep_string_desc); if (n_inmem_sysdep_strings > 0) { unsigned int k; /* Allocate additional memory. */ mem = (char *) malloc (memneed); if (mem == NULL) goto invalid; domain->malloced = mem; inmem_orig_sysdep_tab = (struct sysdep_string_desc *) mem; mem += n_inmem_sysdep_strings * sizeof (struct sysdep_string_desc); inmem_trans_sysdep_tab = (struct sysdep_string_desc *) mem; mem += n_inmem_sysdep_strings * sizeof (struct sysdep_string_desc); inmem_hash_tab = (nls_uint32 *) mem; mem += domain->hash_size * sizeof (nls_uint32); /* Compute the system dependent strings. */ k = 0; for (i = 0; i < n_sysdep_strings; i++) { int valid = 1; for (j = 0; j < 2; j++) { const struct sysdep_string *sysdep_string = (const struct sysdep_string *) ((char *) data + W (domain->must_swap, j == 0 ? orig_sysdep_tab[i] : trans_sysdep_tab[i])); const struct segment_pair *p = sysdep_string->segments; if (W (domain->must_swap, p->sysdepref) != SEGMENTS_END) for (p = sysdep_string->segments;; p++) { nls_uint32 sysdepref; sysdepref = W (domain->must_swap, p->sysdepref); if (sysdepref == SEGMENTS_END) break; if (sysdep_segment_values[sysdepref] == NULL) { /* This particular string pair is invalid. */ valid = 0; break; } } if (!valid) break; } if (valid) { for (j = 0; j < 2; j++) { const struct sysdep_string *sysdep_string = (const struct sysdep_string *) ((char *) data + W (domain->must_swap, j == 0 ? orig_sysdep_tab[i] : trans_sysdep_tab[i])); const char *static_segments = (char *) data + W (domain->must_swap, sysdep_string->offset); const struct segment_pair *p = sysdep_string->segments; /* Concatenate the segments, and fill inmem_orig_sysdep_tab[k] (for j == 0) and inmem_trans_sysdep_tab[k] (for j == 1). */ struct sysdep_string_desc *inmem_tab_entry = (j == 0 ? inmem_orig_sysdep_tab : inmem_trans_sysdep_tab) + k; if (W (domain->must_swap, p->sysdepref) == SEGMENTS_END) { /* Only one static segment. */ inmem_tab_entry->length = W (domain->must_swap, p->segsize); inmem_tab_entry->pointer = static_segments; } else { inmem_tab_entry->pointer = mem; for (p = sysdep_string->segments;; p++) { nls_uint32 segsize = W (domain->must_swap, p->segsize); nls_uint32 sysdepref = W (domain->must_swap, p->sysdepref); size_t n; if (segsize > 0) { memcpy (mem, static_segments, segsize); mem += segsize; static_segments += segsize; } if (sysdepref == SEGMENTS_END) break; n = strlen (sysdep_segment_values[sysdepref]); memcpy (mem, sysdep_segment_values[sysdepref], n); mem += n; } inmem_tab_entry->length = mem - inmem_tab_entry->pointer; } } k++; } } if (k != n_inmem_sysdep_strings) abort (); /* Compute the augmented hash table. */ for (i = 0; i < domain->hash_size; i++) inmem_hash_tab[i] = W (domain->must_swap_hash_tab, domain->hash_tab[i]); for (i = 0; i < n_inmem_sysdep_strings; i++) { const char *msgid = inmem_orig_sysdep_tab[i].pointer; nls_uint32 hash_val = __hash_string (msgid); nls_uint32 idx = hash_val % domain->hash_size; nls_uint32 incr = 1 + (hash_val % (domain->hash_size - 2)); for (;;) { if (inmem_hash_tab[idx] == 0) { /* Hash table entry is empty. Use it. */ inmem_hash_tab[idx] = 1 + domain->nstrings + i; break; } if (idx >= domain->hash_size - incr) idx -= domain->hash_size - incr; else idx += incr; } } domain->n_sysdep_strings = n_inmem_sysdep_strings; domain->orig_sysdep_tab = inmem_orig_sysdep_tab; domain->trans_sysdep_tab = inmem_trans_sysdep_tab; domain->hash_tab = inmem_hash_tab; domain->must_swap_hash_tab = 0; } else { domain->n_sysdep_strings = 0; domain->orig_sysdep_tab = NULL; domain->trans_sysdep_tab = NULL; } freea (sysdep_segment_values); } else { domain->n_sysdep_strings = 0; domain->orig_sysdep_tab = NULL; domain->trans_sysdep_tab = NULL; } } break; } break; default: /* This is an invalid revision. */ invalid: /* This is an invalid .mo file. */ if (domain->malloced) free (domain->malloced); #ifdef HAVE_MMAP if (use_mmap) munmap ((caddr_t) data, size); else #endif free (data); free (domain); domain_file->data = NULL; goto out; } /* No caches of converted translations so far. */ domain->conversions = NULL; domain->nconversions = 0; gl_rwlock_init (domain->conversions_lock); /* Get the header entry and look for a plural specification. */ #ifdef IN_LIBGLOCALE nullentry = _nl_find_msg (domain_file, domainbinding, NULL, "", &nullentrylen); #else nullentry = _nl_find_msg (domain_file, domainbinding, "", 0, &nullentrylen); #endif EXTRACT_PLURAL_EXPRESSION (nullentry, &domain->plural, &domain->nplurals); out: if (fd != -1) close (fd); domain_file->decided = 1; done: __libc_lock_unlock_recursive (lock); } #ifdef _LIBC void internal_function __libc_freeres_fn_section _nl_unload_domain (struct loaded_domain *domain) { size_t i; if (domain->plural != &__gettext_germanic_plural) __gettext_free_exp ((struct expression *) domain->plural); for (i = 0; i < domain->nconversions; i++) { struct converted_domain *convd = &domain->conversions[i]; free (convd->encoding); if (convd->conv_tab != NULL && convd->conv_tab != (char **) -1) free (convd->conv_tab); if (convd->conv != (__gconv_t) -1) __gconv_close (convd->conv); } if (domain->conversions != NULL) free (domain->conversions); __libc_rwlock_fini (domain->conversions_lock); if (domain->malloced) free (domain->malloced); # ifdef _POSIX_MAPPED_FILES if (domain->use_mmap) munmap ((caddr_t) domain->data, domain->mmap_size); else # endif /* _POSIX_MAPPED_FILES */ free ((void *) domain->data); free (domain); } #endif vorbis-tools-1.4.2/intl/finddomain.c0000644000175000017500000001367313767140576014355 00000000000000/* Handle list of needed message catalogs Copyright (C) 1995-1999, 2000-2001, 2003-2007 Free Software Foundation, Inc. Written by Ulrich Drepper , 1995. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include #if defined HAVE_UNISTD_H || defined _LIBC # include #endif #include "gettextP.h" #ifdef _LIBC # include #else # include "libgnuintl.h" #endif /* Handle multi-threaded applications. */ #ifdef _LIBC # include # define gl_rwlock_define_initialized __libc_rwlock_define_initialized # define gl_rwlock_rdlock __libc_rwlock_rdlock # define gl_rwlock_wrlock __libc_rwlock_wrlock # define gl_rwlock_unlock __libc_rwlock_unlock #else # include "lock.h" #endif /* @@ end of prolog @@ */ /* List of already loaded domains. */ static struct loaded_l10nfile *_nl_loaded_domains; /* Return a data structure describing the message catalog described by the DOMAINNAME and CATEGORY parameters with respect to the currently established bindings. */ struct loaded_l10nfile * internal_function _nl_find_domain (const char *dirname, char *locale, const char *domainname, struct binding *domainbinding) { struct loaded_l10nfile *retval; const char *language; const char *modifier; const char *territory; const char *codeset; const char *normalized_codeset; const char *alias_value; int mask; /* LOCALE can consist of up to four recognized parts for the XPG syntax: language[_territory][.codeset][@modifier] Beside the first part all of them are allowed to be missing. If the full specified locale is not found, the less specific one are looked for. The various parts will be stripped off according to the following order: (1) codeset (2) normalized codeset (3) territory (4) modifier */ /* We need to protect modifying the _NL_LOADED_DOMAINS data. */ gl_rwlock_define_initialized (static, lock); gl_rwlock_rdlock (lock); /* If we have already tested for this locale entry there has to be one data set in the list of loaded domains. */ retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, strlen (dirname) + 1, 0, locale, NULL, NULL, NULL, NULL, domainname, 0); gl_rwlock_unlock (lock); if (retval != NULL) { /* We know something about this locale. */ int cnt; if (retval->decided <= 0) _nl_load_domain (retval, domainbinding); if (retval->data != NULL) return retval; for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) { if (retval->successor[cnt]->decided <= 0) _nl_load_domain (retval->successor[cnt], domainbinding); if (retval->successor[cnt]->data != NULL) break; } return retval; /* NOTREACHED */ } /* See whether the locale value is an alias. If yes its value *overwrites* the alias name. No test for the original value is done. */ alias_value = _nl_expand_alias (locale); if (alias_value != NULL) { #if defined _LIBC || defined HAVE_STRDUP locale = strdup (alias_value); if (locale == NULL) return NULL; #else size_t len = strlen (alias_value) + 1; locale = (char *) malloc (len); if (locale == NULL) return NULL; memcpy (locale, alias_value, len); #endif } /* Now we determine the single parts of the locale name. First look for the language. Termination symbols are `_', '.', and `@'. */ mask = _nl_explode_name (locale, &language, &modifier, &territory, &codeset, &normalized_codeset); if (mask == -1) /* This means we are out of core. */ return NULL; /* We need to protect modifying the _NL_LOADED_DOMAINS data. */ gl_rwlock_wrlock (lock); /* Create all possible locale entries which might be interested in generalization. */ retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, strlen (dirname) + 1, mask, language, territory, codeset, normalized_codeset, modifier, domainname, 1); gl_rwlock_unlock (lock); if (retval == NULL) /* This means we are out of core. */ goto out; if (retval->decided <= 0) _nl_load_domain (retval, domainbinding); if (retval->data == NULL) { int cnt; for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) { if (retval->successor[cnt]->decided <= 0) _nl_load_domain (retval->successor[cnt], domainbinding); if (retval->successor[cnt]->data != NULL) break; } } /* The room for an alias was dynamically allocated. Free it now. */ if (alias_value != NULL) free (locale); out: /* The space for normalized_codeset is dynamically allocated. Free it. */ if (mask & XPG_NORM_CODESET) free ((void *) normalized_codeset); return retval; } #ifdef _LIBC /* This is called from iconv/gconv_db.c's free_mem, as locales must be freed before freeing gconv steps arrays. */ void __libc_freeres_fn_section _nl_finddomain_subfreeres () { struct loaded_l10nfile *runp = _nl_loaded_domains; while (runp != NULL) { struct loaded_l10nfile *here = runp; if (runp->data != NULL) _nl_unload_domain ((struct loaded_domain *) runp->data); runp = runp->next; free ((char *) here->filename); free (here); } } #endif vorbis-tools-1.4.2/intl/ref-del.sin0000644000175000017500000000203013767140576014113 00000000000000# Remove this package from a list of references stored in a text file. # # Copyright (C) 2000 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU Library General Public License as published # by the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Library General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. # # Written by Bruno Haible . # /^# Packages using this file: / { s/# Packages using this file:// s/ @PACKAGE@ / / s/^/# Packages using this file:/ } vorbis-tools-1.4.2/intl/osdep.c0000644000175000017500000000174113767140576013350 00000000000000/* OS dependent parts of libintl. Copyright (C) 2001-2002, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #if defined __CYGWIN__ # include "intl-exports.c" #elif defined __EMX__ # include "os2compat.c" #else /* Avoid AIX compiler warning. */ typedef int dummy; #endif vorbis-tools-1.4.2/intl/plural.y0000644000175000017500000001657613767140576013577 00000000000000%{ /* Expression parsing for plural form selection. Copyright (C) 2000-2001, 2003, 2005-2006 Free Software Foundation, Inc. Written by Ulrich Drepper , 2000. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* For bison < 2.0, the bison generated parser uses alloca. AIX 3 forces us to put this declaration at the beginning of the file. The declaration in bison's skeleton file comes too late. This must come before because may include arbitrary system headers. This can go away once the AM_INTL_SUBDIR macro requires bison >= 2.0. */ #if defined _AIX && !defined __GNUC__ #pragma alloca #endif #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include "plural-exp.h" /* The main function generated by the parser is called __gettextparse, but we want it to be called PLURAL_PARSE. */ #ifndef _LIBC # define __gettextparse PLURAL_PARSE #endif #define YYLEX_PARAM &((struct parse_args *) arg)->cp #define YYPARSE_PARAM arg %} %pure_parser %expect 7 %union { unsigned long int num; enum expression_operator op; struct expression *exp; } %{ /* Prototypes for local functions. */ static int yylex (YYSTYPE *lval, const char **pexp); static void yyerror (const char *str); /* Allocation of expressions. */ static struct expression * new_exp (int nargs, enum expression_operator op, struct expression * const *args) { int i; struct expression *newp; /* If any of the argument could not be malloc'ed, just return NULL. */ for (i = nargs - 1; i >= 0; i--) if (args[i] == NULL) goto fail; /* Allocate a new expression. */ newp = (struct expression *) malloc (sizeof (*newp)); if (newp != NULL) { newp->nargs = nargs; newp->operation = op; for (i = nargs - 1; i >= 0; i--) newp->val.args[i] = args[i]; return newp; } fail: for (i = nargs - 1; i >= 0; i--) FREE_EXPRESSION (args[i]); return NULL; } static inline struct expression * new_exp_0 (enum expression_operator op) { return new_exp (0, op, NULL); } static inline struct expression * new_exp_1 (enum expression_operator op, struct expression *right) { struct expression *args[1]; args[0] = right; return new_exp (1, op, args); } static struct expression * new_exp_2 (enum expression_operator op, struct expression *left, struct expression *right) { struct expression *args[2]; args[0] = left; args[1] = right; return new_exp (2, op, args); } static inline struct expression * new_exp_3 (enum expression_operator op, struct expression *bexp, struct expression *tbranch, struct expression *fbranch) { struct expression *args[3]; args[0] = bexp; args[1] = tbranch; args[2] = fbranch; return new_exp (3, op, args); } %} /* This declares that all operators have the same associativity and the precedence order as in C. See [Harbison, Steele: C, A Reference Manual]. There is no unary minus and no bitwise operators. Operators with the same syntactic behaviour have been merged into a single token, to save space in the array generated by bison. */ %right '?' /* ? */ %left '|' /* || */ %left '&' /* && */ %left EQUOP2 /* == != */ %left CMPOP2 /* < > <= >= */ %left ADDOP2 /* + - */ %left MULOP2 /* * / % */ %right '!' /* ! */ %token EQUOP2 CMPOP2 ADDOP2 MULOP2 %token NUMBER %type exp %% start: exp { if ($1 == NULL) YYABORT; ((struct parse_args *) arg)->res = $1; } ; exp: exp '?' exp ':' exp { $$ = new_exp_3 (qmop, $1, $3, $5); } | exp '|' exp { $$ = new_exp_2 (lor, $1, $3); } | exp '&' exp { $$ = new_exp_2 (land, $1, $3); } | exp EQUOP2 exp { $$ = new_exp_2 ($2, $1, $3); } | exp CMPOP2 exp { $$ = new_exp_2 ($2, $1, $3); } | exp ADDOP2 exp { $$ = new_exp_2 ($2, $1, $3); } | exp MULOP2 exp { $$ = new_exp_2 ($2, $1, $3); } | '!' exp { $$ = new_exp_1 (lnot, $2); } | 'n' { $$ = new_exp_0 (var); } | NUMBER { if (($$ = new_exp_0 (num)) != NULL) $$->val.num = $1; } | '(' exp ')' { $$ = $2; } ; %% void internal_function FREE_EXPRESSION (struct expression *exp) { if (exp == NULL) return; /* Handle the recursive case. */ switch (exp->nargs) { case 3: FREE_EXPRESSION (exp->val.args[2]); /* FALLTHROUGH */ case 2: FREE_EXPRESSION (exp->val.args[1]); /* FALLTHROUGH */ case 1: FREE_EXPRESSION (exp->val.args[0]); /* FALLTHROUGH */ default: break; } free (exp); } static int yylex (YYSTYPE *lval, const char **pexp) { const char *exp = *pexp; int result; while (1) { if (exp[0] == '\0') { *pexp = exp; return YYEOF; } if (exp[0] != ' ' && exp[0] != '\t') break; ++exp; } result = *exp++; switch (result) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': { unsigned long int n = result - '0'; while (exp[0] >= '0' && exp[0] <= '9') { n *= 10; n += exp[0] - '0'; ++exp; } lval->num = n; result = NUMBER; } break; case '=': if (exp[0] == '=') { ++exp; lval->op = equal; result = EQUOP2; } else result = YYERRCODE; break; case '!': if (exp[0] == '=') { ++exp; lval->op = not_equal; result = EQUOP2; } break; case '&': case '|': if (exp[0] == result) ++exp; else result = YYERRCODE; break; case '<': if (exp[0] == '=') { ++exp; lval->op = less_or_equal; } else lval->op = less_than; result = CMPOP2; break; case '>': if (exp[0] == '=') { ++exp; lval->op = greater_or_equal; } else lval->op = greater_than; result = CMPOP2; break; case '*': lval->op = mult; result = MULOP2; break; case '/': lval->op = divide; result = MULOP2; break; case '%': lval->op = module; result = MULOP2; break; case '+': lval->op = plus; result = ADDOP2; break; case '-': lval->op = minus; result = ADDOP2; break; case 'n': case '?': case ':': case '(': case ')': /* Nothing, just return the character. */ break; case ';': case '\n': case '\0': /* Be safe and let the user call this function again. */ --exp; result = YYEOF; break; default: result = YYERRCODE; #if YYDEBUG != 0 --exp; #endif break; } *pexp = exp; return result; } static void yyerror (const char *str) { /* Do nothing. We don't print error messages here. */ } vorbis-tools-1.4.2/intl/explodename.c0000644000175000017500000000654613767140576014547 00000000000000/* Copyright (C) 1995-1998, 2000-2001, 2003, 2005, 2007 Free Software Foundation, Inc. Contributed by Ulrich Drepper , 1995. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include "loadinfo.h" /* On some strange systems still no definition of NULL is found. Sigh! */ #ifndef NULL # if defined __STDC__ && __STDC__ # define NULL ((void *) 0) # else # define NULL 0 # endif #endif /* @@ end of prolog @@ */ /* Split a locale name NAME into a leading language part and all the rest. Return a pointer to the first character after the language, i.e. to the first byte of the rest. */ static char *_nl_find_language (const char *name); static char * _nl_find_language (const char *name) { while (name[0] != '\0' && name[0] != '_' && name[0] != '@' && name[0] != '.') ++name; return (char *) name; } int _nl_explode_name (char *name, const char **language, const char **modifier, const char **territory, const char **codeset, const char **normalized_codeset) { char *cp; int mask; *modifier = NULL; *territory = NULL; *codeset = NULL; *normalized_codeset = NULL; /* Now we determine the single parts of the locale name. First look for the language. Termination symbols are `_', '.', and `@'. */ mask = 0; *language = cp = name; cp = _nl_find_language (*language); if (*language == cp) /* This does not make sense: language has to be specified. Use this entry as it is without exploding. Perhaps it is an alias. */ cp = strchr (*language, '\0'); else { if (cp[0] == '_') { /* Next is the territory. */ cp[0] = '\0'; *territory = ++cp; while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@') ++cp; mask |= XPG_TERRITORY; } if (cp[0] == '.') { /* Next is the codeset. */ cp[0] = '\0'; *codeset = ++cp; while (cp[0] != '\0' && cp[0] != '@') ++cp; mask |= XPG_CODESET; if (*codeset != cp && (*codeset)[0] != '\0') { *normalized_codeset = _nl_normalize_codeset (*codeset, cp - *codeset); if (*normalized_codeset == NULL) return -1; else if (strcmp (*codeset, *normalized_codeset) == 0) free ((char *) *normalized_codeset); else mask |= XPG_NORM_CODESET; } } } if (cp[0] == '@') { /* Next is the modifier. */ cp[0] = '\0'; *modifier = ++cp; if (cp[0] != '\0') mask |= XPG_MODIFIER; } if (*territory != NULL && (*territory)[0] == '\0') mask &= ~XPG_TERRITORY; if (*codeset != NULL && (*codeset)[0] == '\0') mask &= ~XPG_CODESET; return mask; } vorbis-tools-1.4.2/intl/gettextP.h0000644000175000017500000002221413767140576014045 00000000000000/* Header describing internals of libintl library. Copyright (C) 1995-1999, 2000-2007 Free Software Foundation, Inc. Written by Ulrich Drepper , 1995. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _GETTEXTP_H #define _GETTEXTP_H #include /* Get size_t. */ #ifdef _LIBC # include "../iconv/gconv_int.h" #else # if HAVE_ICONV # include # endif #endif /* Handle multi-threaded applications. */ #ifdef _LIBC # include # define gl_rwlock_define __libc_rwlock_define #else # include "lock.h" #endif #ifdef _LIBC extern char *__gettext (const char *__msgid); extern char *__dgettext (const char *__domainname, const char *__msgid); extern char *__dcgettext (const char *__domainname, const char *__msgid, int __category); extern char *__ngettext (const char *__msgid1, const char *__msgid2, unsigned long int __n); extern char *__dngettext (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int n); extern char *__dcngettext (const char *__domainname, const char *__msgid1, const char *__msgid2, unsigned long int __n, int __category); extern char *__dcigettext (const char *__domainname, const char *__msgid1, const char *__msgid2, int __plural, unsigned long int __n, int __category); extern char *__textdomain (const char *__domainname); extern char *__bindtextdomain (const char *__domainname, const char *__dirname); extern char *__bind_textdomain_codeset (const char *__domainname, const char *__codeset); extern void _nl_finddomain_subfreeres (void) attribute_hidden; extern void _nl_unload_domain (struct loaded_domain *__domain) internal_function attribute_hidden; #else /* Declare the exported libintl_* functions, in a way that allows us to call them under their real name. */ # undef _INTL_REDIRECT_INLINE # undef _INTL_REDIRECT_MACROS # define _INTL_REDIRECT_MACROS # include "libgnuintl.h" # ifdef IN_LIBGLOCALE extern char *gl_dcigettext (const char *__domainname, const char *__msgid1, const char *__msgid2, int __plural, unsigned long int __n, int __category, const char *__localename, const char *__encoding); # else extern char *libintl_dcigettext (const char *__domainname, const char *__msgid1, const char *__msgid2, int __plural, unsigned long int __n, int __category); # endif #endif #include "loadinfo.h" #include "gmo.h" /* Get nls_uint32. */ /* @@ end of prolog @@ */ #ifndef internal_function # define internal_function #endif #ifndef attribute_hidden # define attribute_hidden #endif /* Tell the compiler when a conditional or integer expression is almost always true or almost always false. */ #ifndef HAVE_BUILTIN_EXPECT # define __builtin_expect(expr, val) (expr) #endif #ifndef W # define W(flag, data) ((flag) ? SWAP (data) : (data)) #endif #ifdef _LIBC # include # define SWAP(i) bswap_32 (i) #else static inline nls_uint32 # ifdef __cplusplus SWAP (nls_uint32 i) # else SWAP (i) nls_uint32 i; # endif { return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24); } #endif /* In-memory representation of system dependent string. */ struct sysdep_string_desc { /* Length of addressed string, including the trailing NUL. */ size_t length; /* Pointer to addressed string. */ const char *pointer; }; /* Cache of translated strings after charset conversion. Note: The strings are converted to the target encoding only on an as-needed basis. */ struct converted_domain { /* The target encoding name. */ const char *encoding; /* The descriptor for conversion from the message catalog's encoding to this target encoding. */ #ifdef _LIBC __gconv_t conv; #else # if HAVE_ICONV iconv_t conv; # endif #endif /* The table of translated strings after charset conversion. */ char **conv_tab; }; /* The representation of an opened message catalog. */ struct loaded_domain { /* Pointer to memory containing the .mo file. */ const char *data; /* 1 if the memory is mmap()ed, 0 if the memory is malloc()ed. */ int use_mmap; /* Size of mmap()ed memory. */ size_t mmap_size; /* 1 if the .mo file uses a different endianness than this machine. */ int must_swap; /* Pointer to additional malloc()ed memory. */ void *malloced; /* Number of static strings pairs. */ nls_uint32 nstrings; /* Pointer to descriptors of original strings in the file. */ const struct string_desc *orig_tab; /* Pointer to descriptors of translated strings in the file. */ const struct string_desc *trans_tab; /* Number of system dependent strings pairs. */ nls_uint32 n_sysdep_strings; /* Pointer to descriptors of original sysdep strings. */ const struct sysdep_string_desc *orig_sysdep_tab; /* Pointer to descriptors of translated sysdep strings. */ const struct sysdep_string_desc *trans_sysdep_tab; /* Size of hash table. */ nls_uint32 hash_size; /* Pointer to hash table. */ const nls_uint32 *hash_tab; /* 1 if the hash table uses a different endianness than this machine. */ int must_swap_hash_tab; /* Cache of charset conversions of the translated strings. */ struct converted_domain *conversions; size_t nconversions; gl_rwlock_define (, conversions_lock) const struct expression *plural; unsigned long int nplurals; }; /* We want to allocate a string at the end of the struct. But ISO C doesn't allow zero sized arrays. */ #ifdef __GNUC__ # define ZERO 0 #else # define ZERO 1 #endif /* A set of settings bound to a message domain. Used to store settings from bindtextdomain() and bind_textdomain_codeset(). */ struct binding { struct binding *next; char *dirname; char *codeset; char domainname[ZERO]; }; /* A counter which is incremented each time some previous translations become invalid. This variable is part of the external ABI of the GNU libintl. */ #ifdef IN_LIBGLOCALE # include extern LIBGLOCALE_DLL_EXPORTED int _nl_msg_cat_cntr; #else extern LIBINTL_DLL_EXPORTED int _nl_msg_cat_cntr; #endif #ifndef _LIBC extern const char *_nl_language_preferences_default (void); # define gl_locale_name_canonicalize _nl_locale_name_canonicalize extern void _nl_locale_name_canonicalize (char *name); # define gl_locale_name_posix _nl_locale_name_posix extern const char *_nl_locale_name_posix (int category, const char *categoryname); # define gl_locale_name_default _nl_locale_name_default extern const char *_nl_locale_name_default (void); # define gl_locale_name _nl_locale_name extern const char *_nl_locale_name (int category, const char *categoryname); #endif struct loaded_l10nfile *_nl_find_domain (const char *__dirname, char *__locale, const char *__domainname, struct binding *__domainbinding) internal_function; void _nl_load_domain (struct loaded_l10nfile *__domain, struct binding *__domainbinding) internal_function; #ifdef IN_LIBGLOCALE char *_nl_find_msg (struct loaded_l10nfile *domain_file, struct binding *domainbinding, const char *encoding, const char *msgid, size_t *lengthp) internal_function; #else char *_nl_find_msg (struct loaded_l10nfile *domain_file, struct binding *domainbinding, const char *msgid, int convert, size_t *lengthp) internal_function; #endif /* The internal variables in the standalone libintl.a must have different names than the internal variables in GNU libc, otherwise programs using libintl.a cannot be linked statically. */ #if !defined _LIBC # define _nl_default_dirname libintl_nl_default_dirname # define _nl_domain_bindings libintl_nl_domain_bindings #endif /* Contains the default location of the message catalogs. */ extern const char _nl_default_dirname[]; #ifdef _LIBC libc_hidden_proto (_nl_default_dirname) #endif /* List with bindings of specific domains. */ extern struct binding *_nl_domain_bindings; /* The internal variables in the standalone libintl.a must have different names than the internal variables in GNU libc, otherwise programs using libintl.a cannot be linked statically. */ #if !defined _LIBC # define _nl_default_default_domain libintl_nl_default_default_domain # define _nl_current_default_domain libintl_nl_current_default_domain #endif /* Name of the default text domain. */ extern const char _nl_default_default_domain[] attribute_hidden; /* Default text domain in which entries for gettext(3) are to be found. */ extern const char *_nl_current_default_domain attribute_hidden; /* @@ begin of epilog @@ */ #endif /* gettextP.h */ vorbis-tools-1.4.2/oggenc/0000755000175000017500000000000014002243561012420 500000000000000vorbis-tools-1.4.2/oggenc/Makefile.am0000644000175000017500000000160313767140576014417 00000000000000## Process this file with automake to produce Makefile.in if HAVE_LIBFLAC flac_sources = flac.c flac.h easyflac.c easyflac.h else flac_sources = endif if HAVE_KATE kate_sources = lyrics.c lyrics.h else kate_sources = endif SUBDIRS = man datadir = @datadir@ localedir = $(datadir)/locale DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ bin_PROGRAMS = oggenc AM_CPPFLAGS = @SHARE_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @KATE_CFLAGS@ @I18N_CFLAGS@ oggenc_LDADD = @SHARE_LIBS@ \ @VORBISENC_LIBS@ @VORBIS_LIBS@ @KATE_LIBS@ @OGG_LIBS@ \ @LIBICONV@ @I18N_LIBS@ @FLAC_LIBS@ -lm oggenc_DEPENDENCIES = @SHARE_LIBS@ oggenc_SOURCES = $(flac_sources) $(kate_sources) \ oggenc.c audio.c encode.c platform.c resample.c skeleton.c \ audio.h encode.h platform.h resample.h skeleton.h debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" vorbis-tools-1.4.2/oggenc/easyflac.h0000644000175000017500000001474113767140576014332 00000000000000/* EasyFLAC - A thin decoding wrapper around libFLAC and libOggFLAC to * make your code less ugly. * * Copyright 2003 - Stan Seibert * This code is licensed under a BSD style license: * * 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. * * - Neither the name of the Xiph.org Foundation nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * 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. * ************************************************************************ * * The motivation for this wrapper is to avoid issues where you need to * decode both FLAC and Ogg FLAC but don't want to enclose all of your code * in enormous if blocks where the body of the two branches is essentially * the same. For example, you don't want to do something like this: * * if (is_ogg_flac) * { * OggFLAC__blah_blah(); * OggFLAC__more_stuff(); * } * else * { * FLAC__blah_blah(); * FLAC__more_stuff(); * } * * when you really just want this: * * EasyFLAC__blah_blah(); * EasyFLAC__more_stuff(); * * This is even more cumbersome when you have to deal with constants. * * EasyFLAC uses essentially the same API as * FLAC__stream_decoder with two additions: * * - EasyFLAC__is_oggflac() for those rare occassions when you might * need to distiguish the difference cases. * * - EasyFLAC__stream_decoder_new() takes a parameter to select when * you are reading FLAC or Ogg FLAC. * * The constants are all FLAC__stream_decoder_*. * * WARNING: Always call EasyFLAC__set_client_data() even if all you * want to do is set the client data to NULL. */ #ifndef __EASYFLAC_H #define __EASYFLAC_H #include #include #ifdef __cplusplus extern "C" { #endif typedef struct EasyFLAC__StreamDecoder EasyFLAC__StreamDecoder; typedef FLAC__StreamDecoderReadStatus (*EasyFLAC__StreamDecoderReadCallback)(const EasyFLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data); typedef FLAC__StreamDecoderWriteStatus (*EasyFLAC__StreamDecoderWriteCallback)(const EasyFLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data); typedef void (*EasyFLAC__StreamDecoderMetadataCallback)(const EasyFLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data); typedef void (*EasyFLAC__StreamDecoderErrorCallback)(const EasyFLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data); struct EasyFLAC__StreamDecoder { FLAC__bool is_oggflac; FLAC__StreamDecoder *flac; OggFLAC__StreamDecoder *oggflac; struct { EasyFLAC__StreamDecoderReadCallback read; EasyFLAC__StreamDecoderWriteCallback write; EasyFLAC__StreamDecoderMetadataCallback metadata; EasyFLAC__StreamDecoderErrorCallback error; void *client_data; } callbacks; }; FLAC__bool EasyFLAC__is_oggflac(EasyFLAC__StreamDecoder *decoder); EasyFLAC__StreamDecoder *EasyFLAC__stream_decoder_new(FLAC__bool is_oggflac); void EasyFLAC__stream_decoder_delete(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__set_read_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderReadCallback value); FLAC__bool EasyFLAC__set_write_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderWriteCallback value); FLAC__bool EasyFLAC__set_metadata_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderMetadataCallback value); FLAC__bool EasyFLAC__set_error_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderErrorCallback value); FLAC__bool EasyFLAC__set_client_data(EasyFLAC__StreamDecoder *decoder, void *value); FLAC__bool EasyFLAC__set_metadata_respond(EasyFLAC__StreamDecoder *decoder, FLAC__MetadataType type); FLAC__bool EasyFLAC__set_metadata_respond_application(EasyFLAC__StreamDecoder *decoder, const FLAC__byte id[4]); FLAC__bool EasyFLAC__set_metadata_respond_all(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__set_metadata_ignore(EasyFLAC__StreamDecoder *decoder, FLAC__MetadataType type); FLAC__bool EasyFLAC__set_metadata_ignore_application(EasyFLAC__StreamDecoder *decoder, const FLAC__byte id[4]); FLAC__bool EasyFLAC__set_metadata_ignore_all(EasyFLAC__StreamDecoder *decoder); FLAC__StreamDecoderState EasyFLAC__get_state(const EasyFLAC__StreamDecoder *decoder); unsigned EasyFLAC__get_channels(const EasyFLAC__StreamDecoder *decoder); FLAC__ChannelAssignment EasyFLAC__get_channel_assignment(const EasyFLAC__StreamDecoder *decoder); unsigned EasyFLAC__get_bits_per_sample(const EasyFLAC__StreamDecoder *decoder); unsigned EasyFLAC__get_sample_rate(const EasyFLAC__StreamDecoder *decoder); unsigned EasyFLAC__get_blocksize(const EasyFLAC__StreamDecoder *decoder); FLAC__StreamDecoderState EasyFLAC__init(EasyFLAC__StreamDecoder *decoder); void EasyFLAC__finish(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__flush(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__reset(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__process_single(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__process_until_end_of_metadata(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__process_until_end_of_stream(EasyFLAC__StreamDecoder *decoder); #ifdef __cplusplus } #endif #endif vorbis-tools-1.4.2/oggenc/skeleton.c0000644000175000017500000001406413767140576014360 00000000000000/* * skeleton.c * author: Tahseen Mohammad */ /* This file depends on WORDS_BIGENDIAN being defined to 1 if the host * processor stores words with the most significant byte first (like Motorola * and SPARC, unlike Intel and VAX). * On little endian systems, WORDS_BIGENDIAN should be undefined. * * When using GNU Autotools, the correct value will be written into config.h * if the autoconf macro AC_C_BIGENDIAN is called in configure.ac. */ #include "config.h" #include #include #include #include #include "skeleton.h" #ifdef WIN32 #define snprintf _snprintf #endif extern int oe_write_page(ogg_page *page, FILE *fp); static unsigned short _le_16 (unsigned short s) { unsigned short ret=s; #ifdef WORDS_BIGENDIAN ret = (s>>8) & 0x00ffU; ret += (s<<8) & 0xff00U; #endif return ret; } static ogg_uint32_t _le_32 (ogg_uint32_t i) { ogg_uint32_t ret=i; #ifdef WORDS_BIGENDIAN ret = (i>>24); ret += (i>>8) & 0x0000ff00; ret += (i<<8) & 0x00ff0000; ret += (i<<24); #endif return ret; } static ogg_int64_t _le_64 (ogg_int64_t l) { ogg_int64_t ret=l; unsigned char *ucptr = (unsigned char *)&ret; #ifdef WORDS_BIGENDIAN unsigned char temp; temp = ucptr [0] ; ucptr [0] = ucptr [7] ; ucptr [7] = temp ; temp = ucptr [1] ; ucptr [1] = ucptr [6] ; ucptr [6] = temp ; temp = ucptr [2] ; ucptr [2] = ucptr [5] ; ucptr [5] = temp ; temp = ucptr [3] ; ucptr [3] = ucptr [4] ; ucptr [4] = temp ; #endif return (*(ogg_int64_t *)ucptr); } int add_message_header_field(fisbone_packet *fp, char *header_key, char *header_value) { /* size of both key and value + ': ' + CRLF */ int this_message_size = strlen(header_key) + strlen(header_value) + 4; if (fp->message_header_fields == NULL) { fp->message_header_fields = _ogg_calloc(this_message_size+1, sizeof(char)); } else { int new_size = (fp->current_header_size + this_message_size+1) * sizeof(char); fp->message_header_fields = _ogg_realloc(fp->message_header_fields, new_size); } snprintf(fp->message_header_fields + fp->current_header_size, this_message_size+1, "%s: %s\r\n", header_key, header_value); fp->current_header_size += this_message_size; return 0; } /* create a ogg_packet from a fishead_packet structure */ int ogg_from_fishead(fishead_packet *fp,ogg_packet *op) { if (!fp || !op) return -1; memset(op, 0, sizeof(*op)); op->packet = _ogg_calloc(FISHEAD_SIZE, sizeof(unsigned char)); if (!op->packet) return -1; memset(op->packet, 0, FISHEAD_SIZE); memcpy (op->packet, FISHEAD_IDENTIFIER, 8); /* identifier */ *((ogg_uint16_t*)(op->packet+8)) = _le_16 (SKELETON_VERSION_MAJOR); /* version major */ *((ogg_uint16_t*)(op->packet+10)) = _le_16 (SKELETON_VERSION_MINOR); /* version minor */ *((ogg_int64_t*)(op->packet+12)) = _le_64 (fp->ptime_n); /* presentationtime numerator */ *((ogg_int64_t*)(op->packet+20)) = _le_64 (fp->ptime_d); /* presentationtime denominator */ *((ogg_int64_t*)(op->packet+28)) = _le_64 (fp->btime_n); /* basetime numerator */ *((ogg_int64_t*)(op->packet+36)) = _le_64 (fp->btime_d); /* basetime denominator */ /* TODO: UTC time, set to zero for now */ op->b_o_s = 1; /* its the first packet of the stream */ op->e_o_s = 0; /* its not the last packet of the stream */ op->bytes = FISHEAD_SIZE; /* length of the packet in bytes */ return 0; } /* create a ogg_packet from a fisbone_packet structure. * call this method after the fisbone_packet is filled and all message header fields are added * by calling add_message_header_field method. */ int ogg_from_fisbone(fisbone_packet *fp,ogg_packet *op) { int packet_size; if (!fp || !op) return -1; packet_size = FISBONE_SIZE + fp->current_header_size; memset (op, 0, sizeof (*op)); op->packet = _ogg_calloc (packet_size, sizeof(unsigned char)); if (!op->packet) return -1; memset (op->packet, 0, packet_size); memcpy (op->packet, FISBONE_IDENTIFIER, 8); /* identifier */ *((ogg_uint32_t*)(op->packet+8)) = _le_32 (FISBONE_MESSAGE_HEADER_OFFSET); /* offset of the message header fields */ *((ogg_uint32_t*)(op->packet+12)) = _le_32 (fp->serial_no); /* serialno of the respective stream */ *((ogg_uint32_t*)(op->packet+16)) = _le_32 (fp->nr_header_packet); /* number of header packets */ *((ogg_int64_t*)(op->packet+20)) = _le_64 (fp->granule_rate_n); /* granulrate numerator */ *((ogg_int64_t*)(op->packet+28)) = _le_64 (fp->granule_rate_d); /* granulrate denominator */ *((ogg_int64_t*)(op->packet+36)) = _le_64 (fp->start_granule); /* start granule */ *((ogg_uint32_t*)(op->packet+44)) = _le_32 (fp->preroll); /* preroll, for theora its 0 */ *(op->packet+48) = fp->granule_shift; /* granule shift */ memcpy((op->packet+FISBONE_SIZE), fp->message_header_fields, fp->current_header_size); op->b_o_s = 0; op->e_o_s = 0; op->bytes = packet_size; /* size of the packet in bytes */ return 0; } int add_fishead_to_stream(ogg_stream_state *os, fishead_packet *fp) { ogg_packet op; int ret; ret = ogg_from_fishead(fp, &op); if (ret<0) return ret; ogg_stream_packetin(os, &op); _ogg_free(op.packet); return 0; } int add_fisbone_to_stream(ogg_stream_state *os, fisbone_packet *fp) { ogg_packet op; int ret; ret = ogg_from_fisbone(fp, &op); if (ret<0) return ret; ogg_stream_packetin(os, &op); _ogg_free(op.packet); return 0; } int add_eos_packet_to_stream(ogg_stream_state *os) { ogg_packet op; memset (&op, 0, sizeof(op)); op.e_o_s = 1; return ogg_stream_packetin(os, &op); } int flush_ogg_stream_to_file(ogg_stream_state *os, FILE *out) { ogg_page og; int result; while((result = ogg_stream_flush(os, &og))) { if(!result) break; result = oe_write_page(&og, out); if(result != og.header_len + og.body_len) return 1; } return 0; } vorbis-tools-1.4.2/oggenc/platform.c0000644000175000017500000001704713767140576014364 00000000000000/* OggEnc ** ** This program is distributed under the GNU General Public License, version 2. ** A copy of this license is included with this source. ** ** Copyright 2000, Michael Smith ** ** Portions from Vorbize, (c) Kenneth Arnold ** and libvorbis examples, (c) Monty **/ /* Platform support routines - win32, OS/2, unix */ #ifdef HAVE_CONFIG_H #include #endif #include "platform.h" #include "encode.h" #include "i18n.h" #include #include #if defined(_WIN32) || defined(__EMX__) || defined(__WATCOMC__) #include #include #include #include #endif #ifdef _WIN32 #include #endif #if defined(_WIN32) && defined(_MSC_VER) void setbinmode(FILE *f) { _setmode( _fileno(f), _O_BINARY ); } #endif /* win32 */ #ifdef __EMX__ void setbinmode(FILE *f) { _fsetmode( f, "b"); } #endif #if defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__MINGW32__) void setbinmode(FILE *f) { setmode(fileno(f), O_BINARY); } #endif #if defined(_WIN32) || defined(__EMX__) || defined(__WATCOMC__) void *timer_start(void) { time_t *start = malloc(sizeof(time_t)); time(start); return (void *)start; } double timer_time(void *timer) { time_t now = time(NULL); time_t start = *((time_t *)timer); if(now-start) return (double)(now-start); else return 1; /* To avoid division by zero later, for very short inputs */ } void timer_clear(void *timer) { free((time_t *)timer); } #else /* unix. Or at least win32 */ #include #include void *timer_start(void) { struct timeval *start = malloc(sizeof(struct timeval)); gettimeofday(start, NULL); return (void *)start; } double timer_time(void *timer) { struct timeval now; struct timeval start = *((struct timeval *)timer); gettimeofday(&now, NULL); return (double)now.tv_sec - (double)start.tv_sec + ((double)now.tv_usec - (double)start.tv_usec)/1000000.0; } void timer_clear(void *timer) { free((time_t *)timer); } #endif #include #include #include #include #ifdef _WIN32 #include #define PATH_SEPS "/\\" #define mkdir(x,y) _mkdir((x)) /* MSVC does this, borland doesn't? */ #ifndef __BORLANDC__ #define stat _stat #endif #else #define PATH_SEPS "/" #endif int create_directories(char *fn, int isutf8) { char *end, *start; struct stat statbuf; char *segment = malloc(strlen(fn)+1); #ifdef _WIN32 wchar_t seg[MAX_PATH+1]; #endif start = fn; #ifdef _WIN32 if(strlen(fn) >= 3 && isalpha(fn[0]) && fn[1]==':') start = start+2; #endif while((end = strpbrk(start+1, PATH_SEPS)) != NULL) { int rv; memcpy(segment, fn, end-fn); segment[end-fn] = 0; #ifdef _WIN32 if (isutf8) { MultiByteToWideChar(CP_UTF8, 0, segment, -1, seg, MAX_PATH+1); rv = _wstat(seg,&statbuf); } else #endif rv = stat(segment,&statbuf); if(rv) { if(errno == ENOENT) { #ifdef _WIN32 if (isutf8) rv = _wmkdir(seg); else #endif rv = mkdir(segment, 0777); if(rv) { fprintf(stderr, _("Couldn't create directory \"%s\": %s\n"), segment, strerror(errno)); free(segment); return -1; } } else { fprintf(stderr, _("Error checking for existence of directory %s: %s\n"), segment, strerror(errno)); free(segment); return -1; } } #if defined(_WIN32) && !defined(__BORLANDC__) else if(!(_S_IFDIR & statbuf.st_mode)) { #elif defined(__BORLANDC__) else if(!(S_IFDIR & statbuf.st_mode)) { #else else if(!S_ISDIR(statbuf.st_mode)) { #endif fprintf(stderr, _("Error: path segment \"%s\" is not a directory\n"), segment); free(segment); return -1; } start = end+1; } free(segment); return 0; } #ifdef _WIN32 FILE *oggenc_fopen(char *fn, char *mode, int isutf8) { if (isutf8) { wchar_t wfn[MAX_PATH+1]; wchar_t wmode[32]; MultiByteToWideChar(CP_UTF8, 0, fn, -1, wfn, MAX_PATH+1); MultiByteToWideChar(CP_ACP, 0, mode, -1, wmode, 32); return _wfopen(wfn, wmode); } else return fopen(fn, mode); } static int parse_for_utf8(int argc, char **argv) { extern struct option long_options[]; int ret; int option_index = 1; while((ret = getopt_long(argc, argv, "A:a:b:B:c:C:d:G:hkl:m:M:n:N:o:P:q:QrR:s:t:vX:", long_options, &option_index)) != -1) { switch(ret) { case 0: if(!strcmp(long_options[option_index].name, "utf8")) { return 1; } break; default: break; } } return 0; } typedef WINSHELLAPI LPWSTR * (APIENTRY *tCommandLineToArgvW)(LPCWSTR lpCmdLine, int*pNumArgs); void get_args_from_ucs16(int *argc, char ***argv) { OSVERSIONINFO vi; int utf8; utf8 = parse_for_utf8(*argc, *argv); optind = 1; /* Reset getopt_long */ /* If command line is already UTF-8, don't convert */ if (utf8) return; vi.dwOSVersionInfoSize = sizeof(vi); GetVersionEx(&vi); /* We only do NT4 and more recent.*/ /* It would be relatively easy to add NT3.5 support. Is anyone still using NT3? */ /* It would be relatively hard to add 9x support. Fortunately, 9x is a lost cause for unicode support anyway. */ if (vi.dwPlatformId == VER_PLATFORM_WIN32_NT && vi.dwMajorVersion >= 4) { const char utf8flag[] = "--utf8"; int newargc; int sizeofargs = 0; int a, count; char *argptr; char **newargv = NULL; LPWSTR *ucs16argv = NULL; tCommandLineToArgvW pCommandLineToArgvW = NULL; HMODULE hLib = NULL; hLib = LoadLibrary("shell32.dll"); if (!hLib) goto bail; pCommandLineToArgvW = (tCommandLineToArgvW)GetProcAddress(hLib, "CommandLineToArgvW"); if (!pCommandLineToArgvW) goto bail; ucs16argv = pCommandLineToArgvW(GetCommandLineW(), &newargc); if (!ucs16argv) goto bail; for (a=0; a #endif #include #include #include #include #include #include "resample.h" /* Some systems don't define this */ #ifndef M_PI #define M_PI 3.14159265358979323846 #endif static int hcf(int arg1, int arg2) { int mult = 1; while (~(arg1 | arg2) & 1) arg1 >>= 1, arg2 >>= 1, mult <<= 1; while (arg1 > 0) { if (~(arg1 & arg2) & 1) { arg1 >>= (~arg1 & 1); arg2 >>= (~arg2 & 1); } else if (arg1 < arg2) arg2 = (arg2 - arg1) >> 1; else arg1 = (arg1 - arg2) >> 1; } return arg2 * mult; } static void filt_sinc(float *dest, int N, int step, double fc, double gain, int width) { double s = fc / step; int mid, x; float *endpoint = dest + N, *base = dest, *origdest = dest; assert(width <= N); if ((N & 1) == 0) { *dest = 0.0; dest += width; if (dest >= endpoint) dest = ++base; N--; } mid = N / 2; x = -mid; while (N--) { *dest = (x ? sin(x * M_PI * s) / (x * M_PI) * step : fc) * gain; x++; dest += width; if (dest >= endpoint) dest = ++base; } assert(dest == (origdest + width)); } static double I_zero(double x) { int n = 0; double u = 1.0, s = 1.0, t; do { n += 2; t = x / n; u *= t * t; s += u; } while (u > 1e-21 * s); return s; } static void win_kaiser(float *dest, int N, double alpha, int width) { double I_alpha, midsq; int x; float *endpoint = dest + N, *base = dest, *origdest = dest; assert(width <= N); if ((N & 1) == 0) { *dest = 0.0; dest += width; if (dest >= endpoint) dest = ++base; N--; } x = -(N / 2); midsq = (double)(x - 1) * (double)(x - 1); I_alpha = I_zero(alpha); while (N--) { *dest *= I_zero(alpha * sqrt(1.0 - ((double)x * (double)x) / midsq)) / I_alpha; x++; dest += width; if (dest >= endpoint) dest = ++base; } assert(dest == (origdest + width)); } int res_init(res_state *state, int channels, int outfreq, int infreq, res_parameter op1, ...) { double beta = 16.0, cutoff = 0.80, gain = 1.0; int taps = 45; int factor; assert(state); assert(channels > 0); assert(outfreq > 0); assert(infreq > 0); assert(taps > 0); if (state == NULL || channels <= 0 || outfreq <= 0 || infreq <= 0 || taps <= 0) return -1; if (op1 != RES_END) { va_list argp; va_start(argp, op1); do { switch (op1) { case RES_GAIN: gain = va_arg(argp, double); break; case RES_CUTOFF: cutoff = va_arg(argp, double); assert(cutoff > 0.01 && cutoff <= 1.0); break; case RES_TAPS: taps = va_arg(argp, int); assert(taps > 2 && taps < 1000); break; case RES_BETA: beta = va_arg(argp, double); assert(beta > 2.0); break; default: assert(0); return -1; } op1 = va_arg(argp, res_parameter); } while (op1 != RES_END); va_end(argp); } factor = hcf(infreq, outfreq); outfreq /= factor; infreq /= factor; /* adjust to rational values for downsampling */ if (outfreq < infreq) { /* push the cutoff frequency down to the output frequency */ cutoff = cutoff * outfreq / infreq; /* compensate for the sharper roll-off requirement * by using a bigger hammer */ taps = taps * infreq/outfreq; } assert(taps >= ((infreq + outfreq - 1) / outfreq)); if ((state->table = calloc(outfreq * taps, sizeof(float))) == NULL) return -1; if ((state->pool = calloc(channels * taps, sizeof(SAMPLE))) == NULL) { free(state->table); state->table = NULL; return -1; } state->poolfill = taps / 2 + 1; state->channels = channels; state->outfreq = outfreq; state->infreq = infreq; state->taps = taps; state->offset = 0; filt_sinc(state->table, outfreq * taps, outfreq, cutoff, gain, taps); win_kaiser(state->table, outfreq * taps, beta, taps); return 0; } static SAMPLE sum(float const *scale, int count, SAMPLE const *source, SAMPLE const *trigger, SAMPLE const *reset, int srcstep) { float total = 0.0; while (count--) { total += *source * *scale; if (source == trigger) source = reset, srcstep = 1; source -= srcstep; scale++; } return total; } static int push(res_state const * const state, SAMPLE *pool, int * const poolfill, int * const offset, SAMPLE *dest, int dststep, SAMPLE const *source, int srcstep, size_t srclen) { SAMPLE * const destbase = dest, *poolhead = pool + *poolfill, *poolend = pool + state->taps, *newpool = pool; SAMPLE const *refill, *base, *endpoint; int lencheck; assert(state); assert(pool); assert(poolfill); assert(dest); assert(source); assert(state->poolfill != -1); lencheck = res_push_check(state, srclen); /* fill the pool before diving in */ while (poolhead < poolend && srclen > 0) { *poolhead++ = *source; source += srcstep; srclen--; } if (srclen <= 0) return 0; base = source; endpoint = source + srclen * srcstep; while (source < endpoint) { *dest = sum(state->table + *offset * state->taps, state->taps, source, base, poolend, srcstep); dest += dststep; *offset += state->infreq; while (*offset >= state->outfreq) { *offset -= state->outfreq; source += srcstep; } } assert(dest == (destbase + lencheck * dststep)); /* pretend that source has that underrun data we're not going to get */ srclen += (source - endpoint) / srcstep; /* if we didn't get enough to completely replace the pool, then shift things about a bit */ if (srclen < state->taps) { refill = pool + srclen; while (refill < poolend) *newpool++ = *refill++; refill = source - srclen * srcstep; } else refill = source - state->taps * srcstep; /* pull in fresh pool data */ while (refill < endpoint) { *newpool++ = *refill; refill += srcstep; } assert(newpool > pool); assert(newpool <= poolend); *poolfill = newpool - pool; return (dest - destbase) / dststep; } int res_push_max_input(res_state const * const state, size_t maxoutput) { return maxoutput * state->infreq / state->outfreq; } int res_push_check(res_state const * const state, size_t srclen) { if (state->poolfill < state->taps) srclen -= state->taps - state->poolfill; return (srclen * state->outfreq - state->offset + state->infreq - 1) / state->infreq; } int res_push(res_state *state, SAMPLE **dstlist, SAMPLE const **srclist, size_t srclen) { int result = -1, poolfill = -1, offset = -1, i; assert(state); assert(dstlist); assert(srclist); assert(state->poolfill >= 0); for (i = 0; i < state->channels; i++) { poolfill = state->poolfill; offset = state->offset; result = push(state, state->pool + i * state->taps, &poolfill, &offset, dstlist[i], 1, srclist[i], 1, srclen); } state->poolfill = poolfill; state->offset = offset; return result; } int res_push_interleaved(res_state *state, SAMPLE *dest, SAMPLE const *source, size_t srclen) { int result = -1, poolfill = -1, offset = -1, i; assert(state); assert(dest); assert(source); assert(state->poolfill >= 0); for (i = 0; i < state->channels; i++) { poolfill = state->poolfill; offset = state->offset; result = push(state, state->pool + i * state->taps, &poolfill, &offset, dest + i, state->channels, source + i, state->channels, srclen); } state->poolfill = poolfill; state->offset = offset; return result; } int res_drain(res_state *state, SAMPLE **dstlist) { SAMPLE *tail; int result = -1, poolfill = -1, offset = -1, i; assert(state); assert(dstlist); assert(state->poolfill >= 0); if ((tail = calloc(state->taps, sizeof(SAMPLE))) == NULL) return -1; for (i = 0; i < state->channels; i++) { poolfill = state->poolfill; offset = state->offset; result = push(state, state->pool + i * state->taps, &poolfill, &offset, dstlist[i], 1, tail, 1, state->taps / 2 - 1); } free(tail); state->poolfill = -1; return result; } int res_drain_interleaved(res_state *state, SAMPLE *dest) { SAMPLE *tail; int result = -1, poolfill = -1, offset = -1, i; assert(state); assert(dest); assert(state->poolfill >= 0); if ((tail = calloc(state->taps, sizeof(SAMPLE))) == NULL) return -1; for (i = 0; i < state->channels; i++) { poolfill = state->poolfill; offset = state->offset; result = push(state, state->pool + i * state->taps, &poolfill, &offset, dest + i, state->channels, tail, 1, state->taps / 2 - 1); } free(tail); state->poolfill = -1; return result; } void res_clear(res_state *state) { assert(state); assert(state->table); assert(state->pool); free(state->table); free(state->pool); memset(state, 0, sizeof(*state)); } vorbis-tools-1.4.2/oggenc/platform.h0000755000175000017500000000134113767140576014362 00000000000000#ifndef __PLATFORM_H #define __PLATFORM_H #include #ifdef HAVE_ALLOCA_H #include #endif #ifdef __OS2__ #define INCL_DOS #define INCL_NOPMAPI #include #endif #if defined(_WIN32) || defined(__OS2__) #include void setbinmode(FILE *); #define DEFAULT_NAMEFMT_REMOVE "/\\:<>|" #define DEFAULT_NAMEFMT_REPLACE "" #else /* Unix, mostly */ #define setbinmode(x) {} #define DEFAULT_NAMEFMT_REMOVE "/" #define DEFAULT_NAMEFMT_REPLACE "" #endif #ifdef _WIN32 extern FILE *oggenc_fopen(char *fn, char *mode, int isutf8); extern void get_args_from_ucs16(int *argc, char ***argv); #else #define oggenc_fopen(x,y,z) fopen(x,y) #define get_args_from_ucs16(x,y) { } #endif #endif /* __PLATFORM_H */ vorbis-tools-1.4.2/oggenc/Makefile.in0000644000175000017500000006734114002242752014421 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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@ bin_PROGRAMS = oggenc$(EXEEXT) subdir = oggenc ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \ $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intl.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/size_max.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ $(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.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__oggenc_SOURCES_DIST = flac.c flac.h easyflac.c easyflac.h lyrics.c \ lyrics.h oggenc.c audio.c encode.c platform.c resample.c \ skeleton.c audio.h encode.h platform.h resample.h skeleton.h @HAVE_LIBFLAC_TRUE@am__objects_1 = flac.$(OBJEXT) easyflac.$(OBJEXT) @HAVE_KATE_TRUE@am__objects_2 = lyrics.$(OBJEXT) am_oggenc_OBJECTS = $(am__objects_1) $(am__objects_2) oggenc.$(OBJEXT) \ audio.$(OBJEXT) encode.$(OBJEXT) platform.$(OBJEXT) \ resample.$(OBJEXT) skeleton.$(OBJEXT) oggenc_OBJECTS = $(am_oggenc_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(oggenc_SOURCES) DIST_SOURCES = $(am__oggenc_SOURCES_DIST) 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 \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AO_CFLAGS = @AO_CFLAGS@ AO_LIBS = @AO_LIBS@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURL_CFLAGS = @CURL_CFLAGS@ CURL_LIBS = @CURL_LIBS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG = @DEBUG@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLAC_LIBS = @FLAC_LIBS@ GENCAT = @GENCAT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIBC2 = @GLIBC2@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WPRINTF = @HAVE_WPRINTF@ I18N_CFLAGS = @I18N_CFLAGS@ I18N_LIBS = @I18N_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KATE_CFLAGS = @KATE_CFLAGS@ KATE_LIBS = @KATE_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBPTH = @LIBPTH@ LIBPTH_PREFIX = @LIBPTH_PREFIX@ LIBS = @LIBS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBC = @LTLIBC@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBPTH = @LTLIBPTH@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ OPT_SUBDIRS = @OPT_SUBDIRS@ OPUSFILE_CFLAGS = @OPUSFILE_CFLAGS@ OPUSFILE_LIBS = @OPUSFILE_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POSUB = @POSUB@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PROFILE = @PROFILE@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHARE_CFLAGS = @SHARE_CFLAGS@ SHARE_LIBS = @SHARE_LIBS@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ SPEEX_LIBS = @SPEEX_LIBS@ STRIP = @STRIP@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISENC_LIBS = @VORBISENC_LIBS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ WINDRES = @WINDRES@ WOE32 = @WOE32@ WOE32DLL = @WOE32DLL@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ 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 = $(datadir)/locale 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@ @HAVE_LIBFLAC_FALSE@flac_sources = @HAVE_LIBFLAC_TRUE@flac_sources = flac.c flac.h easyflac.c easyflac.h @HAVE_KATE_FALSE@kate_sources = @HAVE_KATE_TRUE@kate_sources = lyrics.c lyrics.h SUBDIRS = man AM_CPPFLAGS = @SHARE_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @KATE_CFLAGS@ @I18N_CFLAGS@ oggenc_LDADD = @SHARE_LIBS@ \ @VORBISENC_LIBS@ @VORBIS_LIBS@ @KATE_LIBS@ @OGG_LIBS@ \ @LIBICONV@ @I18N_LIBS@ @FLAC_LIBS@ -lm oggenc_DEPENDENCIES = @SHARE_LIBS@ oggenc_SOURCES = $(flac_sources) $(kate_sources) \ oggenc.c audio.c encode.c platform.c resample.c skeleton.c \ audio.h encode.h platform.h resample.h skeleton.h all: all-recursive .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu oggenc/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu oggenc/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(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 \ || test -f $$p1 \ ; 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) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(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: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list oggenc$(EXEEXT): $(oggenc_OBJECTS) $(oggenc_DEPENDENCIES) $(EXTRA_oggenc_DEPENDENCIES) @rm -f oggenc$(EXEEXT) $(AM_V_CCLD)$(LINK) $(oggenc_OBJECTS) $(oggenc_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/audio.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/easyflac.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/encode.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/flac.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lyrics.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggenc.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/platform.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resample.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/skeleton.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(PROGRAMS) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ 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-binPROGRAMS 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 -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-binPROGRAMS clean-generic clean-libtool \ cscopelist-am ctags ctags-am distclean distclean-compile \ distclean-generic distclean-libtool distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-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 \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-binPROGRAMS .PRECIOUS: Makefile debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" # 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: vorbis-tools-1.4.2/oggenc/audio.c0000644000175000017500000006326513770075374013641 00000000000000/* OggEnc ** ** This program is distributed under the GNU General Public License, version 2. ** A copy of this license is included with this source. ** ** Copyright 2000-2002, Michael Smith ** 2010, Monty ** ** AIFF/AIFC support from OggSquish, (c) 1994-1996 Monty **/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include "audio.h" #include "platform.h" #include "i18n.h" #include "resample.h" #ifdef HAVE_LIBFLAC #include "flac.h" #endif /* Macros to read header data */ #define READ_U32_LE(buf) \ (((buf)[3]<<24)|((buf)[2]<<16)|((buf)[1]<<8)|((buf)[0]&0xff)) #define READ_U16_LE(buf) \ (((buf)[1]<<8)|((buf)[0]&0xff)) #define READ_U32_BE(buf) \ (((buf)[0]<<24)|((buf)[1]<<16)|((buf)[2]<<8)|((buf)[3]&0xff)) #define READ_U16_BE(buf) \ (((buf)[0]<<8)|((buf)[1]&0xff)) /* Define the supported formats here */ input_format formats[] = { {wav_id, 12, wav_open, wav_close, "wav", N_("WAV file reader")}, {aiff_id, 12, aiff_open, wav_close, "aiff", N_("AIFF/AIFC file reader")}, #ifdef HAVE_LIBFLAC {flac_id, 4, flac_open, flac_close, "flac", N_("FLAC file reader")}, {oggflac_id, 32, flac_open, flac_close, "ogg", N_("Ogg FLAC file reader")}, #endif {NULL, 0, NULL, NULL, NULL, NULL} }; input_format *open_audio_file(FILE *in, oe_enc_opt *opt) { int j=0; unsigned char *buf=NULL; int buf_size=0, buf_filled=0; int size,ret; while(formats[j].id_func) { size = formats[j].id_data_len; if(size >= buf_size) { buf = realloc(buf, size); buf_size = size; } if(size > buf_filled) { ret = fread(buf+buf_filled, 1, buf_size-buf_filled, in); buf_filled += ret; if(buf_filled < size) { /* File truncated */ j++; continue; } } if(formats[j].id_func(buf, buf_filled)) { /* ok, we now have something that can handle the file */ if(formats[j].open_func(in, opt, buf, buf_filled)) { free(buf); return &formats[j]; } } j++; } free(buf); return NULL; } static int seek_forward(FILE *in, unsigned int length) { if(fseek(in, length, SEEK_CUR)) { /* Failed. Do it the hard way. */ unsigned char buf[1024]; unsigned int seek_needed = length; int seeked; while(seek_needed > 0) { seeked = fread(buf, 1, seek_needed>1024?1024:seek_needed, in); if(!seeked) return 0; /* Couldn't read more, can't read file */ else seek_needed -= seeked; } } return 1; } static int find_wav_chunk(FILE *in, char *type, unsigned int *len) { unsigned char buf[8]; while(1) { if(fread(buf,1,8,in) < 8) /* Suck down a chunk specifier */ { fprintf(stderr, _("Warning: Unexpected EOF in reading WAV header\n")); return 0; /* EOF before reaching the appropriate chunk */ } if(memcmp(buf, type, 4)) { *len = READ_U32_LE(buf+4); if(!seek_forward(in, *len)) return 0; buf[4] = 0; fprintf(stderr, _("Skipping chunk of type \"%s\", length %d\n"), buf, *len); } else { *len = READ_U32_LE(buf+4); return 1; } } } static int find_aiff_chunk(FILE *in, char *type, unsigned int *len) { unsigned char buf[8]; int restarted = 0; while(1) { if(fread(buf,1,8,in) <8) { if(!restarted) { /* Handle out of order chunks by seeking back to the start * to retry */ restarted = 1; fseek(in, 12, SEEK_SET); continue; } fprintf(stderr, _("Warning: Unexpected EOF in AIFF chunk\n")); return 0; } *len = READ_U32_BE(buf+4); if(memcmp(buf,type,4)) { if((*len) & 0x1) (*len)++; if(!seek_forward(in, *len)) return 0; } else return 1; } } double read_IEEE80(unsigned char *buf) { int s=buf[0]&0xff; int e=((buf[0]&0x7f)<<8)|(buf[1]&0xff); double f=((unsigned long)(buf[2]&0xff)<<24)| ((buf[3]&0xff)<<16)| ((buf[4]&0xff)<<8) | (buf[5]&0xff); if(e==32767) { if(buf[2]&0x80) return HUGE_VAL; /* Really NaN, but this won't happen in reality */ else { if(s) return -HUGE_VAL; else return HUGE_VAL; } } f=ldexp(f,32); f+= ((buf[6]&0xff)<<24)| ((buf[7]&0xff)<<16)| ((buf[8]&0xff)<<8) | (buf[9]&0xff); return ldexp(f, e-16446); } /* AIFF/AIFC support adapted from the old OggSQUISH application */ int aiff_id(unsigned char *buf, int len) { if(len<12) return 0; /* Truncated file, probably */ if(memcmp(buf, "FORM", 4)) return 0; if(memcmp(buf+8, "AIF",3)) return 0; if(buf[11]!='C' && buf[11]!='F') return 0; return 1; } static int aiff_permute_matrix[6][6] = { {0}, /* 1.0 mono */ {0,1}, /* 2.0 stereo */ {0,2,1}, /* 3.0 channel ('wide') stereo */ {0,1,2,3}, /* 4.0 discrete quadraphonic (WARN) */ {0,2,1,3,4}, /* 5.0 surround (WARN) */ {0,1,2,3,4,5}, /* 5.1 surround (WARN)*/ }; int aiff_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen) { int aifc; /* AIFC or AIFF? */ unsigned int len, readlen; unsigned char buffer[22]; unsigned char buf2[8]; aiff_fmt format; aifffile *aiff = malloc(sizeof(aifffile)); int i; long channels; if(buf[11]=='C') aifc=1; else aifc=0; if(!find_aiff_chunk(in, "COMM", &len)) { fprintf(stderr, _("Warning: No common chunk found in AIFF file\n")); return 0; /* EOF before COMM chunk */ } if(len < 18) { fprintf(stderr, _("Warning: Truncated common chunk in AIFF header\n")); return 0; /* Weird common chunk */ } readlen = len < sizeof(buffer) ? len : sizeof(buffer); if(fread(buffer,1,readlen,in) < readlen || (len > readlen && !seek_forward(in, len-readlen))) { fprintf(stderr, _("Warning: Unexpected EOF in reading AIFF header\n")); return 0; } format.channels = channels = READ_U16_BE(buffer); format.totalframes = READ_U32_BE(buffer+2); format.samplesize = READ_U16_BE(buffer+6); format.rate = (int)read_IEEE80(buffer+8); if(channels <= 0L || SHRT_MAX < channels) { fprintf(stderr, _("Warning: Unsupported count of channels in AIFF header\n")); return 0; } aiff->bigendian = 1; if(aifc) { if(len < 22) { fprintf(stderr, _("Warning: AIFF-C header truncated.\n")); return 0; } if(!memcmp(buffer+18, "NONE", 4)) { aiff->bigendian = 1; } else if(!memcmp(buffer+18, "sowt", 4)) { aiff->bigendian = 0; } else { fprintf(stderr, _("Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n"), *(buffer+18), *(buffer+19), *(buffer+20), *(buffer+21)); return 0; /* Compressed. Can't handle */ } } if(!find_aiff_chunk(in, "SSND", &len)) { fprintf(stderr, _("Warning: No SSND chunk found in AIFF file\n")); return 0; /* No SSND chunk -> no actual audio */ } if(len < 8) { fprintf(stderr, _("Warning: Corrupted SSND chunk in AIFF header\n")); return 0; } if(fread(buf2,1,8, in) < 8) { fprintf(stderr, _("Warning: Unexpected EOF reading AIFF header\n")); return 0; } format.offset = READ_U32_BE(buf2); format.blocksize = READ_U32_BE(buf2+4); if( format.blocksize == 0 && (format.samplesize == 16 || format.samplesize == 8)) { /* From here on, this is very similar to the wav code. Oh well. */ if(opt->ignorelength) { format.totalframes = -1; } opt->rate = format.rate; opt->channels = format.channels; opt->read_samples = wav_read; /* Similar enough, so we use the same */ opt->total_samples_per_channel = format.totalframes; aiff->f = in; aiff->samplesread = 0; aiff->channels = format.channels; aiff->samplesize = format.samplesize; aiff->totalsamples = format.totalframes; if(aiff->channels>3) fprintf(stderr,"WARNING: AIFF[-C] files with greater than three channels use\n" "speaker locations incompatible with Vorbis suppound definitions.\n" "Not performaing channel location mapping.\n"); opt->readdata = (void *)aiff; aiff->channel_permute = malloc(aiff->channels * sizeof(int)); if (aiff->channels <= 6) /* Where we know the mappings, use them. */ memcpy(aiff->channel_permute, aiff_permute_matrix[aiff->channels-1], sizeof(int) * aiff->channels); else /* Use a default 1-1 mapping */ for (i=0; i < aiff->channels; i++) aiff->channel_permute[i] = i; seek_forward(in, format.offset); /* Swallow some data */ return 1; } else { fprintf(stderr, _("Warning: OggEnc does not support this type of AIFF/AIFC file\n" " Must be 8 or 16 bit PCM.\n")); return 0; } } int wav_id(unsigned char *buf, int len) { unsigned int flen; if(len<12) return 0; /* Something screwed up */ if(memcmp(buf, "RIFF", 4)) return 0; /* Not wave */ flen = READ_U32_LE(buf+4); /* We don't use this */ if(memcmp(buf+8, "WAVE",4)) return 0; /* RIFF, but not wave */ return 1; } static int wav_permute_matrix[8][8] = { {0}, /* 1.0 mono */ {0,1}, /* 2.0 stereo */ {0,2,1}, /* 3.0 channel ('wide') stereo */ {0,1,2,3}, /* 4.0 discrete quadraphonic */ {0,2,1,3,4}, /* 5.0 surround */ {0,2,1,4,5,3}, /* 5.1 surround */ {0,2,1,5,6,4,3}, /* 6.1 surround */ {0,2,1,6,7,4,5,3} /* 7.1 surround (classic theater 8-track) */ }; int wav_open(FILE *in, oe_enc_opt *opt, unsigned char *oldbuf, int buflen) { unsigned char buf[40]; unsigned int len; int samplesize; wav_fmt format; wavfile *wav = malloc(sizeof(wavfile)); int i; long channels; /* Ok. At this point, we know we have a WAV file. Now we have to detect * whether we support the subtype, and we have to find the actual data * We don't (for the wav reader) need to use the buffer we used to id this * as a wav file (oldbuf) */ if(!find_wav_chunk(in, "fmt ", &len)) return 0; /* EOF */ if(len < 16) { fprintf(stderr, _("Warning: Unrecognised format chunk in WAV header\n")); return 0; /* Weird format chunk */ } /* A common error is to have a format chunk that is not 16, 18 or * 40 bytes in size. This is incorrect, but not fatal, so we only * warn about it instead of refusing to work with the file. * Please, if you have a program that's creating format chunks of * sizes other than 16 or 18 bytes in size, report a bug to the * author. */ if(len!=16 && len!=18 && len!=40) fprintf(stderr, _("Warning: INVALID format chunk in wav header.\n" " Trying to read anyway (may not work)...\n")); if(len>40)len=40; if(fread(buf,1,len,in) < len) { fprintf(stderr, _("Warning: Unexpected EOF in reading WAV header\n")); return 0; } format.format = READ_U16_LE(buf); format.channels = channels = READ_U16_LE(buf+2); format.samplerate = READ_U32_LE(buf+4); format.bytespersec = READ_U32_LE(buf+8); format.align = READ_U16_LE(buf+12); format.samplesize = READ_U16_LE(buf+14); if(channels <= 0L || SHRT_MAX < channels) { fprintf(stderr, _("Warning: Unsupported count of channels in WAV header\n")); return 0; } if(format.format == -2) /* WAVE_FORMAT_EXTENSIBLE */ { if(len<40) { fprintf(stderr,"ERROR: Extended WAV format header invalid (too small)\n"); return 0; } format.mask = READ_U32_LE(buf+20); /* warn the user if the format mask is not a supported/expected type */ switch(format.mask){ case 1539: /* 4.0 using side surround instead of back */ fprintf(stderr,"WARNING: WAV file uses side surround instead of rear for quadraphonic;\n" "remapping side speakers to rear in encoding.\n"); break; case 1551: /* 5.1 using side instead of rear */ fprintf(stderr,"WARNING: WAV file uses side surround instead of rear for 5.1;\n" "remapping side speakers to rear in encoding.\n"); break; case 319: /* 6.1 using rear instead of side */ fprintf(stderr,"WARNING: WAV file uses rear surround instead of side for 6.1;\n" "remapping rear speakers to side in encoding.\n"); break; case 255: /* 7.1 'Widescreen' */ fprintf(stderr,"WARNING: WAV file is a 7.1 'Widescreen' channel mapping;\n" "remapping speakers to Vorbis 7.1 format.\n"); break; case 0: /* default/undeclared */ case 1: /* mono */ case 3: /* stereo */ case 51: /* quad */ case 55: /* 5.0 */ case 63: /* 5.1 */ case 1807: /* 6.1 */ case 1599: /* 7.1 */ break; default: fprintf(stderr,"WARNING: Unknown WAV surround channel mask: %d\n" "blindly mapping speakers using default SMPTE/ITU ordering.\n", format.mask); break; } format.format = READ_U16_LE(buf+24); } if(!find_wav_chunk(in, "data", &len)) return 0; /* EOF */ if(format.format == 1) { samplesize = format.samplesize/8; opt->read_samples = wav_read; } else if(format.format == 3) { samplesize = 4; opt->read_samples = wav_ieee_read; } else { fprintf(stderr, _("ERROR: Wav file is unsupported type (must be standard PCM\n" " or type 3 floating point PCM\n")); return 0; } if(format.align != format.channels * samplesize) { /* This is incorrect according to the spec. Warn loudly, then ignore * this value. */ fprintf(stderr, _("Warning: WAV 'block alignment' value is incorrect, " "ignoring.\n" "The software that created this file is incorrect.\n")); } if(format.samplesize == samplesize*8 && (format.samplesize == 24 || format.samplesize == 16 || format.samplesize == 8 || (format.samplesize == 32 && format.format == 3))) { /* OK, good - we have the one supported format, now we want to find the size of the file */ opt->rate = format.samplerate; opt->channels = format.channels; wav->f = in; wav->samplesread = 0; wav->bigendian = 0; wav->channels = format.channels; /* This is in several places. The price of trying to abstract stuff. */ wav->samplesize = format.samplesize; if(opt->ignorelength) { opt->total_samples_per_channel = -1; } else { if(len) { opt->total_samples_per_channel = len/(format.channels*samplesize); } else { long pos; pos = ftell(in); if(fseek(in, 0, SEEK_END) == -1) { opt->total_samples_per_channel = 0; /* Give up */ } else { opt->total_samples_per_channel = (ftell(in) - pos)/ (format.channels*samplesize); fseek(in,pos, SEEK_SET); } } } wav->totalsamples = opt->total_samples_per_channel; opt->readdata = (void *)wav; wav->channel_permute = malloc(wav->channels * sizeof(int)); if (wav->channels <= 8) /* Where we know the mappings, use them. */ memcpy(wav->channel_permute, wav_permute_matrix[wav->channels-1], sizeof(int) * wav->channels); else /* Use a default 1-1 mapping */ for (i=0; i < wav->channels; i++) wav->channel_permute[i] = i; return 1; } else { fprintf(stderr, _("ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n" "or floating point PCM\n")); return 0; } } long wav_read(void *in, float **buffer, int samples) { wavfile *f = (wavfile *)in; int sampbyte = f->samplesize / 8; signed char *buf = alloca(samples*sampbyte*f->channels); long bytes_read = fread(buf, 1, samples*sampbyte*f->channels, f->f); int i,j; long realsamples; int *ch_permute = f->channel_permute; if(f->totalsamples > 0 && f->samplesread + bytes_read/(sampbyte*f->channels) > f->totalsamples) { bytes_read = sampbyte*f->channels*(f->totalsamples - f->samplesread); } realsamples = bytes_read/(sampbyte*f->channels); f->samplesread += realsamples; if(f->samplesize==8) { unsigned char *bufu = (unsigned char *)buf; for(i = 0; i < realsamples; i++) { for(j=0; j < f->channels; j++) { buffer[j][i]=((int)(bufu[i*f->channels + ch_permute[j]])-128)/128.0f; } } } else if(f->samplesize==16) { if(!f->bigendian) { for(i = 0; i < realsamples; i++) { for(j=0; j < f->channels; j++) { buffer[j][i] = ((buf[i*2*f->channels + 2*ch_permute[j] + 1]<<8) | (buf[i*2*f->channels + 2*ch_permute[j]] & 0xff))/32768.0f; } } } else { for(i = 0; i < realsamples; i++) { for(j=0; j < f->channels; j++) { buffer[j][i]=((buf[i*2*f->channels + 2*ch_permute[j]]<<8) | (buf[i*2*f->channels + 2*ch_permute[j] + 1] & 0xff))/32768.0f; } } } } else if(f->samplesize==24) { if(!f->bigendian) { for(i = 0; i < realsamples; i++) { for(j=0; j < f->channels; j++) { buffer[j][i] = ((buf[i*3*f->channels + 3*ch_permute[j] + 2] << 16) | (((unsigned char *)buf)[i*3*f->channels + 3*ch_permute[j] + 1] << 8) | (((unsigned char *)buf)[i*3*f->channels + 3*ch_permute[j]] & 0xff)) / 8388608.0f; } } } else { fprintf(stderr, _("Big endian 24 bit PCM data is not currently " "supported, aborting.\n")); return 0; } } else { fprintf(stderr, _("Internal error: attempt to read unsupported " "bitdepth %d\n"), f->samplesize); return 0; } return realsamples; } long wav_ieee_read(void *in, float **buffer, int samples) { wavfile *f = (wavfile *)in; float *buf = alloca(samples*4*f->channels); /* de-interleave buffer */ long bytes_read = fread(buf,1,samples*4*f->channels, f->f); int i,j; long realsamples; if(f->totalsamples > 0 && f->samplesread + bytes_read/(4*f->channels) > f->totalsamples) bytes_read = 4*f->channels*(f->totalsamples - f->samplesread); realsamples = bytes_read/(4*f->channels); f->samplesread += realsamples; for(i=0; i < realsamples; i++) for(j=0; j < f->channels; j++) buffer[j][i] = buf[i*f->channels + f->channel_permute[j]]; return realsamples; } void wav_close(void *info) { wavfile *f = (wavfile *)info; free(f->channel_permute); free(f); } int raw_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen) { wav_fmt format; /* fake wave header ;) */ wavfile *wav = malloc(sizeof(wavfile)); int i; /* construct fake wav header ;) */ format.format = 2; format.channels = opt->channels; format.samplerate = opt->rate; format.samplesize = opt->samplesize; format.bytespersec = opt->channels * opt->rate * opt->samplesize / 8; format.align = format.bytespersec; wav->f = in; wav->samplesread = 0; wav->bigendian = opt->endianness; wav->channels = format.channels; wav->samplesize = opt->samplesize; wav->totalsamples = -1; wav->channel_permute = malloc(wav->channels * sizeof(int)); for (i=0; i < wav->channels; i++) wav->channel_permute[i] = i; opt->read_samples = wav_read; opt->readdata = (void *)wav; opt->total_samples_per_channel = -1; /* raw mode, don't bother */ return 1; } typedef struct { res_state resampler; audio_read_func real_reader; void *real_readdata; float **bufs; int channels; int bufsize; int done; } resampler; static long read_resampled(void *d, float **buffer, int samples) { resampler *rs = d; long in_samples; int out_samples; in_samples = res_push_max_input(&rs->resampler, samples); if(in_samples > rs->bufsize) in_samples = rs->bufsize; in_samples = rs->real_reader(rs->real_readdata, rs->bufs, in_samples); if(in_samples <= 0) { if(!rs->done) { rs->done = 1; out_samples = res_drain(&rs->resampler, buffer); return out_samples; } return 0; } out_samples = res_push(&rs->resampler, buffer, (float const **)rs->bufs, in_samples); if(out_samples <= 0) { fprintf(stderr, _("BUG: Got zero samples from resampler: your file will be truncated. Please report this.\n")); } return out_samples; } int setup_resample(oe_enc_opt *opt) { resampler *rs = calloc(1, sizeof(resampler)); int c; rs->bufsize = 4096; /* Shrug */ rs->real_reader = opt->read_samples; rs->real_readdata = opt->readdata; rs->bufs = malloc(sizeof(float *) * opt->channels); rs->channels = opt->channels; rs->done = 0; if(res_init(&rs->resampler, rs->channels, opt->resamplefreq, opt->rate, RES_END)) { fprintf(stderr, _("Couldn't initialise resampler\n")); return -1; } for(c=0; c < opt->channels; c++) rs->bufs[c] = malloc(sizeof(float) * rs->bufsize); opt->read_samples = read_resampled; opt->readdata = rs; if(opt->total_samples_per_channel > 0) opt->total_samples_per_channel = (int)((float)opt->total_samples_per_channel * ((float)opt->resamplefreq/(float)opt->rate)); opt->rate = opt->resamplefreq; return 0; } void clear_resample(oe_enc_opt *opt) { resampler *rs = opt->readdata; int i; opt->read_samples = rs->real_reader; opt->readdata = rs->real_readdata; res_clear(&rs->resampler); for(i = 0; i < rs->channels; i++) free(rs->bufs[i]); free(rs->bufs); free(rs); } typedef struct { audio_read_func real_reader; void *real_readdata; int channels; float scale_factor; } scaler; static long read_scaler(void *data, float **buffer, int samples) { scaler *d = data; long in_samples = d->real_reader(d->real_readdata, buffer, samples); int i,j; for(i=0; i < d->channels; i++) { for(j=0; j < in_samples; j++) { buffer[i][j] *= d->scale_factor; } } return in_samples; } void setup_scaler(oe_enc_opt *opt, float scale) { scaler *d = calloc(1, sizeof(scaler)); d->real_reader = opt->read_samples; d->real_readdata = opt->readdata; opt->read_samples = read_scaler; opt->readdata = d; d->channels = opt->channels; d->scale_factor = scale; } void clear_scaler(oe_enc_opt *opt) { scaler *d = opt->readdata; opt->read_samples = d->real_reader; opt->readdata = d->real_readdata; free(d); } typedef struct { audio_read_func real_reader; void *real_readdata; float **bufs; } downmix; static long read_downmix(void *data, float **buffer, int samples) { downmix *d = data; long in_samples = d->real_reader(d->real_readdata, d->bufs, samples); int i; for(i=0; i < in_samples; i++) { buffer[0][i] = (d->bufs[0][i] + d->bufs[1][i])*0.5f; } return in_samples; } void setup_downmix(oe_enc_opt *opt) { downmix *d = calloc(1, sizeof(downmix)); if(opt->channels != 2) { fprintf(stderr, "Internal error! Please report this bug.\n"); return; } d->bufs = malloc(2 * sizeof(float *)); d->bufs[0] = malloc(4096 * sizeof(float)); d->bufs[1] = malloc(4096 * sizeof(float)); d->real_reader = opt->read_samples; d->real_readdata = opt->readdata; opt->read_samples = read_downmix; opt->readdata = d; opt->channels = 1; } void clear_downmix(oe_enc_opt *opt) { downmix *d = opt->readdata; opt->read_samples = d->real_reader; opt->readdata = d->real_readdata; opt->channels = 2; /* other things in cleanup rely on this */ free(d->bufs[0]); free(d->bufs[1]); free(d->bufs); free(d); } vorbis-tools-1.4.2/oggenc/resample.h0000644000175000017500000000565313767140576014355 00000000000000/* This program is licensed under the GNU Library General Public License, * version 2, a copy of which is included with this program (LICENCE.LGPL). * * (c) 2002 Simon Hosie * * * A resampler * * reference: * 'Digital Filters', third edition, by R. W. Hamming ISBN 0-486-65088-X * * history: * 2002-05-31 ready for the world (or some small section thereof) * * * TOOD: * zero-crossing clipping in coefficient table */ #ifndef _RESAMPLE_H_INCLUDED #define _RESAMPLE_H_INCLUDED typedef float SAMPLE; typedef struct { unsigned int channels, infreq, outfreq, taps; float *table; SAMPLE *pool; /* dynamic bits */ int poolfill; int offset; } res_state; typedef enum { RES_END, RES_GAIN, /* (double)1.0 */ RES_CUTOFF, /* (double)0.80 */ RES_TAPS, /* (int)45 */ RES_BETA /* (double)16.0 */ } res_parameter; int res_init(res_state *state, int channels, int outfreq, int infreq, res_parameter op1, ...); /* * Configure *state to manage a data stream with the specified parameters. The * string 'params' is currently unspecified, but will configure the parameters * of the filter. * * This function allocates memory, and requires that res_clear() be called when * the buffer is no longer needed. * * * All counts/lengths used in the following functions consider only the data in * a single channel, and in numbers of samples rather than bytes, even though * functionality will be mirrored across as many channels as specified here. */ int res_push_max_input(res_state const *state, size_t maxoutput); /* * Returns the maximum number of input elements that may be provided without * risk of flooding an output buffer of size maxoutput. maxoutput is * specified in counts of elements, NOT in bytes. */ int res_push_check(res_state const *state, size_t srclen); /* * Returns the number of elements that will be returned if the given srclen * is used in the next call to res_push(). */ int res_push(res_state *state, SAMPLE **dstlist, SAMPLE const **srclist, size_t srclen); int res_push_interleaved(res_state *state, SAMPLE *dest, SAMPLE const *source, size_t srclen); /* * Pushes srclen samples into the front end of the filter, and returns the * number of resulting samples. * * res_push(): srclist and dstlist point to lists of pointers, each of which * indicates the beginning of a list of samples. * * res_push_interleaved(): source and dest point to the beginning of a list of * interleaved samples. */ int res_drain(res_state *state, SAMPLE **dstlist); int res_drain_interleaved(res_state *state, SAMPLE *dest); /* * Recover the remaining elements by flushing the internal pool with 0 values, * and storing the resulting samples. * * After either of these functions are called, *state should only re-used in a * final call to res_clear(). */ void res_clear(res_state *state); /* * Free allocated buffers, etc. */ #endif vorbis-tools-1.4.2/oggenc/oggenc.c0000644000175000017500000012235713767744233014003 00000000000000/* OggEnc * * This program is distributed under the GNU General Public License, version 2. * A copy of this license is included with this source. * * Copyright 2000-2005, Michael Smith * * Portions from Vorbize, (c) Kenneth Arnold * and libvorbis examples, (c) Monty */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #ifndef _MSC_VER #include #endif #if defined WIN32 || defined _WIN32 #include #endif #include "platform.h" #include "encode.h" #include "audio.h" #include "utf8.h" #include "i18n.h" /* fallback for stand-alone compiles */ #ifndef PACKAGE # define PACKAGE "oggenc" #endif #ifndef VERSION # define VERSION "unknown" #endif #define CHUNK 4096 /* We do reads, etc. in multiples of this */ struct option long_options[] = { {"quiet",0,0,'Q'}, {"help",0,0,'h'}, {"skeleton",no_argument,NULL, 'k'}, {"comment",1,0,'c'}, {"artist",1,0,'a'}, {"album",1,0,'l'}, {"title",1,0,'t'}, {"genre",1,0,'G'}, {"names",1,0,'n'}, {"name-remove",1,0,'X'}, {"name-replace",1,0,'P'}, {"output",1,0,'o'}, {"version",0,0,'V'}, {"raw",0,0,'r'}, {"raw-bits",1,0,'B'}, {"raw-chan",1,0,'C'}, {"raw-rate",1,0,'R'}, {"raw-endianness",1,0, 0}, {"bitrate",1,0,'b'}, {"min-bitrate",1,0,'m'}, {"max-bitrate",1,0,'M'}, {"quality",1,0,'q'}, {"date",1,0,'d'}, {"tracknum",1,0,'N'}, {"serial",1,0,'s'}, {"managed", 0, 0, 0}, {"resample",1,0,0}, {"downmix", 0,0,0}, {"scale", 1, 0, 0}, {"advanced-encode-option", 1, 0, 0}, {"discard-comments", 0, 0, 0}, {"utf8", 0,0,0}, {"ignorelength", 0, 0, 0}, {"lyrics",1,0,'L'}, {"lyrics-language",1,0,'Y'}, {NULL,0,0,0} }; static char *generate_name_string(char *format, char *remove_list, char *replace_list, char *artist, char *title, char *album, char *track, char *date, char *genre); static void parse_options(int argc, char **argv, oe_options *opt); static void build_comments(vorbis_comment *vc, oe_options *opt, int filenum, char **artist,char **album, char **title, char **tracknum, char **date, char **genre); static void usage(void); int main(int argc, char **argv) { /* Default values */ oe_options opt = { NULL, 0, NULL, 0, NULL, 0, NULL, 0, NULL, 0, NULL, 0, NULL, 0, NULL, 0, NULL, 0, NULL, 0, 1, 0, 0, 0, 16,44100,2, 0, NULL, DEFAULT_NAMEFMT_REMOVE, DEFAULT_NAMEFMT_REPLACE, NULL, 0, -1,-1,-1, .3,-1, 0,0,0.f, 0, 0, 0, 0, 0}; input_format raw_format = {NULL, 0, raw_open, wav_close, "raw", N_("RAW file reader")}; int i; char **infiles; int numfiles; int errors=0; get_args_from_ucs16(&argc, &argv); setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); parse_options(argc, argv, &opt); if(optind >= argc) { fprintf(stderr, _("ERROR: No input files specified. Use -h for help.\n")); return 1; } else { infiles = argv + optind; numfiles = argc - optind; } /* Now, do some checking for illegal argument combinations */ for(i = 0; i < numfiles; i++) { if(!strcmp(infiles[i], "-") && numfiles > 1) { fprintf(stderr, _("ERROR: Multiple files specified when using stdin\n")); exit(1); } } if(numfiles > 1 && opt.outfile) { fprintf(stderr, _("ERROR: Multiple input files with specified output filename: suggest using -n\n")); exit(1); } if(!opt.fixedserial) { /* We randomly pick a serial number. This is then incremented for each file. The random seed includes the PID so two copies of oggenc that start in the same second will generate different serial numbers. */ srand(time(NULL) ^ getpid()); opt.serial = rand(); } opt.skeleton_serial = opt.serial + numfiles; opt.kate_serial = opt.skeleton_serial + numfiles; for(i = 0; i < numfiles; i++) { /* Once through the loop for each file */ oe_enc_opt enc_opts; vorbis_comment vc; char *out_fn = NULL; FILE *in, *out = NULL; int foundformat = 0; int closeout = 0, closein = 0; char *artist=NULL, *album=NULL, *title=NULL, *track=NULL; char *date=NULL, *genre=NULL; char *lyrics=NULL, *lyrics_language=NULL; input_format *format; int resampled = 0; /* Set various encoding defaults */ enc_opts.serialno = opt.serial++; enc_opts.skeleton_serialno = opt.skeleton_serial++; enc_opts.kate_serialno = opt.kate_serial++; enc_opts.progress_update = update_statistics_full; enc_opts.start_encode = start_encode_full; enc_opts.end_encode = final_statistics; enc_opts.error = encode_error; enc_opts.comments = &vc; enc_opts.copy_comments = opt.copy_comments; enc_opts.with_skeleton = opt.with_skeleton; enc_opts.ignorelength = opt.ignorelength; /* OK, let's build the vorbis_comments structure */ build_comments(&vc, &opt, i, &artist, &album, &title, &track, &date, &genre); if(opt.lyrics_count) { if(i >= opt.lyrics_count) { lyrics = NULL; } else lyrics = opt.lyrics[i]; } if(opt.lyrics_language_count) { if(i >= opt.lyrics_language_count) { if(!opt.quiet) fprintf(stderr, _("WARNING: Insufficient lyrics languages specified, defaulting to final lyrics language.\n")); lyrics_language = opt.lyrics_language[opt.lyrics_language_count-1]; } else lyrics_language = opt.lyrics_language[i]; } if(!strcmp(infiles[i], "-")) { setbinmode(stdin); in = stdin; infiles[i] = NULL; if(!opt.outfile) { setbinmode(stdout); out = stdout; } } else { in = oggenc_fopen(infiles[i], "rb", opt.isutf8); if(in == NULL) { fprintf(stderr, _("ERROR: Cannot open input file \"%s\": %s\n"), infiles[i], strerror(errno)); free(out_fn); errors++; continue; } closein = 1; } /* Now, we need to select an input audio format - we do this before opening the output file so that we don't end up with a 0-byte file if the input file can't be read */ if(opt.rawmode) { enc_opts.rate=opt.raw_samplerate; enc_opts.channels=opt.raw_channels; enc_opts.samplesize=opt.raw_samplesize; enc_opts.endianness=opt.raw_endianness; format = &raw_format; format->open_func(in, &enc_opts, NULL, 0); foundformat=1; } else { format = open_audio_file(in, &enc_opts); if(format) { if(!opt.quiet) fprintf(stderr, _("Opening with %s module: %s\n"), format->format, format->description); foundformat=1; } } if(!foundformat) { fprintf(stderr, _("ERROR: Input file \"%s\" is not a supported format\n"), infiles[i]?infiles[i]:"(stdin)"); if(closein) fclose(in); errors++; continue; } if(enc_opts.rate <= 0) { fprintf(stderr, _("ERROR: Input file \"%s\" has invalid sampling rate\n"), infiles[i]?infiles[i]:"(stdin)"); if(closein) fclose(in); errors++; continue; } /* Ok. We can read the file - so now open the output file */ if(opt.outfile && !strcmp(opt.outfile, "-")) { setbinmode(stdout); out = stdout; } else if(out == NULL) { if(opt.outfile) { out_fn = strdup(opt.outfile); } else if(opt.namefmt) { out_fn = generate_name_string(opt.namefmt, opt.namefmt_remove, opt.namefmt_replace, artist, title, album, track,date, genre); } /* This bit was widely derided in mid-2002, so it's been removed */ /* else if(opt.title) { out_fn = malloc(strlen(title) + 5); strcpy(out_fn, title); strcat(out_fn, ".ogg"); } */ else if(infiles[i]) { /* Create a filename from existing filename, replacing extension with .ogg or .oga */ char *start, *end; char *extension; /* if adding Skeleton or Kate, we're not Vorbis I anymore */ extension = (opt.with_skeleton || opt.lyrics_count>0) ? ".oga" : ".ogg"; start = infiles[i]; end = strrchr(infiles[i], '.'); end = end?end:(start + strlen(infiles[i])+1); out_fn = malloc(end - start + 5); strncpy(out_fn, start, end-start); out_fn[end-start] = 0; strcat(out_fn, extension); } else { /* if adding skeleton or kate, we're not Vorbis I anymore */ if (opt.with_skeleton || opt.lyrics_count>0) out_fn = strdup("default.oga"); else out_fn = strdup("default.ogg"); fprintf(stderr, _("WARNING: No filename, defaulting to \"%s\"\n"), out_fn); } /* Create any missing subdirectories, if possible */ if(create_directories(out_fn, opt.isutf8)) { if(closein) fclose(in); fprintf(stderr, _("ERROR: Could not create required subdirectories for output filename \"%s\"\n"), out_fn); errors++; free(out_fn); continue; } if(infiles[i] && !strcmp(infiles[i], out_fn)) { fprintf(stderr, _("ERROR: Input filename is the same as output filename \"%s\"\n"), out_fn); errors++; free(out_fn); continue; } out = oggenc_fopen(out_fn, "wb", opt.isutf8); if(out == NULL) { if(closein) fclose(in); fprintf(stderr, _("ERROR: Cannot open output file \"%s\": %s\n"), out_fn, strerror(errno)); errors++; free(out_fn); continue; } closeout = 1; } /* Now, set the rest of the options */ enc_opts.out = out; enc_opts.comments = &vc; #ifdef _WIN32 enc_opts.filename = NULL; enc_opts.infilename = NULL; if (opt.isutf8) { if (out_fn) { utf8_decode(out_fn, &enc_opts.filename); } if (infiles[i]) { utf8_decode(infiles[i], &enc_opts.infilename); } } else { if (out_fn) { enc_opts.filename = strdup(out_fn); } if (infiles[i]) { enc_opts.infilename = strdup(infiles[i]); } } #else enc_opts.filename = out_fn; enc_opts.infilename = infiles[i]; #endif enc_opts.managed = opt.managed; enc_opts.bitrate = opt.nominal_bitrate; enc_opts.min_bitrate = opt.min_bitrate; enc_opts.max_bitrate = opt.max_bitrate; enc_opts.quality = opt.quality; enc_opts.quality_set = opt.quality_set; enc_opts.advopt = opt.advopt; enc_opts.advopt_count = opt.advopt_count; enc_opts.lyrics = lyrics; enc_opts.lyrics_language = lyrics_language; if(opt.resamplefreq && opt.resamplefreq != enc_opts.rate) { int fromrate = enc_opts.rate; resampled = 1; enc_opts.resamplefreq = opt.resamplefreq; if(setup_resample(&enc_opts)) { errors++; goto clear_all; } else if(!opt.quiet) { fprintf(stderr, _("Resampling input from %d Hz to %d Hz\n"), fromrate, opt.resamplefreq); } } if(opt.downmix) { if(enc_opts.channels == 2) { setup_downmix(&enc_opts); if(!opt.quiet) { fprintf(stderr, _("Downmixing stereo to mono\n")); } } else { fprintf(stderr, _("WARNING: Can't downmix except from stereo to mono\n")); opt.downmix = 0; } } if(opt.scale > 0.f) { setup_scaler(&enc_opts, opt.scale); if(!opt.quiet) { fprintf(stderr, _("Scaling input to %f\n"), opt.scale); } } if(enc_opts.total_samples_per_channel <= 0) { enc_opts.progress_update = update_statistics_notime; } if(opt.quiet) { enc_opts.start_encode = start_encode_null; enc_opts.progress_update = update_statistics_null; enc_opts.end_encode = final_statistics_null; } if(oe_encode(&enc_opts)) { errors++; } if(opt.scale > 0) { clear_scaler(&enc_opts); } if(opt.downmix) { clear_downmix(&enc_opts); } if(resampled) { clear_resample(&enc_opts); } clear_all: if(out_fn) free(out_fn); if(opt.outfile) free(opt.outfile); #ifdef _WIN32 if(enc_opts.filename) free(enc_opts.filename); if(enc_opts.infilename) free(enc_opts.infilename); #endif vorbis_comment_clear(&vc); format->close_func(enc_opts.readdata); if(closein) { fclose(in); } if(closeout) { fclose(out); } }/* Finished this file, loop around to next... */ return errors?1:0; } static void usage(void) { fprintf(stdout, _("oggenc from %s %s\n"), PACKAGE, VERSION); fprintf(stdout, _(" by the Xiph.Org Foundation (https://www.xiph.org/)\n")); fprintf(stdout, _(" using encoder %s.\n\n"), vorbis_version_string()); fprintf(stdout, _("Usage: oggenc [options] inputfile [...]\n\n")); fprintf(stdout, _("OPTIONS:\n" " General:\n" " -Q, --quiet Produce no output to stderr\n" " -h, --help Print this help text\n" " -V, --version Print the version number\n")); fprintf(stdout, _( " -k, --skeleton Adds an Ogg Skeleton bitstream\n" " -r, --raw Raw mode. Input files are read directly as PCM data\n" " -B, --raw-bits=n Set bits/sample for raw input; default is 16\n" " -C, --raw-chan=n Set number of channels for raw input; default is 2\n" " -R, --raw-rate=n Set samples/sec for raw input; default is 44100\n" " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n")); fprintf(stdout, _( " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n" " to encode at a bitrate averaging this. Takes an\n" " argument in kbps. By default, this produces a VBR\n" " encoding, equivalent to using -q or --quality.\n" " See the --managed option to use a managed bitrate\n" " targetting the selected bitrate.\n")); fprintf(stdout, _( " --managed Enable the bitrate management engine. This will allow\n" " much greater control over the precise bitrate(s) used,\n" " but encoding will be much slower. Don't use it unless\n" " you have a strong need for detailed control over\n" " bitrate, such as for streaming.\n")); fprintf(stdout, _( " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n" " encoding for a fixed-size channel. Using this will\n" " automatically enable managed bitrate mode (see\n" " --managed).\n" " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n" " streaming applications. Using this will automatically\n" " enable managed bitrate mode (see --managed).\n")); fprintf(stdout, _( " --advanced-encode-option option=value\n" " Sets an advanced encoder option to the given value.\n" " The valid options (and their values) are documented\n" " in the man page supplied with this program. They are\n" " for advanced users only, and should be used with\n" " caution.\n")); fprintf(stdout, _( " -q, --quality Specify quality, between -1 (very low) and 10 (very\n" " high), instead of specifying a particular bitrate.\n" " This is the normal mode of operation.\n" " Fractional qualities (e.g. 2.75) are permitted\n" " The default quality level is 3.\n")); fprintf(stdout, _( " --resample n Resample input data to sampling rate n (Hz)\n" " --downmix Downmix stereo to mono. Only allowed on stereo\n" " input.\n" " -s, --serial Specify a serial number for the stream. If encoding\n" " multiple files, this will be incremented for each\n" " stream after the first.\n")); fprintf(stdout, _( " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n" " being copied to the output Ogg Vorbis file.\n" " --ignorelength Ignore the datalength in Wave headers. This allows\n" " support for files > 4GB and STDIN data streams. \n" "\n")); fprintf(stdout, _( " Naming:\n" " -o, --output=fn Write file to fn (only valid in single-file mode)\n" " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n" " %%n, %%d replaced by artist, title, album, track number,\n" " and date, respectively (see below for specifying these).\n" " %%%% gives a literal %%.\n")); fprintf(stdout, _( " -X, --name-remove=s Remove the specified characters from parameters to the\n" " -n format string. Useful to ensure legal filenames.\n" " -P, --name-replace=s Replace characters removed by --name-remove with the\n" " characters specified. If this string is shorter than the\n" " --name-remove list or is not specified, the extra\n" " characters are just removed.\n" " Default settings for the above two arguments are platform\n" " specific.\n")); fprintf(stdout, _( " --utf8 Tells oggenc that the command line parameters date, title,\n" " album, artist, genre, and comment are already in UTF-8.\n" " On Windows, this switch applies to file names too.\n" " -c, --comment=c Add the given string as an extra comment. This may be\n" " used multiple times. The argument should be in the\n" " format \"tag=value\".\n" " -d, --date Date for track (usually date of performance)\n")); fprintf(stdout, _( " -N, --tracknum Track number for this track\n" " -t, --title Title for this track\n" " -l, --album Name of album\n" " -a, --artist Name of artist\n" " -G, --genre Genre of track\n")); fprintf(stdout, _( " -L, --lyrics Include lyrics from given file (.srt or .lrc format)\n" " -Y, --lyrics-language Sets the language for the lyrics\n")); fprintf(stdout, _( " If multiple input files are given, then multiple\n" " instances of the previous eight arguments will be used,\n" " in the order they are given. If fewer titles are\n" " specified than files, OggEnc will print a warning, and\n" " reuse the final one for the remaining files. If fewer\n" " track numbers are given, the remaining files will be\n" " unnumbered. If fewer lyrics are given, the remaining\n" " files will not have lyrics added. For the others, the\n" " final tag will be reused for all others without warning\n" " (so you can specify a date once, for example, and have\n" " it used for all the files)\n" "\n")); fprintf(stdout, _( "INPUT FILES:\n" " OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or AIFF/C\n" " files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. Files\n" " may be mono or stereo (or more channels) and any sample rate.\n" " Alternatively, the --raw option may be used to use a raw PCM data file, which\n" " must be 16 bit stereo little-endian PCM ('headerless Wave'), unless additional\n" " parameters for raw mode are specified.\n" " You can specify taking the file from stdin by using - as the input filename.\n" " In this mode, output is to stdout unless an output filename is specified\n" " with -o\n" " Lyrics files may be in SubRip (.srt) or LRC (.lrc) format\n" "\n")); } static int strncpy_filtered(char *dst, char *src, int len, char *remove_list, char *replace_list) { char *hit, *drop_margin; int used=0; if(remove_list == NULL || *remove_list == 0) { strncpy(dst, src, len-1); dst[len-1] = 0; return strlen(dst); } drop_margin = remove_list + (replace_list == NULL?0:strlen(replace_list)); while(*src && used < len-1) { if((hit = strchr(remove_list, *src)) != NULL) { if(hit < drop_margin) { *dst++ = replace_list[hit - remove_list]; used++; } } else { *dst++ = *src; used++; } src++; } *dst = 0; return used; } static char *generate_name_string(char *format, char *remove_list, char *replace_list, char *artist, char *title, char *album, char *track, char *date, char *genre) { char *buffer; char next; char *string; int used=0; int buflen; buffer = calloc(CHUNK+1,1); buflen = CHUNK; while(*format && used < buflen) { next = *format++; if(next == '%') { switch(*format++) { case '%': *(buffer+(used++)) = '%'; break; case 'a': string = artist?artist:_("(none)"); used += strncpy_filtered(buffer+used, string, buflen-used, remove_list, replace_list); break; case 'd': string = date?date:_("(none)"); used += strncpy_filtered(buffer+used, string, buflen-used, remove_list, replace_list); break; case 'g': string = genre?genre:_("(none)"); used += strncpy_filtered(buffer+used, string, buflen-used, remove_list, replace_list); break; case 't': string = title?title:_("(none)"); used += strncpy_filtered(buffer+used, string, buflen-used, remove_list, replace_list); break; case 'l': string = album?album:_("(none)"); used += strncpy_filtered(buffer+used, string, buflen-used, remove_list, replace_list); break; case 'n': string = track?track:_("(none)"); used += strncpy_filtered(buffer+used, string, buflen-used, remove_list, replace_list); break; default: fprintf(stderr, _("WARNING: Ignoring illegal escape character '%c' in name format\n"), *(format - 1)); break; } } else *(buffer + (used++)) = next; } return buffer; } static void parse_options(int argc, char **argv, oe_options *opt) { int ret; int option_index = 1; while((ret = getopt_long(argc, argv, "a:b:B:c:C:d:G:hkl:L:m:M:n:N:o:P:q:QrR:s:t:VX:Y:", long_options, &option_index)) != -1) { switch(ret) { case 0: if(!strcmp(long_options[option_index].name, "skeleton")) { opt->with_skeleton = 1; } else if(!strcmp(long_options[option_index].name, "managed")) { if(!opt->managed){ if(!opt->quiet) fprintf(stderr, _("Enabling bitrate management engine\n")); opt->managed = 1; } } else if(!strcmp(long_options[option_index].name, "raw-endianness")) { if (opt->rawmode != 1) { opt->rawmode = 1; fprintf(stderr, _("WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n")); } if(sscanf(optarg, "%d", &opt->raw_endianness) != 1) { fprintf(stderr, _("WARNING: Couldn't read endianness argument \"%s\"\n"), optarg); opt->raw_endianness = 0; } } else if(!strcmp(long_options[option_index].name, "resample")) { if(sscanf(optarg, "%d", &opt->resamplefreq) != 1) { fprintf(stderr, _("WARNING: Couldn't read resampling frequency \"%s\"\n"), optarg); opt->resamplefreq = 0; } if(opt->resamplefreq < 100) { /* User probably specified it in kHz accidently */ fprintf(stderr, _("WARNING: Resample rate specified as %d Hz. Did you mean %d Hz?\n"), opt->resamplefreq, opt->resamplefreq*1000); } } else if(!strcmp(long_options[option_index].name, "downmix")) { opt->downmix = 1; } else if(!strcmp(long_options[option_index].name, "scale")) { opt->scale = atof(optarg); if(sscanf(optarg, "%f", &opt->scale) != 1) { opt->scale = 0; fprintf(stderr, _("WARNING: Couldn't parse scaling factor \"%s\"\n"), optarg); } } else if(!strcmp(long_options[option_index].name, "utf8")) { opt->isutf8 = 1; } else if(!strcmp(long_options[option_index].name, "advanced-encode-option")) { char *arg = strdup(optarg); char *val; if(strcmp("disable_coupling",arg)){ val = strchr(arg, '='); if(val == NULL) { fprintf(stderr, _("No value for advanced encoder option found\n")); continue; } else { *val++=0; } }else { val=0; } opt->advopt = realloc(opt->advopt, (++opt->advopt_count)*sizeof(adv_opt)); opt->advopt[opt->advopt_count - 1].arg = arg; opt->advopt[opt->advopt_count - 1].val = val; } else if(!strcmp(long_options[option_index].name, "discard-comments")) { opt->copy_comments = 0; } else if(!strcmp(long_options[option_index].name, "ignorelength")) { opt->ignorelength = 1; } else { fprintf(stderr, _("Internal error parsing command line options\n")); exit(1); } break; case 'a': opt->artist = realloc(opt->artist, (++opt->artist_count)*sizeof(char *)); opt->artist[opt->artist_count - 1] = strdup(optarg); break; case 'c': if(strchr(optarg, '=') == NULL) { fprintf(stderr, _("WARNING: Illegal comment used (\"%s\"), ignoring.\n"), optarg); break; } opt->comments = realloc(opt->comments, (++opt->comment_count)*sizeof(char *)); opt->comments[opt->comment_count - 1] = strdup(optarg); break; case 'd': opt->dates = realloc(opt->dates, (++opt->date_count)*sizeof(char *)); opt->dates[opt->date_count - 1] = strdup(optarg); break; case 'G': opt->genre = realloc(opt->genre, (++opt->genre_count)*sizeof(char *)); opt->genre[opt->genre_count - 1] = strdup(optarg); break; case 'h': usage(); exit(0); break; case 'l': opt->album = realloc(opt->album, (++opt->album_count)*sizeof(char *)); opt->album[opt->album_count - 1] = strdup(optarg); break; case 's': /* Would just use atoi(), but that doesn't deal with unsigned * ints. Damn */ if(sscanf(optarg, "%u", &opt->serial) != 1) { opt->serial = 0; /* Failed, so just set to zero */ } else { opt->fixedserial = 1; } break; case 't': opt->title = realloc(opt->title, (++opt->title_count)*sizeof(char *)); opt->title[opt->title_count - 1] = strdup(optarg); break; case 'b': if(sscanf(optarg, "%d", &opt->nominal_bitrate) != 1) { fprintf(stderr, _("WARNING: nominal bitrate \"%s\" not recognised\n"), optarg); opt->nominal_bitrate = -1; } break; case 'm': if(sscanf(optarg, "%d", &opt->min_bitrate) != 1) { fprintf(stderr, _("WARNING: minimum bitrate \"%s\" not recognised\n"), optarg); opt->min_bitrate = -1; } if(!opt->managed){ if(!opt->quiet) { fprintf(stderr, _("Enabling bitrate management engine\n")); } opt->managed = 1; } break; case 'M': if(sscanf(optarg, "%d", &opt->max_bitrate) != 1) { fprintf(stderr, _("WARNING: maximum bitrate \"%s\" not recognised\n"), optarg); opt->max_bitrate = -1; } if(!opt->managed){ if(!opt->quiet) { fprintf(stderr, _("Enabling bitrate management engine\n")); } opt->managed = 1; } break; case 'q': if(sscanf(optarg, "%f", &opt->quality) != 1) { fprintf(stderr, _("Quality option \"%s\" not recognised, ignoring\n"), optarg); break; } opt->quality_set=1; if(opt->quality > 10.0f) { opt->quality = 10.0f; fprintf(stderr, _("WARNING: quality setting too high, setting to maximum quality.\n")); } opt->quality *= 0.1; break; case 'n': if(opt->namefmt) { fprintf(stderr, _("WARNING: Multiple name formats specified, using final\n")); free(opt->namefmt); } opt->namefmt = strdup(optarg); break; case 'X': if(opt->namefmt_remove && strcmp(opt->namefmt_remove, DEFAULT_NAMEFMT_REMOVE)) { fprintf(stderr, _("WARNING: Multiple name format filters specified, using final\n")); free(opt->namefmt_remove); } opt->namefmt_remove = strdup(optarg); break; case 'P': if(opt->namefmt_replace && strcmp(opt->namefmt_replace, DEFAULT_NAMEFMT_REPLACE)) { fprintf(stderr, _("WARNING: Multiple name format filter replacements specified, using final\n")); free(opt->namefmt_replace); } opt->namefmt_replace = strdup(optarg); break; case 'o': if(opt->outfile) { fprintf(stderr, _("WARNING: Multiple output files specified, suggest using -n\n")); free(opt->outfile); } opt->outfile = strdup(optarg); break; case 'Q': opt->quiet = 1; break; case 'r': opt->rawmode = 1; break; case 'V': fprintf(stdout, _("oggenc from %s %s\n"), PACKAGE, VERSION); exit(0); break; case 'B': if (opt->rawmode != 1) { opt->rawmode = 1; fprintf(stderr, _("WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n")); } if(sscanf(optarg, "%u", &opt->raw_samplesize) != 1) { opt->raw_samplesize = 16; /* Failed, so just set to 16 */ fprintf(stderr, _("WARNING: Invalid bits/sample specified, assuming 16.\n")); } if((opt->raw_samplesize != 8) && (opt->raw_samplesize != 16)) { fprintf(stderr, _("WARNING: Invalid bits/sample specified, assuming 16.\n")); } break; case 'C': if (opt->rawmode != 1) { opt->rawmode = 1; fprintf(stderr, _("WARNING: Raw channel count specified for non-raw data. Assuming input is raw.\n")); } if(sscanf(optarg, "%u", &opt->raw_channels) != 1) { opt->raw_channels = 2; /* Failed, so just set to 2 */ fprintf(stderr, _("WARNING: Invalid channel count specified, assuming 2.\n")); } break; case 'N': opt->tracknum = realloc(opt->tracknum, (++opt->track_count)*sizeof(char *)); opt->tracknum[opt->track_count - 1] = strdup(optarg); break; case 'R': if (opt->rawmode != 1) { opt->rawmode = 1; fprintf(stderr, _("WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n")); } if(sscanf(optarg, "%u", &opt->raw_samplerate) != 1) { opt->raw_samplerate = 44100; /* Failed, so just set to 44100 */ fprintf(stderr, _("WARNING: Invalid sample rate specified, assuming 44100.\n")); } break; case 'k': opt->with_skeleton = 1; break; case 'L': #ifdef HAVE_KATE opt->lyrics = realloc(opt->lyrics, (++opt->lyrics_count)*sizeof(char *)); opt->lyrics[opt->lyrics_count - 1] = strdup(optarg); opt->with_skeleton = 1; #else fprintf(stderr, _("WARNING: Kate support not compiled in; lyrics will not be included.\n")); #endif break; case 'Y': #ifdef HAVE_KATE opt->lyrics_language = realloc(opt->lyrics_language, (++opt->lyrics_language_count)*sizeof(char *)); opt->lyrics_language[opt->lyrics_language_count - 1] = strdup(optarg); if (strlen(opt->lyrics_language[opt->lyrics_language_count - 1]) > 15) { fprintf(stderr, _("WARNING: language can not be longer than 15 characters; truncated.\n")); opt->lyrics_language[opt->lyrics_language_count - 1][15] = 0; } #else fprintf(stderr, _("WARNING: Kate support not compiled in; lyrics will not be included.\n")); #endif break; case '?': fprintf(stderr, _("WARNING: Unknown option specified, ignoring->\n")); break; default: usage(); exit(0); } } } static void add_tag(vorbis_comment *vc, oe_options *opt,char *name, char *value) { char *utf8; if (opt->isutf8) { if (!utf8_validate(value)) { fprintf(stderr, _("'%s' is not valid UTF-8, cannot add\n"), name?name:"comment"); } else { if(name == NULL) { vorbis_comment_add(vc, value); } else { vorbis_comment_add_tag(vc, name, value); } } } else if(utf8_encode(value, &utf8) >= 0) { if(name == NULL) { vorbis_comment_add(vc, utf8); } else { vorbis_comment_add_tag(vc, name, utf8); } free(utf8); } else { fprintf(stderr, _("Couldn't convert comment to UTF-8, cannot add\n")); } } static void build_comments(vorbis_comment *vc, oe_options *opt, int filenum, char **artist, char **album, char **title, char **tracknum, char **date, char **genre) { int i; vorbis_comment_init(vc); for(i = 0; i < opt->comment_count; i++) { add_tag(vc, opt, NULL, opt->comments[i]); } if(opt->title_count) { if(filenum >= opt->title_count) { if(!opt->quiet) { fprintf(stderr, _("WARNING: Insufficient titles specified, defaulting to final title.\n")); } i = opt->title_count-1; } else { i = filenum; } *title = opt->title[i]; add_tag(vc, opt, "title", opt->title[i]); } if(opt->artist_count) { if(filenum >= opt->artist_count) { i = opt->artist_count-1; } else { i = filenum; } *artist = opt->artist[i]; add_tag(vc, opt, "artist", opt->artist[i]); } if(opt->genre_count) { if(filenum >= opt->genre_count) { i = opt->genre_count-1; } else { i = filenum; } *genre = opt->genre[i]; add_tag(vc, opt, "genre", opt->genre[i]); } if(opt->date_count) { if(filenum >= opt->date_count) { i = opt->date_count-1; } else { i = filenum; } *date = opt->dates[i]; add_tag(vc, opt, "date", opt->dates[i]); } if(opt->album_count) { if(filenum >= opt->album_count) { i = opt->album_count-1; } else { i = filenum; } *album = opt->album[i]; add_tag(vc, opt, "album", opt->album[i]); } if(filenum < opt->track_count) { i = filenum; *tracknum = opt->tracknum[i]; add_tag(vc, opt, "tracknumber", opt->tracknum[i]); } } vorbis-tools-1.4.2/oggenc/lyrics.h0000644000175000017500000000106313767140576014041 00000000000000#ifndef __LYRICS_H #define __LYRICS_H #include #ifdef HAVE_KATE #include #endif typedef struct oe_lyrics_item { char *text; size_t len; double t0; double t1; #ifdef HAVE_KATE kate_motion *km; #endif } oe_lyrics_item; typedef struct oe_lyrics { size_t count; oe_lyrics_item *lyrics; int karaoke; } oe_lyrics; extern oe_lyrics *load_lyrics(const char *filename); extern void free_lyrics(oe_lyrics *lyrics); extern const oe_lyrics_item *get_lyrics(const oe_lyrics *lyrics, double t, size_t *idx); #endif vorbis-tools-1.4.2/oggenc/easyflac.c0000644000175000017500000003111513767140576014317 00000000000000/* EasyFLAC - A thin decoding wrapper around libFLAC and libOggFLAC to * make your code less ugly. See easyflac.h for explanation. * * Copyright 2003 - Stan Seibert * This code is licensed under a BSD style license: * * 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. * * - Neither the name of the Xiph.org Foundation nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * 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 #endif #include #if !defined(FLAC_API_VERSION_CURRENT) || (FLAC_API_VERSION_CURRENT < 8) #include #include "easyflac.h" FLAC__bool EasyFLAC__is_oggflac(EasyFLAC__StreamDecoder *decoder) { return decoder->is_oggflac; } EasyFLAC__StreamDecoder *EasyFLAC__stream_decoder_new(FLAC__bool is_oggflac) { EasyFLAC__StreamDecoder *decoder = malloc(sizeof(EasyFLAC__StreamDecoder)); if (decoder != NULL) { decoder->is_oggflac = is_oggflac; if (decoder->is_oggflac) decoder->oggflac = OggFLAC__stream_decoder_new(); else decoder->flac = FLAC__stream_decoder_new(); if ( (decoder->is_oggflac && decoder->oggflac == NULL) ||(!decoder->is_oggflac && decoder->flac == NULL) ) { free(decoder); decoder = NULL; } } return decoder; } void EasyFLAC__stream_decoder_delete(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) OggFLAC__stream_decoder_delete(decoder->oggflac); else FLAC__stream_decoder_delete(decoder->flac); free(decoder); } /* Wrappers around the callbacks for OggFLAC */ FLAC__StreamDecoderReadStatus oggflac_read_callback(const OggFLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; return (*e_decoder->callbacks.read)(e_decoder, buffer, bytes, e_decoder->callbacks.client_data); } FLAC__StreamDecoderWriteStatus oggflac_write_callback(const OggFLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; return (*(e_decoder->callbacks.write))(e_decoder, frame, buffer, e_decoder->callbacks.client_data); } void oggflac_metadata_callback(const OggFLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; (*e_decoder->callbacks.metadata)(e_decoder, metadata, e_decoder->callbacks.client_data); } void oggflac_error_callback(const OggFLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; (*e_decoder->callbacks.error)(e_decoder, status, e_decoder->callbacks.client_data); } /* Wrappers around the callbacks for FLAC */ FLAC__StreamDecoderReadStatus flac_read_callback(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; return (*e_decoder->callbacks.read)(e_decoder, buffer, bytes, e_decoder->callbacks.client_data); } FLAC__StreamDecoderWriteStatus flac_write_callback(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; return (*e_decoder->callbacks.write)(e_decoder, frame, buffer, e_decoder->callbacks.client_data); } void flac_metadata_callback(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; (*e_decoder->callbacks.metadata)(e_decoder, metadata, e_decoder->callbacks.client_data); } void flac_error_callback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; (*e_decoder->callbacks.error)(e_decoder, status, e_decoder->callbacks.client_data); } FLAC__bool EasyFLAC__set_read_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderReadCallback value) { decoder->callbacks.read = value; if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_read_callback(decoder->oggflac, &oggflac_read_callback); else return FLAC__stream_decoder_set_read_callback(decoder->flac, &flac_read_callback); } FLAC__bool EasyFLAC__set_write_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderWriteCallback value) { decoder->callbacks.write = value; if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_write_callback(decoder->oggflac, &oggflac_write_callback); else return FLAC__stream_decoder_set_write_callback(decoder->flac, &flac_write_callback); } FLAC__bool EasyFLAC__set_metadata_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderMetadataCallback value) { decoder->callbacks.metadata = value; if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_callback(decoder->oggflac, &oggflac_metadata_callback); else return FLAC__stream_decoder_set_metadata_callback(decoder->flac, &flac_metadata_callback); } FLAC__bool EasyFLAC__set_error_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderErrorCallback value) { decoder->callbacks.error = value; if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_error_callback(decoder->oggflac, &oggflac_error_callback); else return FLAC__stream_decoder_set_error_callback(decoder->flac, &flac_error_callback); } FLAC__bool EasyFLAC__set_client_data(EasyFLAC__StreamDecoder *decoder, void *value) { decoder->callbacks.client_data = value; if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_client_data(decoder->oggflac, decoder); else return FLAC__stream_decoder_set_client_data(decoder->flac, decoder); } FLAC__bool EasyFLAC__set_metadata_respond(EasyFLAC__StreamDecoder *decoder, FLAC__MetadataType type) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_respond(decoder->oggflac, type); else return FLAC__stream_decoder_set_metadata_respond(decoder->flac, type); } FLAC__bool EasyFLAC__set_metadata_respond_application(EasyFLAC__StreamDecoder *decoder, const FLAC__byte id[4]) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_respond_application(decoder->oggflac, id); else return FLAC__stream_decoder_set_metadata_respond_application(decoder->flac, id); } FLAC__bool EasyFLAC__set_metadata_respond_all(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_respond_all(decoder->oggflac); else return FLAC__stream_decoder_set_metadata_respond_all(decoder->flac); } FLAC__bool EasyFLAC__set_metadata_ignore(EasyFLAC__StreamDecoder *decoder, FLAC__MetadataType type) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_ignore(decoder->oggflac, type); else return FLAC__stream_decoder_set_metadata_ignore(decoder->flac, type); } FLAC__bool EasyFLAC__set_metadata_ignore_application(EasyFLAC__StreamDecoder *decoder, const FLAC__byte id[4]) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_ignore_application(decoder->oggflac, id); else return FLAC__stream_decoder_set_metadata_ignore_application(decoder->flac, id); } FLAC__bool EasyFLAC__set_metadata_ignore_all(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_ignore_all(decoder->oggflac); else return FLAC__stream_decoder_set_metadata_ignore_all(decoder->flac); } FLAC__StreamDecoderState EasyFLAC__get_state(const EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_get_FLAC_stream_decoder_state(decoder->oggflac); else return FLAC__stream_decoder_get_state(decoder->flac); } unsigned EasyFLAC__get_channels(const EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_get_channels(decoder->oggflac); else return FLAC__stream_decoder_get_channels(decoder->flac); } FLAC__ChannelAssignment EasyFLAC__get_channel_assignment(const EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_get_channel_assignment(decoder->oggflac); else return FLAC__stream_decoder_get_channel_assignment(decoder->flac); } unsigned EasyFLAC__get_bits_per_sample(const EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_get_bits_per_sample(decoder->oggflac); else return FLAC__stream_decoder_get_bits_per_sample(decoder->flac); } unsigned EasyFLAC__get_sample_rate(const EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_get_sample_rate(decoder->oggflac); else return FLAC__stream_decoder_get_sample_rate(decoder->flac); } unsigned EasyFLAC__get_blocksize(const EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_get_blocksize(decoder->oggflac); else return FLAC__stream_decoder_get_blocksize(decoder->flac); } FLAC__StreamDecoderState EasyFLAC__init(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) { OggFLAC__stream_decoder_init(decoder->oggflac); return OggFLAC__stream_decoder_get_FLAC_stream_decoder_state(decoder->oggflac); } else return FLAC__stream_decoder_init(decoder->flac); } void EasyFLAC__finish(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) OggFLAC__stream_decoder_finish(decoder->oggflac); else FLAC__stream_decoder_finish(decoder->flac); } FLAC__bool EasyFLAC__flush(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_flush(decoder->oggflac); else return FLAC__stream_decoder_flush(decoder->flac); } FLAC__bool EasyFLAC__reset(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_reset(decoder->oggflac); else return FLAC__stream_decoder_reset(decoder->flac); } FLAC__bool EasyFLAC__process_single(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_process_single(decoder->oggflac); else return FLAC__stream_decoder_process_single(decoder->flac); } FLAC__bool EasyFLAC__process_until_end_of_metadata(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_process_until_end_of_metadata(decoder->oggflac); else return FLAC__stream_decoder_process_until_end_of_metadata(decoder->flac); } FLAC__bool EasyFLAC__process_until_end_of_stream(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_process_until_end_of_stream(decoder->oggflac); else return FLAC__stream_decoder_process_until_end_of_stream(decoder->flac); } #endif vorbis-tools-1.4.2/oggenc/man/0000755000175000017500000000000014002243561013173 500000000000000vorbis-tools-1.4.2/oggenc/man/Makefile.am0000644000175000017500000000016613767140576015175 00000000000000## Process this file with automake to produce Makefile.in mans = oggenc.1 mandir = @MANDIR@ dist_man_MANS = $(mans) vorbis-tools-1.4.2/oggenc/man/Makefile.in0000644000175000017500000004350514002242753015171 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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 = oggenc/man ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \ $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intl.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/size_max.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ $(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.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_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" NROFF = nroff MANS = $(dist_man_MANS) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AO_CFLAGS = @AO_CFLAGS@ AO_LIBS = @AO_LIBS@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURL_CFLAGS = @CURL_CFLAGS@ CURL_LIBS = @CURL_LIBS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG = @DEBUG@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLAC_LIBS = @FLAC_LIBS@ GENCAT = @GENCAT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIBC2 = @GLIBC2@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WPRINTF = @HAVE_WPRINTF@ I18N_CFLAGS = @I18N_CFLAGS@ I18N_LIBS = @I18N_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KATE_CFLAGS = @KATE_CFLAGS@ KATE_LIBS = @KATE_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBPTH = @LIBPTH@ LIBPTH_PREFIX = @LIBPTH_PREFIX@ LIBS = @LIBS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBC = @LTLIBC@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBPTH = @LTLIBPTH@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ OPT_SUBDIRS = @OPT_SUBDIRS@ OPUSFILE_CFLAGS = @OPUSFILE_CFLAGS@ OPUSFILE_LIBS = @OPUSFILE_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POSUB = @POSUB@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PROFILE = @PROFILE@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHARE_CFLAGS = @SHARE_CFLAGS@ SHARE_LIBS = @SHARE_LIBS@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ SPEEX_LIBS = @SPEEX_LIBS@ STRIP = @STRIP@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISENC_LIBS = @VORBISENC_LIBS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ WINDRES = @WINDRES@ WOE32 = @WOE32@ WOE32DLL = @WOE32DLL@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ 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@ mans = oggenc.1 dist_man_MANS = $(mans) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu oggenc/man/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu oggenc/man/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(dist_man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(dist_man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) installdirs: for dir in "$(DESTDIR)$(man1dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-man1 install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags-am uninstall uninstall-am uninstall-man \ uninstall-man1 .PRECIOUS: Makefile # 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: vorbis-tools-1.4.2/oggenc/man/oggenc.10000755000175000017500000003312213770075374014463 00000000000000.\" Process this file with .\" groff -man -Tascii oggenc.1 .\" .TH oggenc 1 "2008 October 05" "Xiph.Org Foundation" "Vorbis Tools" .SH NAME oggenc \- encode audio into the Ogg Vorbis format .SH SYNOPSIS .B oggenc [ .B -hrQ ] [ .B -B .I raw input sample size ] [ .B -C .I raw input number of channels ] [ .B -R .I raw input samplerate ] [ .B -b .I nominal bitrate ] [ .B -m .I minimum bitrate ] [ .B -M .I maximum bitrate ] [ .B -q .I quality ] [ .B --resample .I frequency ] [ .B --downmix ] [ .B -s .I serial ] [ .B -o .I output_file ] [ .B -n .I pattern ] [ .B -c .I extra_comment ] [ .B -a .I artist ] [ .B -t .I title ] [ .B -l .I album ] [ .B -G .I genre ] [ .B -L .I lyrics file ] [ .B -Y .I language-string ] .I input_files \fR... .SH DESCRIPTION .B oggenc reads audio data in either raw, Wave, or AIFF format and encodes it into an Ogg Vorbis stream. .B oggenc may also read audio data from FLAC and Ogg FLAC files depending upon compile-time options. If the input file "-" is specified, audio data is read from .I stdin and the Vorbis stream is written to .I stdout unless the .B -o option is used to redirect the output. By default, disk files are output to Ogg Vorbis files of the same name, with the extension changed to ".ogg" or ".oga". This naming convention can be overridden by the .B -o option (in the case of one file) or the .B -n option (in the case of several files). Finally, if none of these are available, the output filename will be the input filename with the extension (that part after the final dot) replaced with ogg, so file.wav will become file.ogg. .br Optionally, lyrics may be embedded in the Ogg file, if Kate support was compiled in. .br Note that some old players mail fail to play streams with more than a single Vorbis stream (the so called "Vorbis I" simple profile). .SH OPTIONS .IP "-h, --help" Show command help. .IP "-V, --version" Show the version number. .IP "-r, --raw" Assume input data is raw little-endian audio data with no header information. If other options are not specified, defaults to 44.1kHz stereo 16 bit. See next three options for how to change this. .IP "-B n, --raw-bits=n" Sets raw mode input sample size in bits. Default is 16. .IP "-C n, --raw-chan=n" Sets raw mode input number of channels. Default is 2. .IP "-R n, --raw-rate=n" Sets raw mode input samplerate. Default is 44100. .IP "--raw-endianness n Sets raw mode endianness to big endian (1) or little endian (0). Default is little endian. .IP "--utf8 \ \ \ \ \ \ \ " Informs oggenc that the Vorbis Comments are already encoded as UTF-8. Useful in situations where the shell is using some other encoding. .IP "-k, --skeleton" Add a Skeleton bitstream. Important if the output Ogg is intended to carry multiplexed or chained streams. Output file uses .oga as file extension. .IP "--ignorelength" Support for Wave files over 4 GB and stdin data streams. .IP "-Q, --quiet" Quiet mode. No messages are displayed. .IP "-b n, --bitrate=n" Sets target bitrate to n (in kb/s). The encoder will attempt to encode at approximately this bitrate. By default, this remains a VBR encoding. See the --managed option to force a managed bitrate encoding at the selected bitrate. .IP "-m n, --min-bitrate=n" Sets minimum bitrate to n (in kb/s). Enables bitrate management mode (see --managed). .IP "-M n, --max-bitrate=n" Sets maximum bitrate to n (in kb/s). Enables bitrate management mode (see --managed). .IP "--managed" Set bitrate management mode. This turns off the normal VBR encoding, but allows hard or soft bitrate constraints to be enforced by the encoder. This mode is much slower, and may also be lower quality. It is primarily useful for creating files for streaming. .IP "-q n, --quality=n" Sets encoding quality to n, between -1 (very low) and 10 (very high). This is the default mode of operation, with a default quality level of 3. Fractional quality levels such as 2.5 are permitted. Using this option allows the encoder to select an appropriate bitrate based on your desired quality level. .IP "--resample n" Resample input to the given sample rate (in Hz) before encoding. Primarily useful for downsampling for lower-bitrate encoding. .IP "--downmix" Downmix input from stereo to mono (has no effect on non-stereo streams). Useful for lower-bitrate encoding. .IP "--advanced-encode-option optionname=value" Sets an advanced option. See the Advanced Options section for details. .IP "-s, --serial" Forces a specific serial number in the output stream. This is primarily useful for testing. .IP "--discard-comments" Prevents comments in FLAC and Ogg FLAC files from being copied to the output Ogg Vorbis file. .IP "-o output_file, --output=output_file" Write the Ogg Vorbis stream to .I output_file (only valid if a single input file is specified). .IP "-n pattern, --names=pattern" Produce filenames as this string, with %g, %a, %l, %n, %t, %d replaced by genre, artist, album, track number, title, and date, respectively (see below for specifying these). Also, %% gives a literal %. .IP "-X, --name-remove=s" Remove the specified characters from parameters to the -n format string. This is useful to ensure legal filenames are generated. .IP "-P, --name-replace=s" Replace characters removed by --name-remove with the characters specified. If this string is shorter than the --name-remove list, or is not specified, the extra characters are just removed. The default settings for this option, and the -X option above, are platform specific (and chosen to ensure legal filenames are generated for each platform). .IP "-c comment, --comment comment" Add the string .I comment as an extra comment. This may be used multiple times, and all instances will be added to each of the input files specified. The argument should be in the form "tag=value". .IP "-a artist, --artist artist" Set the artist comment field in the comments to .I artist. .IP "-G genre, --genre genre" Set the genre comment field in the comments to .I genre. .IP "-d date, --date date" Sets the date comment field to the given value. This should be the date of recording. .IP "-N n, --tracknum n" Sets the track number comment field to the given value. .IP "-t title, --title title" Set the track title comment field to .I title. .IP "-l album, --album album" Set the album comment field to .I album. .IP "-L filename, --lyrics filename" Loads lyrics from .I filename and encodes them into a Kate stream multiplexed with the Vorbis stream. Lyrics may be in LRC or SRT format, and should be encoded in UTF-8 or plain ASCII. Other encodings may be converted using tools such as iconv or recode. Alternatively, the same system as for comments will be used for conversion between encodings. So called "enhanced LRC" files are supported, and a simple karaoke style change will be saved with the lyrics. For more complex karaoke setups, .B kateenc(1) should be used instead. When embedding lyrics, the default output file extension is ".oga". Note that adding lyrics to a stream will automatically enable Skeleton (see the \fB-k\fR option for more information about Skeleton). .IP "-Y language-string, --lyrics-language language-string" Sets the language for the corresponding lyrics file to .I language-string. This should be an ISO 639-1 language code (eg, "en"), or a RFC 3066 language tag (eg, "en_US"), .B not a free form language name. Players will typically recognize this standard tag and display the language name in your own language. Note that the maximum length of this tag is 15 characters. .PP Note that the \fB-a\fR, \fB-t\fR, \fB-l\fR, \fB-L\fR, and \fB-Y\fR options can be given multiple times. They will be applied, one to each file, in the order given. If there are fewer album, title, or artist comments given than there are input files, .B oggenc will reuse the final one for the remaining files, and issue a warning in the case of repeated titles. .SH "ADVANCED ENCODER OPTIONS" Oggenc allows you to set a number of advanced encoder options using the .B --advanced-encode-option option. These are intended for very advanced users only, and should be approached with caution. They may significantly degrade audio quality if misused. Not all these options are currently documented. .IP "lowpass_frequency=N" Set the lowpass frequency to N kHz. .IP "impulse_noisetune=N" Set a noise floor bias N (range from -15. to 0.) for impulse blocks. A negative bias instructs the encoder to pay special attention to the crispness of transients in the encoded audio. The tradeoff for better transient response is a higher bitrate. .IP "bitrate_hard_max=N" Set the allowed bitrate maximum for the encoded file to N kilobits per second. This bitrate may be exceeded only when there is spare bits in the bit reservoir; if the bit reservoir is exhausted, frames will be held under this value. This setting must be used with --managed to have any effect. .IP "bitrate_hard_min=N" Set the allowed bitrate minimum for the encoded file to N kilobits per second. This bitrate may be underrun only when the bit reservoir is not full; if the bit reservoir is full, frames will be held over this value; if it impossible to add bits constructively, the frame will be padded with zeroes. This setting must be used with --managed to have any effect. .IP "bit_reservoir_bits=N" Set the total size of the bit reservoir to N bits; the default size of the reservoir is equal to the nominal number of bits coded in one second (eg, a nominal 128kbps file will have a bit reservoir of 128000 bits by default). This option must be used with --managed to have any effect and affects only minimum and maximum bitrate management. Average bitrate encoding with no hard bitrate boundaries does not use a bit reservoir. .IP "bit_reservoir_bias=N" Set the behavior bias of the bit reservoir (range: 0. to 1.). When set closer to 0, the bitrate manager attempts to hoard bits for future use in sudden bitrate increases (biasing toward better transient reproduction). When set closer to 1, the bitrate manager neglects transients in favor using bits for homogenous passages. In the middle, the manager uses a balanced approach. The default setting is \.2, thus biasing slightly toward transient reproduction. .IP "bitrate_average=N" Set the average bitrate for the file to N kilobits per second. When used without hard minimum or maximum limits, this option selects reservoirless Average Bit Rate encoding, where the encoder attempts to perfectly track a desired bitrate, but imposes no strict momentary fluctuation limits. When used along with a minimum or maximum limit, the average bitrate still sets the average overall bitrate of the file, but will work within the bounds set by the bit reservoir. When the min, max and average bitrates are identical, oggenc produces Constant Bit Rate Vorbis data. .IP "bitrate_average_damping=N" Set the reaction time for the average bitrate tracker to N seconds. This number represents the fastest reaction the bitrate tracker is allowed to make to hold the bitrate to the selected average. The faster the reaction time, the less momentary fluctuation in the bitrate but (generally) the lower quality the audio output. The slower the reaction time, the larger the ABR fluctuations, but (generally) the better the audio. When used along with min or max bitrate limits, this option directly affects how deep and how quickly the encoder will dip into its bit reservoir; the higher the number, the more demand on the bit reservoir. The setting must be greater than zero and the useful range is approximately \.05 to 10. The default is \.75 seconds. .IP "disable_coupling" Disable use of channel coupling for multichannel encoding. At present, the encoder will normally use channel coupling to further increase compression with stereo and 5.1 inputs. This option forces the encoder to encode each channel fully independently using neither lossy nor lossless coupling. .SH EXAMPLES Simplest version. Produces output as somefile.ogg: .RS oggenc somefile.wav .RE .PP Specifying an output filename: .RS oggenc somefile.wav -o out.ogg .RE .PP Specifying a high-quality encoding averaging 256 kbps (but still VBR): .RS oggenc infile.wav -b 256 -o out.ogg .RE .PP Specifying a maximum and average bitrate, and enforcing these: .RS oggenc infile.wav --managed -b 128 -M 160 -o out.ogg .RE .PP Specifying quality rather than bitrate (to a very high quality mode): .RS oggenc infile.wav -q 6 -o out.ogg .RE .PP Downsampling and downmixing to 11 kHz mono before encoding: .RS oggenc --resample 11025 --downmix infile.wav -q 1 -o out.ogg .RE .PP Adding some info about the track: .RS oggenc somefile.wav -t "The track title" -a "artist who performed this" -l "name of album" -c "OTHERFIELD=contents of some other field not explicitly supported" .RE .PP Adding embedded lyrics: .RS oggenc somefile.wav --lyrics lyrics.lrc --lyrics-language en -o out.oga .RE .PP This encodes the three files, each with the same artist/album tag, but with different title tags on each one. The string given as an argument to -n is used to generate filenames, as shown in the section above. This example gives filenames like "The Tea Party - Touch.ogg": .RS oggenc -b 192 -a "The Tea Party" -l "Triptych" -t "Touch" track01.wav -t "Underground" track02.wav -t "Great Big Lie" track03.wav -n "%a - %t.ogg" .RE .PP Encoding from stdin, to stdout (you can also use the various tagging options, like -t, -a, -l, etc.): .RS oggenc - .RE .PP .SH AUTHORS .TP Program Author: .br Michael Smith .TP Manpage Author: .br Stan Seibert .SH BUGS Reading type 3 Wave files (floating point samples) probably doesn't work other than on Intel (or other 32 bit, little endian machines). .SH "SEE ALSO" .PP \fBvorbiscomment\fR(1), \fBogg123\fR(1), \fBoggdec\fR(1), \fBflac\fR(1), \fBspeexenc\fR(1), \fBffmpeg2theora\fR(1), \fBkateenc\fR(1) vorbis-tools-1.4.2/oggenc/flac.h0000644000175000017500000000244213767140576013443 00000000000000 #ifndef __FLAC_H #define __FLAC_H #include "encode.h" #include "audio.h" #include #include #if !defined(FLAC_API_VERSION_CURRENT) || (FLAC_API_VERSION_CURRENT < 8) #define NEED_EASYFLAC 1 #endif #if NEED_EASYFLAC #include #include "easyflac.h" #endif typedef struct { #if NEED_EASYFLAC EasyFLAC__StreamDecoder *decoder; #else FLAC__StreamDecoder *decoder; #endif short channels; int rate; long totalsamples; /* per channel, of course */ FLAC__StreamMetadata *comments; FILE *in; /* Cache the FILE pointer so the FLAC read callback can use it */ int eos; /* End of stream read */ /* Buffer for decoded audio */ float **buf; /* channels by buf_len array */ int buf_len; int buf_start; /* Offset to start of audio data */ int buf_fill; /* Number of bytes of audio data in buffer */ /* Buffer for input data we already read in the id phase */ unsigned char *oldbuf; int oldbuf_len; int oldbuf_start; } flacfile; int flac_id(unsigned char *buf, int len); int oggflac_id(unsigned char *buf, int len); int flac_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen); void flac_close(void *); long flac_read(void *, float **buffer, int samples); #endif /* __FLAC_H */ vorbis-tools-1.4.2/oggenc/audio.h0000644000175000017500000000343313767140576013640 00000000000000 #ifndef __AUDIO_H #define __AUDIO_H #include "encode.h" #include int setup_resample(oe_enc_opt *opt); void clear_resample(oe_enc_opt *opt); void setup_downmix(oe_enc_opt *opt); void clear_downmix(oe_enc_opt *opt); void setup_scaler(oe_enc_opt *opt, float scale); void clear_scaler(oe_enc_opt *opt); typedef struct { int (*id_func)(unsigned char *buf, int len); /* Returns true if can load file */ int id_data_len; /* Amount of data needed to id whether this can load the file */ int (*open_func)(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen); void (*close_func)(void *); char *format; char *description; } input_format; typedef struct { short format; short channels; int samplerate; int bytespersec; short align; short samplesize; unsigned int mask; } wav_fmt; typedef struct { short channels; short samplesize; long totalsamples; long samplesread; FILE *f; short bigendian; int *channel_permute; } wavfile; typedef struct { short channels; int totalframes; short samplesize; int rate; int offset; int blocksize; } aiff_fmt; typedef wavfile aifffile; /* They're the same */ input_format *open_audio_file(FILE *in, oe_enc_opt *opt); int raw_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen); int wav_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen); int aiff_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen); int wav_id(unsigned char *buf, int len); int aiff_id(unsigned char *buf, int len); void wav_close(void *); void raw_close(void *); long wav_read(void *, float **buffer, int samples); long wav_ieee_read(void *, float **buffer, int samples); long raw_read_stereo(void *, float **buffer, int samples); #endif /* __AUDIO_H */ vorbis-tools-1.4.2/oggenc/flac.c0000644000175000017500000003022413767140576013435 00000000000000/* OggEnc ** ** This program is distributed under the GNU General Public License, version 2. ** A copy of this license is included with this source. ** ** Copyright 2002, Stan Seibert ** **/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include "audio.h" #include "flac.h" #include "i18n.h" #include "platform.h" #include "resample.h" #if !defined(FLAC_API_VERSION_CURRENT) || (FLAC_API_VERSION_CURRENT < 8) #define NEED_EASYFLAC 1 #endif #if NEED_EASYFLAC static FLAC__StreamDecoderReadStatus easyflac_read_callback(const EasyFLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data); static FLAC__StreamDecoderWriteStatus easyflac_write_callback(const EasyFLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data); static void easyflac_metadata_callback(const EasyFLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data); static void easyflac_error_callback(const EasyFLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data); #else static FLAC__StreamDecoderReadStatus read_callback(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data); static FLAC__StreamDecoderWriteStatus write_callback(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data); static void metadata_callback(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data); static void error_callback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data); static FLAC__bool eof_callback(const FLAC__StreamDecoder *decoder, void *client_data); #endif static void resize_buffer(flacfile *flac, int newchannels, int newsamples); static void copy_comments (vorbis_comment *v_comments, FLAC__StreamMetadata_VorbisComment *f_comments); int flac_id(unsigned char *buf, int len) { if (len < 4) return 0; return memcmp(buf, "fLaC", 4) == 0; } int oggflac_id(unsigned char *buf, int len) { if (len < 33) return 0; return memcmp(buf, "OggS", 4) == 0 && (memcmp (buf+28, "\177FLAC", 5) == 0 || flac_id(buf+28, len - 28)); } int flac_open(FILE *in, oe_enc_opt *opt, unsigned char *oldbuf, int buflen) { flacfile *flac = malloc(sizeof(flacfile)); flac->decoder = NULL; flac->channels = 0; flac->rate = 0; flac->totalsamples = 0; flac->comments = NULL; flac->in = NULL; flac->eos = 0; /* Setup empty audio buffer that will be resized on first frame callback */ flac->buf = NULL; flac->buf_len = 0; flac->buf_start = 0; flac->buf_fill = 0; /* Copy old input data over */ flac->oldbuf = malloc(buflen); flac->oldbuf_len = buflen; memcpy(flac->oldbuf, oldbuf, buflen); flac->oldbuf_start = 0; /* Need to save FILE pointer for read callback */ flac->in = in; /* Setup FLAC decoder */ #if NEED_EASYFLAC flac->decoder = EasyFLAC__stream_decoder_new(oggflac_id(oldbuf, buflen)); EasyFLAC__set_client_data(flac->decoder, flac); EasyFLAC__set_read_callback(flac->decoder, &easyflac_read_callback); EasyFLAC__set_write_callback(flac->decoder, &easyflac_write_callback); EasyFLAC__set_metadata_callback(flac->decoder, &easyflac_metadata_callback); EasyFLAC__set_error_callback(flac->decoder, &easyflac_error_callback); EasyFLAC__set_metadata_respond(flac->decoder, FLAC__METADATA_TYPE_STREAMINFO); EasyFLAC__set_metadata_respond(flac->decoder, FLAC__METADATA_TYPE_VORBIS_COMMENT); EasyFLAC__init(flac->decoder); #else flac->decoder = FLAC__stream_decoder_new(); FLAC__stream_decoder_set_md5_checking(flac->decoder, false); FLAC__stream_decoder_set_metadata_respond(flac->decoder, FLAC__METADATA_TYPE_STREAMINFO); FLAC__stream_decoder_set_metadata_respond(flac->decoder, FLAC__METADATA_TYPE_VORBIS_COMMENT); if(oggflac_id(oldbuf, buflen)) FLAC__stream_decoder_init_ogg_stream(flac->decoder, read_callback, /*seek_callback=*/0, /*tell_callback=*/0, /*length_callback=*/0, eof_callback, write_callback, metadata_callback, error_callback, flac); else FLAC__stream_decoder_init_stream(flac->decoder, read_callback, /*seek_callback=*/0, /*tell_callback=*/0, /*length_callback=*/0, eof_callback, write_callback, metadata_callback, error_callback, flac); #endif /* Callback will set the total samples and sample rate */ #if NEED_EASYFLAC EasyFLAC__process_until_end_of_metadata(flac->decoder); #else FLAC__stream_decoder_process_until_end_of_metadata(flac->decoder); #endif /* Callback will set the number of channels and resize the audio buffer */ #if NEED_EASYFLAC EasyFLAC__process_single(flac->decoder); #else FLAC__stream_decoder_process_single(flac->decoder); #endif /* Copy format info for caller */ opt->rate = flac->rate; opt->channels = flac->channels; /* flac->total_samples_per_channel was already set by metadata callback when metadata was processed. */ opt->total_samples_per_channel = flac->totalsamples; /* Copy Vorbis-style comments from FLAC file (read in metadata callback)*/ if (flac->comments != NULL && opt->copy_comments) copy_comments(opt->comments, &flac->comments->data.vorbis_comment); opt->read_samples = flac_read; opt->readdata = (void *)flac; return 1; } /* FLAC follows the WAV channel ordering pattern; we must permute to put things in Vorbis channel order */ static int wav_permute_matrix[8][8] = { {0}, /* 1.0 mono */ {0,1}, /* 2.0 stereo */ {0,2,1}, /* 3.0 channel ('wide') stereo */ {0,1,2,3}, /* 4.0 discrete quadraphonic */ {0,2,1,3,4}, /* 5.0 surround */ {0,2,1,4,5,3}, /* 5.1 surround */ {0,2,1,5,6,4,3}, /* 6.1 surround */ {0,2,1,6,7,4,5,3} /* 7.1 surround (classic theater 8-track) */ }; long flac_read(void *in, float **buffer, int samples) { flacfile *flac = (flacfile *)in; long realsamples = 0; FLAC__bool ret; int i,j; while (realsamples < samples) { if (flac->buf_fill > 0) { int copy = flac->buf_fill < (samples - realsamples) ? flac->buf_fill : (samples - realsamples); for (i = 0; i < flac->channels; i++){ int permute = wav_permute_matrix[flac->channels-1][i]; for (j = 0; j < copy; j++) buffer[i][j+realsamples] = flac->buf[permute][j+flac->buf_start]; } flac->buf_start += copy; flac->buf_fill -= copy; realsamples += copy; } else if (!flac->eos) { #if NEED_EASYFLAC ret = EasyFLAC__process_single(flac->decoder); if (!ret || EasyFLAC__get_state(flac->decoder) == FLAC__STREAM_DECODER_END_OF_STREAM) flac->eos = 1; /* Bail out! */ #else ret = FLAC__stream_decoder_process_single(flac->decoder); if (!ret || FLAC__stream_decoder_get_state(flac->decoder) == FLAC__STREAM_DECODER_END_OF_STREAM) flac->eos = 1; /* Bail out! */ #endif } else break; } return realsamples; } void flac_close(void *info) { int i; flacfile *flac = (flacfile *) info; for (i = 0; i < flac->channels; i++) free(flac->buf[i]); free(flac->buf); free(flac->oldbuf); free(flac->comments); #if NEED_EASYFLAC EasyFLAC__finish(flac->decoder); EasyFLAC__stream_decoder_delete(flac->decoder); #else FLAC__stream_decoder_finish(flac->decoder); FLAC__stream_decoder_delete(flac->decoder); #endif free(flac); } #if NEED_EASYFLAC FLAC__StreamDecoderReadStatus easyflac_read_callback(const EasyFLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data) #else FLAC__StreamDecoderReadStatus read_callback(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data) #endif { flacfile *flac = (flacfile *) client_data; int i = 0; int oldbuf_fill = flac->oldbuf_len - flac->oldbuf_start; /* Immediately return if errors occured */ if(feof(flac->in)) { *bytes = 0; return FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM; } else if(ferror(flac->in)) { *bytes = 0; return FLAC__STREAM_DECODER_READ_STATUS_ABORT; } if(oldbuf_fill > 0) { int copy; copy = oldbuf_fill < (*bytes - i) ? oldbuf_fill : (*bytes - i); memcpy(buffer + i, flac->oldbuf, copy); i += copy; flac->oldbuf_start += copy; } if(i < *bytes) i += fread(buffer+i, sizeof(FLAC__byte), *bytes - i, flac->in); *bytes = i; return FLAC__STREAM_DECODER_READ_STATUS_CONTINUE; } #if NEED_EASYFLAC FLAC__StreamDecoderWriteStatus easyflac_write_callback(const EasyFLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data) #else FLAC__StreamDecoderWriteStatus write_callback(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data) #endif { flacfile *flac = (flacfile *) client_data; int samples = frame->header.blocksize; int channels = frame->header.channels; int bits_per_sample = frame->header.bits_per_sample; int i, j; resize_buffer(flac, channels, samples); for (i = 0; i < channels; i++) for (j = 0; j < samples; j++) flac->buf[i][j] = buffer[i][j] / (float) (1 << (bits_per_sample - 1)); flac->buf_start = 0; flac->buf_fill = samples; return FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE; } #if NEED_EASYFLAC void easyflac_metadata_callback(const EasyFLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) #else void metadata_callback(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) #endif { flacfile *flac = (flacfile *) client_data; switch (metadata->type) { case FLAC__METADATA_TYPE_STREAMINFO: flac->totalsamples = metadata->data.stream_info.total_samples; flac->rate = metadata->data.stream_info.sample_rate; break; case FLAC__METADATA_TYPE_VORBIS_COMMENT: flac->comments = FLAC__metadata_object_clone(metadata); break; default: break; } } #if NEED_EASYFLAC void easyflac_error_callback(const EasyFLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data) #else void error_callback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data) #endif { } #if !NEED_EASYFLAC FLAC__bool eof_callback(const FLAC__StreamDecoder *decoder, void *client_data) { flacfile *flac = (flacfile *) client_data; return feof(flac->in)? true : false; } #endif void resize_buffer(flacfile *flac, int newchannels, int newsamples) { int i; if (newchannels == flac->channels && newsamples == flac->buf_len) { flac->buf_start = 0; flac->buf_fill = 0; return; } /* Deallocate all of the sample vectors */ for (i = 0; i < flac->channels; i++) free(flac->buf[i]); /* Not the most efficient approach, but it is easy to follow */ if(newchannels != flac->channels) { flac->buf = realloc(flac->buf, sizeof(float*) * newchannels); flac->channels = newchannels; } for (i = 0; i < newchannels; i++) flac->buf[i] = malloc(sizeof(float) * newsamples); flac->buf_len = newsamples; flac->buf_start = 0; flac->buf_fill = 0; } void copy_comments (vorbis_comment *v_comments, FLAC__StreamMetadata_VorbisComment *f_comments) { int i; for (i = 0; i < f_comments->num_comments; i++) { char *comment = malloc(f_comments->comments[i].length + 1); memset(comment, '\0', f_comments->comments[i].length + 1); strncpy(comment, (const char *)f_comments->comments[i].entry, f_comments->comments[i].length); vorbis_comment_add(v_comments, comment); free(comment); } } vorbis-tools-1.4.2/oggenc/lyrics.c0000644000175000017500000002751113767140576014042 00000000000000/* OggEnc ** ** This program is distributed under the GNU General Public License, version 2. ** A copy of this license is included with this source. ** ** This particular file may also be distributed under (at your option) any ** later version of the GNU General Public License. ** ** Copyright 2008, ogg.k.ogg.k ** ** Portions from ffmpeg2theora, (c) j **/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #ifdef HAVE_KATE #include #endif #include "lyrics.h" #include "utf8.h" #include "i18n.h" typedef enum { lf_unknown, lf_srt, lf_lrc, } lyrics_format; #ifdef HAVE_KATE static char *fgets2(char *s,size_t sz,FILE *f) { char *ret = fgets(s, sz, f); if (ret) { /* fixup DOS newline character */ char *ptr=strchr(ret, '\r'); if (ptr) { *ptr='\n'; *(ptr+1)=0; } } return ret; } static double hmsms2s(int h,int m,int s,int ms) { return h*3600+m*60+s+ms/1000.0; } static int add_lyrics(oe_lyrics *lyrics, char *text, kate_motion *km, double t0,double t1) { size_t len; int ret; char *utf8; ret=utf8_encode(text,&utf8); if (ret<0) { fprintf(stderr,_("Failed to convert to UTF-8: %s\n"),text); return ret; } lyrics->lyrics = (oe_lyrics_item*)realloc(lyrics->lyrics, (lyrics->count+1)*sizeof(oe_lyrics_item)); if (!lyrics->lyrics) { free(utf8); fprintf(stderr, _("Out of memory\n")); return -1; } len = strlen(utf8); ret=kate_text_validate(kate_utf8,utf8,len+1); if (ret<0) { fprintf(stderr,_("WARNING: subtitle %s is not valid UTF-8\n"),utf8); free(utf8); } else { /* kill off trailing \n characters */ while (len>0) { if (utf8[len-1]=='\n') utf8[--len]=0; else break; } lyrics->lyrics[lyrics->count].text = utf8; lyrics->lyrics[lyrics->count].len = len; lyrics->lyrics[lyrics->count].t0 = t0; lyrics->lyrics[lyrics->count].t1 = t1; lyrics->lyrics[lyrics->count].km = km; lyrics->count++; } return 0; } static int is_line_empty(const char *s) { /* will work fine with UTF-8 despite the appearance */ if (s) while (*s) { if (!strchr(" \t\r\n",*s)) return 0; ++s; } return 1; } static oe_lyrics *load_srt_lyrics(FILE *f) { enum { need_id, need_timing, need_text }; int need = need_id; int last_seen_id=0; int ret; int id; static char text[4096]; static char str[4096]; int h0,m0,s0,ms0,h1,m1,s1,ms1; double t0=0.0; double t1=0.0; oe_lyrics *lyrics; unsigned int line=0; if (!f) return NULL; lyrics=(oe_lyrics*)malloc(sizeof(oe_lyrics)); if (!lyrics) return NULL; lyrics->count = 0; lyrics->lyrics = NULL; lyrics->karaoke = 0; fgets2(str,sizeof(str),f); ++line; while (!feof(f)) { switch (need) { case need_id: if (is_line_empty(str)) { /* be nice and ignore extra empty lines between records */ } else { ret=sscanf(str,"%d\n",&id); if (ret!=1 || id<0) { fprintf(stderr,_("ERROR - line %u: Syntax error: %s\n"),line,str); free_lyrics(lyrics); return NULL; } if (id!=last_seen_id+1) { fprintf(stderr,_("WARNING - line %u: non consecutive ids: %s - pretending not to have noticed\n"),line,str); } last_seen_id=id; need=need_timing; strcpy(text,""); } break; case need_timing: /* we could use %u, but glibc accepts minus signs for %u for some reason */ ret=sscanf(str,"%d:%d:%d%*[.,]%d --> %d:%d:%d%*[.,]%d\n",&h0,&m0,&s0,&ms0,&h1,&m1,&s1,&ms1); if (ret!=8 || (h0|m0|s0|ms0)<0 || (h1|m1|s1|ms1)<0) { fprintf(stderr,_("ERROR - line %u: Syntax error: %s\n"),line,str); free_lyrics(lyrics); return NULL; } else if (t1= sizeof(text)) { fprintf(stderr, _("WARNING - line %u: text is too long - truncated\n"),line); } strncpy(text+len,str,sizeof(text)-len); text[sizeof(text)-1]=0; } break; } fgets2(str,sizeof(str),f); ++line; } if (need!=need_id) { /* shouldn't be a problem though, but warn */ fprintf(stderr, _("WARNING - line %u: missing data - truncated file?\n"),line); } return lyrics; } static void add_kate_karaoke_tag(kate_motion *km,kate_float dt,const char *str,size_t len,int line) { kate_curve *kc; kate_float ptr=(kate_float)-0.5; int ret; if (dt<0) { fprintf(stderr, _("WARNING - line %d: lyrics times must not be decreasing\n"), line); return; } /* work out how many glyphs we have */ while (len>0) { ret=kate_text_get_character(kate_utf8,&str,&len); if (ret<0) { fprintf(stderr, _("WARNING - line %d: failed to get UTF-8 glyph from string\n"), line); return; } ptr+=(kate_float)1.0; } /* ptr now points to the middle of the glyph we're at */ kc=(kate_curve*)malloc(sizeof(kate_curve)); kate_curve_init(kc); kc->type=kate_curve_static; kc->npts=1; kc->pts=(kate_float*)malloc(2*sizeof(kate_float)); kc->pts[0]=ptr; kc->pts[1]=(kate_float)0; km->ncurves++; km->curves=(kate_curve**)realloc(km->curves,km->ncurves*sizeof(kate_curve*)); km->durations=(kate_float*)realloc(km->durations,km->ncurves*sizeof(kate_float)); km->curves[km->ncurves-1]=kc; km->durations[km->ncurves-1]=dt; } static int fraction_to_milliseconds(int fraction,int digits) { while (digits<3) { fraction*=10; ++digits; } while (digits>3) { fraction/=10; --digits; } return fraction; } static kate_motion *process_enhanced_lrc_tags(char *str,kate_float start_time,kate_float end_time,int line) { char *start,*end; int ret; int m,s,fs; kate_motion *km=NULL; kate_float current_time = start_time; int f0,f1; if (!str) return NULL; start=str; while (1) { start=strchr(start,'<'); if (!start) break; end=strchr(start+1,'>'); if (!end) break; /* we found a <> pair, parse it */ f0=f1=-1; ret=sscanf(start,"<%d:%d.%n%d%n>",&m,&s,&f0,&fs,&f1); /* remove the <> tag from input to get raw text */ memmove(start,end+1,strlen(end+1)+1); if (ret<3 || (f0|f1)<0 || f0>=f1 || (m|s|fs)<0) { fprintf(stderr, _("WARNING - line %d: failed to process enhanced LRC tag (%*.*s) - ignored\n"),line,(int)(end-start+1),(int)(end-start+1),start); } else { kate_float tag_time=hmsms2s(0,m,s,fraction_to_milliseconds(fs,f1-f0)); /* if this is the first tag in this line, create a kate motion */ if (!km) { km=(kate_motion*)malloc(sizeof(kate_motion)); if (!km) { fprintf(stderr, _("WARNING: failed to allocate memory - enhanced LRC tag will be ignored\n")); } else { kate_motion_init(km); km->semantics=kate_motion_semantics_glyph_pointer_1; } } /* add to the kate motion */ if (km) { add_kate_karaoke_tag(km,tag_time-current_time,str,start-str,line); current_time = tag_time; } } } /* if we've found karaoke info, extend the motion to the end time */ if (km) { add_kate_karaoke_tag(km,end_time-current_time,str,strlen(str),line); } return km; } static oe_lyrics *load_lrc_lyrics(FILE *f) { oe_lyrics *lyrics; static char str[4096]; static char lyrics_line[4096]=""; int m,s,fs; double t,start_time = -1.0; int offset; int ret; unsigned line=0; kate_motion *km; int f0,f1; if (!f) return NULL; /* skip headers */ fgets2(str,sizeof(str),f); ++line; while (!feof(f)) { ret = sscanf(str, "[%d:%d.%d]%n\n",&m,&s,&fs,&offset); if (ret >= 3) break; fgets2(str,sizeof(str),f); ++line; } if (feof(f)) { fprintf(stderr,_("ERROR - line %u: Syntax error: %s\n"),line,str); return NULL; } lyrics=(oe_lyrics*)malloc(sizeof(oe_lyrics)); if (!lyrics) return NULL; lyrics->count = 0; lyrics->lyrics = NULL; lyrics->karaoke = 0; while (!feof(f)) { /* ignore empty lines */ if (!is_line_empty(str)) { f0=f1=-1; ret=sscanf(str, "[%d:%d.%n%d%n]%n\n",&m,&s,&f0,&fs,&f1,&offset); if (ret<3 || (f0|f1)<0 || f1<=f0 || (m|s|fs)<0) { fprintf(stderr,_("ERROR - line %u: Syntax error: %s\n"),line,str); free_lyrics(lyrics); return NULL; } t=hmsms2s(0,m,s,fraction_to_milliseconds(fs,f1-f0)); if (start_time>=0.0 && !is_line_empty(lyrics_line)) { km=process_enhanced_lrc_tags(lyrics_line,start_time,t,line); if (km) { lyrics->karaoke = 1; } if (add_lyrics(lyrics,lyrics_line,km,start_time,t) < 0) { free_lyrics(lyrics); return NULL; } } strncpy(lyrics_line,str+offset,sizeof(lyrics_line)); lyrics_line[sizeof(lyrics_line)-1]=0; start_time=t; } fgets2(str,sizeof(str),f); ++line; } return lyrics; } /* very weak checks, but we only support two formats, so it's ok */ lyrics_format probe_lyrics_format(FILE *f) { int dummy_int; static char str[4096]; lyrics_format format=lf_unknown; long pos; if (!f) return lf_unknown; pos=ftell(f); fgets2(str,sizeof(str),f); /* srt */ if (sscanf(str, "%d\n", &dummy_int) == 1 && dummy_int>=0) format=lf_srt; /* lrc */ if (str[0] == '[') format=lf_lrc; fseek(f,pos,SEEK_SET); return format; } #endif oe_lyrics *load_lyrics(const char *filename) { #ifdef HAVE_KATE static char str[4096]; int ret; oe_lyrics *lyrics=NULL; FILE *f; if (!filename) { fprintf(stderr,_("ERROR: No lyrics filename to load from\n")); return NULL; } f = fopen(filename, "r"); if (!f) { fprintf(stderr,_("ERROR: Failed to open lyrics file %s (%s)\n"), filename, strerror(errno)); return NULL; } /* first, check for a BOM */ ret=fread(str,1,3,f); if (ret<3 || memcmp(str,"\xef\xbb\xbf",3)) { /* No BOM, rewind */ fseek(f,0,SEEK_SET); } switch (probe_lyrics_format(f)) { case lf_srt: lyrics = load_srt_lyrics(f); break; case lf_lrc: lyrics = load_lrc_lyrics(f); break; default: fprintf(stderr, _("ERROR: Failed to load %s - can't determine format\n"), filename); break; } fclose(f); return lyrics; #else return NULL; #endif } void free_lyrics(oe_lyrics *lyrics) { #ifdef HAVE_KATE size_t n,c; if (lyrics) { for (n=0; ncount; ++n) { oe_lyrics_item *li=&lyrics->lyrics[n]; free(li->text); if (li->km) { for (c=0; ckm->ncurves; ++c) { free(li->km->curves[c]->pts); free(li->km->curves[c]); } free(li->km->curves); free(li->km->durations); free(li->km); } } free(lyrics->lyrics); free(lyrics); } #endif } const oe_lyrics_item *get_lyrics(const oe_lyrics *lyrics, double t, size_t *idx) { #ifdef HAVE_KATE if (!lyrics || *idx>=lyrics->count) return NULL; if (lyrics->lyrics[*idx].t0 > t) return NULL; return &lyrics->lyrics[(*idx)++]; #else return NULL; #endif } vorbis-tools-1.4.2/oggenc/encode.c0000644000175000017500000006553313767140576014000 00000000000000/* OggEnc ** ** This program is distributed under the GNU General Public License, version 2. ** A copy of this license is included with this source. ** ** Copyright 2000-2002, Michael Smith ** ** Portions from Vorbize, (c) Kenneth Arnold ** and libvorbis examples, (c) Monty **/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include "platform.h" #include #include "encode.h" #include "i18n.h" #include "skeleton.h" #ifdef HAVE_KATE #include "lyrics.h" #include #endif #define READSIZE 1024 int oe_write_page(ogg_page *page, FILE *fp); #define SETD(toset) \ do {\ if(sscanf(opts[i].val, "%lf", &dval) != 1)\ fprintf(stderr, "For option %s, couldn't read value %s as double\n",\ opts[i].arg, opts[i].val);\ else\ toset = dval;\ } while(0) #define SETL(toset) \ do {\ if(sscanf(opts[i].val, "%ld", &lval) != 1)\ fprintf(stderr, "For option %s, couldn't read value %s as integer\n",\ opts[i].arg, opts[i].val);\ else\ toset = lval;\ } while(0) static void set_advanced_encoder_options(adv_opt *opts, int count, vorbis_info *vi) { #ifdef OV_ECTL_RATEMANAGE2_GET int manage = 0; struct ovectl_ratemanage2_arg ai; int i; double dval; long lval; vorbis_encode_ctl(vi, OV_ECTL_RATEMANAGE2_GET, &ai); for(i=0; i < count; i++) { if(opts[i].val) fprintf(stderr, _("Setting advanced encoder option \"%s\" to %s\n"), opts[i].arg, opts[i].val); else fprintf(stderr, _("Setting advanced encoder option \"%s\"\n"), opts[i].arg); if(!strcmp(opts[i].arg, "bitrate_average_damping")) { SETD(ai.bitrate_average_damping); manage = 1; } else if(!strcmp(opts[i].arg, "bitrate_average")) { SETL(ai.bitrate_average_kbps); manage = 1; } else if(!strcmp(opts[i].arg, "bit_reservoir_bias")) { SETD(ai.bitrate_limit_reservoir_bias); manage = 1; } else if(!strcmp(opts[i].arg, "bit_reservoir_bits")) { SETL(ai.bitrate_limit_reservoir_bits); manage = 1; } else if(!strcmp(opts[i].arg, "bitrate_hard_min")) { SETL(ai.bitrate_limit_min_kbps); manage = 1; } else if(!strcmp(opts[i].arg, "bitrate_hard_max")) { SETL(ai.bitrate_limit_max_kbps); manage = 1; } else if(!strcmp(opts[i].arg, "disable_coupling")) { int val=0; vorbis_encode_ctl(vi, OV_ECTL_COUPLING_SET, &val); } else if(!strcmp(opts[i].arg, "impulse_noisetune")) { double val; SETD(val); vorbis_encode_ctl(vi, OV_ECTL_IBLOCK_SET, &val); } else if(!strcmp(opts[i].arg, "lowpass_frequency")) { double prev, new; SETD(new); vorbis_encode_ctl(vi, OV_ECTL_LOWPASS_GET, &prev); vorbis_encode_ctl(vi, OV_ECTL_LOWPASS_SET, &new); fprintf(stderr, _("Changed lowpass frequency from %f kHz to %f kHz\n"), prev, new); } else { fprintf(stderr, _("Unrecognised advanced option \"%s\"\n"), opts[i].arg); } } if(manage) { if(vorbis_encode_ctl(vi, OV_ECTL_RATEMANAGE2_SET, &ai)) { fprintf(stderr, _("Failed to set advanced rate management parameters\n")); } } #else fprintf(stderr,_( "This version of libvorbisenc cannot set advanced rate management parameters\n")); #endif } static void add_fishead_packet (ogg_stream_state *os) { fishead_packet fp; memset(&fp, 0, sizeof(fp)); fp.ptime_n = 0; fp.ptime_d = 1000; fp.btime_n = 0; fp.btime_d = 1000; add_fishead_to_stream(os, &fp); } /* * Adds the fishead packets in the skeleton output stream */ static void add_vorbis_fisbone_packet (ogg_stream_state *os, oe_enc_opt *opt) { fisbone_packet fp; memset(&fp, 0, sizeof(fp)); fp.serial_no = opt->serialno; fp.nr_header_packet = 3; fp.granule_rate_n = opt->rate; fp.granule_rate_d = 1; fp.start_granule = 0; fp.preroll = 2; fp.granule_shift = 0; add_message_header_field(&fp, "Content-Type", "audio/vorbis"); add_fisbone_to_stream(os, &fp); } #ifdef HAVE_KATE static void add_kate_fisbone_packet (ogg_stream_state *os, oe_enc_opt *opt, kate_info *ki) { fisbone_packet fp; memset(&fp, 0, sizeof(fp)); fp.serial_no = opt->kate_serialno; fp.nr_header_packet = ki->num_headers; fp.granule_rate_n = ki->gps_numerator; fp.granule_rate_d = ki->gps_denominator; fp.start_granule = 0; fp.preroll = 0; fp.granule_shift = ki->granule_shift; add_message_header_field(&fp, "Content-Type", "application/x-kate"); add_fisbone_to_stream(os, &fp); } #endif #ifdef HAVE_KATE static void add_kate_karaoke_style(kate_info *ki,unsigned char r,unsigned char g,unsigned char b,unsigned char a) { kate_style *ks; int ret; if (!ki) return; ks=(kate_style*)malloc(sizeof(kate_style)); kate_style_init(ks); ks->text_color.r = r; ks->text_color.g = g; ks->text_color.b = b; ks->text_color.a = a; ret=kate_info_add_style(ki,ks); if (ret<0) { fprintf(stderr, _("WARNING: failed to add Kate karaoke style\n")); } } #endif int oe_encode(oe_enc_opt *opt) { ogg_stream_state os; ogg_stream_state so; /* stream for skeleton bitstream */ ogg_stream_state ko; /* stream for kate bitstream */ ogg_page og; ogg_packet op; vorbis_dsp_state vd; vorbis_block vb; vorbis_info vi; #ifdef HAVE_KATE kate_info ki; kate_comment kc; kate_state k; oe_lyrics *lyrics=NULL; size_t lyrics_index=0; double vorbis_time = 0.0; #endif long samplesdone=0; int eos; long bytes_written = 0, packetsdone=0; double time_elapsed; int ret=0; TIMER *timer; int result; if(opt->channels > 255) { fprintf(stderr, _("255 channels should be enough for anyone. (Sorry, but Vorbis doesn't support more)\n")); return 1; } /* get start time. */ timer = timer_start(); if(!opt->managed && (opt->min_bitrate>=0 || opt->max_bitrate>=0)){ fprintf(stderr, _("Requesting a minimum or maximum bitrate requires --managed\n")); return 1; } /* if we had no quality or bitrate spec at all from the user, use the default quality with no management --Monty 20020711 */ if(opt->bitrate < 0 && opt->min_bitrate < 0 && opt->max_bitrate < 0){ opt->quality_set=1; } opt->start_encode(opt->infilename, opt->filename, opt->bitrate, opt->quality, opt->quality_set, opt->managed, opt->min_bitrate, opt->max_bitrate); /* Have vorbisenc choose a mode for us */ vorbis_info_init(&vi); if(opt->quality_set > 0){ if(vorbis_encode_setup_vbr(&vi, opt->channels, opt->rate, opt->quality)){ fprintf(stderr, _("Mode initialisation failed: invalid parameters for quality\n")); vorbis_info_clear(&vi); return 1; } /* do we have optional hard bitrate restrictions? */ if(opt->max_bitrate > 0 || opt->min_bitrate > 0){ #ifdef OV_ECTL_RATEMANAGE2_GET long bitrate; struct ovectl_ratemanage2_arg ai; vorbis_encode_ctl(&vi, OV_ECTL_RATEMANAGE2_GET, &ai); /* libvorbis 1.1 (and current svn) doesn't actually fill this in, which looks like a bug. It'll then reject it when we call the SET version below. So, fill it in with the values that libvorbis would have used to fill in this structure if we were using the bitrate-oriented setup functions. Unfortunately, some of those values are dependent on the bitrate, and libvorbis has no way to get a nominal bitrate from a quality value. Well, except by doing a full setup... So, we do that. Also, note that this won't work correctly unless you have version 1.1.1 or later of libvorbis. */ { vorbis_info vi2; vorbis_info_init(&vi2); vorbis_encode_setup_vbr(&vi2, opt->channels, opt->rate, opt->quality); vorbis_encode_setup_init(&vi2); bitrate = vi2.bitrate_nominal; vorbis_info_clear(&vi2); } ai.bitrate_average_kbps = bitrate/1000; ai.bitrate_average_damping = 1.5; ai.bitrate_limit_reservoir_bits = bitrate * 2; ai.bitrate_limit_reservoir_bias = .1; /* And now the ones we actually wanted to set */ ai.bitrate_limit_min_kbps=opt->min_bitrate; ai.bitrate_limit_max_kbps=opt->max_bitrate; ai.management_active=1; if(vorbis_encode_ctl(&vi, OV_ECTL_RATEMANAGE2_SET, &ai) == 0) fprintf(stderr, _("Set optional hard quality restrictions\n")); else { fprintf(stderr, _("Failed to set bitrate min/max in quality mode\n")); vorbis_info_clear(&vi); return 1; } #else fprintf(stderr, _("This version of libvorbisenc cannot set advanced rate management parameters\n")); return 1; #endif } }else { if(vorbis_encode_setup_managed(&vi, opt->channels, opt->rate, opt->max_bitrate>0?opt->max_bitrate*1000:-1, opt->bitrate*1000, opt->min_bitrate>0?opt->min_bitrate*1000:-1)){ fprintf(stderr, _("Mode initialisation failed: invalid parameters for bitrate\n")); vorbis_info_clear(&vi); return 1; } } #ifdef OV_ECTL_RATEMANAGE2_SET if(opt->managed && opt->bitrate < 0) { struct ovectl_ratemanage2_arg ai; vorbis_encode_ctl(&vi, OV_ECTL_RATEMANAGE2_GET, &ai); ai.bitrate_average_kbps=-1; vorbis_encode_ctl(&vi, OV_ECTL_RATEMANAGE2_SET, &ai); } else if(!opt->managed) { /* Turn off management entirely (if it was turned on). */ vorbis_encode_ctl(&vi, OV_ECTL_RATEMANAGE2_SET, NULL); } #endif set_advanced_encoder_options(opt->advopt, opt->advopt_count, &vi); vorbis_encode_setup_init(&vi); /* Now, set up the analysis engine, stream encoder, and other preparation before the encoding begins. */ vorbis_analysis_init(&vd,&vi); vorbis_block_init(&vd,&vb); #ifdef HAVE_KATE if (opt->lyrics) { /* load lyrics */ lyrics=load_lyrics(opt->lyrics); /* if it fails, don't do anything else for lyrics */ if (!lyrics) { opt->lyrics = NULL; } else { /* init kate for encoding */ kate_info_init(&ki); kate_info_set_category(&ki, "LRC"); if (opt->lyrics_language) kate_info_set_language(&ki, opt->lyrics_language); else fprintf(stderr, _("WARNING: no language specified for %s\n"), opt->lyrics); kate_comment_init(&kc); kate_encode_init(&k,&ki); /* if we're in karaoke mode (we have syllable level timing info), add style info in case some graphical player is used */ add_kate_karaoke_style(&ki, 255, 255, 255, 255); add_kate_karaoke_style(&ki, 255, 128, 128, 255); } } #endif ogg_stream_init(&os, opt->serialno); if (opt->with_skeleton) ogg_stream_init(&so, opt->skeleton_serialno); if (opt->lyrics) ogg_stream_init(&ko, opt->kate_serialno); /* create the skeleton fishead packet and output it */ if (opt->with_skeleton) { add_fishead_packet(&so); if ((ret = flush_ogg_stream_to_file(&so, opt->out))) { opt->error(_("Failed writing fishead packet to output stream\n")); goto cleanup; } } /* Now, build the three header packets and send through to the stream output stage (but defer actual file output until the main encode loop) */ { ogg_packet header_main; ogg_packet header_comments; ogg_packet header_codebooks; /* Build the packets */ vorbis_analysis_headerout(&vd,opt->comments, &header_main,&header_comments,&header_codebooks); /* And stream them out */ /* output the vorbis bos first, then the kate bos, then the fisbone packets */ ogg_stream_packetin(&os,&header_main); while((result = ogg_stream_flush(&os, &og))) { if(!result) break; ret = oe_write_page(&og, opt->out); if(ret != og.header_len + og.body_len) { opt->error(_("Failed writing header to output stream\n")); ret = 1; goto cleanup; /* Bail and try to clean up stuff */ } } #ifdef HAVE_KATE if (opt->lyrics) { ogg_packet kate_op; ret = kate_ogg_encode_headers(&k, &kc, &kate_op); if (ret < 0) { opt->error(_("Failed encoding Kate header\n")); goto cleanup; } ogg_stream_packetin(&ko,&kate_op); while((result = ogg_stream_flush(&ko, &og))) { if(!result) break; ret = oe_write_page(&og, opt->out); if(ret != og.header_len + og.body_len) { opt->error(_("Failed writing header to output stream\n")); ret = 1; goto cleanup; /* Bail and try to clean up stuff */ } } ogg_packet_clear(&kate_op); } #endif if (opt->with_skeleton) { add_vorbis_fisbone_packet(&so, opt); if ((ret = flush_ogg_stream_to_file(&so, opt->out))) { opt->error(_("Failed writing fisbone header packet to output stream\n")); goto cleanup; } #ifdef HAVE_KATE if (opt->lyrics) { add_kate_fisbone_packet(&so, opt, &ki); if ((ret = flush_ogg_stream_to_file(&so, opt->out))) { opt->error(_("Failed writing fisbone header packet to output stream\n")); goto cleanup; } } #endif } /* write the next Vorbis headers */ ogg_stream_packetin(&os,&header_comments); ogg_stream_packetin(&os,&header_codebooks); while((result = ogg_stream_flush(&os, &og))) { if(!result) break; ret = oe_write_page(&og, opt->out); if(ret != og.header_len + og.body_len) { opt->error(_("Failed writing header to output stream\n")); ret = 1; goto cleanup; /* Bail and try to clean up stuff */ } } } /* build kate headers if requested */ #ifdef HAVE_KATE if (opt->lyrics) { while (kate_ogg_encode_headers(&k,&kc,&op)==0) { ogg_stream_packetin(&ko,&op); ogg_packet_clear(&op); } while((result = ogg_stream_flush(&ko, &og))) { if(!result) break; ret = oe_write_page(&og, opt->out); if(ret != og.header_len + og.body_len) { opt->error(_("Failed writing header to output stream\n")); ret = 1; goto cleanup; /* Bail and try to clean up stuff */ } } } #endif if (opt->with_skeleton) { add_eos_packet_to_stream(&so); if ((ret = flush_ogg_stream_to_file(&so, opt->out))) { opt->error(_("Failed writing skeleton eos packet to output stream\n")); goto cleanup; } } eos = 0; /* Main encode loop - continue until end of file */ while(!eos) { float **buffer = vorbis_analysis_buffer(&vd, READSIZE); long samples_read = opt->read_samples(opt->readdata, buffer, READSIZE); if(samples_read ==0) /* Tell the library that we wrote 0 bytes - signalling the end */ vorbis_analysis_wrote(&vd,0); else { samplesdone += samples_read; /* Call progress update every 40 pages */ if(packetsdone>=40) { double time; packetsdone = 0; time = timer_time(timer); opt->progress_update(opt->filename, opt->total_samples_per_channel, samplesdone, time); } /* Tell the library how many samples (per channel) we wrote into the supplied buffer */ vorbis_analysis_wrote(&vd, samples_read); } /* While we can get enough data from the library to analyse, one block at a time... */ while(vorbis_analysis_blockout(&vd,&vb)==1) { /* Do the main analysis, creating a packet */ vorbis_analysis(&vb, NULL); vorbis_bitrate_addblock(&vb); while(vorbis_bitrate_flushpacket(&vd, &op)) { /* Add packet to bitstream */ ogg_stream_packetin(&os,&op); packetsdone++; /* If we've gone over a page boundary, we can do actual output, so do so (for however many pages are available) */ while(!eos) { int result = ogg_stream_pageout(&os,&og); if(!result) break; /* now that we have a new Vorbis page, we scan lyrics for any that is due */ #ifdef HAVE_KATE if (opt->lyrics && ogg_page_granulepos(&og)>=0) { vorbis_time = vorbis_granule_time(&vd, ogg_page_granulepos(&og)); const oe_lyrics_item *item; while ((item = get_lyrics(lyrics, vorbis_time, &lyrics_index))) { ogg_packet kate_op; if (item->km) { ret = kate_encode_set_style_index(&k, 0); if (ret < 0) { opt->error(_("Failed encoding karaoke style - continuing anyway\n")); } ret = kate_encode_set_secondary_style_index(&k, 1); if (ret < 0) { opt->error(_("Failed encoding karaoke style - continuing anyway\n")); } ret = kate_encode_add_motion(&k, item->km, 0); if (ret < 0) { opt->error(_("Failed encoding karaoke motion - continuing anyway\n")); } } ret = kate_ogg_encode_text(&k, item->t0, item->t1, item->text, strlen(item->text)+1, &kate_op); if (ret < 0) { opt->error(_("Failed encoding lyrics - continuing anyway\n")); } else { ogg_stream_packetin(&ko, &kate_op); ogg_packet_clear(&kate_op); while (1) { ogg_page ogk; int result=ogg_stream_flush(&ko,&ogk); if (!result) break; ret = oe_write_page(&ogk, opt->out); if(ret != ogk.header_len + ogk.body_len) { opt->error(_("Failed writing data to output stream\n")); ret = 1; goto cleanup; /* Bail */ } else bytes_written += ret; } } } } #endif ret = oe_write_page(&og, opt->out); if(ret != og.header_len + og.body_len) { opt->error(_("Failed writing data to output stream\n")); ret = 1; goto cleanup; /* Bail */ } else bytes_written += ret; if(ogg_page_eos(&og)) eos = 1; } } } } /* if encoding lyrics, signal EOS and cleanup the kate state */ #ifdef HAVE_KATE if (opt->lyrics) { ogg_packet kate_op; ret = kate_ogg_encode_finish(&k, vorbis_time, &kate_op); if (ret < 0) { opt->error(_("Failed encoding Kate EOS packet\n")); } else { ogg_stream_packetin(&ko,&kate_op); packetsdone++; ogg_packet_clear(&kate_op); eos = 0; while(!eos) { int result = ogg_stream_pageout(&ko,&og); if(!result) break; ret = oe_write_page(&og, opt->out); if(ret != og.header_len + og.body_len) { opt->error(_("Failed writing data to output stream\n")); ret = 1; goto cleanup; /* Bail */ } else bytes_written += ret; if(ogg_page_eos(&og)) eos = 1; } } } #endif ret = 0; /* Success. Set return value to 0 since other things reuse it * for nefarious purposes. */ /* Cleanup time */ cleanup: #ifdef HAVE_KATE if (opt->lyrics) { ogg_stream_clear(&ko); kate_clear(&k); kate_info_clear(&ki); kate_comment_clear(&kc); free_lyrics(lyrics); } #endif if (opt->with_skeleton) ogg_stream_clear(&so); ogg_stream_clear(&os); vorbis_block_clear(&vb); vorbis_dsp_clear(&vd); vorbis_info_clear(&vi); time_elapsed = timer_time(timer); opt->end_encode(opt->filename, time_elapsed, opt->rate, samplesdone, bytes_written); timer_clear(timer); return ret; } void update_statistics_full(char *fn, long total, long done, double time) { static char *spinner="|/-\\"; static int spinpoint = 0; double remain_time; int minutes=0,seconds=0; remain_time = time/((double)done/(double)total) - time; minutes = ((int)remain_time)/60; seconds = (int)(remain_time - (double)((int)remain_time/60)*60); fprintf(stderr, "\r"); fprintf(stderr, _("\t[%5.1f%%] [%2dm%.2ds remaining] %c "), done*100.0/total, minutes, seconds, spinner[spinpoint++%4]); } void update_statistics_notime(char *fn, long total, long done, double time) { static char *spinner="|/-\\"; static int spinpoint =0; fprintf(stderr, "\r"); fprintf(stderr, _("\tEncoding [%2dm%.2ds so far] %c "), ((int)time)/60, (int)(time - (double)((int)time/60)*60), spinner[spinpoint++%4]); } int oe_write_page(ogg_page *page, FILE *fp) { int written; written = fwrite(page->header,1,page->header_len, fp); written += fwrite(page->body,1,page->body_len, fp); return written; } void final_statistics(char *fn, double time, int rate, long samples, long bytes) { double speed_ratio; if(fn) fprintf(stderr, _("\n\nDone encoding file \"%s\"\n"), fn); else fprintf(stderr, _("\n\nDone encoding.\n")); speed_ratio = (double)samples / (double)rate / time; fprintf(stderr, _("\n\tFile length: %dm %04.1fs\n"), (int)(samples/rate/60), samples/rate - floor(samples/rate/60)*60); fprintf(stderr, _("\tElapsed time: %dm %04.1fs\n"), (int)(time/60), time - floor(time/60)*60); fprintf(stderr, _("\tRate: %.4f\n"), speed_ratio); fprintf(stderr, _("\tAverage bitrate: %.1f kb/s\n\n"), 8./1000.*((double)bytes/((double)samples/(double)rate))); } void final_statistics_null(char *fn, double time, int rate, long samples, long bytes) { /* Don't do anything, this is just a placeholder function for quiet mode */ } void update_statistics_null(char *fn, long total, long done, double time) { /* So is this */ } void encode_error(char *errmsg) { fprintf(stderr, "\n%s\n", errmsg); } static void print_brconstraints(int min, int max) { if(min > 0 && max > 0) fprintf(stderr, _("(min %d kbps, max %d kbps)"), min,max); else if(min > 0) fprintf(stderr, _("(min %d kbps, no max)"), min); else if(max > 0) fprintf(stderr, _("(no min, max %d kbps)"), max); else fprintf(stderr, _("(no min or max)")); } void start_encode_full(char *fn, char *outfn, int bitrate, float quality, int qset, int managed, int min, int max) { if(bitrate>0){ if(managed>0){ fprintf(stderr, _("Encoding %s%s%s to \n " "%s%s%s \nat average bitrate %d kbps "), fn?"\"":"", fn?fn:_("standard input"), fn?"\"":"", outfn?"\"":"", outfn?outfn:_("standard output"), outfn?"\"":"", bitrate); print_brconstraints(min,max); fprintf(stderr, ", \nusing full bitrate management engine\n"); } else { fprintf(stderr, _("Encoding %s%s%s to \n %s%s%s \nat approximate bitrate %d kbps (VBR encoding enabled)\n"), fn?"\"":"", fn?fn:_("standard input"), fn?"\"":"", outfn?"\"":"", outfn?outfn:_("standard output"), outfn?"\"":"", bitrate); } }else{ if(qset>0){ if(managed>0){ fprintf(stderr, _("Encoding %s%s%s to \n %s%s%s \nat quality level %2.2f using constrained VBR "), fn?"\"":"", fn?fn:_("standard input"), fn?"\"":"", outfn?"\"":"", outfn?outfn:_("standard output"), outfn?"\"":"", quality * 10); print_brconstraints(min,max); fprintf(stderr, "\n"); }else{ fprintf(stderr, _("Encoding %s%s%s to \n %s%s%s \nat quality %2.2f\n"), fn?"\"":"", fn?fn:_("standard input"), fn?"\"":"", outfn?"\"":"", outfn?outfn:_("standard output"), outfn?"\"":"", quality * 10); } }else{ fprintf(stderr, _("Encoding %s%s%s to \n %s%s%s \nusing bitrate management "), fn?"\"":"", fn?fn:_("standard input"), fn?"\"":"", outfn?"\"":"", outfn?outfn:_("standard output"), outfn?"\"":""); print_brconstraints(min,max); fprintf(stderr, "\n"); } } } void start_encode_null(char *fn, char *outfn, int bitrate, float quality, int qset, int managed, int min, int max) { } vorbis-tools-1.4.2/oggenc/skeleton.h0000644000175000017500000000520313767140576014360 00000000000000/* * skeleton.h * author: Tahseen Mohammad */ #ifndef _SKELETON_H #define _SKELETON_H #ifdef __cplusplus extern "C" { #endif #include #define SKELETON_VERSION_MAJOR 3 #define SKELETON_VERSION_MINOR 0 #define FISHEAD_IDENTIFIER "fishead\0" #define FISBONE_IDENTIFIER "fisbone\0" #define FISHEAD_SIZE 64 #define FISBONE_SIZE 52 #define FISBONE_MESSAGE_HEADER_OFFSET 44 /* fishead_packet holds a fishead header packet. */ typedef struct { /* Start time of the presentation. * For a new stream presentationtime & basetime is same. */ ogg_int64_t ptime_n; /* presentation time numerator */ ogg_int64_t ptime_d; /* presentation time denominator */ ogg_int64_t btime_n; /* basetime numerator */ ogg_int64_t btime_d; /* basetime denominator */ /* will holds the time of origin of the stream, a 20 bit field. */ unsigned char UTC[20]; } fishead_packet; /* fisbone_packet holds a fisbone header packet. */ typedef struct { ogg_uint32_t serial_no; /* serial no of the corresponding stream */ ogg_uint32_t nr_header_packet; /* number of header packets */ /* granule rate is the temporal resolution of the logical bitstream */ ogg_int64_t granule_rate_n; /* granule rate numerator */ ogg_int64_t granule_rate_d; /* granule rate denominator */ ogg_int64_t start_granule; /* start granule value */ ogg_uint32_t preroll; /* preroll */ unsigned char granule_shift; /* 1 byte value holding the granule shift */ char *message_header_fields; /* holds all the message header fields */ /* current total size of the message header fields, for realloc purpose, initially zero */ ogg_uint32_t current_header_size; } fisbone_packet; extern int add_message_header_field(fisbone_packet *fp, char *header_key, char *header_value); /* remember to deallocate the returned ogg_packet properly */ extern int ogg_from_fishead(fishead_packet *fp,ogg_packet *op); extern int ogg_from_fisbone(fisbone_packet *fp,ogg_packet *op); extern int add_fishead_to_stream(ogg_stream_state *os, fishead_packet *fp); extern int add_fisbone_to_stream(ogg_stream_state *os, fisbone_packet *fp); extern int add_eos_packet_to_stream(ogg_stream_state *os); extern int flush_ogg_stream_to_file(ogg_stream_state *os, FILE *out); #ifdef __cplusplus } #endif #endif /* _SKELETON_H */ vorbis-tools-1.4.2/oggenc/encode.h0000644000175000017500000000660313767140576013776 00000000000000#ifndef __ENCODE_H #define __ENCODE_H #include #include typedef void TIMER; typedef long (*audio_read_func)(void *src, float **buffer, int samples); typedef void (*progress_func)(char *fn, long totalsamples, long samples, double time); typedef void (*enc_end_func)(char *fn, double time, int rate, long samples, long bytes); typedef void (*enc_start_func)(char *fn, char *outfn, int bitrate, float quality, int qset, int managed, int min_br, int max_br); typedef void (*error_func)(char *errormessage); void *timer_start(void); double timer_time(void *); void timer_clear(void *); int create_directories(char *, int); void update_statistics_full(char *fn, long total, long done, double time); void update_statistics_notime(char *fn, long total, long done, double time); void update_statistics_null(char *fn, long total, long done, double time); void start_encode_full(char *fn, char *outfn, int bitrate, float quality, int qset, int managed, int min, int max); void start_encode_null(char *fn, char *outfn, int bitrate, float quality, int qset, int managed, int min, int max); void final_statistics(char *fn, double time, int rate, long total_samples, long bytes); void final_statistics_null(char *fn, double time, int rate, long total_samples, long bytes); void encode_error(char *errmsg); typedef struct { char *arg; char *val; } adv_opt; typedef struct { char **title; int title_count; char **artist; int artist_count; char **album; int album_count; char **comments; int comment_count; char **tracknum; int track_count; char **dates; int date_count; char **genre; int genre_count; char **lyrics; int lyrics_count; char **lyrics_language; int lyrics_language_count; adv_opt *advopt; int advopt_count; int copy_comments; int with_skeleton; int quiet; int rawmode; int raw_samplesize; int raw_samplerate; int raw_channels; int raw_endianness; char *namefmt; char *namefmt_remove; char *namefmt_replace; char *outfile; /* All 3 in kbps */ int managed; int min_bitrate; int nominal_bitrate; int max_bitrate; /* Float from 0 to 1 (low->high) */ float quality; int quality_set; int resamplefreq; int downmix; float scale; unsigned int serial; unsigned int skeleton_serial; unsigned int kate_serial; int fixedserial; int ignorelength; int isutf8; } oe_options; typedef struct { vorbis_comment *comments; unsigned int serialno; unsigned int skeleton_serialno; unsigned int kate_serialno; audio_read_func read_samples; progress_func progress_update; enc_end_func end_encode; enc_start_func start_encode; error_func error; void *readdata; long total_samples_per_channel; int channels; long rate; int samplesize; int endianness; int resamplefreq; int copy_comments; int with_skeleton; /* Various bitrate/quality options */ int managed; int bitrate; int min_bitrate; int max_bitrate; float quality; int quality_set; adv_opt *advopt; int advopt_count; FILE *out; char *filename; char *infilename; int ignorelength; char *lyrics; char *lyrics_language; } oe_enc_opt; int oe_encode(oe_enc_opt *opt); #endif /* __ENCODE_H */ vorbis-tools-1.4.2/aclocal.m40000644000175000017500000013176614002242751012754 00000000000000# generated automatically by aclocal 1.15 -*- Autoconf -*- # Copyright (C) 1996-2014 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # Copyright (C) 2002-2014 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.15' 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.15], [], [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.15])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-2014 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-2014 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-2014 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-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2014 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-2014 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-2014 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])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996-2014 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_MAINTAINER_MODE([DEFAULT-MODE]) # ---------------------------------- # Control maintainer-specific portions of Makefiles. # Default is to disable them, unless 'enable' is passed literally. # For symmetry, 'disable' may be passed as well. Anyway, the user # can override the default with the --enable/--disable switch. AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), [enable], [m4_define([am_maintainer_other], [disable])], [disable], [m4_define([am_maintainer_other], [enable])], [m4_define([am_maintainer_other], [enable]) m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode's default is 'disable' unless 'enable' is passed AC_ARG_ENABLE([maintainer-mode], [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], am_maintainer_other[ make rules and dependencies not useful (and sometimes confusing) to the casual installer])], [USE_MAINTAINER_MODE=$enableval], [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST([MAINT])dnl ] ) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Copyright (C) 2003-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check for 'mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl FIXME we are no longer going to remove this! adjust warning dnl FIXME message accordingly. AC_DIAGNOSE([obsolete], [$0: this macro is deprecated, and will soon be removed. You should use the Autoconf-provided 'AC][_PROG_MKDIR_P' macro instead, and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.]) dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2014 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-2014 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-2014 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-2014 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-2014 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-2014 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-2014 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-2014 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/acx_pthread.m4]) m4_include([m4/gettext.m4]) m4_include([m4/glibc2.m4]) m4_include([m4/glibc21.m4]) m4_include([m4/intdiv0.m4]) m4_include([m4/intl.m4]) m4_include([m4/intlmacosx.m4]) m4_include([m4/intmax.m4]) m4_include([m4/inttypes-pri.m4]) m4_include([m4/inttypes_h.m4]) m4_include([m4/lcmessage.m4]) m4_include([m4/lib-ld.m4]) m4_include([m4/lib-link.m4]) m4_include([m4/lib-prefix.m4]) m4_include([m4/libtool.m4]) m4_include([m4/lock.m4]) m4_include([m4/longlong.m4]) m4_include([m4/ltoptions.m4]) m4_include([m4/ltsugar.m4]) m4_include([m4/ltversion.m4]) m4_include([m4/lt~obsolete.m4]) m4_include([m4/nls.m4]) m4_include([m4/pkg.m4]) m4_include([m4/po.m4]) m4_include([m4/printf-posix.m4]) m4_include([m4/progtest.m4]) m4_include([m4/size_max.m4]) m4_include([m4/stdint_h.m4]) m4_include([m4/uintmax_t.m4]) m4_include([m4/ulonglong.m4]) m4_include([m4/visibility.m4]) m4_include([m4/wchar_t.m4]) m4_include([m4/wint_t.m4]) m4_include([m4/xsize.m4]) m4_include([acinclude.m4]) vorbis-tools-1.4.2/AUTHORS0000644000175000017500000000064713767140576012200 00000000000000oggenc: Michael Smith oggdec: Michael Smith ogg123: Kenneth Arnold Stan Seibert Segher Boessenkool ogginfo: Michael Smith vcut: Michael Smith Michael Gold vorbiscomment: Michael Smith and the rest of the Xiph.Org Foundation and its contributors.vorbis-tools-1.4.2/include/0000755000175000017500000000000014002243561012601 500000000000000vorbis-tools-1.4.2/include/base64.h0000644000175000017500000000176713774351077014012 00000000000000/* * Copyright (C) 2021 Philipp Schafft * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __BASE64_H__ #define __BASE64_H__ #ifdef __cplusplus extern "C" { #endif #include // returns 0 on success. int base64_decode(const char *in, void **out, size_t *len); #ifdef __cplusplus } #endif #endif vorbis-tools-1.4.2/include/Makefile.am0000644000175000017500000000016213775673633014603 00000000000000## Process this file with automake to produce Makefile.in EXTRA_DIST = utf8.h getopt.h i18n.h base64.h picture.h vorbis-tools-1.4.2/include/picture.h0000644000175000017500000000443313775722707014375 00000000000000/* * Copyright (C) 2021 Philipp Schafft * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __PICTURE_H__ #define __PICTURE_H__ #ifdef __cplusplus extern "C" { #endif #include typedef enum { FLAC_PICTURE_INVALID = -1, FLAC_PICTURE_OTHER = 0, FLAC_PICTURE_FILE_ICON = 1, FLAC_PICTURE_OTHER_FILE_ICON = 2, FLAC_PICTURE_COVER_FRONT = 3, FLAC_PICTURE_COVER_BACK = 4, FLAC_PICTURE_LEAFLET_PAGE = 5, FLAC_PICTURE_MEDIA = 6, FLAC_PICTURE_LEAD = 7, FLAC_PICTURE_ARTIST = 8, FLAC_PICTURE_CONDUCTOR = 9, FLAC_PICTURE_BAND = 10, FLAC_PICTURE_COMPOSER = 11, FLAC_PICTURE_LYRICIST = 12, FLAC_PICTURE_RECORDING_LOCATION = 13, FLAC_PICTURE_DURING_RECORDING = 14, FLAC_PICTURE_DURING_PREFORMANCE = 15, FLAC_PICTURE_SCREEN_CAPTURE = 16, FLAC_PICTURE_A_BRIGHT_COLOURED_FISH = 17, FLAC_PICTURE_ILLUSTRATION = 18, FLAC_PICTURE_BAND_LOGOTYPE = 19, FLAC_PICTURE_PUBLISHER_LOGOTYPE = 20 } flac_picture_type; typedef struct { flac_picture_type type; const char *media_type; const char *description; unsigned int width; unsigned int height; unsigned int depth; unsigned int colors; const void *binary; size_t binary_length; const char *uri; void *private_data; size_t private_data_length; } flac_picture_t; const char * flac_picture_type_string(flac_picture_type type); flac_picture_t * flac_picture_parse_from_base64(const char *str); flac_picture_t * flac_picture_parse_from_blob(const void *in, size_t len); void flac_picture_free(flac_picture_t *picture); #ifdef __cplusplus } #endif #endif vorbis-tools-1.4.2/include/utf8.h0000644000175000017500000000172013767140576013603 00000000000000 /* * Convert a string between UTF-8 and the locale's charset. * Invalid bytes are replaced by '#', and characters that are * not available in the target encoding are replaced by '?'. * * If the locale's charset is not set explicitly then it is * obtained using nl_langinfo(CODESET), where available, the * environment variable CHARSET, or assumed to be US-ASCII. * * Return value of conversion functions: * * -1 : memory allocation failed * 0 : data was converted exactly * 1 : valid data was converted approximately (using '?') * 2 : input was invalid (but still converted, using '#') * 3 : unknown encoding (but still converted, using '?') */ #ifndef __UTF8_H #define __UTF8_H #ifdef __cplusplus extern "C" { #endif void convert_set_charset(const char *charset); int utf8_encode(const char *from, char **to); int utf8_decode(const char *from, char **to); int utf8_validate(const char *from); #ifdef __cplusplus } #endif #endif /* __UTF8_H */ vorbis-tools-1.4.2/include/Makefile.in0000644000175000017500000003537514002242752014604 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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 = include ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \ $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intl.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/size_max.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ $(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.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_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AO_CFLAGS = @AO_CFLAGS@ AO_LIBS = @AO_LIBS@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURL_CFLAGS = @CURL_CFLAGS@ CURL_LIBS = @CURL_LIBS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG = @DEBUG@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLAC_LIBS = @FLAC_LIBS@ GENCAT = @GENCAT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIBC2 = @GLIBC2@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WPRINTF = @HAVE_WPRINTF@ I18N_CFLAGS = @I18N_CFLAGS@ I18N_LIBS = @I18N_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KATE_CFLAGS = @KATE_CFLAGS@ KATE_LIBS = @KATE_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBPTH = @LIBPTH@ LIBPTH_PREFIX = @LIBPTH_PREFIX@ LIBS = @LIBS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBC = @LTLIBC@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBPTH = @LTLIBPTH@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ OPT_SUBDIRS = @OPT_SUBDIRS@ OPUSFILE_CFLAGS = @OPUSFILE_CFLAGS@ OPUSFILE_LIBS = @OPUSFILE_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POSUB = @POSUB@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PROFILE = @PROFILE@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHARE_CFLAGS = @SHARE_CFLAGS@ SHARE_LIBS = @SHARE_LIBS@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ SPEEX_LIBS = @SPEEX_LIBS@ STRIP = @STRIP@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISENC_LIBS = @VORBISENC_LIBS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ WINDRES = @WINDRES@ WOE32 = @WOE32@ WOE32DLL = @WOE32DLL@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ 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@ EXTRA_DIST = utf8.h getopt.h i18n.h base64.h picture.h all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu include/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu include/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile # 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: vorbis-tools-1.4.2/include/getopt.h0000644000175000017500000001334513767140576014225 00000000000000/* Declarations for getopt. Copyright (C) 1989,90,91,92,93,94,96,97,98 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef _GETOPT_H #ifndef __need_getopt # define _GETOPT_H 1 #endif #ifdef __cplusplus extern "C" { #endif /* For communication from `getopt' to the caller. When `getopt' finds an option that takes an argument, the argument value is returned here. Also, when `ordering' is RETURN_IN_ORDER, each non-option ARGV-element is returned here. */ extern char *optarg; /* Index in ARGV of the next element to be scanned. This is used for communication to and from the caller and for communication between successive calls to `getopt'. On entry to `getopt', zero means this is the first call; initialize. When `getopt' returns -1, this is the index of the first of the non-option elements that the caller should itself scan. Otherwise, `optind' communicates from one call to the next how much of ARGV has been scanned so far. */ extern int optind; /* Callers store zero here to inhibit the error message `getopt' prints for unrecognized options. */ extern int opterr; /* Set to an option character which was unrecognized. */ extern int optopt; #ifndef __need_getopt /* Describe the long-named options requested by the application. The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector of `struct option' terminated by an element containing a name which is zero. The field `has_arg' is: no_argument (or 0) if the option does not take an argument, required_argument (or 1) if the option requires an argument, optional_argument (or 2) if the option takes an optional argument. If the field `flag' is not NULL, it points to a variable that is set to the value given in the field `val' when the option is found, but left unchanged if the option is not found. To have a long-named option do something other than set an `int' to a compiled-in constant, such as set a value from `optarg', set the option's `flag' field to zero and its `val' field to a nonzero value (the equivalent single-letter option character, if there is one). For long options that have a zero `flag' field, `getopt' returns the contents of the `val' field. */ struct option { # if defined __STDC__ && __STDC__ const char *name; # else char *name; # endif /* has_arg can't be an enum because some compilers complain about type mismatches in all the code that assumes it is an int. */ int has_arg; int *flag; int val; }; /* Names for the values of the `has_arg' field of `struct option'. */ # define no_argument 0 # define required_argument 1 # define optional_argument 2 #endif /* need getopt */ /* Get definitions and prototypes for functions to process the arguments in ARGV (ARGC of them, minus the program name) for options given in OPTS. Return the option character from OPTS just read. Return -1 when there are no more options. For unrecognized options, or options missing arguments, `optopt' is set to the option letter, and '?' is returned. The OPTS string is a list of characters which are recognized option letters, optionally followed by colons, specifying that that letter takes an argument, to be placed in `optarg'. If a letter in OPTS is followed by two colons, its argument is optional. This behavior is specific to the GNU `getopt'. The argument `--' causes premature termination of argument scanning, explicitly telling `getopt' that there are no more options. If OPTS begins with `--', then non-option arguments are treated as arguments to the option '\0'. This behavior is specific to the GNU `getopt'. */ #if defined __STDC__ && __STDC__ # ifdef __GNU_LIBRARY__ /* Many other libraries have conflicting prototypes for getopt, with differences in the consts, in stdlib.h. To avoid compilation errors, only prototype getopt for the GNU C library. */ extern int getopt (int __argc, char *const *__argv, const char *__shortopts); # else /* not __GNU_LIBRARY__ */ extern int getopt (); # endif /* __GNU_LIBRARY__ */ # ifndef __need_getopt extern int getopt_long (int __argc, char *const *__argv, const char *__shortopts, const struct option *__longopts, int *__longind); extern int getopt_long_only (int __argc, char *const *__argv, const char *__shortopts, const struct option *__longopts, int *__longind); /* Internal only. Users should not call this directly. */ extern int _getopt_internal (int __argc, char *const *__argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only); # endif #else /* not __STDC__ */ extern int getopt (); # ifndef __need_getopt extern int getopt_long (); extern int getopt_long_only (); extern int _getopt_internal (); # endif #endif /* __STDC__ */ #ifdef __cplusplus } #endif /* Make sure we later can get all the definitions and declarations. */ #undef __need_getopt #endif /* getopt.h */ vorbis-tools-1.4.2/include/i18n.h0000644000175000017500000000044213767140576013474 00000000000000#ifndef VORBIS_TOOLS_I18N_H #define VORBIS_TOOLS_I18N_H #ifdef ENABLE_NLS #include #define _(X) gettext(X) #else #define _(X) (X) #define textdomain(X) #define bindtextdomain(X, Y) #endif #ifdef gettext_noop #define N_(X) gettext_noop(X) #else #define N_(X) (X) #endif #endif vorbis-tools-1.4.2/config.h.in0000644000175000017500000003263414002242752013132 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* Define if building universal (internal helper macro) */ #undef AC_APPLE_UNIVERSAL_BUILD /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP systems. This function is required for `alloca.c' support on those systems. */ #undef CRAY_STACKSEG_END /* Define to 1 if using `alloca.c'. */ #undef C_ALLOCA /* 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 `alloca', as a function or macro. */ #undef HAVE_ALLOCA /* Define to 1 if you have and it should be used (not on Ultrix). */ #undef HAVE_ALLOCA_H /* Define to 1 if you have the `alphasort' function. */ #undef HAVE_ALPHASORT /* Define to 1 if you have the `argz_count' function. */ #undef HAVE_ARGZ_COUNT /* Define to 1 if you have the header file. */ #undef HAVE_ARGZ_H /* Define to 1 if you have the `argz_next' function. */ #undef HAVE_ARGZ_NEXT /* Define to 1 if you have the `argz_stringify' function. */ #undef HAVE_ARGZ_STRINGIFY /* Define to 1 if you have the `asprintf' function. */ #undef HAVE_ASPRINTF /* Define to 1 if you have the `atexit' function. */ #undef HAVE_ATEXIT /* Define to 1 if the compiler understands __builtin_expect. */ #undef HAVE_BUILTIN_EXPECT /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework. */ #undef HAVE_CFLOCALECOPYCURRENT /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework. */ #undef HAVE_CFPREFERENCESCOPYAPPVALUE /* Define to 1 if you have the `chmod' function. */ #undef HAVE_CHMOD /* Defined if we have libcurl */ #undef HAVE_CURL /* Define if the GNU dcgettext() function is already present or preinstalled. */ #undef HAVE_DCGETTEXT /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_FEOF_UNLOCKED /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_FGETS_UNLOCKED /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you don't. */ #undef HAVE_DECL_GETC_UNLOCKED /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you don't. */ #undef HAVE_DECL__SNPRINTF /* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you don't. */ #undef HAVE_DECL__SNWPRINTF /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the `fcntl' function. */ #undef HAVE_FCNTL /* Define to 1 if you have the header file. */ #undef HAVE_FCNTL_H /* Define to 1 if you have the `fwprintf' function. */ #undef HAVE_FWPRINTF /* Define to 1 if you have the `getcwd' function. */ #undef HAVE_GETCWD /* Define to 1 if you have the `getegid' function. */ #undef HAVE_GETEGID /* Define to 1 if you have the `geteuid' function. */ #undef HAVE_GETEUID /* Define to 1 if you have the `getgid' function. */ #undef HAVE_GETGID /* Define to 1 if you have the `getpagesize' function. */ #undef HAVE_GETPAGESIZE /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the `getuid' function. */ #undef HAVE_GETUID /* Define if you have the iconv() function. */ #undef HAVE_ICONV /* Define if you have the 'intmax_t' type in or . */ #undef HAVE_INTMAX_T /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if exists, doesn't clash with , and declares uintmax_t. */ #undef HAVE_INTTYPES_H_WITH_UINTMAX /* Defined if we have libkate */ #undef HAVE_KATE /* Define if you have and nl_langinfo(CODESET). */ #undef HAVE_LANGINFO_CODESET /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Defined if we have libFLAC */ #undef HAVE_LIBFLAC /* Defined if we have libopusfile */ #undef HAVE_LIBOPUSFILE /* Defined if we have libspeex */ #undef HAVE_LIBSPEEX /* Define to 1 if you have the header file. */ #undef HAVE_LIMITS_H /* Define to 1 if the system has the type `long long int'. */ #undef HAVE_LONG_LONG_INT /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `mempcpy' function. */ #undef HAVE_MEMPCPY /* Define to 1 if you have a working `mmap' system call. */ #undef HAVE_MMAP /* Define to 1 if you have the `munmap' function. */ #undef HAVE_MUNMAP /* Define if you have and it defines the NL_LOCALE_NAME macro if _GNU_SOURCE is defined. */ #undef HAVE_NL_LOCALE_NAME /* Define to 1 if you have the `on_exit' function. */ #undef HAVE_ON_EXIT /* Defined if we have ov_read_filter() */ #undef HAVE_OV_READ_FILTER /* Define if your printf() function supports format strings with positions. */ #undef HAVE_POSIX_PRINTF /* Define if you have POSIX threads libraries and header files. */ #undef HAVE_PTHREAD /* Define if the defines PTHREAD_MUTEX_RECURSIVE. */ #undef HAVE_PTHREAD_MUTEX_RECURSIVE /* Define if the POSIX multithreading library has read/write locks. */ #undef HAVE_PTHREAD_RWLOCK /* Define to 1 if you have the `putenv' function. */ #undef HAVE_PUTENV /* Define to 1 if you have the `scandir' function. */ #undef HAVE_SCANDIR /* Define to 1 if you have the `select' function. */ #undef HAVE_SELECT /* Define to 1 if you have the `setenv' function. */ #undef HAVE_SETENV /* Define to 1 if you have the `setlocale' function. */ #undef HAVE_SETLOCALE /* Define to 1 if you have the `snprintf' function. */ #undef HAVE_SNPRINTF /* Define to 1 if you have the `stat' function. */ #undef HAVE_STAT /* Define to 1 if you have the header file. */ #undef HAVE_STDDEF_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define if exists, doesn't clash with , and declares uintmax_t. */ #undef HAVE_STDINT_H_WITH_UINTMAX /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `stpcpy' function. */ #undef HAVE_STPCPY /* Define to 1 if you have the `strcasecmp' function. */ #undef HAVE_STRCASECMP /* 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 `strtoul' function. */ #undef HAVE_STRTOUL /* Define to 1 if you have the header file. */ #undef HAVE_SYS_PARAM_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 `tsearch' function. */ #undef HAVE_TSEARCH /* Define if you have the 'uintmax_t' type in or . */ #undef HAVE_UINTMAX_T /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if the system has the type `unsigned long long int'. */ #undef HAVE_UNSIGNED_LONG_LONG_INT /* Define to 1 or 0, depending whether the compiler supports simple visibility declarations. */ #undef HAVE_VISIBILITY /* Define if you have the 'wchar_t' type. */ #undef HAVE_WCHAR_T /* Define to 1 if you have the `wcslen' function. */ #undef HAVE_WCSLEN /* Define if you have the 'wint_t' type. */ #undef HAVE_WINT_T /* Define to 1 if you have the `__fsetlocking' function. */ #undef HAVE___FSETLOCKING /* Define as const if the declaration of iconv() needs const. */ #undef ICONV_CONST /* Define if integer division by zero raises signal SIGFPE. */ #undef INTDIV0_RAISES_SIGFPE /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* 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 if exists and defines unusable PRI* macros. */ #undef PRI_MACROS_BROKEN /* Define to necessary symbol if this constant uses a non-standard name on your system. */ #undef PTHREAD_CREATE_JOINABLE /* Define if the pthread_in_use() detection is hard. */ #undef PTHREAD_IN_USE_DETECTION_HARD /* Define as the maximum value of type 'size_t', if the system doesn't define it. */ #undef SIZE_MAX /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at runtime. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ #undef STACK_DIRECTION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define if the POSIX multithreading library can be used. */ #undef USE_POSIX_THREADS /* Define if references to the POSIX multithreading library should be made weak. */ #undef USE_POSIX_THREADS_WEAK /* Define if the GNU Pth multithreading library can be used. */ #undef USE_PTH_THREADS /* Define if references to the GNU Pth multithreading library should be made weak. */ #undef USE_PTH_THREADS_WEAK /* Define if the old Solaris multithreading library can be used. */ #undef USE_SOLARIS_THREADS /* Define if references to the old Solaris multithreading library should be made weak. */ #undef USE_SOLARIS_THREADS_WEAK /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # undef __EXTENSIONS__ #endif /* Define if the Win32 multithreading API can be used. */ #undef USE_WIN32_THREADS /* Version number of package */ #undef VERSION /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ #if defined AC_APPLE_UNIVERSAL_BUILD # if defined __BIG_ENDIAN__ # define WORDS_BIGENDIAN 1 # endif #else # ifndef WORDS_BIGENDIAN # undef WORDS_BIGENDIAN # endif #endif /* Enable large inode numbers on Mac OS X 10.5. */ #ifndef _DARWIN_USE_64_BIT_INODE # define _DARWIN_USE_64_BIT_INODE 1 #endif /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS /* Define for large files, on AIX-style hosts. */ #undef _LARGE_FILES /* Define to 1 if on MINIX. */ #undef _MINIX /* Define to 2 if the system does not provide POSIX.1 features except with this defined. */ #undef _POSIX_1_SOURCE /* Define to 1 if you need to in order for `stat' and other things to work. */ #undef _POSIX_SOURCE /* 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 as the type of the result of subtracting two pointers, if the system doesn't define it. */ #undef ptrdiff_t /* Define to `unsigned int' if does not define. */ #undef size_t /* Define to unsigned long or unsigned long long if and don't define. */ #undef uintmax_t #define __libc_lock_t gl_lock_t #define __libc_lock_define gl_lock_define #define __libc_lock_define_initialized gl_lock_define_initialized #define __libc_lock_init gl_lock_init #define __libc_lock_lock gl_lock_lock #define __libc_lock_unlock gl_lock_unlock #define __libc_lock_recursive_t gl_recursive_lock_t #define __libc_lock_define_recursive gl_recursive_lock_define #define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized #define __libc_lock_init_recursive gl_recursive_lock_init #define __libc_lock_lock_recursive gl_recursive_lock_lock #define __libc_lock_unlock_recursive gl_recursive_lock_unlock #define glthread_in_use libintl_thread_in_use #define glthread_lock_init libintl_lock_init #define glthread_lock_lock libintl_lock_lock #define glthread_lock_unlock libintl_lock_unlock #define glthread_lock_destroy libintl_lock_destroy #define glthread_rwlock_init libintl_rwlock_init #define glthread_rwlock_rdlock libintl_rwlock_rdlock #define glthread_rwlock_wrlock libintl_rwlock_wrlock #define glthread_rwlock_unlock libintl_rwlock_unlock #define glthread_rwlock_destroy libintl_rwlock_destroy #define glthread_recursive_lock_init libintl_recursive_lock_init #define glthread_recursive_lock_lock libintl_recursive_lock_lock #define glthread_recursive_lock_unlock libintl_recursive_lock_unlock #define glthread_recursive_lock_destroy libintl_recursive_lock_destroy #define glthread_once libintl_once #define glthread_once_call libintl_once_call #define glthread_once_singlethreaded libintl_once_singlethreaded vorbis-tools-1.4.2/missing0000755000175000017500000001533013042165456012510 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: vorbis-tools-1.4.2/config.sub0000755000175000017500000010676313011674454013106 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2016 Free Software Foundation, Inc. timestamp='2016-11-04' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches to . # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub # 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. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright 1992-2016 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/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ | 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 | ia64 \ | ip2k | iq2000 \ | k1om \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa32r6 | mipsisa32r6el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64r6 | mipsisa64r6el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 | or1k | or1knd | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | 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 \ | we32k \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; leon|leon[3-9]) basic_machine=sparc-$basic_machine ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xgate) basic_machine=$basic_machine-unknown os=-none ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | 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-* | 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-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; asmjs) basic_machine=asmjs-unknown ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; 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 ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; leon-*|leon[3-9]-*) basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; mingw64) basic_machine=x86_64-pc os=-mingw64 ;; mingw32) basic_machine=i686-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; moxiebox) basic_machine=moxie-unknown os=-moxiebox ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i686-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle) 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 ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* | -cloudabi* | -sortix* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -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* \ | -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* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ | -onefs* | -tirtos* | -phoenix* | -fuchsia*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -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 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: vorbis-tools-1.4.2/install-sh0000755000175000017500000003546313042165456013126 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: vorbis-tools-1.4.2/config.rpath0000755000175000017500000004364713767140576013447 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-2007 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 AC_LIBTOOL_PROG_COMPILER_PIC. wl= if test "$GCC" = yes; then wl='-Wl,' else case "$host_os" in aix*) wl='-Wl,' ;; darwin*) case $cc_basename in xlc*) wl='-Wl,' ;; esac ;; mingw* | cygwin* | pw32* | os2*) ;; hpux9* | hpux10* | hpux11*) wl='-Wl,' ;; irix5* | irix6* | nonstopux*) wl='-Wl,' ;; newsos6) ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) wl='-Wl,' ;; pgcc | pgf77 | pgf90) wl='-Wl,' ;; ccc*) wl='-Wl,' ;; como) wl='-lopt=' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) wl='-Wl,' ;; esac ;; esac ;; osf3* | osf4* | osf5*) wl='-Wl,' ;; rdos*) ;; solaris*) wl='-Wl,' ;; sunos4*) wl='-Qoption ld ' ;; sysv4 | sysv4.2uw2* | sysv4.3*) wl='-Wl,' ;; sysv4*MP*) ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) wl='-Wl,' ;; unicos*) wl='-Wl,' ;; uts4*) ;; esac fi # Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no case "$host_os" in cygwin* | mingw* | pw32*) # 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 aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no fi ;; amigaos*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we cannot use # them. ld_shlibs=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; cygwin* | mingw* | pw32*) # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then : else ld_shlibs=no fi ;; interix[3-9]*) hardcode_direct=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; gnu* | linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; netbsd*) ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' else ld_shlibs=no fi ;; esac ;; sunos4*) hardcode_direct=yes ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then hardcode_libdir_flag_spec= fi else case "$host_os" in aix3*) # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix4* | aix5*) 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].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac fi hardcode_direct=yes hardcode_libdir_separator=':' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac fi # Begin _LT_AC_SYS_LIBPATH_AIX. echo 'int main () { return 0; }' > conftest.c ${CC} ${LDFLAGS} conftest.c -o conftest aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` fi if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib" fi rm -f conftest.c conftest # End _LT_AC_SYS_LIBPATH_AIX. if test "$aix_use_runtimelinking" = yes; then hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' else hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" fi fi ;; amigaos*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; bsdi[45]*) ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' libext=lib ;; darwin* | rhapsody*) hardcode_direct=no if test "$GCC" = yes ; then : else case $cc_basename in xlc*) ;; *) ld_shlibs=no ;; esac fi ;; dgux*) hardcode_libdir_flag_spec='-L$libdir' ;; freebsd1*) ld_shlibs=no ;; freebsd2.2*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; freebsd2*) hardcode_direct=yes hardcode_minus_L=yes ;; freebsd* | dragonfly*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; hpux9*) hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; hpux10*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no ;; *) hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; netbsd*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; newsos6) hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then hardcode_libdir_flag_spec='${wl}-rpath,$libdir' else case "$host_os" in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) hardcode_libdir_flag_spec='-R$libdir' ;; *) hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; osf3*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) if test "$GCC" = yes; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else # Both cc and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; solaris*) hardcode_libdir_flag_spec='-R$libdir' ;; sunos4*) hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes ;; sysv4) case $host_vendor in sni) hardcode_direct=yes # is this really true??? ;; siemens) hardcode_direct=no ;; motorola) hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac ;; sysv4.3*) ;; sysv4*MP*) if test -d /usr/nec; then ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) ;; sysv5* | sco3.2v5* | sco5v6*) hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator=':' ;; uts4*) hardcode_libdir_flag_spec='-L$libdir' ;; *) ld_shlibs=no ;; esac fi # Check dynamic linker characteristics # Code taken from libtool.m4's AC_LIBTOOL_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' ;; aix4* | aix5*) library_names_spec='$libname$shrext' ;; amigaos*) library_names_spec='$libname.a' ;; beos*) library_names_spec='$libname$shrext' ;; bsdi[45]*) library_names_spec='$libname$shrext' ;; cygwin* | mingw* | pw32*) shrext=.dll library_names_spec='$libname.dll.a $libname.lib' ;; darwin* | rhapsody*) shrext=.dylib library_names_spec='$libname$shrext' ;; dgux*) library_names_spec='$libname$shrext' ;; freebsd1*) ;; freebsd* | dragonfly*) case "$host_os" in freebsd[123]*) library_names_spec='$libname$shrext$versuffix' ;; *) library_names_spec='$libname$shrext' ;; esac ;; gnu*) library_names_spec='$libname$shrext' ;; hpux9* | hpux10* | hpux11*) case $host_cpu in ia64*) shrext=.so ;; hppa*64*) shrext=.sl ;; *) shrext=.sl ;; esac library_names_spec='$libname$shrext' ;; interix[3-9]*) library_names_spec='$libname$shrext' ;; irix5* | irix6* | nonstopux*) library_names_spec='$libname$shrext' case "$host_os" in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; *) libsuff= shlibsuff= ;; esac ;; esac ;; linux*oldld* | linux*aout* | linux*coff*) ;; linux* | k*bsd*-gnu) library_names_spec='$libname$shrext' ;; knetbsd*-gnu) library_names_spec='$libname$shrext' ;; netbsd*) library_names_spec='$libname$shrext' ;; newsos6) library_names_spec='$libname$shrext' ;; nto-qnx*) library_names_spec='$libname$shrext' ;; openbsd*) library_names_spec='$libname$shrext$versuffix' ;; os2*) libname_spec='$name' shrext=.dll library_names_spec='$libname.a' ;; osf3* | osf4* | osf5*) library_names_spec='$libname$shrext' ;; rdos*) ;; solaris*) library_names_spec='$libname$shrext' ;; sunos4*) library_names_spec='$libname$shrext$versuffix' ;; sysv4 | sysv4.3*) library_names_spec='$libname$shrext' ;; sysv4*MP*) library_names_spec='$libname$shrext' ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) library_names_spec='$libname$shrext' ;; uts4*) library_names_spec='$libname$shrext' ;; esac sed_quote_subst='s/\(["`$\\]\)/\\\1/g' escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` shlibext=`echo "$shrext" | sed -e 's,^\.,,'` escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' < 10-21-2000 # Shamelessly stolen from Owen Taylor and Manish Singh dnl XIPH_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS dnl AC_DEFUN([XIPH_PATH_OGG], [dnl dnl Get the cflags and libraries dnl AC_ARG_WITH(ogg,AC_HELP_STRING([--with-ogg=PFX],[Prefix where libogg is installed (optional)]), ogg_prefix="$withval", ogg_prefix="") AC_ARG_WITH(ogg-libraries,AC_HELP_STRING([--with-ogg-libraries=DIR],[Directory where libogg library is installed (optional)]), ogg_libraries="$withval", ogg_libraries="") AC_ARG_WITH(ogg-includes,AC_HELP_STRING([--with-ogg-includes=DIR],[Directory where libogg header files are installed (optional)]), ogg_includes="$withval", ogg_includes="") AC_ARG_ENABLE(oggtest,AC_HELP_STRING([--disable-oggtest],[Do not try to compile and run a test Ogg program]),, enable_oggtest=yes) if test "x$ogg_libraries" != "x" ; then OGG_LIBS="-L$ogg_libraries" elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then OGG_LIBS="" elif test "x$ogg_prefix" != "x" ; then OGG_LIBS="-L$ogg_prefix/lib" elif test "x$prefix" != "xNONE" ; then OGG_LIBS="-L$prefix/lib" fi if test "x$ogg_prefix" != "xno" ; then OGG_LIBS="$OGG_LIBS -logg" fi if test "x$ogg_includes" != "x" ; then OGG_CFLAGS="-I$ogg_includes" elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then OGG_CFLAGS="" elif test "x$ogg_prefix" != "x" ; then OGG_CFLAGS="-I$ogg_prefix/include" elif test "x$prefix" != "xNONE"; then OGG_CFLAGS="-I$prefix/include" fi AC_MSG_CHECKING(for Ogg) if test "x$ogg_prefix" = "xno" ; then no_ogg="disabled" enable_oggtest="no" else no_ogg="" fi if test "x$enable_oggtest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $OGG_CFLAGS" LIBS="$LIBS $OGG_LIBS" dnl dnl Now check if the installed Ogg is sufficiently new. dnl rm -f conf.oggtest AC_TRY_RUN([ #include #include #include #include int main () { system("touch conf.oggtest"); return 0; } ],, no_ogg=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_ogg" = "xdisabled" ; then AC_MSG_RESULT(no) ifelse([$2], , :, [$2]) elif test "x$no_ogg" = "x" ; then AC_MSG_RESULT(yes) ifelse([$1], , :, [$1]) else AC_MSG_RESULT(no) if test -f conf.oggtest ; then : else echo "*** Could not run Ogg test program, checking why..." CFLAGS="$CFLAGS $OGG_CFLAGS" LIBS="$LIBS $OGG_LIBS" AC_TRY_LINK([ #include #include ], [ return 0; ], [ echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding Ogg or finding the wrong" echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], [ echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means Ogg was incorrectly installed" echo "*** or that you have moved Ogg since it was installed. In the latter case, you" echo "*** may want to edit the ogg-config script: $OGG_CONFIG" ]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi OGG_CFLAGS="" OGG_LIBS="" ifelse([$2], , :, [$2]) fi AC_SUBST(OGG_CFLAGS) AC_SUBST(OGG_LIBS) rm -f conf.oggtest ]) # Configure paths for libvorbis # Jack Moffitt 10-21-2000 # Shamelessly stolen from Owen Taylor and Manish Singh dnl XIPH_PATH_VORBIS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) dnl Test for libvorbis, and define VORBIS_CFLAGS and VORBIS_LIBS dnl AC_DEFUN([XIPH_PATH_VORBIS], [dnl dnl Get the cflags and libraries dnl AC_ARG_WITH(vorbis,AC_HELP_STRING([--with-vorbis=PFX],[Prefix where libvorbis is installed (optional)]), vorbis_prefix="$withval", vorbis_prefix="") AC_ARG_WITH(vorbis-libraries,AC_HELP_STRING([--with-vorbis-libraries=DIR],[Directory where libvorbis library is installed (optional)]), vorbis_libraries="$withval", vorbis_libraries="") AC_ARG_WITH(vorbis-includes,AC_HELP_STRING([--with-vorbis-includes=DIR],[Directory where libvorbis header files are installed (optional)]), vorbis_includes="$withval", vorbis_includes="") AC_ARG_ENABLE(vorbistest,AC_HELP_STRING([--disable-vorbistest],[Do not try to compile and run a test Vorbis program]),, enable_vorbistest=yes) if test "x$vorbis_libraries" != "x" ; then VORBIS_LIBS="-L$vorbis_libraries" elif test "x$vorbis_prefix" = "xno" || test "x$vorbis_prefix" = "xyes" ; then VORBIS_LIBS="" elif test "x$vorbis_prefix" != "x" ; then VORBIS_LIBS="-L$vorbis_prefix/lib" elif test "x$prefix" != "xNONE"; then VORBIS_LIBS="-L$prefix/lib" fi VORBISFILE_LIBS="$VORBIS_LIBS -lvorbisfile" VORBISENC_LIBS="$VORBIS_LIBS -lvorbisenc" if test "x$vorbis_prefix" != "xno" ; then VORBIS_LIBS="$VORBIS_LIBS -lvorbis" fi if test "x$vorbis_includes" != "x" ; then VORBIS_CFLAGS="-I$vorbis_includes" elif test "x$vorbis_prefix" = "xno" || test "x$vorbis_prefix" = "xyes" ; then VORBIS_CFLAGS="" elif test "x$vorbis_prefix" != "x" ; then VORBIS_CFLAGS="-I$vorbis_prefix/include" elif test "x$prefix" != "xNONE"; then VORBIS_CFLAGS="-I$prefix/include" fi xiph_saved_LIBS="$LIBS" LIBS="" AC_SEARCH_LIBS(cos, m, [VORBIS_LIBS="$VORBIS_LIBS $LIBS"], [ AC_MSG_WARN([cos() not found in math library, vorbis installation may not work]) ]) LIBS="$xiph_saved_LIBS" AC_MSG_CHECKING(for Vorbis) if test "x$vorbis_prefix" = "xno" ; then no_vorbis="disabled" enable_vorbistest="no" else no_vorbis="" fi if test "x$enable_vorbistest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS" LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS" dnl dnl Now check if the installed Vorbis is sufficiently new. dnl rm -f conf.vorbistest AC_TRY_RUN([ #include #include #include #include int main () { system("touch conf.vorbistest"); return 0; } ],, no_vorbis=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_vorbis" = "xdisabled" ; then AC_MSG_RESULT(no) ifelse([$2], , :, [$2]) elif test "x$no_vorbis" = "x" ; then AC_MSG_RESULT(yes) ifelse([$1], , :, [$1]) else AC_MSG_RESULT(no) if test -f conf.vorbistest ; then : else echo "*** Could not run Vorbis test program, checking why..." CFLAGS="$CFLAGS $VORBIS_CFLAGS" LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS" AC_TRY_LINK([ #include #include ], [ return 0; ], [ echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding Vorbis or finding the wrong" echo "*** version of Vorbis. If it is not finding Vorbis, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], [ echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means Vorbis was incorrectly installed" echo "*** or that you have moved Vorbis since it was installed." ]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi VORBIS_CFLAGS="" VORBIS_LIBS="" VORBISFILE_LIBS="" VORBISENC_LIBS="" ifelse([$2], , :, [$2]) fi AC_SUBST(VORBIS_CFLAGS) AC_SUBST(VORBIS_LIBS) AC_SUBST(VORBISFILE_LIBS) AC_SUBST(VORBISENC_LIBS) rm -f conf.vorbistest ]) # ao.m4 # Configure paths for libao # Jack Moffitt 10-21-2000 # Shamelessly stolen from Owen Taylor and Manish Singh dnl XIPH_PATH_AO([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) dnl Test for libao, and define AO_CFLAGS and AO_LIBS dnl AC_DEFUN([XIPH_PATH_AO], [dnl dnl Get the cflags and libraries dnl AC_ARG_WITH(ao,AC_HELP_STRING([--with-ao=PFX],[Prefix where libao is installed (optional)]), ao_prefix="$withval", ao_prefix="") AC_ARG_WITH(ao-libraries,AC_HELP_STRING([--with-ao-libraries=DIR],[Directory where libao library is installed (optional)]), ao_libraries="$withval", ao_libraries="") AC_ARG_WITH(ao-includes,AC_HELP_STRING([--with-ao-includes=DIR],[Directory where libao header files are installed (optional)]), ao_includes="$withval", ao_includes="") AC_ARG_ENABLE(aotest,AC_HELP_STRING([--disable-aotest],[Do not try to compile and run a test ao program]),, enable_aotest=yes) if test "x$ao_prefix" != "xno" then if test "x$ao_libraries" != "x" ; then AO_LIBS="-L$ao_libraries" elif test "x$ao_prefix" = "xno" || test "x$ao_prefix" = "xyes" ; then AO_LIBS="" elif test "x$ao_prefix" != "x" -a "x$ao_prefix" != "xyes"; then AO_LIBS="-L$ao_prefix/lib" elif test "x$prefix" != "xNONE"; then AO_LIBS="-L$prefix/lib" fi if test "x$ao_includes" != "x" ; then AO_CFLAGS="-I$ao_includes" elif test "x$ao_prefix" = "xno" || test "x$ao_prefix" = "xyes" ; then AO_CFLAGS="" elif test "x$ao_prefix" != "x" -a "x$ao_prefix" != "xyes"; then AO_CFLAGS="-I$ao_prefix/include" elif test "x$prefix" != "xNONE"; then AO_CFLAGS="-I$prefix/include" fi # see where dl* and friends live AC_CHECK_FUNCS(dlopen, [AO_DL_LIBS=""], [ AC_CHECK_LIB(dl, dlopen, [AO_DL_LIBS="-ldl"], [ AC_MSG_WARN([could not find dlopen() needed by libao sound drivers your system may not be supported.]) ]) ]) if test "x$ao_prefix" != "xno" ; then AO_LIBS="$AO_LIBS -lao $AO_DL_LIBS" fi AC_MSG_CHECKING(for ao) if test "x$ao_prefix" = "xno" ; then no_ao="disabled" enable_aotest="no" else no_ao="" fi if test "x$enable_aotest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $AO_CFLAGS" LIBS="$LIBS $AO_LIBS" dnl dnl Now check if the installed ao is sufficiently new. dnl rm -f conf.aotest AC_TRY_RUN([ #include #include #include #include int main () { system("touch conf.aotest"); return 0; } ],, no_ao=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_ao" = "xdisabled" ; then AC_MSG_RESULT(no) ifelse([$2], , :, [$2]) elif test "x$no_ao" = "x" ; then AC_MSG_RESULT(yes) ifelse([$1], , :, [$1]) else AC_MSG_RESULT(no) if test -f conf.aotest ; then : else echo "*** Could not run ao test program, checking why..." CFLAGS="$CFLAGS $AO_CFLAGS" LIBS="$LIBS $AO_LIBS" AC_TRY_LINK([ #include #include ], [ return 0; ], [ echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding ao or finding the wrong" echo "*** version of ao. If it is not finding ao, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], [ echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means ao was incorrectly installed" echo "*** or that you have moved ao since it was installed." ]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi AO_CFLAGS="" AO_LIBS="" ifelse([$2], , :, [$2]) fi AC_SUBST(AO_CFLAGS) AC_SUBST(AO_LIBS) rm -f conf.aotest fi ]) dnl This macros shamelessly stolen from dnl http://gcc.gnu.org/ml/gcc-bugs/2001-06/msg01398.html. dnl Written by Bruno Haible. AC_DEFUN([AM_ICONV], [ 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_ARG_WITH([libiconv-prefix], [ --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib], [ for dir in `echo "$withval" | tr : ' '`; do if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi done ]) AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], am_cv_func_iconv=yes) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS -liconv" AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], am_cv_lib_iconv=yes am_cv_func_iconv=yes) LIBS="$am_save_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) AC_MSG_CHECKING([for iconv declaration]) AC_CACHE_VAL(am_cv_proto_iconv, [ AC_TRY_COMPILE([ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` AC_MSG_RESULT([$]{ac_t:- }[$]am_cv_proto_iconv) AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, [Define as const if the declaration of iconv() needs const.]) fi LIBICONV= if test "$am_cv_lib_iconv" = yes; then LIBICONV="-liconv" fi AC_SUBST(LIBICONV) ]) dnl From Bruno Haible. dnl AC_DEFUN([AM_LANGINFO_CODESET], [ AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, [AC_TRY_LINK([#include ], [char* cs = nl_langinfo(CODESET);], am_cv_langinfo_codeset=yes, am_cv_langinfo_codeset=no) ]) if test $am_cv_langinfo_codeset = yes; then AC_DEFINE(HAVE_LANGINFO_CODESET, 1, [Define if you have and nl_langinfo(CODESET).]) fi ]) dnl AM_PATH_CURL([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) dnl Test for libcurl, and define CURL_CFLAGS and CURL_LIBS dnl AC_DEFUN([AM_PATH_CURL], [dnl dnl Get the cflags and libraries dnl AC_ARG_WITH(curl,[ --with-curl=PFX Prefix where libcurl is installed (optional)], curl_prefix="$withval", curl_prefix="") AC_ARG_WITH(curl-libraries,[ --with-curl-libraries=DIR Directory where libcurl library is installed (optional)], curl_libraries="$withval", curl_libraries="") AC_ARG_WITH(curl-includes,[ --with-curl-includes=DIR Directory where libcurl header files are installed (optional)], curl_includes="$withval", curl_includes="") AC_ARG_ENABLE(curltest, [ --disable-curltest Do not try to compile and run a test libcurl program],, enable_curltest=yes) if test "x$curl_prefix" != "xno" ; then if test "x$curl_libraries" != "x" ; then CURL_LIBS="-L$curl_libraries" elif test "x$curl_prefix" != "x" ; then CURL_LIBS="-L$curl_prefix/lib" elif test "x$prefix" != "xNONE" ; then CURL_LIBS="-L$prefix/lib" fi CURL_LIBS="$CURL_LIBS -lcurl" if test "x$curl_includes" != "x" ; then CURL_CFLAGS="-I$curl_includes" elif test "x$curl_prefix" != "x" ; then CURL_CFLAGS="-I$curl_prefix/include" elif test "x$prefix" != "xNONE"; then CURL_CFLAGS="-I$prefix/include" fi AC_MSG_CHECKING(for libcurl) no_curl="" if test "x$enable_curltest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $CURL_CFLAGS" LIBS="$LIBS $CURL_LIBS" dnl dnl Now check if the installed libcurl is sufficiently new. dnl rm -f conf.curltest AC_TRY_RUN([ #include #include #include #include int main () { system("touch conf.curltest"); return 0; } ],, no_curl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_curl" = "x" ; then AC_MSG_RESULT(yes) AC_DEFINE(HAVE_CURL, 1, [Define if you have libcurl.]) ifelse([$1], , :, [$1]) else AC_MSG_RESULT(no) if test -f conf.curltest ; then : else echo "*** Could not run libcurl test program, checking why..." CFLAGS="$CFLAGS $CURL_CFLAGS" LIBS="$LIBS $CURL_LIBS" AC_TRY_LINK([ #include #include ], [ return 0; ], [ echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding libcurl or finding the wrong" echo "*** version of libcurl. If it is not finding libcurl, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], [ echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means libcurl was incorrectly installed" echo "*** or that you have moved libcurl since it was installed." ]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi CURL_CFLAGS="" CURL_LIBS="" ifelse([$2], , :, [$2]) fi else CURL_CFLAGS="" CURL_LIBS="" fi AC_SUBST(CURL_CFLAGS) AC_SUBST(CURL_LIBS) rm -f conf.curltest ]) vorbis-tools-1.4.2/README0000644000175000017500000000545313774142372012002 00000000000000WHAT'S HERE: This source distribution includes the vorbis-tools and nothing else. The audio codec libraries for use with Ogg bitstreams are contained in other modules: vorbis, speex and flac. DIRECTORIES: debian/ debian packaging stuff include/ header files shared between the tools intl/ GNU gettext library from gettext-0.10.40 (for i18n support) ogg123/ an ogg vorbis command line audio player oggenc/ the ogg vorbis encoder oggdec/ a simple, portable command line decoder (to wav and raw) ogginfo/ provides information (tags, bitrate, length, etc.) about an ogg vorbis file po/ translations for non-English languages share/ code shared between the tools vcut/ cuts an ogg vorbis file into two parts at a particular point vorbiscomment/ edits the comments in an ogg vorbis file win32/ Win32 build stuff DEPENDENCIES: All of the tools require libogg and libvorbis to be installed (along with the header files). Additionally, ogg123 requires libao, libcurl, and a POSIX-compatible thread library. Ogg123 can optionally compiled to use libFLAC, and libspeex. Oggenc can be optionally compiled with libFLAC, and libkate. The libraries libogg, libvorbis, and libao are all available at https://xiph.org/vorbis/ The libcurl library is packaged with most Linux distributions. The source code can also be downloaded from: http://curl.haxx.se/libcurl/ FLAC is available at: https://xiph.org/flac/ Speex is available at: https://www.speex.org/ libkate is available at: http://libkate.googlecode.com/ CONTACT: The Ogg Vorbis homepage is located at 'https://xiph.org/vorbis/'. Up to date technical documents, contact information, source code and pre-built utilities may be found there. Developer information is available from http://www.xiph.org/. Check there for bug reporting information, mailing lists and other resources. BUILDING FROM SUBVERSION (see the file HACKING for details): ./autogen.sh make and as root if desired : make install This will install the tools into /usr/local/bin and manpages into /usr/local/man. BUILDING FROM TARBALL DISTRIBUTIONS: ./configure make and as root if desired : make install BUILDING RPMS: RPMs may be built by: after autogen.sh or configure make dist rpm -ta vorbis-tools-.tar.gz KNOWN BUGS: #1321 First noticed in non-English versions of the application, ogg123 has a major bug when it comes to status messages in the shell: any output bigger than the console's width will break and start spamming that message infinitely until the console is resized. Different attempts to fix this bug have ended up causing bigger problems, leading to the conclusion that it simply can't be fixed without a large re-write of the application, which will not happen any time soon. If you come across this issue, please augment your terminal window size. vorbis-tools-1.4.2/COPYING0000644000175000017500000004311013767140576012153 00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 Library 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 Library General Public License instead of this License. vorbis-tools-1.4.2/win32/0000755000175000017500000000000014002243561012120 500000000000000vorbis-tools-1.4.2/win32/Makefile.am0000644000175000017500000000037513767140576014124 00000000000000## Process this file with automake to produce Makefile.in EXTRA_DIST = oggenc.dsp oggenc_dynamic.dsp ogginfo.dsp tools.dsp tools.dsw\ tools.opt vcut.dsp vorbiscomment.dsp debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" vorbis-tools-1.4.2/win32/vcut.dsp0000644000175000017500000001037013767140576013555 00000000000000# Microsoft Developer Studio Project File - Name="vcut" - Package Owner=<4> # Microsoft Developer Studio Generated Build File, Format Version 6.00 # ** DO NOT EDIT ** # TARGTYPE "Win32 (x86) Console Application" 0x0103 CFG=vcut - Win32 Debug !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE !MESSAGE NMAKE /f "vcut.mak". !MESSAGE !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE !MESSAGE NMAKE /f "vcut.mak" CFG="vcut - Win32 Debug" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "vcut - Win32 Release" (based on "Win32 (x86) Console Application") !MESSAGE "vcut - Win32 Debug" (based on "Win32 (x86) Console Application") !MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe !IF "$(CFG)" == "vcut - Win32 Release" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 0 # PROP BASE Output_Dir "vcut___Win32_Release" # PROP BASE Intermediate_Dir "vcut___Win32_Release" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 0 # PROP Output_Dir "Release\vcut\static" # PROP Intermediate_Dir "Release\vcut\static" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c # ADD CPP /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c # SUBTRACT CPP /YX # ADD BASE RSC /l 0x409 /d "NDEBUG" # ADD RSC /l 0x409 /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 # ADD LINK32 ogg_static.lib vorbis_static.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" !ELSEIF "$(CFG)" == "vcut - Win32 Debug" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "vcut___Win32_Debug" # PROP BASE Intermediate_Dir "vcut___Win32_Debug" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 # PROP Output_Dir "Debug\vcut\static" # PROP Intermediate_Dir "Debug\vcut\static" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c # ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c # SUBTRACT CPP /YX # ADD BASE RSC /l 0x409 /d "_DEBUG" # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept # ADD LINK32 ogg_static_d.lib vorbis_static_d.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ogg\win32\Static_Debug" /libpath:"..\..\vorbis\win32\Vorbis_Static_Debug" !ENDIF # Begin Target # Name "vcut - Win32 Release" # Name "vcut - Win32 Debug" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" # Begin Source File SOURCE=..\vcut\vcut.c # End Source File # End Group # Begin Group "Header Files" # PROP Default_Filter "h;hpp;hxx;hm;inl" # Begin Source File SOURCE=..\vcut\vcut.h # End Source File # End Group # Begin Group "Resource Files" # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" # End Group # End Target # End Project vorbis-tools-1.4.2/win32/Makefile.in0000644000175000017500000003560314002242753014116 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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 = win32 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \ $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intl.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/size_max.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ $(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.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_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AO_CFLAGS = @AO_CFLAGS@ AO_LIBS = @AO_LIBS@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURL_CFLAGS = @CURL_CFLAGS@ CURL_LIBS = @CURL_LIBS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG = @DEBUG@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLAC_LIBS = @FLAC_LIBS@ GENCAT = @GENCAT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIBC2 = @GLIBC2@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WPRINTF = @HAVE_WPRINTF@ I18N_CFLAGS = @I18N_CFLAGS@ I18N_LIBS = @I18N_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KATE_CFLAGS = @KATE_CFLAGS@ KATE_LIBS = @KATE_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBPTH = @LIBPTH@ LIBPTH_PREFIX = @LIBPTH_PREFIX@ LIBS = @LIBS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBC = @LTLIBC@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBPTH = @LTLIBPTH@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ OPT_SUBDIRS = @OPT_SUBDIRS@ OPUSFILE_CFLAGS = @OPUSFILE_CFLAGS@ OPUSFILE_LIBS = @OPUSFILE_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POSUB = @POSUB@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PROFILE = @PROFILE@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHARE_CFLAGS = @SHARE_CFLAGS@ SHARE_LIBS = @SHARE_LIBS@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ SPEEX_LIBS = @SPEEX_LIBS@ STRIP = @STRIP@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISENC_LIBS = @VORBISENC_LIBS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ WINDRES = @WINDRES@ WOE32 = @WOE32@ WOE32DLL = @WOE32DLL@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ 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@ EXTRA_DIST = oggenc.dsp oggenc_dynamic.dsp ogginfo.dsp tools.dsp tools.dsw\ tools.opt vcut.dsp vorbiscomment.dsp all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu win32/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu win32/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" # 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: vorbis-tools-1.4.2/win32/tools.opt0000644000175000017500000023500013767140576013747 00000000000000ÐÏࡱá>þÿ þÿÿÿþÿÿÿ}ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿýÿÿÿ  þÿÿÿ þÿÿÿþÿÿÿI"#$%&'()*þÿÿÿ,-./01234þÿÿÿ6789:;<=>þÿÿÿ@ABCDEFGHþÿÿÿrKLMNOPQRSþÿÿÿUVWXYZ[\]þÿÿÿ_`abcdefgþÿÿÿijklmnopqþÿÿÿþÿÿÿtuvwxyz{|þÿÿÿýÿÿÿ€Root EntryÿÿÿÿÿÿÿÿÀà®ÃþÿÿÿWorkspace State  ÿÿÿÿBrowserÿÿÿÿ Editor ÿÿÿÿÿÿÿÿoggdec-C:\Ed\work\xiph\vorbis-tools\win32\oggdec.dsp vorbiscomment4C:\Ed\work\xiph\vorbis-tools\win32\vorbiscomment.dsptools,C:\Ed\work\xiph\vorbis-tools\win32\tools.dspogginfo.C:\Ed\work\xiph\vorbis-tools\win32\ogginfo.dspoggenc-C:\Ed\work\xiph\vorbis-tools\win32\oggenc.dspoggenc_dynamic5C:\Ed\work\xiph\vorbis-tools\win32\oggenc_dynamic.dspvcut+C:\Ed\work\xiph\vorbis-tools\win32\vcut.dspCommand Lines

Results

tools - 0 error(s), 33 warning(s) libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vcut\static\vcut.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E1.tmp"

Output Window

Compiling... vcut.c C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(82) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(84) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : p-C:\Ed\work\xiph\vorbis-tools\win32\oggdec.dsp vorbiscomment4C:\Ed\work\xiph\vorbis-tools\win32\vorbiscomment.dsptools,C:\Ed\work\xiph\vorbis-tools\win32\tools.dspogginfo.C:\Ed\work\xiph\vorbis-tools\win32\ogginfo.dspoggenc-C:\Ed\work\xiph\vorbis-tools\win32\oggenc.dspoggenc_dynamic5C:\Ed\work\xiph\vorbis-tools\win32\oggenc_dynamic.dspvcut+C:\Ed\work\xiph\vorbis-tools\win32\vcut.dspCommand Lines

Results

tools - 0 error(s), 33 warning(s) libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vcut\static\vcut.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E1.tmp"

Output Window

Compiling... vcut.c C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(82) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(84) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : pMLJL-C:\Ed\work\xiph\vorbis-tools\win32\oggdec.dsp vorbiscomment4C:\Ed\work\xiph\vorbis-tools\win32\vorbiscomment.dsptools,C:\Ed\work\xiph\vorbis-tools\win32\tools.dspogginfo.C:\Ed\work\xiph\vorbis-tools\win32\ogginfo.dspoggenc-C:\Ed\work\xiph\vorbis-tools\win32\oggenc.dspoggenc_dynamic5C:\Ed\work\xiph\vorbis-tools\win32\oggenc_dynamic.dspvcut+C:\Ed\work\xiph\vorbis-tools\win32\vcut.dspCommand Lines

Results

tools - 0 error(s), 33 warning(s) libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vcut\static\vcut.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E1.tmp"

Output Window

Compiling... vcut.c C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(82) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(84) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : pWorkspace Window" ÿÿÿÿÿÿÿÿ!IPI_oggencÿÿÿÿ+IPI_oggenc_dynamic&ÿÿÿÿÿÿÿÿÿÿÿÿ5IPI_ogginfoÿÿÿÿÿÿÿÿÿÿÿÿ?tools ClassView tools classesoggenc_dynamic classesFileViewWorkspace 'tools': 7 project(s) tools files tools filesWorkspace 'tools': 7 project(s)FileViewogginfo.dspoggenc-C:\Ed\work\xiph\vorbis-tools\win32\oggenc.dspoggenc_dynamic5C:\Ed\work\xiph\vorbis-tools\win32\oggenc_dynamic.dspvcut+C:\Ed\work\xiph\vorbis-tools\win32\vcut.dspCommand Lines

Results

tools - 0 error(s), 33 warning(s) libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vcut\static\vcut.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E1.tmp"

Output Window

Compiling... vcut.c C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(82) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(84) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : p`êOGGENC - WIN32 RELEASE oggenc.dspCProjectOGGENC - WIN32 RELEASEoggenc - Win32 Release€êì.é/-o .\test.ogg ..\..\win32sdk\sdk\build\test.wavûoggenc - Win32 Debug€êé/-o .\test.ogg ..\..\win32sdk\sdk\build\test.wavì.ûSSBR CTargetItemoggenc - Win32 Releaseoggenc - Win32 DebugSSBR Source Files CProjGroupSSBRDJW Header Files CProjGroupSSBRDJWResource Files CProjGroupSSBRDJWdepCDependencyContainerSSBRDJWdepCDependencyContainerSSBRogg.hCDependencyFileSSBR os_types.hCDependencyFileSSBRcodec.hCDependencyFileSSBRi18n.hCDependencyFileSSBR vorbisenc.hCDependencyFileSSBR basetsd.hCDependencyFileSSBRDJWDJWDJWsmatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(84) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : p`êOGGENC_DYNAMIC - WIN32 RELEASEoggenc_dynamic.dspCProjectOGGENC_DYNAMIC - WIN32 RELEASEoggenc_dynamic - Win32 Release€é/-o .\test.ogg ..\..\win32sdk\sdk\build\test.wavì.êûoggenc_dynamic - Win32 Debug€êì.é/-o .\test.ogg ..\..\win32sdk\sdk\build\test.wavûSSBR CTargetItemoggenc_dynamic - Win32 Releaseoggenc_dynamic - Win32 DebugSSBR Source Files CProjGroupSSBRDJW Header Files CProjGroupSSBRDJWResource Files CProjGroupSSBRDJWdepCDependencyContainerSSBRDJWdepCDependencyContainerSSBRogg.hCDependencyFileSSBR os_types.hCDependencyFileSSBRcodec.hCDependencyFileSSBR resample.hCDependencyFileSSBRi18n.hCDependencyFileSSBR vorbisenc.hCDependencyFileSSBR basetsd.hCDependencyFileSSBRDJWDJWDJWismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : p`êOGGINFO - WIN32 RELEASE ogginfo.dspCProjectOGGINFO - WIN32 RELEASEogginfo - Win32 Release€ì.étest.oggêûogginfo - Win32 Debug€êì.étest.oggûSSBR CTargetItemogginfo - Win32 Releaseogginfo - Win32 DebugSSBR Source Files CProjGroupSSBRDJW Header Files CProjGroupSSBRDJWResource Files CProjGroupSSBRDJWdepCDependencyContainerSSBRDJWdepCDependencyContainerSSBRgetopt.hCDependencyFileSSBRi18n.hCDependencyFileSSBR os_types.hCDependencyFileSSBRogg.hCDependencyFileSSBRcodec.hCDependencyFileSSBRutf8.hCDependencyFileSSBR basetsd.hCDependencyFileSSBRDJWDJWDJWleSSBRi18n.hCDependencyFileSSBR vorbisenc.hCDependencyFileSSBR basetsd.hCDependencyFileSSBRDJWDJWDJWismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : pIPI_tools ÿÿÿÿJIPI_vcutÿÿÿÿTIPI_vorbiscomment$ÿÿÿÿ^IPI_oggdecÿÿÿÿÿÿÿÿÿÿÿÿh`êTOOLS - WIN32 RELEASE tools.dspCProjectTOOLS - WIN32 RELEASEtools - Win32 Release€êtools - Win32 Debug€êSSBR CTargetItemtools - Win32 Releasetools - Win32 DebugSSBRoggencCProjectDependencySSBRoggenc_dynamicCProjectDependencySSBRogginfoCProjectDependencySSBRvcutCProjectDependencySSBR vorbiscommentCProjectDependencySSBRoggdecCProjectDependencySSBRDJWDJWWdepCDependencyContainerSSBRgetopt.hCDependencyFileSSBRi18n.hCDependencyFileSSBR os_types.hCDependencyFileSSBRogg.hCDependencyFileSSBRcodec.hCDependencyFileSSBRutf8.hCDependencyFileSSBR basetsd.hCDependencyFileSSBRDJWDJWDJWleSSBRi18n.hCDependencyFileSSBR vorbisenc.hCDependencyFileSSBR basetsd.hCDependencyFileSSBRDJWDJWDJWismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : p`êVCUT - WIN32 RELEASEvcut.dspCProjectVCUT - WIN32 RELEASEvcut - Win32 Release€êûvcut - Win32 Debug€êûSSBR CTargetItemvcut - Win32 Releasevcut - Win32 DebugSSBR Source Files CProjGroupSSBRDJW Header Files CProjGroupSSBRDJWResource Files CProjGroupSSBRDJWdepCDependencyContainerSSBRDJWdepCDependencyContainerSSBR os_types.hCDependencyFileSSBRi18n.hCDependencyFileSSBRogg.hCDependencyFileSSBRcodec.hCDependencyFileSSBRDJWDJWDJWendencyFileSSBRogg.hCDependencyFileSSBRcodec.hCDependencyFileSSBRutf8.hCDependencyFileSSBR basetsd.hCDependencyFileSSBRDJWDJWDJWleSSBRi18n.hCDependencyFileSSBR vorbisenc.hCDependencyFileSSBR basetsd.hCDependencyFileSSBRDJWDJWDJWismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : p`êVORBISCOMMENT - WIN32 RELEASEvorbiscomment.dspCProjectVORBISCOMMENT - WIN32 RELEASEvorbiscomment - Win32 Release€êûvorbiscomment - Win32 Debug€êì.éûSSBR CTargetItemvorbiscomment - Win32 Releasevorbiscomment - Win32 DebugSSBR Source Files CProjGroupSSBRDJW Header Files CProjGroupSSBRDJWResource Files CProjGroupSSBRDJWdepCDependencyContainerSSBRDJWdepCDependencyContainerSSBRgetopt.hCDependencyFileSSBRutf8.hCDependencyFileSSBR basetsd.hCDependencyFileSSBRogg.hCDependencyFileSSBR os_types.hCDependencyFileSSBRcodec.hCDependencyFileSSBRi18n.hCDependencyFileSSBRDJWDJWDJW18n.hCDependencyFileSSBR vorbisenc.hCDependencyFileSSBR basetsd.hCDependencyFileSSBRDJWDJWDJWismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : p`êOGGDEC - WIN32 RELEASE oggdec.dspCProjectOGGDEC - WIN32 RELEASEoggdec - Win32 Releaseêûoggdec - Win32 DebugêûSSBR CTargetItemoggdec - Win32 Releaseoggdec - Win32 DebugSSBR Source Files CProjGroupSSBRDJW Header Files CProjGroupSSBRDJWResource Files CProjGroupSSBRDJWdepCDependencyContainerSSBRcodec.hCDependencyFileSSBR os_types.hCDependencyFileSSBRogg.hCDependencyFileSSBR vorbisfile.hCDependencyFileSSBRgetopt.hCDependencyFileSSBRDJWdepCDependencyContainerSSBRcodec.hCDependencyFileSSBR os_types.hCDependencyFileSSBRogg.hCDependencyFileSSBR vorbisfile.hCDependencyFileSSBRgetopt.hCDependencyFileSSBRDJWDJWDJWR vorbisenc.hCDependencyFileSSBR basetsd.hCDependencyFileSSBRDJWDJWDJWismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : pIPI_ ÿÿÿÿÿÿÿÿÿÿÿÿsClassView Window"ÿÿÿÿÿÿÿÿÿÿÿÿ~DebuggerÿÿÿÿÿÿÿÿÿÿÿÿˆDocumentsÿÿÿÿÿÿÿÿÿÿÿÿ’`êoggdec Source Filesgetopt.c getopt1.coggdec.c Header FilesResource Filesoggenc Source Filesaudio.cencode.cgetopt.c getopt1.coggenc.c platform.c resample.cutf8.c Header FilesResource Filesoggenc_dynamicogginfotoolsvcut vorbiscommentÿÿÿÿÿÿpCDependencyContainerSSBRcodec.hCDependencyFileSSBR os_types.hCDependencyFileSSBRogg.hCDependencyFileSSBR vorbisfile.hCDependencyFileSSBRgetopt.hCDependencyFileSSBRDJWdepCDependencyContainerSSBRcodec.hCDependencyFileSSBR os_types.hCDependencyFileSSBRogg.hCDependencyFileSSBR vorbisfile.hCDependencyFileSSBRgetopt.hCDependencyFileSSBRDJWDJWDJWR vorbisenc.hCDependencyFileSSBR basetsd.hCDependencyFileSSBRDJWDJWDJWismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : p‚ƒ„…†‡þÿÿÿ‰Š‹ŒŽ‘þÿÿÿ“”•–—˜™š›þÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ CClsFldSloboggenc€oggenc_dynamic€ogginfo€tools€vcut€ vorbiscomment€oggdecource Filesaudio.cencode.cgetopt.c getopt1.coggenc.c platform.c resample.cutf8.c Header FilesResource Filesoggenc_dynamicogginfotoolsvcut vorbiscommentÿÿÿÿÿÿpCDependencyContainerSSBRcodec.hCDependencyFileSSBR os_types.hCDependencyFileSSBRogg.hCDependencyFileSSBR vorbisfile.hCDependencyFileSSBRgetopt.hCDependencyFileSSBRDJWdepCDependencyContainerSSBRcodec.hCDependencyFileSSBR os_types.hCDependencyFileSSBRogg.hCDependencyFileSSBR vorbisfile.hCDependencyFileSSBRgetopt.hCDependencyFileSSBRDJWDJWDJWR vorbisenc.hCDependencyFileSSBR basetsd.hCDependencyFileSSBRDJWDJWDJWismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : p @ Control-C@ Control-Break€Datatype MisalignmentÀAccess ViolationÀ In Page ErrorÀIllegal InstructionŒÀArray Bounds ExceededÀFloat Denormal OperandŽÀFloat Divide by ZeroÀFloat Inexact ResultÀFloat Invalid Operation‘ÀFloat Overflow’ÀFloat Stack Check“ÀFloat UnderflowÀ No Memory%ÀNoncontinuable Exception&ÀInvalid Disposition”ÀInteger Divide by Zero•ÀInteger Overflow–ÀPrivileged InstructionýÀStack Overflow5À DLL Not FoundBÀDLL Initialization Failed~mÀModule Not FoundmÀProcedure Not FoundÀInvalid HandlecsmàMicrosoft C++ ExceptionWatch1Watch2Watch3Watch4ÄòDJWDJWDJWismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : p˜C/C++ic_Debug,..\..\vorbis\win32\Vorbis_Static_Debug,..\..\vorbis\win32\VorbisEnc_Static_Debug,..\..\vorbis\winZ‚1‚85c:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c&{3486698D-49EB-11CF-BF46-00AA004C12E2},ÿÿÿÿÿÿÿÿüÿÿÿãÿÿÿœGesultÀFloat Invalid Operation‘ÀFloat Overflow’ÀFloat Stack Check“ÀFloat UnderflowÀ No Memory%ÀNoncontinuable Exception&ÀInvalid Disposition”ÀInteger Divide by Zero•ÀInteger Overflow–ÀPrivileged InstructionýÀStack Overflow5À DLL Not FoundBÀDLL Initialization Failed~mÀModule Not FoundmÀProcedure Not FoundÀInvalid HandlecsmàMicrosoft C++ ExceptionWatch1Watch2Watch3Watch4ÄòDJWDJWDJWismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(92) : warning C4018: '!=' : signed/unsigned mismatch C:\Ed\work\xiph\vorbis-tools\vcut\vcut.c(94) : warning C4018: '!=' : signed/unsigned mismatch Linking...

--------------------Configuration: vorbiscomment - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" with contents [ /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /Fp"Release\vorbiscomment\static/vorbiscomment.pch" /YX /Fo"Release\vorbiscomment\static/" /Fd"Release\vorbiscomment\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" "C:\Ed\work\xiph\vorbis-tools\share\utf8.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcedit.c" "C:\Ed\work\xiph\vorbis-tools\vorbiscomment\vcomment.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E3.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp" with contents [ ogg_static.lib vorbis_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\vorbiscomment\static/vorbiscomment.pdb" /machine:I386 /out:"Release\vorbiscomment\static/vorbiscomment.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" ".\Release\vorbiscomment\static\getopt.obj" ".\Release\vorbiscomment\static\getopt1.obj" ".\Release\vorbiscomment\static\utf8.obj" ".\Release\vorbiscomment\static\vcedit.obj" ".\Release\vorbiscomment\static\vcomment.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E4.tmp"

Output Window

Compiling... getopt.c getopt1.c utf8.c vcedit.c vcomment.c Linking...

--------------------Configuration: oggdec - Win32 Release--------------------

Command Lines

Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fo"Release\oggdec\static/" /Fd"Release\oggdec\static/" /FD /c "C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt.c" "C:\Ed\work\xiph\vorbis-tools\share\getopt1.c" ] Creating command line "cl.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E6.tmp" Creating temporary file "C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp" with contents [ ogg_static.lib vorbis_static.lib vorbisenc_static.lib vorbisfile_static.lib /nologo /subsystem:console /incremental:no /pdb:"Release\oggdec\static/oggdec.pdb" /machine:I386 /out:"Release\oggdec\static/oggdec.exe" /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" /libpath:"..\..\vorbis\win32\VorbisFile_Static_Release" ".\Release\oggdec\static\oggdec.obj" ".\Release\oggdec\static\getopt.obj" ".\Release\oggdec\static\getopt1.obj" ] Creating command line "link.exe @C:\DOCUME~1\Ed\LOCALS~1\Temp\RSP94E7.tmp"

Output Window

Compiling... oggdec.c C:\Ed\work\xiph\vorbis-tools\oggdec\oggdec.ýH´¦àPäarning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library t ', possible loss of data ata e END_CATCH } #define CATCH_ALL(e) } catch (CException* e) { #define AND_CATCH_ALL(e) } catch (CException* e) { #define END_CATCH_ALL } #define BEGIN_COLUMN_MAP(x) class __NCB__COLUMN_##x : public COLUMN { #define END_COLUMN_MAP() }; #define BEGIN_CONTROL_MAP(x) class __NCB__CONTROL_##x : public CONTROL { #define END_CONTROL_MAP() }; #define BEGIN_COM_MAP(x) class __NCB__COM_##x : public COM { #define END_COM_MAP() }; #define BEGIN_CONNECTION_POINT_MAP(x) class __NCB__CONNECTIONPOINT_##x : public CONNECTION_POINT { #define END_CONNECTION_POINT_MAP() }; #define BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(x) class __NCB__EXTENSIONSNAPINNODEINFO_##x : public EXTENSION_SNAPIN_NODEINFO { #define END_EXTENSION_SNAPIN_NODEINFO_MAP() }; #define BEGIN_FILTER_MAP(x) class __NCB__FILTER_##x : public FILTER { #define END_FILTER_MAP() }; #define BEGIN_MSG_MAP(x) class __NCB__MSG_##x : pvorbis-tools-1.4.2/win32/tools.dsp0000644000175000017500000000335313767140576013737 00000000000000# Microsoft Developer Studio Project File - Name="tools" - Package Owner=<4> # Microsoft Developer Studio Generated Build File, Format Version 6.00 # ** DO NOT EDIT ** # TARGTYPE "Win32 (x86) Generic Project" 0x010a CFG=tools - Win32 Debug !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE !MESSAGE NMAKE /f "tools.mak". !MESSAGE !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE !MESSAGE NMAKE /f "tools.mak" CFG="tools - Win32 Debug" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "tools - Win32 Release" (based on "Win32 (x86) Generic Project") !MESSAGE "tools - Win32 Debug" (based on "Win32 (x86) Generic Project") !MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" MTL=midl.exe !IF "$(CFG)" == "tools - Win32 Release" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 0 # PROP BASE Output_Dir "Release" # PROP BASE Intermediate_Dir "Release" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 0 # PROP Output_Dir "Release" # PROP Intermediate_Dir "Release" # PROP Target_Dir "" !ELSEIF "$(CFG)" == "tools - Win32 Debug" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" # PROP BASE Intermediate_Dir "Debug" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 # PROP Output_Dir "Debug" # PROP Intermediate_Dir "Debug" # PROP Target_Dir "" !ENDIF # Begin Target # Name "tools - Win32 Release" # Name "tools - Win32 Debug" # End Target # End Project vorbis-tools-1.4.2/win32/vorbiscomment.dsp0000644000175000017500000001132013767140576015457 00000000000000# Microsoft Developer Studio Project File - Name="vorbiscomment" - Package Owner=<4> # Microsoft Developer Studio Generated Build File, Format Version 6.00 # ** DO NOT EDIT ** # TARGTYPE "Win32 (x86) Console Application" 0x0103 CFG=vorbiscomment - Win32 Debug !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE !MESSAGE NMAKE /f "vorbiscomment.mak". !MESSAGE !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE !MESSAGE NMAKE /f "vorbiscomment.mak" CFG="vorbiscomment - Win32 Debug" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "vorbiscomment - Win32 Release" (based on "Win32 (x86) Console Application") !MESSAGE "vorbiscomment - Win32 Debug" (based on "Win32 (x86) Console Application") !MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe !IF "$(CFG)" == "vorbiscomment - Win32 Release" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 0 # PROP BASE Output_Dir "vorbiscomment___Win32_Release" # PROP BASE Intermediate_Dir "vorbiscomment___Win32_Release" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 0 # PROP Output_Dir "Release\vorbiscomment\static" # PROP Intermediate_Dir "Release\vorbiscomment\static" # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c # ADD CPP /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /YX /FD /c # ADD BASE RSC /l 0x409 /d "NDEBUG" # ADD RSC /l 0x409 /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 # ADD LINK32 ogg_static.lib vorbis_static.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" !ELSEIF "$(CFG)" == "vorbiscomment - Win32 Debug" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "vorbiscomment___Win32_Debug" # PROP BASE Intermediate_Dir "vorbiscomment___Win32_Debug" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 # PROP Output_Dir "Debug\vorbiscomment\static" # PROP Intermediate_Dir "Debug\vorbiscomment\static" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c # ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.0.1\" /FR /FD /GZ /c # SUBTRACT CPP /YX # ADD BASE RSC /l 0x409 /d "_DEBUG" # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept # ADD LINK32 ogg_static_d.lib vorbis_static_d.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ogg\win32\Static_Debug" /libpath:"..\..\vorbis\win32\Vorbis_Static_Debug" !ENDIF # Begin Target # Name "vorbiscomment - Win32 Release" # Name "vorbiscomment - Win32 Debug" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" # Begin Source File SOURCE=..\share\getopt.c # End Source File # Begin Source File SOURCE=..\share\getopt1.c # End Source File # Begin Source File SOURCE=..\share\utf8.c # End Source File # Begin Source File SOURCE=..\vorbiscomment\vcedit.c # End Source File # Begin Source File SOURCE=..\vorbiscomment\vcomment.c # End Source File # End Group # Begin Group "Header Files" # PROP Default_Filter "h;hpp;hxx;hm;inl" # Begin Source File SOURCE=..\vorbiscomment\vcedit.h # End Source File # End Group # Begin Group "Resource Files" # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" # End Group # End Target # End Project vorbis-tools-1.4.2/win32/oggenc.dsp0000644000175000017500000001227613767140576014045 00000000000000# Microsoft Developer Studio Project File - Name="oggenc" - Package Owner=<4> # Microsoft Developer Studio Generated Build File, Format Version 6.00 # ** DO NOT EDIT ** # TARGTYPE "Win32 (x86) Console Application" 0x0103 CFG=oggenc - Win32 Debug !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE !MESSAGE NMAKE /f "oggenc.mak". !MESSAGE !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE !MESSAGE NMAKE /f "oggenc.mak" CFG="oggenc - Win32 Debug" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "oggenc - Win32 Release" (based on "Win32 (x86) Console Application") !MESSAGE "oggenc - Win32 Debug" (based on "Win32 (x86) Console Application") !MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe !IF "$(CFG)" == "oggenc - Win32 Release" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 0 # PROP BASE Output_Dir "Release" # PROP BASE Intermediate_Dir "Release" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 0 # PROP Output_Dir "Release\oggenc\static" # PROP Intermediate_Dir "Release\oggenc\static" # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c # ADD CPP /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c # SUBTRACT CPP /YX # ADD BASE RSC /l 0x409 /d "NDEBUG" # ADD RSC /l 0x409 /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 # ADD LINK32 ogg_static.lib vorbis_static.lib vorbisenc_static.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Release" !ELSEIF "$(CFG)" == "oggenc - Win32 Debug" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "oggenc___Win32_Debug" # PROP BASE Intermediate_Dir "oggenc___Win32_Debug" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 # PROP Output_Dir "Debug\oggenc\static" # PROP Intermediate_Dir "Debug\oggenc\static" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c # ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c # SUBTRACT CPP /YX # ADD BASE RSC /l 0x409 /d "_DEBUG" # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept # ADD LINK32 ogg_static_d.lib vorbis_static_d.lib vorbisenc_static_d.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ogg\win32\Static_Debug" /libpath:"..\..\vorbis\win32\Vorbis_Static_Debug" /libpath:"..\..\vorbis\win32\VorbisEnc_Static_Debug" !ENDIF # Begin Target # Name "oggenc - Win32 Release" # Name "oggenc - Win32 Debug" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" # Begin Source File SOURCE=..\oggenc\audio.c # End Source File # Begin Source File SOURCE=..\oggenc\encode.c # End Source File # Begin Source File SOURCE=..\share\getopt.c # End Source File # Begin Source File SOURCE=..\share\getopt1.c # End Source File # Begin Source File SOURCE=..\oggenc\oggenc.c # End Source File # Begin Source File SOURCE=..\oggenc\platform.c # End Source File # Begin Source File SOURCE=..\oggenc\resample.c # End Source File # Begin Source File SOURCE=..\share\utf8.c # End Source File # End Group # Begin Group "Header Files" # PROP Default_Filter "h;hpp;hxx;hm;inl" # Begin Source File SOURCE=..\oggenc\audio.h # End Source File # Begin Source File SOURCE=..\oggenc\encode.h # End Source File # Begin Source File SOURCE=..\include\getopt.h # End Source File # Begin Source File SOURCE=..\oggenc\platform.h # End Source File # Begin Source File SOURCE=..\oggenc\resample.h # End Source File # Begin Source File SOURCE=..\include\utf8.h # End Source File # End Group # Begin Group "Resource Files" # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" # End Group # End Target # End Project vorbis-tools-1.4.2/win32/ogginfo.dsp0000644000175000017500000001064213767140576014226 00000000000000# Microsoft Developer Studio Project File - Name="ogginfo" - Package Owner=<4> # Microsoft Developer Studio Generated Build File, Format Version 6.00 # ** DO NOT EDIT ** # TARGTYPE "Win32 (x86) Console Application" 0x0103 CFG=ogginfo - Win32 Debug !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE !MESSAGE NMAKE /f "ogginfo.mak". !MESSAGE !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE !MESSAGE NMAKE /f "ogginfo.mak" CFG="ogginfo - Win32 Debug" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "ogginfo - Win32 Release" (based on "Win32 (x86) Console Application") !MESSAGE "ogginfo - Win32 Debug" (based on "Win32 (x86) Console Application") !MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe !IF "$(CFG)" == "ogginfo - Win32 Release" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 0 # PROP BASE Output_Dir "ogginfo___Win32_Release" # PROP BASE Intermediate_Dir "ogginfo___Win32_Release" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 0 # PROP Output_Dir "Release\ogginfo\static" # PROP Intermediate_Dir "Release\ogginfo\static" # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c # ADD CPP /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c # SUBTRACT CPP /YX # ADD BASE RSC /l 0x409 /d "NDEBUG" # ADD RSC /l 0x409 /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 # ADD LINK32 ogg_static.lib vorbis_static.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\ogg\win32\Static_Release" /libpath:"..\..\vorbis\win32\Vorbis_Static_Release" !ELSEIF "$(CFG)" == "ogginfo - Win32 Debug" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "ogginfo___Win32_Debug" # PROP BASE Intermediate_Dir "ogginfo___Win32_Debug" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 # PROP Output_Dir "Debug\ogginfo\static" # PROP Intermediate_Dir "Debug\ogginfo\static" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c # ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c # SUBTRACT CPP /YX # ADD BASE RSC /l 0x409 /d "_DEBUG" # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept # ADD LINK32 ogg_static_d.lib vorbis_static_d.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ogg\win32\Static_Debug" /libpath:"..\..\vorbis\win32\Vorbis_Static_Debug" !ENDIF # Begin Target # Name "ogginfo - Win32 Release" # Name "ogginfo - Win32 Debug" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" # Begin Source File SOURCE=..\share\getopt.c # End Source File # Begin Source File SOURCE=..\share\getopt1.c # End Source File # Begin Source File SOURCE=..\ogginfo\ogginfo2.c # End Source File # Begin Source File SOURCE=..\share\utf8.c # End Source File # End Group # Begin Group "Header Files" # PROP Default_Filter "h;hpp;hxx;hm;inl" # End Group # Begin Group "Resource Files" # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" # End Group # End Target # End Project vorbis-tools-1.4.2/win32/tools.dsw0000644000175000017500000000427113767140576013746 00000000000000Microsoft Developer Studio Workspace File, Format Version 6.00 # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! ############################################################################### Project: "oggdec"=".\oggdec.dsp" - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ }}} ############################################################################### Project: "oggenc"=".\oggenc.dsp" - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ }}} ############################################################################### Project: "oggenc_dynamic"=".\oggenc_dynamic.dsp" - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ }}} ############################################################################### Project: "ogginfo"=".\ogginfo.dsp" - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ }}} ############################################################################### Project: "tools"=".\tools.dsp" - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ Begin Project Dependency Project_Dep_Name oggenc End Project Dependency Begin Project Dependency Project_Dep_Name oggenc_dynamic End Project Dependency Begin Project Dependency Project_Dep_Name ogginfo End Project Dependency Begin Project Dependency Project_Dep_Name vcut End Project Dependency Begin Project Dependency Project_Dep_Name vorbiscomment End Project Dependency Begin Project Dependency Project_Dep_Name oggdec End Project Dependency }}} ############################################################################### Project: "vcut"=".\vcut.dsp" - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ }}} ############################################################################### Project: "vorbiscomment"=".\vorbiscomment.dsp" - Package Owner=<4> Package=<5> {{{ }}} Package=<4> {{{ }}} ############################################################################### Global: Package=<5> {{{ }}} Package=<3> {{{ }}} ############################################################################### vorbis-tools-1.4.2/win32/oggenc_dynamic.dsp0000644000175000017500000001253113767140576015543 00000000000000# Microsoft Developer Studio Project File - Name="oggenc_dynamic" - Package Owner=<4> # Microsoft Developer Studio Generated Build File, Format Version 6.00 # ** DO NOT EDIT ** # TARGTYPE "Win32 (x86) Console Application" 0x0103 CFG=oggenc_dynamic - Win32 Debug !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE !MESSAGE NMAKE /f "oggenc_dynamic.mak". !MESSAGE !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE !MESSAGE NMAKE /f "oggenc_dynamic.mak" CFG="oggenc_dynamic - Win32 Debug" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "oggenc_dynamic - Win32 Release" (based on "Win32 (x86) Console Application") !MESSAGE "oggenc_dynamic - Win32 Debug" (based on "Win32 (x86) Console Application") !MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe !IF "$(CFG)" == "oggenc_dynamic - Win32 Release" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 0 # PROP BASE Output_Dir "oggenc_dynamic___Win32_Release" # PROP BASE Intermediate_Dir "oggenc_dynamic___Win32_Release" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 0 # PROP Output_Dir "Release\oggenc\dynamic" # PROP Intermediate_Dir "Release\oggenc\dynamic" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c # ADD CPP /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c # SUBTRACT CPP /YX # ADD BASE RSC /l 0x409 /d "NDEBUG" # ADD RSC /l 0x409 /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 # ADD LINK32 ogg.lib vorbis.lib vorbisenc.lib /nologo /subsystem:console /machine:I386 /out:"Release\oggenc\dynamic/oggenc.exe" /libpath:"..\..\ogg\win32\Dynamic_Release" /libpath:"..\..\vorbis\win32\Vorbis_Dynamic_Release" /libpath:"..\..\vorbis\win32\VorbisEnc_Dynamic_Release" !ELSEIF "$(CFG)" == "oggenc_dynamic - Win32 Debug" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "oggenc_dynamic___Win32_Debug" # PROP BASE Intermediate_Dir "oggenc_dynamic___Win32_Debug" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 # PROP Output_Dir "Debug\oggenc\dynamic" # PROP Intermediate_Dir "Debug\oggenc\dynamic" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c # ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\include" /I "..\..\ogg\include" /I "..\..\vorbis\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c # SUBTRACT CPP /YX # ADD BASE RSC /l 0x409 /d "_DEBUG" # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept # ADD LINK32 ogg_d.lib vorbis_d.lib vorbisenc_d.lib /nologo /subsystem:console /debug /machine:I386 /out:"Debug\oggenc\dynamic/oggenc.exe" /pdbtype:sept /libpath:"..\..\ogg\win32\Dynamic_Debug" /libpath:"..\..\vorbis\win32\Vorbis_Dynamic_Debug" /libpath:"..\..\vorbis\win32\VorbisEnc_Dynamic_Debug" !ENDIF # Begin Target # Name "oggenc_dynamic - Win32 Release" # Name "oggenc_dynamic - Win32 Debug" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" # Begin Source File SOURCE=..\oggenc\audio.c # End Source File # Begin Source File SOURCE=..\oggenc\encode.c # End Source File # Begin Source File SOURCE=..\share\getopt.c # End Source File # Begin Source File SOURCE=..\share\getopt1.c # End Source File # Begin Source File SOURCE=..\oggenc\oggenc.c # End Source File # Begin Source File SOURCE=..\oggenc\platform.c # End Source File # Begin Source File SOURCE=..\oggenc\resample.c # End Source File # Begin Source File SOURCE=..\share\utf8.c # End Source File # End Group # Begin Group "Header Files" # PROP Default_Filter "h;hpp;hxx;hm;inl" # Begin Source File SOURCE=..\oggenc\audio.h # End Source File # Begin Source File SOURCE=..\oggenc\encode.h # End Source File # Begin Source File SOURCE=..\include\getopt.h # End Source File # Begin Source File SOURCE=..\oggenc\platform.h # End Source File # Begin Source File SOURCE=..\include\utf8.h # End Source File # End Group # Begin Group "Resource Files" # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" # End Group # End Target # End Project vorbis-tools-1.4.2/ltmain.sh0000644000175000017500000117147412756047127012753 00000000000000#! /bin/sh ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in ## by inline-source v2014-01-03.01 # libtool (GNU libtool) 2.4.6 # Provide generalized library-building support services. # Written by Gordon Matzigkeit , 1996 # Copyright (C) 1996-2015 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . PROGRAM=libtool PACKAGE=libtool VERSION="2.4.6 Debian-2.4.6-2" package_revision=2.4.6 ## ------ ## ## Usage. ## ## ------ ## # Run './libtool --help' for help with using this script from the # command line. ## ------------------------------- ## ## User overridable command paths. ## ## ------------------------------- ## # After configure completes, it has a better idea of some of the # shell tools we need than the defaults used by the functions shared # with bootstrap, so set those here where they can still be over- # ridden by the user, but otherwise take precedence. : ${AUTOCONF="autoconf"} : ${AUTOMAKE="automake"} ## -------------------------- ## ## Source external libraries. ## ## -------------------------- ## # Much of our low-level functionality needs to be sourced from external # libraries, which are installed to $pkgauxdir. # Set a version string for this script. scriptversion=2015-01-20.17; # UTC # General shell script boiler plate, and helper functions. # Written by Gary V. Vaughan, 2004 # Copyright (C) 2004-2015 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # As a special exception to the GNU General Public License, if you distribute # this file as part of a program or library that is built using GNU Libtool, # you may include this file under the same distribution terms that you use # for the rest of that program. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Please report bugs or propose patches to gary@gnu.org. ## ------ ## ## Usage. ## ## ------ ## # Evaluate this file near the top of your script to gain access to # the functions and variables defined here: # # . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh # # If you need to override any of the default environment variable # settings, do that before evaluating this file. ## -------------------- ## ## Shell normalisation. ## ## -------------------- ## # Some shells need a little help to be as Bourne compatible as possible. # Before doing anything else, make sure all that help has been provided! DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # NLS nuisances: We save the old values in case they are required later. _G_user_locale= _G_safe_locale= for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test set = \"\${$_G_var+set}\"; then save_$_G_var=\$$_G_var $_G_var=C export $_G_var _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\" _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\" fi" done # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Make sure IFS has a sensible default sp=' ' nl=' ' IFS="$sp $nl" # There are apparently some retarded systems that use ';' as a PATH separator! if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi ## ------------------------- ## ## Locate command utilities. ## ## ------------------------- ## # func_executable_p FILE # ---------------------- # Check that FILE is an executable regular file. func_executable_p () { test -f "$1" && test -x "$1" } # func_path_progs PROGS_LIST CHECK_FUNC [PATH] # -------------------------------------------- # Search for either a program that responds to --version with output # containing "GNU", or else returned by CHECK_FUNC otherwise, by # trying all the directories in PATH with each of the elements of # PROGS_LIST. # # CHECK_FUNC should accept the path to a candidate program, and # set $func_check_prog_result if it truncates its output less than # $_G_path_prog_max characters. func_path_progs () { _G_progs_list=$1 _G_check_func=$2 _G_PATH=${3-"$PATH"} _G_path_prog_max=0 _G_path_prog_found=false _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:} for _G_dir in $_G_PATH; do IFS=$_G_save_IFS test -z "$_G_dir" && _G_dir=. for _G_prog_name in $_G_progs_list; do for _exeext in '' .EXE; do _G_path_prog=$_G_dir/$_G_prog_name$_exeext func_executable_p "$_G_path_prog" || continue case `"$_G_path_prog" --version 2>&1` in *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;; *) $_G_check_func $_G_path_prog func_path_progs_result=$func_check_prog_result ;; esac $_G_path_prog_found && break 3 done done done IFS=$_G_save_IFS test -z "$func_path_progs_result" && { echo "no acceptable sed could be found in \$PATH" >&2 exit 1 } } # We want to be able to use the functions in this file before configure # has figured out where the best binaries are kept, which means we have # to search for them ourselves - except when the results are already set # where we skip the searches. # Unless the user overrides by setting SED, search the path for either GNU # sed, or the sed that truncates its output the least. test -z "$SED" && { _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for _G_i in 1 2 3 4 5 6 7; do _G_sed_script=$_G_sed_script$nl$_G_sed_script done echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed _G_sed_script= func_check_prog_sed () { _G_path_prog=$1 _G_count=0 printf 0123456789 >conftest.in while : do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo '' >> conftest.nl "$_G_path_prog" -f conftest.sed conftest.out 2>/dev/null || break diff conftest.out conftest.nl >/dev/null 2>&1 || break _G_count=`expr $_G_count + 1` if test "$_G_count" -gt "$_G_path_prog_max"; then # Best one so far, save it but keep looking for a better one func_check_prog_result=$_G_path_prog _G_path_prog_max=$_G_count fi # 10*(2^10) chars as input seems more than enough test 10 -lt "$_G_count" && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out } func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin rm -f conftest.sed SED=$func_path_progs_result } # Unless the user overrides by setting GREP, search the path for either GNU # grep, or the grep that truncates its output the least. test -z "$GREP" && { func_check_prog_grep () { _G_path_prog=$1 _G_count=0 _G_path_prog_max=0 printf 0123456789 >conftest.in while : do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo 'GREP' >> conftest.nl "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' conftest.out 2>/dev/null || break diff conftest.out conftest.nl >/dev/null 2>&1 || break _G_count=`expr $_G_count + 1` if test "$_G_count" -gt "$_G_path_prog_max"; then # Best one so far, save it but keep looking for a better one func_check_prog_result=$_G_path_prog _G_path_prog_max=$_G_count fi # 10*(2^10) chars as input seems more than enough test 10 -lt "$_G_count" && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out } func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin GREP=$func_path_progs_result } ## ------------------------------- ## ## User overridable command paths. ## ## ------------------------------- ## # All uppercase variable names are used for environment variables. These # variables can be overridden by the user before calling a script that # uses them if a suitable command of that name is not already available # in the command search PATH. : ${CP="cp -f"} : ${ECHO="printf %s\n"} : ${EGREP="$GREP -E"} : ${FGREP="$GREP -F"} : ${LN_S="ln -s"} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} ## -------------------- ## ## Useful sed snippets. ## ## -------------------- ## sed_dirname='s|/[^/]*$||' sed_basename='s|^.*/||' # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='s|\([`"$\\]\)|\\\1|g' # Same as above, but do not quote variable references. sed_double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution that turns a string into a regex matching for the # string literally. sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g' # Sed substitution that converts a w32 file name or path # that contains forward slashes, into one that contains # (escaped) backslashes. A very naive implementation. sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # Re-'\' parameter expansions in output of sed_double_quote_subst that # were '\'-ed in input to the same. If an odd number of '\' preceded a # '$' in input to sed_double_quote_subst, that '$' was protected from # expansion. Since each input '\' is now two '\'s, look for any number # of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'. _G_bs='\\' _G_bs2='\\\\' _G_bs4='\\\\\\\\' _G_dollar='\$' sed_double_backslash="\ s/$_G_bs4/&\\ /g s/^$_G_bs2$_G_dollar/$_G_bs&/ s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g s/\n//g" ## ----------------- ## ## Global variables. ## ## ----------------- ## # Except for the global variables explicitly listed below, the following # functions in the '^func_' namespace, and the '^require_' namespace # variables initialised in the 'Resource management' section, sourcing # this file will not pollute your global namespace with anything # else. There's no portable way to scope variables in Bourne shell # though, so actually running these functions will sometimes place # results into a variable named after the function, and often use # temporary variables in the '^_G_' namespace. If you are careful to # avoid using those namespaces casually in your sourcing script, things # should continue to work as you expect. And, of course, you can freely # overwrite any of the functions or variables defined here before # calling anything to customize them. EXIT_SUCCESS=0 EXIT_FAILURE=1 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. # Allow overriding, eg assuming that you follow the convention of # putting '$debug_cmd' at the start of all your functions, you can get # bash to show function call trace with: # # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name debug_cmd=${debug_cmd-":"} exit_cmd=: # By convention, finish your script with: # # exit $exit_status # # so that you can set exit_status to non-zero if you want to indicate # something went wrong during execution without actually bailing out at # the point of failure. exit_status=$EXIT_SUCCESS # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath=$0 # The name of this program. progname=`$ECHO "$progpath" |$SED "$sed_basename"` # Make sure we have an absolute progpath for reexecution: case $progpath in [\\/]*|[A-Za-z]:\\*) ;; *[\\/]*) progdir=`$ECHO "$progpath" |$SED "$sed_dirname"` progdir=`cd "$progdir" && pwd` progpath=$progdir/$progname ;; *) _G_IFS=$IFS IFS=${PATH_SEPARATOR-:} for progdir in $PATH; do IFS=$_G_IFS test -x "$progdir/$progname" && break done IFS=$_G_IFS test -n "$progdir" || progdir=`pwd` progpath=$progdir/$progname ;; esac ## ----------------- ## ## Standard options. ## ## ----------------- ## # The following options affect the operation of the functions defined # below, and should be set appropriately depending on run-time para- # meters passed on the command line. opt_dry_run=false opt_quiet=false opt_verbose=false # Categories 'all' and 'none' are always available. Append any others # you will pass as the first argument to func_warning from your own # code. warning_categories= # By default, display warnings according to 'opt_warning_types'. Set # 'warning_func' to ':' to elide all warnings, or func_fatal_error to # treat the next displayed warning as a fatal error. warning_func=func_warn_and_continue # Set to 'all' to display all warnings, 'none' to suppress all # warnings, or a space delimited list of some subset of # 'warning_categories' to display only the listed warnings. opt_warning_types=all ## -------------------- ## ## Resource management. ## ## -------------------- ## # This section contains definitions for functions that each ensure a # particular resource (a file, or a non-empty configuration variable for # example) is available, and if appropriate to extract default values # from pertinent package files. Call them using their associated # 'require_*' variable to ensure that they are executed, at most, once. # # It's entirely deliberate that calling these functions can set # variables that don't obey the namespace limitations obeyed by the rest # of this file, in order that that they be as useful as possible to # callers. # require_term_colors # ------------------- # Allow display of bold text on terminals that support it. require_term_colors=func_require_term_colors func_require_term_colors () { $debug_cmd test -t 1 && { # COLORTERM and USE_ANSI_COLORS environment variables take # precedence, because most terminfo databases neglect to describe # whether color sequences are supported. test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"} if test 1 = "$USE_ANSI_COLORS"; then # Standard ANSI escape sequences tc_reset='' tc_bold=''; tc_standout='' tc_red=''; tc_green='' tc_blue=''; tc_cyan='' else # Otherwise trust the terminfo database after all. test -n "`tput sgr0 2>/dev/null`" && { tc_reset=`tput sgr0` test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold` tc_standout=$tc_bold test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso` test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1` test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2` test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4` test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5` } fi } require_term_colors=: } ## ----------------- ## ## Function library. ## ## ----------------- ## # This section contains a variety of useful functions to call in your # scripts. Take note of the portable wrappers for features provided by # some modern shells, which will fall back to slower equivalents on # less featureful shells. # func_append VAR VALUE # --------------------- # Append VALUE onto the existing contents of VAR. # We should try to minimise forks, especially on Windows where they are # unreasonably slow, so skip the feature probes when bash or zsh are # being used: if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then : ${_G_HAVE_ARITH_OP="yes"} : ${_G_HAVE_XSI_OPS="yes"} # The += operator was introduced in bash 3.1 case $BASH_VERSION in [12].* | 3.0 | 3.0*) ;; *) : ${_G_HAVE_PLUSEQ_OP="yes"} ;; esac fi # _G_HAVE_PLUSEQ_OP # Can be empty, in which case the shell is probed, "yes" if += is # useable or anything else if it does not work. test -z "$_G_HAVE_PLUSEQ_OP" \ && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \ && _G_HAVE_PLUSEQ_OP=yes if test yes = "$_G_HAVE_PLUSEQ_OP" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_append () { $debug_cmd eval "$1+=\$2" }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_append () { $debug_cmd eval "$1=\$$1\$2" } fi # func_append_quoted VAR VALUE # ---------------------------- # Quote VALUE and append to the end of shell variable VAR, separated # by a space. if test yes = "$_G_HAVE_PLUSEQ_OP"; then eval 'func_append_quoted () { $debug_cmd func_quote_for_eval "$2" eval "$1+=\\ \$func_quote_for_eval_result" }' else func_append_quoted () { $debug_cmd func_quote_for_eval "$2" eval "$1=\$$1\\ \$func_quote_for_eval_result" } fi # func_append_uniq VAR VALUE # -------------------------- # Append unique VALUE onto the existing contents of VAR, assuming # entries are delimited by the first character of VALUE. For example: # # func_append_uniq options " --another-option option-argument" # # will only append to $options if " --another-option option-argument " # is not already present somewhere in $options already (note spaces at # each end implied by leading space in second argument). func_append_uniq () { $debug_cmd eval _G_current_value='`$ECHO $'$1'`' _G_delim=`expr "$2" : '\(.\)'` case $_G_delim$_G_current_value$_G_delim in *"$2$_G_delim"*) ;; *) func_append "$@" ;; esac } # func_arith TERM... # ------------------ # Set func_arith_result to the result of evaluating TERMs. test -z "$_G_HAVE_ARITH_OP" \ && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \ && _G_HAVE_ARITH_OP=yes if test yes = "$_G_HAVE_ARITH_OP"; then eval 'func_arith () { $debug_cmd func_arith_result=$(( $* )) }' else func_arith () { $debug_cmd func_arith_result=`expr "$@"` } fi # func_basename FILE # ------------------ # Set func_basename_result to FILE with everything up to and including # the last / stripped. if test yes = "$_G_HAVE_XSI_OPS"; then # If this shell supports suffix pattern removal, then use it to avoid # forking. Hide the definitions single quotes in case the shell chokes # on unsupported syntax... _b='func_basename_result=${1##*/}' _d='case $1 in */*) func_dirname_result=${1%/*}$2 ;; * ) func_dirname_result=$3 ;; esac' else # ...otherwise fall back to using sed. _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`' _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"` if test "X$func_dirname_result" = "X$1"; then func_dirname_result=$3 else func_append func_dirname_result "$2" fi' fi eval 'func_basename () { $debug_cmd '"$_b"' }' # func_dirname FILE APPEND NONDIR_REPLACEMENT # ------------------------------------------- # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. eval 'func_dirname () { $debug_cmd '"$_d"' }' # func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT # -------------------------------------------------------- # Perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # For efficiency, we do not delegate to the functions above but instead # duplicate the functionality here. eval 'func_dirname_and_basename () { $debug_cmd '"$_b"' '"$_d"' }' # func_echo ARG... # ---------------- # Echo program name prefixed message. func_echo () { $debug_cmd _G_message=$* func_echo_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_IFS $ECHO "$progname: $_G_line" done IFS=$func_echo_IFS } # func_echo_all ARG... # -------------------- # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } # func_echo_infix_1 INFIX ARG... # ------------------------------ # Echo program name, followed by INFIX on the first line, with any # additional lines not showing INFIX. func_echo_infix_1 () { $debug_cmd $require_term_colors _G_infix=$1; shift _G_indent=$_G_infix _G_prefix="$progname: $_G_infix: " _G_message=$* # Strip color escape sequences before counting printable length for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan" do test -n "$_G_tc" && { _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"` _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"` } done _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes func_echo_infix_1_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_infix_1_IFS $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2 _G_prefix=$_G_indent done IFS=$func_echo_infix_1_IFS } # func_error ARG... # ----------------- # Echo program name prefixed message to standard error. func_error () { $debug_cmd $require_term_colors func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2 } # func_fatal_error ARG... # ----------------------- # Echo program name prefixed message to standard error, and exit. func_fatal_error () { $debug_cmd func_error "$*" exit $EXIT_FAILURE } # func_grep EXPRESSION FILENAME # ----------------------------- # Check whether EXPRESSION matches any line of FILENAME, without output. func_grep () { $debug_cmd $GREP "$1" "$2" >/dev/null 2>&1 } # func_len STRING # --------------- # Set func_len_result to the length of STRING. STRING may not # start with a hyphen. test -z "$_G_HAVE_XSI_OPS" \ && (eval 'x=a/b/c; test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ && _G_HAVE_XSI_OPS=yes if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_len () { $debug_cmd func_len_result=${#1} }' else func_len () { $debug_cmd func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` } fi # func_mkdir_p DIRECTORY-PATH # --------------------------- # Make sure the entire path to DIRECTORY-PATH is available. func_mkdir_p () { $debug_cmd _G_directory_path=$1 _G_dir_list= if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then # Protect directory names starting with '-' case $_G_directory_path in -*) _G_directory_path=./$_G_directory_path ;; esac # While some portion of DIR does not yet exist... while test ! -d "$_G_directory_path"; do # ...make a list in topmost first order. Use a colon delimited # list incase some portion of path contains whitespace. _G_dir_list=$_G_directory_path:$_G_dir_list # If the last portion added has no slash in it, the list is done case $_G_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"` done _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'` func_mkdir_p_IFS=$IFS; IFS=: for _G_dir in $_G_dir_list; do IFS=$func_mkdir_p_IFS # mkdir can fail with a 'File exist' error if two processes # try to create one of the directories concurrently. Don't # stop in that case! $MKDIR "$_G_dir" 2>/dev/null || : done IFS=$func_mkdir_p_IFS # Bail out if we (or some other process) failed to create a directory. test -d "$_G_directory_path" || \ func_fatal_error "Failed to create '$1'" fi } # func_mktempdir [BASENAME] # ------------------------- # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, BASENAME is the basename for that directory. func_mktempdir () { $debug_cmd _G_template=${TMPDIR-/tmp}/${1-$progname} if test : = "$opt_dry_run"; then # Return a directory name, but don't create it in dry-run mode _G_tmpdir=$_G_template-$$ else # If mktemp works, use that first and foremost _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null` if test ! -d "$_G_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race _G_tmpdir=$_G_template-${RANDOM-0}$$ func_mktempdir_umask=`umask` umask 0077 $MKDIR "$_G_tmpdir" umask $func_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$_G_tmpdir" || \ func_fatal_error "cannot create temporary directory '$_G_tmpdir'" fi $ECHO "$_G_tmpdir" } # func_normal_abspath PATH # ------------------------ # Remove doubled-up and trailing slashes, "." path components, # and cancel out any ".." path components in PATH after making # it an absolute path. func_normal_abspath () { $debug_cmd # These SED scripts presuppose an absolute path with a trailing slash. _G_pathcar='s|^/\([^/]*\).*$|\1|' _G_pathcdr='s|^/[^/]*||' _G_removedotparts=':dotsl s|/\./|/|g t dotsl s|/\.$|/|' _G_collapseslashes='s|/\{1,\}|/|g' _G_finalslash='s|/*$|/|' # Start from root dir and reassemble the path. func_normal_abspath_result= func_normal_abspath_tpath=$1 func_normal_abspath_altnamespace= case $func_normal_abspath_tpath in "") # Empty path, that just means $cwd. func_stripname '' '/' "`pwd`" func_normal_abspath_result=$func_stripname_result return ;; # The next three entries are used to spot a run of precisely # two leading slashes without using negated character classes; # we take advantage of case's first-match behaviour. ///*) # Unusual form of absolute path, do nothing. ;; //*) # Not necessarily an ordinary path; POSIX reserves leading '//' # and for example Cygwin uses it to access remote file shares # over CIFS/SMB, so we conserve a leading double slash if found. func_normal_abspath_altnamespace=/ ;; /*) # Absolute path, do nothing. ;; *) # Relative path, prepend $cwd. func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath ;; esac # Cancel out all the simple stuff to save iterations. We also want # the path to end with a slash for ease of parsing, so make sure # there is one (and only one) here. func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"` while :; do # Processed it all yet? if test / = "$func_normal_abspath_tpath"; then # If we ascended to the root using ".." the result may be empty now. if test -z "$func_normal_abspath_result"; then func_normal_abspath_result=/ fi break fi func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_pathcar"` func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_pathcdr"` # Figure out what to do with it case $func_normal_abspath_tcomponent in "") # Trailing empty path component, ignore it. ;; ..) # Parent dir; strip last assembled component from result. func_dirname "$func_normal_abspath_result" func_normal_abspath_result=$func_dirname_result ;; *) # Actual path component, append it. func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent" ;; esac done # Restore leading double-slash if one was found on entry. func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result } # func_notquiet ARG... # -------------------- # Echo program name prefixed message only when not in quiet mode. func_notquiet () { $debug_cmd $opt_quiet || func_echo ${1+"$@"} # A bug in bash halts the script if the last line of a function # fails when set -e is in force, so we need another command to # work around that: : } # func_relative_path SRCDIR DSTDIR # -------------------------------- # Set func_relative_path_result to the relative path from SRCDIR to DSTDIR. func_relative_path () { $debug_cmd func_relative_path_result= func_normal_abspath "$1" func_relative_path_tlibdir=$func_normal_abspath_result func_normal_abspath "$2" func_relative_path_tbindir=$func_normal_abspath_result # Ascend the tree starting from libdir while :; do # check if we have found a prefix of bindir case $func_relative_path_tbindir in $func_relative_path_tlibdir) # found an exact match func_relative_path_tcancelled= break ;; $func_relative_path_tlibdir*) # found a matching prefix func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" func_relative_path_tcancelled=$func_stripname_result if test -z "$func_relative_path_result"; then func_relative_path_result=. fi break ;; *) func_dirname $func_relative_path_tlibdir func_relative_path_tlibdir=$func_dirname_result if test -z "$func_relative_path_tlibdir"; then # Have to descend all the way to the root! func_relative_path_result=../$func_relative_path_result func_relative_path_tcancelled=$func_relative_path_tbindir break fi func_relative_path_result=../$func_relative_path_result ;; esac done # Now calculate path; take care to avoid doubling-up slashes. func_stripname '' '/' "$func_relative_path_result" func_relative_path_result=$func_stripname_result func_stripname '/' '/' "$func_relative_path_tcancelled" if test -n "$func_stripname_result"; then func_append func_relative_path_result "/$func_stripname_result" fi # Normalisation. If bindir is libdir, return '.' else relative path. if test -n "$func_relative_path_result"; then func_stripname './' '' "$func_relative_path_result" func_relative_path_result=$func_stripname_result fi test -n "$func_relative_path_result" || func_relative_path_result=. : } # func_quote_for_eval ARG... # -------------------------- # Aesthetically quote ARGs to be evaled later. # This function returns two values: # i) func_quote_for_eval_result # double-quoted, suitable for a subsequent eval # ii) func_quote_for_eval_unquoted_result # has all characters that are still active within double # quotes backslashified. func_quote_for_eval () { $debug_cmd func_quote_for_eval_unquoted_result= func_quote_for_eval_result= while test 0 -lt $#; do case $1 in *[\\\`\"\$]*) _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;; *) _G_unquoted_arg=$1 ;; esac if test -n "$func_quote_for_eval_unquoted_result"; then func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg" else func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg" fi case $_G_unquoted_arg in # Double-quote args containing shell metacharacters to delay # word splitting, command substitution and variable expansion # for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") _G_quoted_arg=\"$_G_unquoted_arg\" ;; *) _G_quoted_arg=$_G_unquoted_arg ;; esac if test -n "$func_quote_for_eval_result"; then func_append func_quote_for_eval_result " $_G_quoted_arg" else func_append func_quote_for_eval_result "$_G_quoted_arg" fi shift done } # func_quote_for_expand ARG # ------------------------- # Aesthetically quote ARG to be evaled later; same as above, # but do not quote variable references. func_quote_for_expand () { $debug_cmd case $1 in *[\\\`\"]*) _G_arg=`$ECHO "$1" | $SED \ -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;; *) _G_arg=$1 ;; esac case $_G_arg in # Double-quote args containing shell metacharacters to delay # word splitting and command substitution for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") _G_arg=\"$_G_arg\" ;; esac func_quote_for_expand_result=$_G_arg } # func_stripname PREFIX SUFFIX NAME # --------------------------------- # strip PREFIX and SUFFIX from NAME, and store in func_stripname_result. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_stripname () { $debug_cmd # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary variable first. func_stripname_result=$3 func_stripname_result=${func_stripname_result#"$1"} func_stripname_result=${func_stripname_result%"$2"} }' else func_stripname () { $debug_cmd case $2 in .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;; *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;; esac } fi # func_show_eval CMD [FAIL_EXP] # ----------------------------- # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. func_show_eval () { $debug_cmd _G_cmd=$1 _G_fail_exp=${2-':'} func_quote_for_expand "$_G_cmd" eval "func_notquiet $func_quote_for_expand_result" $opt_dry_run || { eval "$_G_cmd" _G_status=$? if test 0 -ne "$_G_status"; then eval "(exit $_G_status); $_G_fail_exp" fi } } # func_show_eval_locale CMD [FAIL_EXP] # ------------------------------------ # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. Use the saved locale for evaluation. func_show_eval_locale () { $debug_cmd _G_cmd=$1 _G_fail_exp=${2-':'} $opt_quiet || { func_quote_for_expand "$_G_cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || { eval "$_G_user_locale $_G_cmd" _G_status=$? eval "$_G_safe_locale" if test 0 -ne "$_G_status"; then eval "(exit $_G_status); $_G_fail_exp" fi } } # func_tr_sh # ---------- # Turn $1 into a string suitable for a shell variable name. # Result is stored in $func_tr_sh_result. All characters # not in the set a-zA-Z0-9_ are replaced with '_'. Further, # if $1 begins with a digit, a '_' is prepended as well. func_tr_sh () { $debug_cmd case $1 in [0-9]* | *[!a-zA-Z0-9_]*) func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'` ;; * ) func_tr_sh_result=$1 ;; esac } # func_verbose ARG... # ------------------- # Echo program name prefixed message in verbose mode only. func_verbose () { $debug_cmd $opt_verbose && func_echo "$*" : } # func_warn_and_continue ARG... # ----------------------------- # Echo program name prefixed warning message to standard error. func_warn_and_continue () { $debug_cmd $require_term_colors func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2 } # func_warning CATEGORY ARG... # ---------------------------- # Echo program name prefixed warning message to standard error. Warning # messages can be filtered according to CATEGORY, where this function # elides messages where CATEGORY is not listed in the global variable # 'opt_warning_types'. func_warning () { $debug_cmd # CATEGORY must be in the warning_categories list! case " $warning_categories " in *" $1 "*) ;; *) func_internal_error "invalid warning category '$1'" ;; esac _G_category=$1 shift case " $opt_warning_types " in *" $_G_category "*) $warning_func ${1+"$@"} ;; esac } # func_sort_ver VER1 VER2 # ----------------------- # 'sort -V' is not generally available. # Note this deviates from the version comparison in automake # in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a # but this should suffice as we won't be specifying old # version formats or redundant trailing .0 in bootstrap.conf. # If we did want full compatibility then we should probably # use m4_version_compare from autoconf. func_sort_ver () { $debug_cmd printf '%s\n%s\n' "$1" "$2" \ | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n } # func_lt_ver PREV CURR # --------------------- # Return true if PREV and CURR are in the correct order according to # func_sort_ver, otherwise false. Use it like this: # # func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..." func_lt_ver () { $debug_cmd test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q` } # Local variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-time-zone: "UTC" # End: #! /bin/sh # Set a version string for this script. scriptversion=2014-01-07.03; # UTC # A portable, pluggable option parser for Bourne shell. # Written by Gary V. Vaughan, 2010 # Copyright (C) 2010-2015 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Please report bugs or propose patches to gary@gnu.org. ## ------ ## ## Usage. ## ## ------ ## # This file is a library for parsing options in your shell scripts along # with assorted other useful supporting features that you can make use # of too. # # For the simplest scripts you might need only: # # #!/bin/sh # . relative/path/to/funclib.sh # . relative/path/to/options-parser # scriptversion=1.0 # func_options ${1+"$@"} # eval set dummy "$func_options_result"; shift # ...rest of your script... # # In order for the '--version' option to work, you will need to have a # suitably formatted comment like the one at the top of this file # starting with '# Written by ' and ending with '# warranty; '. # # For '-h' and '--help' to work, you will also need a one line # description of your script's purpose in a comment directly above the # '# Written by ' line, like the one at the top of this file. # # The default options also support '--debug', which will turn on shell # execution tracing (see the comment above debug_cmd below for another # use), and '--verbose' and the func_verbose function to allow your script # to display verbose messages only when your user has specified # '--verbose'. # # After sourcing this file, you can plug processing for additional # options by amending the variables from the 'Configuration' section # below, and following the instructions in the 'Option parsing' # section further down. ## -------------- ## ## Configuration. ## ## -------------- ## # You should override these variables in your script after sourcing this # file so that they reflect the customisations you have added to the # option parser. # The usage line for option parsing errors and the start of '-h' and # '--help' output messages. You can embed shell variables for delayed # expansion at the time the message is displayed, but you will need to # quote other shell meta-characters carefully to prevent them being # expanded when the contents are evaled. usage='$progpath [OPTION]...' # Short help message in response to '-h' and '--help'. Add to this or # override it after sourcing this library to reflect the full set of # options your script accepts. usage_message="\ --debug enable verbose shell tracing -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] -v, --verbose verbosely report processing --version print version information and exit -h, --help print short or long help message and exit " # Additional text appended to 'usage_message' in response to '--help'. long_help_message=" Warning categories include: 'all' show all warnings 'none' turn off all the warnings 'error' warnings are treated as fatal errors" # Help message printed before fatal option parsing errors. fatal_help="Try '\$progname --help' for more information." ## ------------------------- ## ## Hook function management. ## ## ------------------------- ## # This section contains functions for adding, removing, and running hooks # to the main code. A hook is just a named list of of function, that can # be run in order later on. # func_hookable FUNC_NAME # ----------------------- # Declare that FUNC_NAME will run hooks added with # 'func_add_hook FUNC_NAME ...'. func_hookable () { $debug_cmd func_append hookable_fns " $1" } # func_add_hook FUNC_NAME HOOK_FUNC # --------------------------------- # Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must # first have been declared "hookable" by a call to 'func_hookable'. func_add_hook () { $debug_cmd case " $hookable_fns " in *" $1 "*) ;; *) func_fatal_error "'$1' does not accept hook functions." ;; esac eval func_append ${1}_hooks '" $2"' } # func_remove_hook FUNC_NAME HOOK_FUNC # ------------------------------------ # Remove HOOK_FUNC from the list of functions called by FUNC_NAME. func_remove_hook () { $debug_cmd eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`' } # func_run_hooks FUNC_NAME [ARG]... # --------------------------------- # Run all hook functions registered to FUNC_NAME. # It is assumed that the list of hook functions contains nothing more # than a whitespace-delimited list of legal shell function names, and # no effort is wasted trying to catch shell meta-characters or preserve # whitespace. func_run_hooks () { $debug_cmd case " $hookable_fns " in *" $1 "*) ;; *) func_fatal_error "'$1' does not support hook funcions.n" ;; esac eval _G_hook_fns=\$$1_hooks; shift for _G_hook in $_G_hook_fns; do eval $_G_hook '"$@"' # store returned options list back into positional # parameters for next 'cmd' execution. eval _G_hook_result=\$${_G_hook}_result eval set dummy "$_G_hook_result"; shift done func_quote_for_eval ${1+"$@"} func_run_hooks_result=$func_quote_for_eval_result } ## --------------- ## ## Option parsing. ## ## --------------- ## # In order to add your own option parsing hooks, you must accept the # full positional parameter list in your hook function, remove any # options that you action, and then pass back the remaining unprocessed # options in '_result', escaped suitably for # 'eval'. Like this: # # my_options_prep () # { # $debug_cmd # # # Extend the existing usage message. # usage_message=$usage_message' # -s, --silent don'\''t print informational messages # ' # # func_quote_for_eval ${1+"$@"} # my_options_prep_result=$func_quote_for_eval_result # } # func_add_hook func_options_prep my_options_prep # # # my_silent_option () # { # $debug_cmd # # # Note that for efficiency, we parse as many options as we can # # recognise in a loop before passing the remainder back to the # # caller on the first unrecognised argument we encounter. # while test $# -gt 0; do # opt=$1; shift # case $opt in # --silent|-s) opt_silent=: ;; # # Separate non-argument short options: # -s*) func_split_short_opt "$_G_opt" # set dummy "$func_split_short_opt_name" \ # "-$func_split_short_opt_arg" ${1+"$@"} # shift # ;; # *) set dummy "$_G_opt" "$*"; shift; break ;; # esac # done # # func_quote_for_eval ${1+"$@"} # my_silent_option_result=$func_quote_for_eval_result # } # func_add_hook func_parse_options my_silent_option # # # my_option_validation () # { # $debug_cmd # # $opt_silent && $opt_verbose && func_fatal_help "\ # '--silent' and '--verbose' options are mutually exclusive." # # func_quote_for_eval ${1+"$@"} # my_option_validation_result=$func_quote_for_eval_result # } # func_add_hook func_validate_options my_option_validation # # You'll alse need to manually amend $usage_message to reflect the extra # options you parse. It's preferable to append if you can, so that # multiple option parsing hooks can be added safely. # func_options [ARG]... # --------------------- # All the functions called inside func_options are hookable. See the # individual implementations for details. func_hookable func_options func_options () { $debug_cmd func_options_prep ${1+"$@"} eval func_parse_options \ ${func_options_prep_result+"$func_options_prep_result"} eval func_validate_options \ ${func_parse_options_result+"$func_parse_options_result"} eval func_run_hooks func_options \ ${func_validate_options_result+"$func_validate_options_result"} # save modified positional parameters for caller func_options_result=$func_run_hooks_result } # func_options_prep [ARG]... # -------------------------- # All initialisations required before starting the option parse loop. # Note that when calling hook functions, we pass through the list of # positional parameters. If a hook function modifies that list, and # needs to propogate that back to rest of this script, then the complete # modified list must be put in 'func_run_hooks_result' before # returning. func_hookable func_options_prep func_options_prep () { $debug_cmd # Option defaults: opt_verbose=false opt_warning_types= func_run_hooks func_options_prep ${1+"$@"} # save modified positional parameters for caller func_options_prep_result=$func_run_hooks_result } # func_parse_options [ARG]... # --------------------------- # The main option parsing loop. func_hookable func_parse_options func_parse_options () { $debug_cmd func_parse_options_result= # this just eases exit handling while test $# -gt 0; do # Defer to hook functions for initial option parsing, so they # get priority in the event of reusing an option name. func_run_hooks func_parse_options ${1+"$@"} # Adjust func_parse_options positional parameters to match eval set dummy "$func_run_hooks_result"; shift # Break out of the loop if we already parsed every option. test $# -gt 0 || break _G_opt=$1 shift case $_G_opt in --debug|-x) debug_cmd='set -x' func_echo "enabling shell trace mode" $debug_cmd ;; --no-warnings|--no-warning|--no-warn) set dummy --warnings none ${1+"$@"} shift ;; --warnings|--warning|-W) test $# = 0 && func_missing_arg $_G_opt && break case " $warning_categories $1" in *" $1 "*) # trailing space prevents matching last $1 above func_append_uniq opt_warning_types " $1" ;; *all) opt_warning_types=$warning_categories ;; *none) opt_warning_types=none warning_func=: ;; *error) opt_warning_types=$warning_categories warning_func=func_fatal_error ;; *) func_fatal_error \ "unsupported warning category: '$1'" ;; esac shift ;; --verbose|-v) opt_verbose=: ;; --version) func_version ;; -\?|-h) func_usage ;; --help) func_help ;; # Separate optargs to long options (plugins may need this): --*=*) func_split_equals "$_G_opt" set dummy "$func_split_equals_lhs" \ "$func_split_equals_rhs" ${1+"$@"} shift ;; # Separate optargs to short options: -W*) func_split_short_opt "$_G_opt" set dummy "$func_split_short_opt_name" \ "$func_split_short_opt_arg" ${1+"$@"} shift ;; # Separate non-argument short options: -\?*|-h*|-v*|-x*) func_split_short_opt "$_G_opt" set dummy "$func_split_short_opt_name" \ "-$func_split_short_opt_arg" ${1+"$@"} shift ;; --) break ;; -*) func_fatal_help "unrecognised option: '$_G_opt'" ;; *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; esac done # save modified positional parameters for caller func_quote_for_eval ${1+"$@"} func_parse_options_result=$func_quote_for_eval_result } # func_validate_options [ARG]... # ------------------------------ # Perform any sanity checks on option settings and/or unconsumed # arguments. func_hookable func_validate_options func_validate_options () { $debug_cmd # Display all warnings if -W was not given. test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" func_run_hooks func_validate_options ${1+"$@"} # Bail if the options were screwed! $exit_cmd $EXIT_FAILURE # save modified positional parameters for caller func_validate_options_result=$func_run_hooks_result } ## ----------------- ## ## Helper functions. ## ## ----------------- ## # This section contains the helper functions used by the rest of the # hookable option parser framework in ascii-betical order. # func_fatal_help ARG... # ---------------------- # Echo program name prefixed message to standard error, followed by # a help hint, and exit. func_fatal_help () { $debug_cmd eval \$ECHO \""Usage: $usage"\" eval \$ECHO \""$fatal_help"\" func_error ${1+"$@"} exit $EXIT_FAILURE } # func_help # --------- # Echo long help message to standard output and exit. func_help () { $debug_cmd func_usage_message $ECHO "$long_help_message" exit 0 } # func_missing_arg ARGNAME # ------------------------ # Echo program name prefixed message to standard error and set global # exit_cmd. func_missing_arg () { $debug_cmd func_error "Missing argument for '$1'." exit_cmd=exit } # func_split_equals STRING # ------------------------ # Set func_split_equals_lhs and func_split_equals_rhs shell variables after # splitting STRING at the '=' sign. test -z "$_G_HAVE_XSI_OPS" \ && (eval 'x=a/b/c; test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ && _G_HAVE_XSI_OPS=yes if test yes = "$_G_HAVE_XSI_OPS" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_split_equals () { $debug_cmd func_split_equals_lhs=${1%%=*} func_split_equals_rhs=${1#*=} test "x$func_split_equals_lhs" = "x$1" \ && func_split_equals_rhs= }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_split_equals () { $debug_cmd func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'` func_split_equals_rhs= test "x$func_split_equals_lhs" = "x$1" \ || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'` } fi #func_split_equals # func_split_short_opt SHORTOPT # ----------------------------- # Set func_split_short_opt_name and func_split_short_opt_arg shell # variables after splitting SHORTOPT after the 2nd character. if test yes = "$_G_HAVE_XSI_OPS" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_split_short_opt () { $debug_cmd func_split_short_opt_arg=${1#??} func_split_short_opt_name=${1%"$func_split_short_opt_arg"} }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_split_short_opt () { $debug_cmd func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'` func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'` } fi #func_split_short_opt # func_usage # ---------- # Echo short help message to standard output and exit. func_usage () { $debug_cmd func_usage_message $ECHO "Run '$progname --help |${PAGER-more}' for full usage" exit 0 } # func_usage_message # ------------------ # Echo short help message to standard output. func_usage_message () { $debug_cmd eval \$ECHO \""Usage: $usage"\" echo $SED -n 's|^# || /^Written by/{ x;p;x } h /^Written by/q' < "$progpath" echo eval \$ECHO \""$usage_message"\" } # func_version # ------------ # Echo version message to standard output and exit. func_version () { $debug_cmd printf '%s\n' "$progname $scriptversion" $SED -n ' /(C)/!b go :more /\./!{ N s|\n# | | b more } :go /^# Written by /,/# warranty; / { s|^# || s|^# *$|| s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2| p } /^# Written by / { s|^# || p } /^warranty; /q' < "$progpath" exit $? } # Local variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-time-zone: "UTC" # End: # Set a version string. scriptversion='(GNU libtool) 2.4.6' # func_echo ARG... # ---------------- # Libtool also displays the current mode in messages, so override # funclib.sh func_echo with this custom definition. func_echo () { $debug_cmd _G_message=$* func_echo_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_IFS $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line" done IFS=$func_echo_IFS } # func_warning ARG... # ------------------- # Libtool warnings are not categorized, so override funclib.sh # func_warning with this simpler definition. func_warning () { $debug_cmd $warning_func ${1+"$@"} } ## ---------------- ## ## Options parsing. ## ## ---------------- ## # Hook in the functions to make sure our own options are parsed during # the option parsing loop. usage='$progpath [OPTION]... [MODE-ARG]...' # Short help message in response to '-h'. usage_message="Options: --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --mode=MODE use operation mode MODE --no-warnings equivalent to '-Wnone' --preserve-dup-deps don't remove duplicate dependency libraries --quiet, --silent don't print informational messages --tag=TAG use configuration variables from tag TAG -v, --verbose print more informational messages than default --version print version information -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] -h, --help, --help-all print short, long, or detailed help message " # Additional text appended to 'usage_message' in response to '--help'. func_help () { $debug_cmd func_usage_message $ECHO "$long_help_message MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. When passed as first option, '--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that. Try '$progname --help --mode=MODE' for a more detailed description of MODE. When reporting a bug, please describe a test case to reproduce it and include the following information: host-triplet: $host shell: $SHELL compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu? $with_gnu_ld) version: $progname $scriptversion Debian-2.4.6-2 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` Report bugs to . GNU libtool home page: . General help using GNU software: ." exit 0 } # func_lo2o OBJECT-NAME # --------------------- # Transform OBJECT-NAME from a '.lo' suffix to the platform specific # object suffix. lo2o=s/\\.lo\$/.$objext/ o2lo=s/\\.$objext\$/.lo/ if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_lo2o () { case $1 in *.lo) func_lo2o_result=${1%.lo}.$objext ;; * ) func_lo2o_result=$1 ;; esac }' # func_xform LIBOBJ-OR-SOURCE # --------------------------- # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise) # suffix to a '.lo' libtool-object suffix. eval 'func_xform () { func_xform_result=${1%.*}.lo }' else # ...otherwise fall back to using sed. func_lo2o () { func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"` } func_xform () { func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'` } fi # func_fatal_configuration ARG... # ------------------------------- # Echo program name prefixed message to standard error, followed by # a configuration failure hint, and exit. func_fatal_configuration () { func__fatal_error ${1+"$@"} \ "See the $PACKAGE documentation for more information." \ "Fatal configuration error." } # func_config # ----------- # Display the configuration for all the tags in this script. func_config () { re_begincf='^# ### BEGIN LIBTOOL' re_endcf='^# ### END LIBTOOL' # Default configuration. $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" # Now print the configurations for the tags. for tagname in $taglist; do $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" done exit $? } # func_features # ------------- # Display the features supported by this script. func_features () { echo "host: $host" if test yes = "$build_libtool_libs"; then echo "enable shared libraries" else echo "disable shared libraries" fi if test yes = "$build_old_libs"; then echo "enable static libraries" else echo "disable static libraries" fi exit $? } # func_enable_tag TAGNAME # ----------------------- # Verify that TAGNAME is valid, and either flag an error and exit, or # enable the TAGNAME tag. We also add TAGNAME to the global $taglist # variable here. func_enable_tag () { # Global variable: tagname=$1 re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" sed_extractcf=/$re_begincf/,/$re_endcf/p # Validate tagname. case $tagname in *[!-_A-Za-z0-9,/]*) func_fatal_error "invalid tag name: $tagname" ;; esac # Don't test for the "default" C tag, as we know it's # there but not specially marked. case $tagname in CC) ;; *) if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then taglist="$taglist $tagname" # Evaluate the configuration. Be careful to quote the path # and the sed script, to avoid splitting on whitespace, but # also don't use non-portable quotes within backquotes within # quotes we have to do it in 2 steps: extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` eval "$extractedcf" else func_error "ignoring unknown tag $tagname" fi ;; esac } # func_check_version_match # ------------------------ # Ensure that we are using m4 macros, and libtool script from the same # release of libtool. func_check_version_match () { if test "$package_revision" != "$macro_revision"; then if test "$VERSION" != "$macro_version"; then if test -z "$macro_version"; then cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from an older release. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from $PACKAGE $macro_version. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF fi else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, $progname: but the definition of this LT_INIT comes from revision $macro_revision. $progname: You should recreate aclocal.m4 with macros from revision $package_revision $progname: of $PACKAGE $VERSION and run autoconf again. _LT_EOF fi exit $EXIT_MISMATCH fi } # libtool_options_prep [ARG]... # ----------------------------- # Preparation for options parsed by libtool. libtool_options_prep () { $debug_mode # Option defaults: opt_config=false opt_dlopen= opt_dry_run=false opt_help=false opt_mode= opt_preserve_dup_deps=false opt_quiet=false nonopt= preserve_args= # Shorthand for --mode=foo, only valid as the first argument case $1 in clean|clea|cle|cl) shift; set dummy --mode clean ${1+"$@"}; shift ;; compile|compil|compi|comp|com|co|c) shift; set dummy --mode compile ${1+"$@"}; shift ;; execute|execut|execu|exec|exe|ex|e) shift; set dummy --mode execute ${1+"$@"}; shift ;; finish|finis|fini|fin|fi|f) shift; set dummy --mode finish ${1+"$@"}; shift ;; install|instal|insta|inst|ins|in|i) shift; set dummy --mode install ${1+"$@"}; shift ;; link|lin|li|l) shift; set dummy --mode link ${1+"$@"}; shift ;; uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) shift; set dummy --mode uninstall ${1+"$@"}; shift ;; esac # Pass back the list of options. func_quote_for_eval ${1+"$@"} libtool_options_prep_result=$func_quote_for_eval_result } func_add_hook func_options_prep libtool_options_prep # libtool_parse_options [ARG]... # --------------------------------- # Provide handling for libtool specific options. libtool_parse_options () { $debug_cmd # Perform our own loop to consume as many options as possible in # each iteration. while test $# -gt 0; do _G_opt=$1 shift case $_G_opt in --dry-run|--dryrun|-n) opt_dry_run=: ;; --config) func_config ;; --dlopen|-dlopen) opt_dlopen="${opt_dlopen+$opt_dlopen }$1" shift ;; --preserve-dup-deps) opt_preserve_dup_deps=: ;; --features) func_features ;; --finish) set dummy --mode finish ${1+"$@"}; shift ;; --help) opt_help=: ;; --help-all) opt_help=': help-all' ;; --mode) test $# = 0 && func_missing_arg $_G_opt && break opt_mode=$1 case $1 in # Valid mode arguments: clean|compile|execute|finish|install|link|relink|uninstall) ;; # Catch anything else as an error *) func_error "invalid argument for $_G_opt" exit_cmd=exit break ;; esac shift ;; --no-silent|--no-quiet) opt_quiet=false func_append preserve_args " $_G_opt" ;; --no-warnings|--no-warning|--no-warn) opt_warning=false func_append preserve_args " $_G_opt" ;; --no-verbose) opt_verbose=false func_append preserve_args " $_G_opt" ;; --silent|--quiet) opt_quiet=: opt_verbose=false func_append preserve_args " $_G_opt" ;; --tag) test $# = 0 && func_missing_arg $_G_opt && break opt_tag=$1 func_append preserve_args " $_G_opt $1" func_enable_tag "$1" shift ;; --verbose|-v) opt_quiet=false opt_verbose=: func_append preserve_args " $_G_opt" ;; # An option not handled by this hook function: *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; esac done # save modified positional parameters for caller func_quote_for_eval ${1+"$@"} libtool_parse_options_result=$func_quote_for_eval_result } func_add_hook func_parse_options libtool_parse_options # libtool_validate_options [ARG]... # --------------------------------- # Perform any sanity checks on option settings and/or unconsumed # arguments. libtool_validate_options () { # save first non-option argument if test 0 -lt $#; then nonopt=$1 shift fi # preserve --debug test : = "$debug_cmd" || func_append preserve_args " --debug" case $host in # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452 # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; *) opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps ;; esac $opt_help || { # Sanity checks first: func_check_version_match test yes != "$build_libtool_libs" \ && test yes != "$build_old_libs" \ && func_fatal_configuration "not configured to build any kind of library" # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Only execute mode is allowed to have -dlopen flags. if test -n "$opt_dlopen" && test execute != "$opt_mode"; then func_error "unrecognized option '-dlopen'" $ECHO "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help=$help help="Try '$progname --help --mode=$opt_mode' for more information." } # Pass back the unparsed argument list func_quote_for_eval ${1+"$@"} libtool_validate_options_result=$func_quote_for_eval_result } func_add_hook func_validate_options libtool_validate_options # Process options as early as possible so that --help and --version # can return quickly. func_options ${1+"$@"} eval set dummy "$func_options_result"; shift ## ----------- ## ## Main. ## ## ----------- ## magic='%%%MAGIC variable%%%' magic_exe='%%%MAGIC EXE variable%%%' # Global variables. extracted_archives= extracted_serial=0 # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } # func_generated_by_libtool # True iff stdin has been generated by Libtool. This function is only # a basic sanity check; it will hardly flush out determined imposters. func_generated_by_libtool_p () { $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 } # func_lalib_p file # True iff FILE is a libtool '.la' library or '.lo' object file. # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_lalib_p () { test -f "$1" && $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p } # func_lalib_unsafe_p file # True iff FILE is a libtool '.la' library or '.lo' object file. # This function implements the same check as func_lalib_p without # resorting to external programs. To this end, it redirects stdin and # closes it afterwards, without saving the original file descriptor. # As a safety measure, use it only where a negative result would be # fatal anyway. Works if 'file' does not exist. func_lalib_unsafe_p () { lalib_p=no if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then for lalib_p_l in 1 2 3 4 do read lalib_p_line case $lalib_p_line in \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; esac done exec 0<&5 5<&- fi test yes = "$lalib_p" } # func_ltwrapper_script_p file # True iff FILE is a libtool wrapper script # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_script_p () { test -f "$1" && $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p } # func_ltwrapper_executable_p file # True iff FILE is a libtool wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_executable_p () { func_ltwrapper_exec_suffix= case $1 in *.exe) ;; *) func_ltwrapper_exec_suffix=.exe ;; esac $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 } # func_ltwrapper_scriptname file # Assumes file is an ltwrapper_executable # uses $file to determine the appropriate filename for a # temporary ltwrapper_script. func_ltwrapper_scriptname () { func_dirname_and_basename "$1" "" "." func_stripname '' '.exe' "$func_basename_result" func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper } # func_ltwrapper_p file # True iff FILE is a libtool wrapper script or wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_p () { func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" } # func_execute_cmds commands fail_cmd # Execute tilde-delimited COMMANDS. # If FAIL_CMD is given, eval that upon failure. # FAIL_CMD may read-access the current command in variable CMD! func_execute_cmds () { $debug_cmd save_ifs=$IFS; IFS='~' for cmd in $1; do IFS=$sp$nl eval cmd=\"$cmd\" IFS=$save_ifs func_show_eval "$cmd" "${2-:}" done IFS=$save_ifs } # func_source file # Source FILE, adding directory component if necessary. # Note that it is not necessary on cygwin/mingw to append a dot to # FILE even if both FILE and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # 'FILE.' does not work on cygwin managed mounts. func_source () { $debug_cmd case $1 in */* | *\\*) . "$1" ;; *) . "./$1" ;; esac } # func_resolve_sysroot PATH # Replace a leading = in PATH with a sysroot. Store the result into # func_resolve_sysroot_result func_resolve_sysroot () { func_resolve_sysroot_result=$1 case $func_resolve_sysroot_result in =*) func_stripname '=' '' "$func_resolve_sysroot_result" func_resolve_sysroot_result=$lt_sysroot$func_stripname_result ;; esac } # func_replace_sysroot PATH # If PATH begins with the sysroot, replace it with = and # store the result into func_replace_sysroot_result. func_replace_sysroot () { case $lt_sysroot:$1 in ?*:"$lt_sysroot"*) func_stripname "$lt_sysroot" '' "$1" func_replace_sysroot_result='='$func_stripname_result ;; *) # Including no sysroot. func_replace_sysroot_result=$1 ;; esac } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { $debug_cmd if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case "$@ " in " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then func_echo "unable to infer tagged configuration" func_fatal_error "specify a tag with '--tag'" # else # func_verbose "using $tagname tagged configuration" fi ;; esac fi } # func_write_libtool_object output_name pic_name nonpic_name # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. func_write_libtool_object () { write_libobj=$1 if test yes = "$build_libtool_libs"; then write_lobj=\'$2\' else write_lobj=none fi if test yes = "$build_old_libs"; then write_oldobj=\'$3\' else write_oldobj=none fi $opt_dry_run || { cat >${write_libobj}T </dev/null` if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | $SED -e "$sed_naive_backslashify"` else func_convert_core_file_wine_to_w32_result= fi fi } # end: func_convert_core_file_wine_to_w32 # func_convert_core_path_wine_to_w32 ARG # Helper function used by path conversion functions when $build is *nix, and # $host is mingw, cygwin, or some other w32 environment. Relies on a correctly # configured wine environment available, with the winepath program in $build's # $PATH. Assumes ARG has no leading or trailing path separator characters. # # ARG is path to be converted from $build format to win32. # Result is available in $func_convert_core_path_wine_to_w32_result. # Unconvertible file (directory) names in ARG are skipped; if no directory names # are convertible, then the result may be empty. func_convert_core_path_wine_to_w32 () { $debug_cmd # unfortunately, winepath doesn't convert paths, only file names func_convert_core_path_wine_to_w32_result= if test -n "$1"; then oldIFS=$IFS IFS=: for func_convert_core_path_wine_to_w32_f in $1; do IFS=$oldIFS func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" if test -n "$func_convert_core_file_wine_to_w32_result"; then if test -z "$func_convert_core_path_wine_to_w32_result"; then func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result else func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" fi fi done IFS=$oldIFS fi } # end: func_convert_core_path_wine_to_w32 # func_cygpath ARGS... # Wrapper around calling the cygpath program via LT_CYGPATH. This is used when # when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) # $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or # (2), returns the Cygwin file name or path in func_cygpath_result (input # file name or path is assumed to be in w32 format, as previously converted # from $build's *nix or MSYS format). In case (3), returns the w32 file name # or path in func_cygpath_result (input file name or path is assumed to be in # Cygwin format). Returns an empty string on error. # # ARGS are passed to cygpath, with the last one being the file name or path to # be converted. # # Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH # environment variable; do not put it in $PATH. func_cygpath () { $debug_cmd if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` if test "$?" -ne 0; then # on failure, ensure result is empty func_cygpath_result= fi else func_cygpath_result= func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'" fi } #end: func_cygpath # func_convert_core_msys_to_w32 ARG # Convert file name or path ARG from MSYS format to w32 format. Return # result in func_convert_core_msys_to_w32_result. func_convert_core_msys_to_w32 () { $debug_cmd # awkward: cmd appends spaces to result func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"` } #end: func_convert_core_msys_to_w32 # func_convert_file_check ARG1 ARG2 # Verify that ARG1 (a file name in $build format) was converted to $host # format in ARG2. Otherwise, emit an error message, but continue (resetting # func_to_host_file_result to ARG1). func_convert_file_check () { $debug_cmd if test -z "$2" && test -n "$1"; then func_error "Could not determine host file name corresponding to" func_error " '$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback: func_to_host_file_result=$1 fi } # end func_convert_file_check # func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH # Verify that FROM_PATH (a path in $build format) was converted to $host # format in TO_PATH. Otherwise, emit an error message, but continue, resetting # func_to_host_file_result to a simplistic fallback value (see below). func_convert_path_check () { $debug_cmd if test -z "$4" && test -n "$3"; then func_error "Could not determine the host path corresponding to" func_error " '$3'" func_error "Continuing, but uninstalled executables may not work." # Fallback. This is a deliberately simplistic "conversion" and # should not be "improved". See libtool.info. if test "x$1" != "x$2"; then lt_replace_pathsep_chars="s|$1|$2|g" func_to_host_path_result=`echo "$3" | $SED -e "$lt_replace_pathsep_chars"` else func_to_host_path_result=$3 fi fi } # end func_convert_path_check # func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG # Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT # and appending REPL if ORIG matches BACKPAT. func_convert_path_front_back_pathsep () { $debug_cmd case $4 in $1 ) func_to_host_path_result=$3$func_to_host_path_result ;; esac case $4 in $2 ) func_append func_to_host_path_result "$3" ;; esac } # end func_convert_path_front_back_pathsep ################################################## # $build to $host FILE NAME CONVERSION FUNCTIONS # ################################################## # invoked via '$to_host_file_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # Result will be available in $func_to_host_file_result. # func_to_host_file ARG # Converts the file name ARG from $build format to $host format. Return result # in func_to_host_file_result. func_to_host_file () { $debug_cmd $to_host_file_cmd "$1" } # end func_to_host_file # func_to_tool_file ARG LAZY # converts the file name ARG from $build format to toolchain format. Return # result in func_to_tool_file_result. If the conversion in use is listed # in (the comma separated) LAZY, no conversion takes place. func_to_tool_file () { $debug_cmd case ,$2, in *,"$to_tool_file_cmd",*) func_to_tool_file_result=$1 ;; *) $to_tool_file_cmd "$1" func_to_tool_file_result=$func_to_host_file_result ;; esac } # end func_to_tool_file # func_convert_file_noop ARG # Copy ARG to func_to_host_file_result. func_convert_file_noop () { func_to_host_file_result=$1 } # end func_convert_file_noop # func_convert_file_msys_to_w32 ARG # Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_file_result. func_convert_file_msys_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_to_host_file_result=$func_convert_core_msys_to_w32_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_w32 # func_convert_file_cygwin_to_w32 ARG # Convert file name ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_file_cygwin_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then # because $build is cygwin, we call "the" cygpath in $PATH; no need to use # LT_CYGPATH in this case. func_to_host_file_result=`cygpath -m "$1"` fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_cygwin_to_w32 # func_convert_file_nix_to_w32 ARG # Convert file name ARG from *nix to w32 format. Requires a wine environment # and a working winepath. Returns result in func_to_host_file_result. func_convert_file_nix_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_file_wine_to_w32 "$1" func_to_host_file_result=$func_convert_core_file_wine_to_w32_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_w32 # func_convert_file_msys_to_cygwin ARG # Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_file_msys_to_cygwin () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_cygpath -u "$func_convert_core_msys_to_w32_result" func_to_host_file_result=$func_cygpath_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_cygwin # func_convert_file_nix_to_cygwin ARG # Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed # in a wine environment, working winepath, and LT_CYGPATH set. Returns result # in func_to_host_file_result. func_convert_file_nix_to_cygwin () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. func_convert_core_file_wine_to_w32 "$1" func_cygpath -u "$func_convert_core_file_wine_to_w32_result" func_to_host_file_result=$func_cygpath_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_cygwin ############################################# # $build to $host PATH CONVERSION FUNCTIONS # ############################################# # invoked via '$to_host_path_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # The result will be available in $func_to_host_path_result. # # Path separators are also converted from $build format to $host format. If # ARG begins or ends with a path separator character, it is preserved (but # converted to $host format) on output. # # All path conversion functions are named using the following convention: # file name conversion function : func_convert_file_X_to_Y () # path conversion function : func_convert_path_X_to_Y () # where, for any given $build/$host combination the 'X_to_Y' value is the # same. If conversion functions are added for new $build/$host combinations, # the two new functions must follow this pattern, or func_init_to_host_path_cmd # will break. # func_init_to_host_path_cmd # Ensures that function "pointer" variable $to_host_path_cmd is set to the # appropriate value, based on the value of $to_host_file_cmd. to_host_path_cmd= func_init_to_host_path_cmd () { $debug_cmd if test -z "$to_host_path_cmd"; then func_stripname 'func_convert_file_' '' "$to_host_file_cmd" to_host_path_cmd=func_convert_path_$func_stripname_result fi } # func_to_host_path ARG # Converts the path ARG from $build format to $host format. Return result # in func_to_host_path_result. func_to_host_path () { $debug_cmd func_init_to_host_path_cmd $to_host_path_cmd "$1" } # end func_to_host_path # func_convert_path_noop ARG # Copy ARG to func_to_host_path_result. func_convert_path_noop () { func_to_host_path_result=$1 } # end func_convert_path_noop # func_convert_path_msys_to_w32 ARG # Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_path_result. func_convert_path_msys_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # Remove leading and trailing path separator characters from ARG. MSYS # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; # and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result=$func_convert_core_msys_to_w32_result func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_msys_to_w32 # func_convert_path_cygwin_to_w32 ARG # Convert path ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_path_cygwin_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_cygwin_to_w32 # func_convert_path_nix_to_w32 ARG # Convert path ARG from *nix to w32 format. Requires a wine environment and # a working winepath. Returns result in func_to_host_file_result. func_convert_path_nix_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result=$func_convert_core_path_wine_to_w32_result func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_nix_to_w32 # func_convert_path_msys_to_cygwin ARG # Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_path_msys_to_cygwin () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_msys_to_w32_result" func_to_host_path_result=$func_cygpath_result func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_msys_to_cygwin # func_convert_path_nix_to_cygwin ARG # Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a # a wine environment, working winepath, and LT_CYGPATH set. Returns result in # func_to_host_file_result. func_convert_path_nix_to_cygwin () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # Remove leading and trailing path separator characters from # ARG. msys behavior is inconsistent here, cygpath turns them # into '.;' and ';.', and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" func_to_host_path_result=$func_cygpath_result func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_nix_to_cygwin # func_dll_def_p FILE # True iff FILE is a Windows DLL '.def' file. # Keep in sync with _LT_DLL_DEF_P in libtool.m4 func_dll_def_p () { $debug_cmd func_dll_def_p_tmp=`$SED -n \ -e 's/^[ ]*//' \ -e '/^\(;.*\)*$/d' \ -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \ -e q \ "$1"` test DEF = "$func_dll_def_p_tmp" } # func_mode_compile arg... func_mode_compile () { $debug_cmd # Get the compilation command and the source file. base_compile= srcfile=$nonopt # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= pie_flag= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg=$arg arg_mode=normal ;; target ) libobj=$arg arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) test -n "$libobj" && \ func_fatal_error "you cannot specify '-o' more than once" arg_mode=target continue ;; -pie | -fpie | -fPIE) func_append pie_flag " $arg" continue ;; -shared | -static | -prefer-pic | -prefer-non-pic) func_append later " $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result lastarg= save_ifs=$IFS; IFS=, for arg in $args; do IFS=$save_ifs func_append_quoted lastarg "$arg" done IFS=$save_ifs func_stripname ' ' '' "$lastarg" lastarg=$func_stripname_result # Add the arguments to base_compile. func_append base_compile " $lastarg" continue ;; *) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg=$srcfile srcfile=$arg ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. func_append_quoted base_compile "$lastarg" done # for arg case $arg_mode in arg) func_fatal_error "you must specify an argument for -Xcompile" ;; target) func_fatal_error "you must specify a target with '-o'" ;; *) # Get the name of the library object. test -z "$libobj" && { func_basename "$srcfile" libobj=$func_basename_result } ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo case $libobj in *.[cCFSifmso] | \ *.ada | *.adb | *.ads | *.asm | \ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) func_xform "$libobj" libobj=$func_xform_result ;; esac case $libobj in *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; *) func_fatal_error "cannot determine name of library object from '$libobj'" ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -shared) test yes = "$build_libtool_libs" \ || func_fatal_configuration "cannot build a shared library" build_old_libs=no continue ;; -static) build_libtool_libs=no build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done func_quote_for_eval "$libobj" test "X$libobj" != "X$func_quote_for_eval_result" \ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ && func_warning "libobj name '$libobj' may not contain shell special characters." func_dirname_and_basename "$obj" "/" "" objname=$func_basename_result xdir=$func_dirname_result lobj=$xdir$objdir/$objname test -z "$base_compile" && \ func_fatal_help "you must specify a compilation command" # Delete any leftover library objects. if test yes = "$build_old_libs"; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2* | cegcc*) pic_mode=default ;; esac if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test no = "$compiler_c_o"; then output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext lockfile=$output_obj.lock else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test yes = "$need_locks"; then until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done elif test warn = "$need_locks"; then if test -f "$lockfile"; then $ECHO "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi func_append removelist " $output_obj" $ECHO "$srcfile" > "$lockfile" fi $opt_dry_run || $RM $removelist func_append removelist " $lockfile" trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 srcfile=$func_to_tool_file_result func_quote_for_eval "$srcfile" qsrcfile=$func_quote_for_eval_result # Only build a PIC object if we are building libtool libraries. if test yes = "$build_libtool_libs"; then # Without this assignment, base_compile gets emptied. fbsd_hideous_sh_bug=$base_compile if test no != "$pic_mode"; then command="$base_compile $qsrcfile $pic_flag" else # Don't build PIC code command="$base_compile $qsrcfile" fi func_mkdir_p "$xdir$objdir" if test -z "$output_obj"; then # Place PIC objects in $objdir func_append command " -o $lobj" fi func_show_eval_locale "$command" \ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' if test warn = "$need_locks" && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then func_show_eval '$MV "$output_obj" "$lobj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi # Allow error messages only from the first compilation. if test yes = "$suppress_opt"; then suppress_output=' >/dev/null 2>&1' fi fi # Only build a position-dependent object if we build old libraries. if test yes = "$build_old_libs"; then if test yes != "$pic_mode"; then # Don't build PIC code command="$base_compile $qsrcfile$pie_flag" else command="$base_compile $qsrcfile $pic_flag" fi if test yes = "$compiler_c_o"; then func_append command " -o $obj" fi # Suppress compiler output if we already did a PIC compilation. func_append command "$suppress_output" func_show_eval_locale "$command" \ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' if test warn = "$need_locks" && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then func_show_eval '$MV "$output_obj" "$obj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi fi $opt_dry_run || { func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" # Unlock the critical section if it was locked if test no != "$need_locks"; then removelist=$lockfile $RM "$lockfile" fi } exit $EXIT_SUCCESS } $opt_help || { test compile = "$opt_mode" && func_mode_compile ${1+"$@"} } func_mode_help () { # We need to display help for each of the modes. case $opt_mode in "") # Generic help is extracted from the usage comments # at the start of this file. func_help ;; clean) $ECHO \ "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $ECHO \ "Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -no-suppress do not suppress compiler output for multiple passes -prefer-pic try to build PIC objects only -prefer-non-pic try to build non-PIC objects only -shared do not build a '.o' file suitable for static linking -static only build a '.o' file suitable for static linking -Wc,FLAG pass FLAG directly to the compiler COMPILE-COMMAND is a command to be used in creating a 'standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix '.c' with the library object suffix, '.lo'." ;; execute) $ECHO \ "Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to '-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $ECHO \ "Usage: $progname [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the '--dry-run' option if you just want to see what would be executed." ;; install) $ECHO \ "Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the 'install' or 'cp' program. The following components of INSTALL-COMMAND are treated specially: -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $ECHO \ "Usage: $progname [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -bindir BINDIR specify path to binaries directory (for systems where libraries must be found in the PATH setting at runtime) -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE use a list of object files found in FILE to specify objects -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes) -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -shared only do dynamic linking of libtool libraries -shrext SUFFIX override the standard shared library file extension -static do not do any dynamic linking of uninstalled libtool libraries -static-libtool-libs do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] -weak LIBNAME declare that the target provides the LIBNAME interface -Wc,FLAG -Xcompiler FLAG pass linker-specific FLAG directly to the compiler -Wl,FLAG -Xlinker FLAG pass linker-specific FLAG directly to the linker -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) All other options (arguments beginning with '-') are ignored. Every other argument is treated as a filename. Files ending in '.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in '.la', then a libtool library is created, only library objects ('.lo' files) may be specified, and '-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created using 'ar' and 'ranlib', or on Windows using 'lib'. If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $ECHO \ "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) func_fatal_help "invalid operation mode '$opt_mode'" ;; esac echo $ECHO "Try '$progname --help' for more information about other modes." } # Now that we've collected a possible --mode arg, show help if necessary if $opt_help; then if test : = "$opt_help"; then func_mode_help else { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do func_mode_help done } | $SED -n '1p; 2,$s/^Usage:/ or: /p' { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do echo func_mode_help done } | $SED '1d /^When reporting/,/^Report/{ H d } $x /information about other modes/d /more detailed .*MODE/d s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' fi exit $? fi # func_mode_execute arg... func_mode_execute () { $debug_cmd # The first argument is the command name. cmd=$nonopt test -z "$cmd" && \ func_fatal_help "you must specify a COMMAND" # Handle -dlopen flags immediately. for file in $opt_dlopen; do test -f "$file" \ || func_fatal_help "'$file' is not a file" dir= case $file in *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "'$lib' is not a valid libtool archive" # Read the libtool library. dlname= library_names= func_source "$file" # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && \ func_warning "'$file' was not linked with '-export-dynamic'" continue fi func_dirname "$file" "" "." dir=$func_dirname_result if test -f "$dir/$objdir/$dlname"; then func_append dir "/$objdir" else if test ! -f "$dir/$dlname"; then func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'" fi fi ;; *.lo) # Just add the directory containing the .lo file. func_dirname "$file" "" "." dir=$func_dirname_result ;; *) func_warning "'-dlopen' is ignored for non-libtool libraries and objects" continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir=$absdir # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic=$magic # Check if any of the arguments is a wrapper script. args= for file do case $file in -* | *.la | *.lo ) ;; *) # Do a test to see if this is really a libtool program. if func_ltwrapper_script_p "$file"; then func_source "$file" # Transform arg to wrapped name. file=$progdir/$program elif func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" func_source "$func_ltwrapper_scriptname_result" # Transform arg to wrapped name. file=$progdir/$program fi ;; esac # Quote arguments (to preserve shell metacharacters). func_append_quoted args "$file" done if $opt_dry_run; then # Display what would be done. if test -n "$shlibpath_var"; then eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" echo "export $shlibpath_var" fi $ECHO "$cmd$args" exit $EXIT_SUCCESS else if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var else $lt_unset $lt_var fi" done # Now prepare to actually exec the command. exec_cmd=\$cmd$args fi } test execute = "$opt_mode" && func_mode_execute ${1+"$@"} # func_mode_finish arg... func_mode_finish () { $debug_cmd libs= libdirs= admincmds= for opt in "$nonopt" ${1+"$@"} do if test -d "$opt"; then func_append libdirs " $opt" elif test -f "$opt"; then if func_lalib_unsafe_p "$opt"; then func_append libs " $opt" else func_warning "'$opt' is not a valid libtool archive" fi else func_fatal_error "invalid argument '$opt'" fi done if test -n "$libs"; then if test -n "$lt_sysroot"; then sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" else sysroot_cmd= fi # Remove sysroot references if $opt_dry_run; then for lib in $libs; do echo "removing references to $lt_sysroot and '=' prefixes from $lib" done else tmpdir=`func_mktempdir` for lib in $libs; do $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ > $tmpdir/tmp-la mv -f $tmpdir/tmp-la $lib done ${RM}r "$tmpdir" fi fi if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. func_execute_cmds "$finish_cmds" 'admincmds="$admincmds '"$cmd"'"' fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $opt_dry_run || eval "$cmds" || func_append admincmds " $cmds" fi done fi # Exit here if they wanted silent mode. $opt_quiet && exit $EXIT_SUCCESS if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then echo "----------------------------------------------------------------------" echo "Libraries have been installed in:" for libdir in $libdirs; do $ECHO " $libdir" done echo echo "If you ever happen to want to link against installed libraries" echo "in a given directory, LIBDIR, you must either use libtool, and" echo "specify the full pathname of the library, or use the '-LLIBDIR'" echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then echo " - add LIBDIR to the '$shlibpath_var' environment variable" echo " during execution" fi if test -n "$runpath_var"; then echo " - add LIBDIR to the '$runpath_var' environment variable" echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $ECHO " - use the '$flag' linker flag" fi if test -n "$admincmds"; then $ECHO " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'" fi echo echo "See any operating system documentation about shared libraries for" case $host in solaris2.[6789]|solaris2.1[0-9]) echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" echo "pages." ;; *) echo "more information, such as the ld(1) and ld.so(8) manual pages." ;; esac echo "----------------------------------------------------------------------" fi exit $EXIT_SUCCESS } test finish = "$opt_mode" && func_mode_finish ${1+"$@"} # func_mode_install arg... func_mode_install () { $debug_cmd # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" || # Allow the use of GNU shtool's install command. case $nonopt in *shtool*) :;; *) false;; esac then # Aesthetically quote it. func_quote_for_eval "$nonopt" install_prog="$func_quote_for_eval_result " arg=$1 shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. func_quote_for_eval "$arg" func_append install_prog "$func_quote_for_eval_result" install_shared_prog=$install_prog case " $install_prog " in *[\\\ /]cp\ *) install_cp=: ;; *) install_cp=false ;; esac # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=false stripme= no_mode=: for arg do arg2= if test -n "$dest"; then func_append files " $dest" dest=$arg continue fi case $arg in -d) isdir=: ;; -f) if $install_cp; then :; else prev=$arg fi ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then if test X-m = "X$prev" && test -n "$install_override_mode"; then arg2=$install_override_mode no_mode=false fi prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. func_quote_for_eval "$arg" func_append install_prog " $func_quote_for_eval_result" if test -n "$arg2"; then func_quote_for_eval "$arg2" fi func_append install_shared_prog " $func_quote_for_eval_result" done test -z "$install_prog" && \ func_fatal_help "you must specify an install program" test -n "$prev" && \ func_fatal_help "the '$prev' option requires an argument" if test -n "$install_override_mode" && $no_mode; then if $install_cp; then :; else func_quote_for_eval "$install_override_mode" func_append install_shared_prog " -m $func_quote_for_eval_result" fi fi if test -z "$files"; then if test -z "$dest"; then func_fatal_help "no file or destination specified" else func_fatal_help "you must specify a destination" fi fi # Strip any trailing slash from the destination. func_stripname '' '/' "$dest" dest=$func_stripname_result # Check to see that the destination is a directory. test -d "$dest" && isdir=: if $isdir; then destdir=$dest destname= else func_dirname_and_basename "$dest" "" "." destdir=$func_dirname_result destname=$func_basename_result # Not a directory, so check to see that there is only one file specified. set dummy $files; shift test "$#" -gt 1 && \ func_fatal_help "'$dest' is not a directory" fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) func_fatal_help "'$destdir' must be an absolute directory name" ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic=$magic staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. func_append staticlibs " $file" ;; *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "'$file' is not a valid libtool archive" library_names= old_library= relink_command= func_source "$file" # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) func_append current_libdirs " $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) func_append future_libdirs " $libdir" ;; esac fi func_dirname "$file" "/" "" dir=$func_dirname_result func_append dir "$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. test "$inst_prefix_dir" = "$destdir" && \ func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir" if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi func_warning "relinking '$file'" func_show_eval "$relink_command" \ 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"' fi # See the names of the shared library. set dummy $library_names; shift if test -n "$1"; then realname=$1 shift srcname=$realname test -n "$relink_command" && srcname=${realname}T # Install the shared library and build the symlinks. func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 'exit $?' tstripme=$stripme case $host_os in cygwin* | mingw* | pw32* | cegcc*) case $realname in *.dll.a) tstripme= ;; esac ;; os2*) case $realname in *_dll.a) tstripme= ;; esac ;; esac if test -n "$tstripme" && test -n "$striplib"; then func_show_eval "$striplib $destdir/$realname" 'exit $?' fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try 'ln -sf' first, because the 'ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do test "$linkname" != "$realname" \ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" done fi # Do each command in the postinstall commands. lib=$destdir/$realname func_execute_cmds "$postinstall_cmds" 'exit $?' fi # Install the pseudo-library for information purposes. func_basename "$file" name=$func_basename_result instname=$dir/${name}i func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' # Maybe install the static library, too. test -n "$old_library" && func_append staticlibs " $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile=$destdir/$destname else func_basename "$file" destfile=$func_basename_result destfile=$destdir/$destfile fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) func_lo2o "$destfile" staticdest=$func_lo2o_result ;; *.$objext) staticdest=$destfile destfile= ;; *) func_fatal_help "cannot copy a libtool object to '$destfile'" ;; esac # Install the libtool object if requested. test -n "$destfile" && \ func_show_eval "$install_prog $file $destfile" 'exit $?' # Install the old object if enabled. if test yes = "$build_old_libs"; then # Deduce the name of the old-style object file. func_lo2o "$file" staticobj=$func_lo2o_result func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile=$destdir/$destname else func_basename "$file" destfile=$func_basename_result destfile=$destdir/$destfile fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext= case $file in *.exe) if test ! -f "$file"; then func_stripname '' '.exe' "$file" file=$func_stripname_result stripped_ext=.exe fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin* | *mingw*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result else func_stripname '' '.exe' "$file" wrapper=$func_stripname_result fi ;; *) wrapper=$file ;; esac if func_ltwrapper_script_p "$wrapper"; then notinst_deplibs= relink_command= func_source "$wrapper" # Check the variables that should have been set. test -z "$generated_by_libtool_version" && \ func_fatal_error "invalid libtool wrapper script '$wrapper'" finalize=: for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then func_source "$lib" fi libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'` if test -n "$libdir" && test ! -f "$libfile"; then func_warning "'$lib' has not been installed in '$libdir'" finalize=false fi done relink_command= func_source "$wrapper" outputname= if test no = "$fast_install" && test -n "$relink_command"; then $opt_dry_run || { if $finalize; then tmpdir=`func_mktempdir` func_basename "$file$stripped_ext" file=$func_basename_result outputname=$tmpdir/$file # Replace the output file specification. relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` $opt_quiet || { func_quote_for_expand "$relink_command" eval "func_echo $func_quote_for_expand_result" } if eval "$relink_command"; then : else func_error "error: relink '$file' with the above command before installing it" $opt_dry_run || ${RM}r "$tmpdir" continue fi file=$outputname else func_warning "cannot relink '$file'" fi } else # Install the binary that we compiled earlier. file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) func_stripname '' '.exe' "$destfile" destfile=$func_stripname_result ;; esac ;; esac func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' $opt_dry_run || if test -n "$outputname"; then ${RM}r "$tmpdir" fi ;; esac done for file in $staticlibs; do func_basename "$file" name=$func_basename_result # Set up the ranlib parameters. oldlib=$destdir/$name func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result func_show_eval "$install_prog \$file \$oldlib" 'exit $?' if test -n "$stripme" && test -n "$old_striplib"; then func_show_eval "$old_striplib $tool_oldlib" 'exit $?' fi # Do each command in the postinstall commands. func_execute_cmds "$old_postinstall_cmds" 'exit $?' done test -n "$future_libdirs" && \ func_warning "remember to run '$progname --finish$future_libdirs'" if test -n "$current_libdirs"; then # Maybe just do a dry run. $opt_dry_run && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi } test install = "$opt_mode" && func_mode_install ${1+"$@"} # func_generate_dlsyms outputname originator pic_p # Extract symbols from dlprefiles and create ${outputname}S.o with # a dlpreopen symbol table. func_generate_dlsyms () { $debug_cmd my_outputname=$1 my_originator=$2 my_pic_p=${3-false} my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'` my_dlsyms= if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then if test -n "$NM" && test -n "$global_symbol_pipe"; then my_dlsyms=${my_outputname}S.c else func_error "not configured to extract global symbols from dlpreopened files" fi fi if test -n "$my_dlsyms"; then case $my_dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist=$output_objdir/$my_outputname.nm func_show_eval "$RM $nlist ${nlist}S ${nlist}T" # Parse the name list into a source file. func_verbose "creating $output_objdir/$my_dlsyms" $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ /* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */ /* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */ #ifdef __cplusplus extern \"C\" { #endif #if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) #pragma GCC diagnostic ignored \"-Wstrict-prototypes\" #endif /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) /* External symbol declarations for the compiler. */\ " if test yes = "$dlself"; then func_verbose "generating symbol list for '$output'" $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` for progfile in $progfiles; do func_to_tool_file "$progfile" func_convert_file_msys_to_w32 func_verbose "extracting global C symbols from '$func_to_tool_file_result'" $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $opt_dry_run || { eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi if test -n "$export_symbols_regex"; then $opt_dry_run || { eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols=$output_objdir/$outputname.exp $opt_dry_run || { $RM $export_symbols eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac } else $opt_dry_run || { eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac } fi fi for dlprefile in $dlprefiles; do func_verbose "extracting global C symbols from '$dlprefile'" func_basename "$dlprefile" name=$func_basename_result case $host in *cygwin* | *mingw* | *cegcc* ) # if an import library, we need to obtain dlname if func_win32_import_lib_p "$dlprefile"; then func_tr_sh "$dlprefile" eval "curr_lafile=\$libfile_$func_tr_sh_result" dlprefile_dlbasename= if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then # Use subshell, to avoid clobbering current variable values dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` if test -n "$dlprefile_dlname"; then func_basename "$dlprefile_dlname" dlprefile_dlbasename=$func_basename_result else # no lafile. user explicitly requested -dlpreopen . $sharedlib_from_linklib_cmd "$dlprefile" dlprefile_dlbasename=$sharedlib_from_linklib_result fi fi $opt_dry_run || { if test -n "$dlprefile_dlbasename"; then eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' else func_warning "Could not compute DLL name from $name" eval '$ECHO ": $name " >> "$nlist"' fi func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" } else # not an import lib $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } fi ;; *) $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } ;; esac done $opt_dry_run || { # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $MV "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if $GREP -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else $GREP -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' else echo '/* NONE */' >> "$output_objdir/$my_dlsyms" fi func_show_eval '$RM "${nlist}I"' if test -n "$global_symbol_to_import"; then eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I' fi echo >> "$output_objdir/$my_dlsyms" "\ /* The mapping between symbol names and symbols. */ typedef struct { const char *name; void *address; } lt_dlsymlist; extern LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[];\ " if test -s "$nlist"I; then echo >> "$output_objdir/$my_dlsyms" "\ static void lt_syminit(void) { LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols; for (; symbol->name; ++symbol) {" $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms" echo >> "$output_objdir/$my_dlsyms" "\ } }" fi echo >> "$output_objdir/$my_dlsyms" "\ LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = { {\"$my_originator\", (void *) 0}," if test -s "$nlist"I; then echo >> "$output_objdir/$my_dlsyms" "\ {\"@INIT@\", (void *) <_syminit}," fi case $need_lib_prefix in no) eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; *) eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac echo >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_${my_prefix}_LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " } # !$opt_dry_run pic_flag_for_symtable= case "$compile_command " in *" -static "*) ;; *) case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; *-*-hpux*) pic_flag_for_symtable=" $pic_flag" ;; *) $my_pic_p && pic_flag_for_symtable=" $pic_flag" ;; esac ;; esac symtab_cflags= for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; *) func_append symtab_cflags " $arg" ;; esac done # Now compile the dynamic symbol file. func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' # Clean up the generated files. func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"' # Transform the symbol file into the correct name. symfileobj=$output_objdir/${my_outputname}S.$objext case $host in *cygwin* | *mingw* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` else compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` fi ;; *) compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` ;; esac ;; *) func_fatal_error "unknown suffix for '$my_dlsyms'" ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` fi } # func_cygming_gnu_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is a GNU/binutils-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_gnu_implib_p () { $debug_cmd func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` test -n "$func_cygming_gnu_implib_tmp" } # func_cygming_ms_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is an MS-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_ms_implib_p () { $debug_cmd func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` test -n "$func_cygming_ms_implib_tmp" } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. # Despite the name, also deal with 64 bit binaries. func_win32_libid () { $debug_cmd win32_libid_type=unknown win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then case $nm_interface in "MS dumpbin") if func_cygming_ms_implib_p "$1" || func_cygming_gnu_implib_p "$1" then win32_nmres=import else win32_nmres= fi ;; *) func_to_tool_file "$1" func_convert_file_msys_to_w32 win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | $SED -n -e ' 1,100{ / I /{ s|.*|import| p q } }'` ;; esac case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $ECHO "$win32_libid_type" } # func_cygming_dll_for_implib ARG # # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib () { $debug_cmd sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` } # func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs # # The is the core of a fallback implementation of a # platform-specific function to extract the name of the # DLL associated with the specified import library LIBNAME. # # SECTION_NAME is either .idata$6 or .idata$7, depending # on the platform and compiler that created the implib. # # Echos the name of the DLL associated with the # specified import library. func_cygming_dll_for_implib_fallback_core () { $debug_cmd match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` $OBJDUMP -s --section "$1" "$2" 2>/dev/null | $SED '/^Contents of section '"$match_literal"':/{ # Place marker at beginning of archive member dllname section s/.*/====MARK====/ p d } # These lines can sometimes be longer than 43 characters, but # are always uninteresting /:[ ]*file format pe[i]\{,1\}-/d /^In archive [^:]*:/d # Ensure marker is printed /^====MARK====/p # Remove all lines with less than 43 characters /^.\{43\}/!d # From remaining lines, remove first 43 characters s/^.\{43\}//' | $SED -n ' # Join marker and all lines until next marker into a single line /^====MARK====/ b para H $ b para b :para x s/\n//g # Remove the marker s/^====MARK====// # Remove trailing dots and whitespace s/[\. \t]*$// # Print /./p' | # we now have a list, one entry per line, of the stringified # contents of the appropriate section of all members of the # archive that possess that section. Heuristic: eliminate # all those that have a first or second character that is # a '.' (that is, objdump's representation of an unprintable # character.) This should work for all archives with less than # 0x302f exports -- but will fail for DLLs whose name actually # begins with a literal '.' or a single character followed by # a '.'. # # Of those that remain, print the first one. $SED -e '/^\./d;/^.\./d;q' } # func_cygming_dll_for_implib_fallback ARG # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # # This fallback implementation is for use when $DLLTOOL # does not support the --identify-strict option. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib_fallback () { $debug_cmd if func_cygming_gnu_implib_p "$1"; then # binutils import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` elif func_cygming_ms_implib_p "$1"; then # ms-generated import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` else # unknown sharedlib_from_linklib_result= fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { $debug_cmd f_ex_an_ar_dir=$1; shift f_ex_an_ar_oldlib=$1 if test yes = "$lock_old_archive_extraction"; then lockfile=$f_ex_an_ar_oldlib.lock until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done fi func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ 'stat=$?; rm -f "$lockfile"; exit $stat' if test yes = "$lock_old_archive_extraction"; then $opt_dry_run || rm -f "$lockfile" fi if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" fi } # func_extract_archives gentop oldlib ... func_extract_archives () { $debug_cmd my_gentop=$1; shift my_oldlibs=${1+"$@"} my_oldobjs= my_xlib= my_xabs= my_xdir= for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac func_basename "$my_xlib" my_xlib=$func_basename_result my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) func_arith $extracted_serial + 1 extracted_serial=$func_arith_result my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir=$my_gentop/$my_xlib_u func_mkdir_p "$my_xdir" case $host in *-darwin*) func_verbose "Extracting $my_xabs" # Do not bother doing anything if just a dry run $opt_dry_run || { darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` func_basename "$darwin_archive" darwin_base_archive=$func_basename_result darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` if test -n "$darwin_arches"; then darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches; do func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch" $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive" cd "unfat-$$/$darwin_base_archive-$darwin_arch" func_extract_an_archive "`pwd`" "$darwin_base_archive" cd "$darwin_curdir" $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" done # $darwin_arches ## Okay now we've a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` $LIPO -create -output "$darwin_file" $darwin_files done # $darwin_filelist $RM -rf unfat-$$ cd "$darwin_orig_dir" else cd $darwin_orig_dir func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches } # !$opt_dry_run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` done func_extract_archives_result=$my_oldobjs } # func_emit_wrapper [arg=no] # # Emit a libtool wrapper script on stdout. # Don't directly open a file because we may want to # incorporate the script contents within a cygwin/mingw # wrapper executable. Must ONLY be called from within # func_mode_link because it depends on a number of variables # set therein. # # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR # variable will take. If 'yes', then the emitted script # will assume that the directory where it is stored is # the $objdir directory. This is a cygwin/mingw-specific # behavior. func_emit_wrapper () { func_emit_wrapper_arg1=${1-no} $ECHO "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM (GNU $PACKAGE) $VERSION # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='$sed_quote_subst' # Be Bourne compatible if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variables: generated_by_libtool_version='$macro_version' notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$ECHO are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then file=\"\$0\"" qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` $ECHO "\ # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } ECHO=\"$qECHO\" fi # Very basic option parsing. These options are (a) specific to # the libtool wrapper, (b) are identical between the wrapper # /script/ and the wrapper /executable/ that is used only on # windows platforms, and (c) all begin with the string "--lt-" # (application programs are unlikely to have options that match # this pattern). # # There are only two supported options: --lt-debug and # --lt-dump-script. There is, deliberately, no --lt-help. # # The first argument to this parsing function should be the # script's $0 value, followed by "$@". lt_option_debug= func_parse_lt_options () { lt_script_arg0=\$0 shift for lt_opt do case \"\$lt_opt\" in --lt-debug) lt_option_debug=1 ;; --lt-dump-script) lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` cat \"\$lt_dump_D/\$lt_dump_F\" exit 0 ;; --lt-*) \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 exit 1 ;; esac done # Print the debug banner immediately: if test -n \"\$lt_option_debug\"; then echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2 fi } # Used when --lt-debug. Prints its arguments to stdout # (redirection is the responsibility of the caller) func_lt_dump_args () { lt_dump_args_N=1; for lt_arg do \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\" lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` done } # Core function for launching the target application func_exec_program_core () { " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2* | *-cegcc*) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $ECHO "\ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 exit 1 } # A function to encapsulate launching the target application # Strips options in the --lt-* namespace from \$@ and # launches target application with the remaining arguments. func_exec_program () { case \" \$* \" in *\\ --lt-*) for lt_wr_arg do case \$lt_wr_arg in --lt-*) ;; *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; esac shift done ;; esac func_exec_program_core \${1+\"\$@\"} } # Parse options func_parse_lt_options \"\$0\" \${1+\"\$@\"} # Find the directory that this script lives in. thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` done # Usually 'no', except on cygwin/mingw when embedded into # the cwrapper. WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then # special case for '.' if test \"\$thisdir\" = \".\"; then thisdir=\`pwd\` fi # remove .libs from thisdir case \"\$thisdir\" in *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; $objdir ) thisdir=. ;; esac fi # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test yes = "$fast_install"; then $ECHO "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $MKDIR \"\$progdir\" else $RM \"\$progdir/\$file\" fi" $ECHO "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else \$ECHO \"\$relink_command_output\" >&2 $RM \"\$progdir/\$file\" exit 1 fi fi $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $RM \"\$progdir/\$program\"; $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } $RM \"\$progdir/\$file\" fi" else $ECHO "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $ECHO "\ if test -f \"\$progdir/\$program\"; then" # fixup the dll searchpath if we need to. # # Fix the DLL searchpath if we need to. Do this before prepending # to shlibpath, because on Windows, both are PATH and uninstalled # libraries must come first. if test -n "$dllsearchpath"; then $ECHO "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi # Export our shlibpath_var if we have one. if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $ECHO "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` export $shlibpath_var " fi $ECHO "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. func_exec_program \${1+\"\$@\"} fi else # The program doesn't exist. \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi fi\ " } # func_emit_cwrapperexe_src # emit the source code for a wrapper executable on stdout # Must ONLY be called from within func_mode_link because # it depends on a number of variable set therein. func_emit_cwrapperexe_src () { cat < #include #ifdef _MSC_VER # include # include # include #else # include # include # ifdef __CYGWIN__ # include # endif #endif #include #include #include #include #include #include #include #include #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) /* declarations of non-ANSI functions */ #if defined __MINGW32__ # ifdef __STRICT_ANSI__ int _putenv (const char *); # endif #elif defined __CYGWIN__ # ifdef __STRICT_ANSI__ char *realpath (const char *, char *); int putenv (char *); int setenv (const char *, const char *, int); # endif /* #elif defined other_platform || defined ... */ #endif /* portability defines, excluding path handling macros */ #if defined _MSC_VER # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv # define S_IXUSR _S_IEXEC #elif defined __MINGW32__ # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv #elif defined __CYGWIN__ # define HAVE_SETENV # define FOPEN_WB "wb" /* #elif defined other platforms ... */ #endif #if defined PATH_MAX # define LT_PATHMAX PATH_MAX #elif defined MAXPATHLEN # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef S_IXOTH # define S_IXOTH 0 #endif #ifndef S_IXGRP # define S_IXGRP 0 #endif /* path handling portability macros */ #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \ defined __OS2__ # define HAVE_DOS_BASED_FILE_SYSTEM # define FOPEN_WB "wb" # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #ifndef FOPEN_WB # define FOPEN_WB "w" #endif #ifndef _O_BINARY # define _O_BINARY 0 #endif #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free (stale); stale = 0; } \ } while (0) #if defined LT_DEBUGWRAPPER static int lt_debug = 1; #else static int lt_debug = 0; #endif const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ void *xmalloc (size_t num); char *xstrdup (const char *string); const char *base_name (const char *name); char *find_executable (const char *wrapper); char *chase_symlinks (const char *pathspec); int make_executable (const char *path); int check_executable (const char *path); char *strendzap (char *str, const char *pat); void lt_debugprintf (const char *file, int line, const char *fmt, ...); void lt_fatal (const char *file, int line, const char *message, ...); static const char *nonnull (const char *s); static const char *nonempty (const char *s); void lt_setenv (const char *name, const char *value); char *lt_extend_str (const char *orig_value, const char *add, int to_end); void lt_update_exe_path (const char *name, const char *value); void lt_update_lib_path (const char *name, const char *value); char **prepare_spawn (char **argv); void lt_dump_script (FILE *f); EOF cat <= 0) && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) return 1; else return 0; } int make_executable (const char *path) { int rval = 0; struct stat st; lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", nonempty (path)); if ((!path) || (!*path)) return 0; if (stat (path, &st) >= 0) { rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); } return rval; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise Does not chase symlinks, even on platforms that support them. */ char * find_executable (const char *wrapper) { int has_slash = 0; const char *p; const char *p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; size_t tmp_len; char *concat_name; lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", nonempty (wrapper)); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined HAVE_DOS_BASED_FILE_SYSTEM if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } #if defined HAVE_DOS_BASED_FILE_SYSTEM } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char *path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char *q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR (*q)) break; p_len = (size_t) (q - p); p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); return NULL; } char * chase_symlinks (const char *pathspec) { #ifndef S_ISLNK return xstrdup (pathspec); #else char buf[LT_PATHMAX]; struct stat s; char *tmp_pathspec = xstrdup (pathspec); char *p; int has_symlinks = 0; while (strlen (tmp_pathspec) && !has_symlinks) { lt_debugprintf (__FILE__, __LINE__, "checking path component for symlinks: %s\n", tmp_pathspec); if (lstat (tmp_pathspec, &s) == 0) { if (S_ISLNK (s.st_mode) != 0) { has_symlinks = 1; break; } /* search backwards for last DIR_SEPARATOR */ p = tmp_pathspec + strlen (tmp_pathspec) - 1; while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) p--; if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) { /* no more DIR_SEPARATORS left */ break; } *p = '\0'; } else { lt_fatal (__FILE__, __LINE__, "error accessing file \"%s\": %s", tmp_pathspec, nonnull (strerror (errno))); } } XFREE (tmp_pathspec); if (!has_symlinks) { return xstrdup (pathspec); } tmp_pathspec = realpath (pathspec, buf); if (tmp_pathspec == 0) { lt_fatal (__FILE__, __LINE__, "could not follow symlinks for %s", pathspec); } return xstrdup (tmp_pathspec); #endif } char * strendzap (char *str, const char *pat) { size_t len, patlen; assert (str != NULL); assert (pat != NULL); len = strlen (str); patlen = strlen (pat); if (patlen <= len) { str += len - patlen; if (STREQ (str, pat)) *str = '\0'; } return str; } void lt_debugprintf (const char *file, int line, const char *fmt, ...) { va_list args; if (lt_debug) { (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); va_start (args, fmt); (void) vfprintf (stderr, fmt, args); va_end (args); } } static void lt_error_core (int exit_status, const char *file, int line, const char *mode, const char *message, va_list ap) { fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *file, int line, const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); va_end (ap); } static const char * nonnull (const char *s) { return s ? s : "(null)"; } static const char * nonempty (const char *s) { return (s && !*s) ? "(empty)" : nonnull (s); } void lt_setenv (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_setenv) setting '%s' to '%s'\n", nonnull (name), nonnull (value)); { #ifdef HAVE_SETENV /* always make a copy, for consistency with !HAVE_SETENV */ char *str = xstrdup (value); setenv (name, str, 1); #else size_t len = strlen (name) + 1 + strlen (value) + 1; char *str = XMALLOC (char, len); sprintf (str, "%s=%s", name, value); if (putenv (str) != EXIT_SUCCESS) { XFREE (str); } #endif } } char * lt_extend_str (const char *orig_value, const char *add, int to_end) { char *new_value; if (orig_value && *orig_value) { size_t orig_value_len = strlen (orig_value); size_t add_len = strlen (add); new_value = XMALLOC (char, add_len + orig_value_len + 1); if (to_end) { strcpy (new_value, orig_value); strcpy (new_value + orig_value_len, add); } else { strcpy (new_value, add); strcpy (new_value + add_len, orig_value); } } else { new_value = xstrdup (add); } return new_value; } void lt_update_exe_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); /* some systems can't cope with a ':'-terminated path #' */ size_t len = strlen (new_value); while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1])) { new_value[--len] = '\0'; } lt_setenv (name, new_value); XFREE (new_value); } } void lt_update_lib_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); lt_setenv (name, new_value); XFREE (new_value); } } EOF case $host_os in mingw*) cat <<"EOF" /* Prepares an argument vector before calling spawn(). Note that spawn() does not by itself call the command interpreter (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&v); v.dwPlatformId == VER_PLATFORM_WIN32_NT; }) ? "cmd.exe" : "command.com"). Instead it simply concatenates the arguments, separated by ' ', and calls CreateProcess(). We must quote the arguments since Win32 CreateProcess() interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a special way: - Space and tab are interpreted as delimiters. They are not treated as delimiters if they are surrounded by double quotes: "...". - Unescaped double quotes are removed from the input. Their only effect is that within double quotes, space and tab are treated like normal characters. - Backslashes not followed by double quotes are not special. - But 2*n+1 backslashes followed by a double quote become n backslashes followed by a double quote (n >= 0): \" -> " \\\" -> \" \\\\\" -> \\" */ #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" char ** prepare_spawn (char **argv) { size_t argc; char **new_argv; size_t i; /* Count number of arguments. */ for (argc = 0; argv[argc] != NULL; argc++) ; /* Allocate new argument vector. */ new_argv = XMALLOC (char *, argc + 1); /* Put quoted arguments into the new argument vector. */ for (i = 0; i < argc; i++) { const char *string = argv[i]; if (string[0] == '\0') new_argv[i] = xstrdup ("\"\""); else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) { int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); size_t length; unsigned int backslashes; const char *s; char *quoted_string; char *p; length = 0; backslashes = 0; if (quote_around) length++; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') length += backslashes + 1; length++; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) length += backslashes + 1; quoted_string = XMALLOC (char, length + 1); p = quoted_string; backslashes = 0; if (quote_around) *p++ = '"'; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') { unsigned int j; for (j = backslashes + 1; j > 0; j--) *p++ = '\\'; } *p++ = c; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) { unsigned int j; for (j = backslashes; j > 0; j--) *p++ = '\\'; *p++ = '"'; } *p = '\0'; new_argv[i] = quoted_string; } else new_argv[i] = (char *) string; } new_argv[argc] = NULL; return new_argv; } EOF ;; esac cat <<"EOF" void lt_dump_script (FILE* f) { EOF func_emit_wrapper yes | $SED -n -e ' s/^\(.\{79\}\)\(..*\)/\1\ \2/ h s/\([\\"]\)/\\\1/g s/$/\\n/ s/\([^\n]*\).*/ fputs ("\1", f);/p g D' cat <<"EOF" } EOF } # end: func_emit_cwrapperexe_src # func_win32_import_lib_p ARG # True if ARG is an import lib, as indicated by $file_magic_cmd func_win32_import_lib_p () { $debug_cmd case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in *import*) : ;; *) false ;; esac } # func_suncc_cstd_abi # !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!! # Several compiler flags select an ABI that is incompatible with the # Cstd library. Avoid specifying it if any are in CXXFLAGS. func_suncc_cstd_abi () { $debug_cmd case " $compile_command " in *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) suncc_use_cstd_abi=no ;; *) suncc_use_cstd_abi=yes ;; esac } # func_mode_link arg... func_mode_link () { $debug_cmd case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # what system we are compiling for in order to pass an extra # flag for every libtool invocation. # allow_undefined=no # FIXME: Unfortunately, there are problems with the above when trying # to make a dll that has undefined symbols, in which case not # even a static library is built. For now, we need to specify # -no-undefined on the libtool link line when we can be certain # that all symbols are satisfied, otherwise we get a static library. allow_undefined=yes ;; *) allow_undefined=yes ;; esac libtool_args=$nonopt base_compile="$nonopt $@" compile_command=$nonopt finalize_command=$nonopt compile_rpath= finalize_rpath= compile_shlibpath= finalize_shlibpath= convenience= old_convenience= deplibs= old_deplibs= compiler_flags= linker_flags= dllsearchpath= lib_search_path=`pwd` inst_prefix_dir= new_inherited_linker_flags= avoid_version=no bindir= dlfiles= dlprefiles= dlself=no export_dynamic=no export_symbols= export_symbols_regex= generated= libobjs= ltlibs= module=no no_install=no objs= os2dllname= non_pic_objects= precious_files_regex= prefer_static_libs=no preload=false prev= prevarg= release= rpath= xrpath= perm_rpath= temp_rpath= thread_safe=no vinfo= vinfo_number=no weak_libs= single_module=$wl-single_module func_infer_tag $base_compile # We need to know -static, to get the right output filenames. for arg do case $arg in -shared) test yes != "$build_libtool_libs" \ && func_fatal_configuration "cannot build a shared library" build_old_libs=no break ;; -all-static | -static | -static-libtool-libs) case $arg in -all-static) if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then func_warning "complete static linking is impossible in this configuration" fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg=$1 shift func_quote_for_eval "$arg" qarg=$func_quote_for_eval_unquoted_result func_append libtool_args " $func_quote_for_eval_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) func_append compile_command " @OUTPUT@" func_append finalize_command " @OUTPUT@" ;; esac case $prev in bindir) bindir=$arg prev= continue ;; dlfiles|dlprefiles) $preload || { # Add the symbol object into the linking commands. func_append compile_command " @SYMFILE@" func_append finalize_command " @SYMFILE@" preload=: } case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test no = "$dlself"; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test dlprefiles = "$prev"; then dlself=yes elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test dlfiles = "$prev"; then func_append dlfiles " $arg" else func_append dlprefiles " $arg" fi prev= continue ;; esac ;; expsyms) export_symbols=$arg test -f "$arg" \ || func_fatal_error "symbol file '$arg' does not exist" prev= continue ;; expsyms_regex) export_symbols_regex=$arg prev= continue ;; framework) case $host in *-*-darwin*) case "$deplibs " in *" $qarg.ltframework "*) ;; *) func_append deplibs " $qarg.ltframework" # this is fixed later ;; esac ;; esac prev= continue ;; inst_prefix) inst_prefix_dir=$arg prev= continue ;; mllvm) # Clang does not use LLVM to link, so we can simply discard any # '-mllvm $arg' options when doing the link step. prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat "$save_arg"` do # func_append moreargs " $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test none = "$pic_object" && test none = "$non_pic_object"; then func_fatal_error "cannot find name of object for '$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result if test none != "$pic_object"; then # Prepend the subdirectory the object is found in. pic_object=$xdir$pic_object if test dlfiles = "$prev"; then if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test dlprefiles = "$prev"; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg=$pic_object fi # Non-PIC object. if test none != "$non_pic_object"; then # Prepend the subdirectory the object is found in. non_pic_object=$xdir$non_pic_object # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test none = "$pic_object"; then arg=$non_pic_object fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object=$pic_object func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "'$arg' is not a valid libtool object" fi fi done else func_fatal_error "link input file '$arg' does not exist" fi arg=$save_arg prev= continue ;; os2dllname) os2dllname=$arg prev= continue ;; precious_regex) precious_files_regex=$arg prev= continue ;; release) release=-$arg prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac if test rpath = "$prev"; then case "$rpath " in *" $arg "*) ;; *) func_append rpath " $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) func_append xrpath " $arg" ;; esac fi prev= continue ;; shrext) shrext_cmds=$arg prev= continue ;; weak) func_append weak_libs " $arg" prev= continue ;; xcclinker) func_append linker_flags " $qarg" func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xcompiler) func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xlinker) func_append linker_flags " $qarg" func_append compiler_flags " $wl$qarg" prev= func_append compile_command " $wl$qarg" func_append finalize_command " $wl$qarg" continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg=$arg case $arg in -all-static) if test -n "$link_static_flag"; then # See comment for -static flag below, for more details. func_append compile_command " $link_static_flag" func_append finalize_command " $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. func_fatal_error "'-allow-undefined' must not be used because it is the default" ;; -avoid-version) avoid_version=yes continue ;; -bindir) prev=bindir continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then func_fatal_error "more than one -exported-symbols argument is not allowed" fi if test X-export-symbols = "X$arg"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework) prev=framework continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) func_append compile_command " $arg" func_append finalize_command " $arg" ;; esac continue ;; -L*) func_stripname "-L" '' "$arg" if test -z "$func_stripname_result"; then if test "$#" -gt 0; then func_fatal_error "require no space between '-L' and '$1'" else func_fatal_error "need path for '-L' option" fi fi func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` test -z "$absdir" && \ func_fatal_error "cannot determine absolute directory name of '$dir'" dir=$absdir ;; esac case "$deplibs " in *" -L$dir "* | *" $arg "*) # Will only happen for absolute or sysroot arguments ;; *) # Preserve sysroot, but never include relative directories case $dir in [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; *) func_append deplibs " -L$dir" ;; esac func_append lib_search_path " $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; *) func_append dllsearchpath ":$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac continue ;; -l*) if test X-lc = "X$arg" || test X-lm = "X$arg"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test X-lc = "X$arg" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) # Do not include libc due to us having libc/libc_r. test X-lc = "X$arg" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework func_append deplibs " System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test X-lc = "X$arg" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test X-lc = "X$arg" && continue ;; esac elif test X-lc_r = "X$arg"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi func_append deplibs " $arg" continue ;; -mllvm) prev=mllvm continue ;; -module) module=yes continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. -model|-arch|-isysroot|--sysroot) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case "$new_inherited_linker_flags " in *" $arg "*) ;; * ) func_append new_inherited_linker_flags " $arg" ;; esac continue ;; -multi_module) single_module=$wl-multi_module continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. func_warning "'-no-install' is ignored for $host" func_warning "assuming '-no-fast-install' instead" fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -os2dllname) prev=os2dllname continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) func_stripname '-R' '' "$arg" dir=$func_stripname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; =*) func_stripname '=' '' "$dir" dir=$lt_sysroot$func_stripname_result ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac continue ;; -shared) # The effects of -shared are defined in a previous loop. continue ;; -shrext) prev=shrext continue ;; -static | -static-libtool-libs) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -weak) prev=weak continue ;; -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result arg= save_ifs=$IFS; IFS=, for flag in $args; do IFS=$save_ifs func_quote_for_eval "$flag" func_append arg " $func_quote_for_eval_result" func_append compiler_flags " $func_quote_for_eval_result" done IFS=$save_ifs func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result arg= save_ifs=$IFS; IFS=, for flag in $args; do IFS=$save_ifs func_quote_for_eval "$flag" func_append arg " $wl$func_quote_for_eval_result" func_append compiler_flags " $wl$func_quote_for_eval_result" func_append linker_flags " $func_quote_for_eval_result" done IFS=$save_ifs func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # -msg_* for osf cc -msg_*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; # Flags to be passed through unchanged, with rationale: # -64, -mips[0-9] enable 64-bit mode for the SGI compiler # -r[0-9][0-9]* specify processor for the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler # +DA*, +DD* enable 64-bit mode for the HP compiler # -q* compiler args for the IBM compiler # -m*, -t[45]*, -txscale* architecture-specific flags for GCC # -F/path path to uninstalled frameworks, gcc on darwin # -p, -pg, --coverage, -fprofile-* profiling flags for GCC # -fstack-protector* stack protector flags for GCC # @file GCC response files # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization # -specs=* GCC specs files # -stdlib=* select c++ std lib with clang # -fsanitize=* Clang/GCC memory and address sanitizer -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ -specs=*|-fsanitize=*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg" func_append finalize_command " $arg" func_append compiler_flags " $arg" continue ;; -Z*) if test os2 = "`expr $host : '.*\(os2\)'`"; then # OS/2 uses -Zxxx to specify OS/2-specific options compiler_flags="$compiler_flags $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case $arg in -Zlinker | -Zstack) prev=xcompiler ;; esac continue else # Otherwise treat like 'Some other compiler flag' below func_quote_for_eval "$arg" arg=$func_quote_for_eval_result fi ;; # Some other compiler flag. -* | +*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; *.$objext) # A standard object. func_append objs " $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test none = "$pic_object" && test none = "$non_pic_object"; then func_fatal_error "cannot find name of object for '$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result test none = "$pic_object" || { # Prepend the subdirectory the object is found in. pic_object=$xdir$pic_object if test dlfiles = "$prev"; then if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test dlprefiles = "$prev"; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg=$pic_object } # Non-PIC object. if test none != "$non_pic_object"; then # Prepend the subdirectory the object is found in. non_pic_object=$xdir$non_pic_object # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test none = "$pic_object"; then arg=$non_pic_object fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object=$pic_object func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "'$arg' is not a valid libtool object" fi fi ;; *.$libext) # An archive. func_append deplibs " $arg" func_append old_deplibs " $arg" continue ;; *.la) # A libtool-controlled library. func_resolve_sysroot "$arg" if test dlfiles = "$prev"; then # This library was specified with -dlopen. func_append dlfiles " $func_resolve_sysroot_result" prev= elif test dlprefiles = "$prev"; then # The library was specified with -dlpreopen. func_append dlprefiles " $func_resolve_sysroot_result" prev= else func_append deplibs " $func_resolve_sysroot_result" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then func_append compile_command " $arg" func_append finalize_command " $arg" fi done # argument parsing loop test -n "$prev" && \ func_fatal_help "the '$prevarg' option requires an argument" if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" func_append compile_command " $arg" func_append finalize_command " $arg" fi oldlibs= # calculate the name of the file, without its directory func_basename "$output" outputname=$func_basename_result libobjs_save=$libobjs if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" # Definition is injected by LT_CONFIG during libtool generation. func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH" func_dirname "$output" "/" "" output_objdir=$func_dirname_result$objdir func_to_tool_file "$output_objdir/" tool_output_objdir=$func_to_tool_file_result # Create the object directory. func_mkdir_p "$output_objdir" # Determine the type of output case $output in "") func_fatal_help "you must specify an output file" ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if $opt_preserve_dup_deps; then case "$libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append libs " $deplib" done if test lib = "$linkmode"; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if $opt_duplicate_compiler_generated_deps; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; esac func_append pre_post_deps " $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries notinst_path= # paths that contain not-installed libtool libraries case $linkmode in lib) passes="conv dlpreopen link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) func_fatal_help "libraries can '-dlopen' only libtool libraries: $file" ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=false newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do # The preopen pass in lib mode reverses $deplibs; put it back here # so that -L comes before libs that need it for instance... if test lib,link = "$linkmode,$pass"; then ## FIXME: Find the place where the list is rebuilt in the wrong ## order, and fix it there properly tmp_deplibs= for deplib in $deplibs; do tmp_deplibs="$deplib $tmp_deplibs" done deplibs=$tmp_deplibs fi if test lib,link = "$linkmode,$pass" || test prog,scan = "$linkmode,$pass"; then libs=$deplibs deplibs= fi if test prog = "$linkmode"; then case $pass in dlopen) libs=$dlfiles ;; dlpreopen) libs=$dlprefiles ;; link) libs="$deplibs %DEPLIBS%" test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ;; esac fi if test lib,dlpreopen = "$linkmode,$pass"; then # Collect and forward deplibs of preopened libtool libs for lib in $dlprefiles; do # Ignore non-libtool-libs dependency_libs= func_resolve_sysroot "$lib" case $lib in *.la) func_source "$func_resolve_sysroot_result" ;; esac # Collect preopened libtool deplibs, except any this library # has declared as weak libs for deplib in $dependency_libs; do func_basename "$deplib" deplib_base=$func_basename_result case " $weak_libs " in *" $deplib_base "*) ;; *) func_append deplibs " $deplib" ;; esac done done libs=$dlprefiles fi if test dlopen = "$pass"; then # Collect dlpreopened libraries save_deplibs=$deplibs deplibs= fi for deplib in $libs; do lib= found=false case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append compiler_flags " $deplib" if test lib = "$linkmode"; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -l*) if test lib != "$linkmode" && test prog != "$linkmode"; then func_warning "'-l' is ignored for archives/objects" continue fi func_stripname '-l' '' "$deplib" name=$func_stripname_result if test lib = "$linkmode"; then searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" else searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" fi for searchdir in $searchdirs; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib=$searchdir/lib$name$search_ext if test -f "$lib"; then if test .la = "$search_ext"; then found=: else found=false fi break 2 fi done done if $found; then # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test yes = "$allow_libtool_libs_with_static_runtimes"; then case " $predeps $postdeps " in *" $deplib "*) if func_lalib_p "$lib"; then library_names= old_library= func_source "$lib" for l in $old_library $library_names; do ll=$l done if test "X$ll" = "X$old_library"; then # only static version available found=false func_dirname "$lib" "" "." ladir=$func_dirname_result lib=$ladir/$old_library if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi else # deplib doesn't seem to be a libtool library if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" fi continue fi ;; # -l *.ltframework) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" if test lib = "$linkmode"; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test conv = "$pass" && continue newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; prog) if test conv = "$pass"; then deplibs="$deplib $deplibs" continue fi if test scan = "$pass"; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; *) func_warning "'-L' is ignored for archives/objects" ;; esac # linkmode continue ;; # -L -R*) if test link = "$pass"; then func_stripname '-R' '' "$deplib" func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) func_resolve_sysroot "$deplib" lib=$func_resolve_sysroot_result ;; *.$libext) if test conv = "$pass"; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) # Linking convenience modules into shared libraries is allowed, # but linking other static libraries is non-portable. case " $dlpreconveniencelibs " in *" $deplib "*) ;; *) valid_a_lib=false case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=: fi ;; pass_all) valid_a_lib=: ;; esac if $valid_a_lib; then echo $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" else echo $ECHO "*** Warning: Trying to link with static lib archive $deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because the file extensions .$libext of this argument makes me believe" echo "*** that it is just a static archive that I should not use here." fi ;; esac continue ;; prog) if test link != "$pass"; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test conv = "$pass"; then deplibs="$deplib $deplibs" elif test prog = "$linkmode"; then if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then # If there is no dlopen support or we're linking statically, # we need to preload. func_append newdlprefiles " $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append newdlfiles " $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=: continue ;; esac # case $deplib $found || test -f "$lib" \ || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'" # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$lib" \ || func_fatal_error "'$lib' is not a valid libtool archive" func_dirname "$lib" "" "." ladir=$func_dirname_result dlname= dlopen= dlpreopen= libdir= library_names= old_library= inherited_linker_flags= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file func_source "$lib" # Convert "-framework foo" to "foo.ltframework" if test -n "$inherited_linker_flags"; then tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do case " $new_inherited_linker_flags " in *" $tmp_inherited_linker_flag "*) ;; *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; esac done fi dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` if test lib,link = "$linkmode,$pass" || test prog,scan = "$linkmode,$pass" || { test prog != "$linkmode" && test lib != "$linkmode"; }; then test -n "$dlopen" && func_append dlfiles " $dlopen" test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" fi if test conv = "$pass"; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then func_fatal_error "cannot find name of link library for '$lib'" fi # It is a libtool convenience library, so add in its objects. func_append convenience " $ladir/$objdir/$old_library" func_append old_convenience " $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done elif test prog != "$linkmode" && test lib != "$linkmode"; then func_fatal_error "'$lib' is not a convenience library" fi continue fi # $pass = conv # Get the name of the library we link against. linklib= if test -n "$old_library" && { test yes = "$prefer_static_libs" || test built,no = "$prefer_static_libs,$installed"; }; then linklib=$old_library else for l in $old_library $library_names; do linklib=$l done fi if test -z "$linklib"; then func_fatal_error "cannot find name of link library for '$lib'" fi # This library was specified with -dlopen. if test dlopen = "$pass"; then test -z "$libdir" \ && func_fatal_error "cannot -dlopen a convenience library: '$lib'" if test -z "$dlname" || test yes != "$dlopen_support" || test no = "$build_libtool_libs" then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. func_append dlprefiles " $lib $dependency_libs" else func_append newdlfiles " $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then func_warning "cannot determine absolute directory name of '$ladir'" func_warning "passing it literally to the linker, although it might fail" abs_ladir=$ladir fi ;; esac func_basename "$lib" laname=$func_basename_result # Find the relevant object directory and library name. if test yes = "$installed"; then if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then func_warning "library '$lib' was moved." dir=$ladir absdir=$abs_ladir libdir=$abs_ladir else dir=$lt_sysroot$libdir absdir=$lt_sysroot$libdir fi test yes = "$hardcode_automatic" && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir=$ladir absdir=$abs_ladir # Remove this search path later func_append notinst_path " $abs_ladir" else dir=$ladir/$objdir absdir=$abs_ladir/$objdir # Remove this search path later func_append notinst_path " $abs_ladir" fi fi # $installed = yes func_stripname 'lib' '.la' "$laname" name=$func_stripname_result # This library was specified with -dlpreopen. if test dlpreopen = "$pass"; then if test -z "$libdir" && test prog = "$linkmode"; then func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'" fi case $host in # special handling for platforms with PE-DLLs. *cygwin* | *mingw* | *cegcc* ) # Linker will automatically link against shared library if both # static and shared are present. Therefore, ensure we extract # symbols from the import library if a shared library is present # (otherwise, the dlopen module name will be incorrect). We do # this by putting the import library name into $newdlprefiles. # We recover the dlopen module name by 'saving' the la file # name in a special purpose variable, and (later) extracting the # dlname from the la file. if test -n "$dlname"; then func_tr_sh "$dir/$linklib" eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" func_append newdlprefiles " $dir/$linklib" else func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" fi ;; * ) # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then func_append newdlprefiles " $dir/$dlname" else func_append newdlprefiles " $dir/$linklib" fi ;; esac fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test lib = "$linkmode"; then deplibs="$dir/$old_library $deplibs" elif test prog,link = "$linkmode,$pass"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test prog = "$linkmode" && test link != "$pass"; then func_append newlib_search_path " $ladir" deplibs="$lib $deplibs" linkalldeplibs=false if test no != "$link_all_deplibs" || test -z "$library_names" || test no = "$build_libtool_libs"; then linkalldeplibs=: fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; esac # Need to link against all dependency_libs? if $linkalldeplibs; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done # for deplib continue fi # $linkmode = prog... if test prog,link = "$linkmode,$pass"; then if test -n "$library_names" && { { test no = "$prefer_static_libs" || test built,yes = "$prefer_static_libs,$installed"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then # Make sure the rpath contains only unique directories. case $temp_rpath: in *"$absdir:"*) ;; *) func_append temp_rpath "$absdir:" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi # $linkmode,$pass = prog,link... if $alldeplibs && { test pass_all = "$deplibs_check_method" || { test yes = "$build_libtool_libs" && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test built = "$use_static_libs" && test yes = "$installed"; then use_static_libs=no fi if test -n "$library_names" && { test no = "$use_static_libs" || test -z "$old_library"; }; then case $host in *cygwin* | *mingw* | *cegcc* | *os2*) # No point in relinking DLLs because paths are not encoded func_append notinst_deplibs " $lib" need_relink=no ;; *) if test no = "$installed"; then func_append notinst_deplibs " $lib" need_relink=yes fi ;; esac # This is a shared library # Warn about portability, can't link against -module's on some # systems (darwin). Don't bleat about dlopened modules though! dlopenmodule= for dlpremoduletest in $dlprefiles; do if test "X$dlpremoduletest" = "X$lib"; then dlopenmodule=$dlpremoduletest break fi done if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then echo if test prog = "$linkmode"; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else $ECHO "*** Warning: Linking the shared library $output against the loadable module" fi $ECHO "*** $linklib is not portable!" fi if test lib = "$linkmode" && test yes = "$hardcode_into_libs"; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names shift realname=$1 shift libname=`eval "\\$ECHO \"$libname_spec\""` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname=$dlname elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw* | *cegcc* | *os2*) func_arith $current - $age major=$func_arith_result versuffix=-$major ;; esac eval soname=\"$soname_spec\" else soname=$realname fi # Make a new name for the extract_expsyms_cmds to use soroot=$soname func_basename "$soroot" soname=$func_basename_result func_stripname 'lib' '.dll' "$soname" newlib=libimp-$func_stripname_result.a # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else func_verbose "extracting exported symbol list from '$soname'" func_execute_cmds "$extract_expsyms_cmds" 'exit $?' fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else func_verbose "generating import library for '$soname'" func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test prog = "$linkmode" || test relink != "$opt_mode"; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test no = "$hardcode_direct"; then add=$dir/$linklib case $host in *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;; *-*-sysv4*uw2*) add_dir=-L$dir ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir=-L$dir ;; *-*-darwin* ) # if the lib is a (non-dlopened) module then we cannot # link against it, someone is ignoring the earlier warnings if /usr/bin/file -L $add 2> /dev/null | $GREP ": [^:]* bundle" >/dev/null; then if test "X$dlopenmodule" != "X$lib"; then $ECHO "*** Warning: lib $linklib is a module, not a shared library" if test -z "$old_library"; then echo echo "*** And there doesn't seem to be a static archive available" echo "*** The link will probably fail, sorry" else add=$dir/$old_library fi elif test -n "$old_library"; then add=$dir/$old_library fi fi esac elif test no = "$hardcode_minus_L"; then case $host in *-*-sunos*) add_shlibpath=$dir ;; esac add_dir=-L$dir add=-l$name elif test no = "$hardcode_shlibpath_var"; then add_shlibpath=$dir add=-l$name else lib_linked=no fi ;; relink) if test yes = "$hardcode_direct" && test no = "$hardcode_direct_absolute"; then add=$dir/$linklib elif test yes = "$hardcode_minus_L"; then add_dir=-L$absdir # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add=-l$name elif test yes = "$hardcode_shlibpath_var"; then add_shlibpath=$dir add=-l$name else lib_linked=no fi ;; *) lib_linked=no ;; esac if test yes != "$lib_linked"; then func_fatal_configuration "unsupported hardcode properties" fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) func_append compile_shlibpath "$add_shlibpath:" ;; esac fi if test prog = "$linkmode"; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test yes != "$hardcode_direct" && test yes != "$hardcode_minus_L" && test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac fi fi fi if test prog = "$linkmode" || test relink = "$opt_mode"; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test yes = "$hardcode_direct" && test no = "$hardcode_direct_absolute"; then add=$libdir/$linklib elif test yes = "$hardcode_minus_L"; then add_dir=-L$libdir add=-l$name elif test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac add=-l$name elif test yes = "$hardcode_automatic"; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib"; then add=$inst_prefix_dir$libdir/$linklib else add=$libdir/$linklib fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir=-L$libdir # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add=-l$name fi if test prog = "$linkmode"; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test prog = "$linkmode"; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test unsupported != "$hardcode_direct"; then test -n "$old_library" && linklib=$old_library compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test yes = "$build_libtool_libs"; then # Not a shared library if test pass_all != "$deplibs_check_method"; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. echo $ECHO "*** Warning: This system cannot link to static lib archive $lib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have." if test yes = "$module"; then echo "*** But as you try to build a module library, libtool will still create " echo "*** a static module, that should work as long as the dlopening application" echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using 'nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** 'nm' from GNU binutils and a full rebuild may help." fi if test no = "$build_old_libs"; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test lib = "$linkmode"; then if test -n "$dependency_libs" && { test yes != "$hardcode_into_libs" || test yes = "$build_old_libs" || test yes = "$link_static"; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) func_stripname '-R' '' "$libdir" temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; *) func_append xrpath " $temp_xrpath";; esac;; *) func_append temp_deplibs " $libdir";; esac done dependency_libs=$temp_deplibs fi func_append newlib_search_path " $absdir" # Link against this library test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result";; *) func_resolve_sysroot "$deplib" ;; esac if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $func_resolve_sysroot_result "*) func_append specialdeplibs " $func_resolve_sysroot_result" ;; esac fi func_append tmp_libs " $func_resolve_sysroot_result" done if test no != "$link_all_deplibs"; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do path= case $deplib in -L*) path=$deplib ;; *.la) func_resolve_sysroot "$deplib" deplib=$func_resolve_sysroot_result func_dirname "$deplib" "" "." dir=$func_dirname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then func_warning "cannot determine absolute directory name of '$dir'" absdir=$dir fi ;; esac if $GREP "^installed=no" $deplib > /dev/null; then case $host in *-*-darwin*) depdepl= eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names"; then for tmp in $deplibrary_names; do depdepl=$tmp done if test -f "$absdir/$objdir/$depdepl"; then depdepl=$absdir/$objdir/$depdepl darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` if test -z "$darwin_install_name"; then darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` fi func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl" func_append linker_flags " -dylib_file $darwin_install_name:$depdepl" path= fi fi ;; *) path=-L$absdir/$objdir ;; esac else eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "'$deplib' is not a valid libtool archive" test "$absdir" != "$libdir" && \ func_warning "'$deplib' seems to be moved" path=-L$absdir fi ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs if test link = "$pass"; then if test prog = "$linkmode"; then compile_deplibs="$new_inherited_linker_flags $compile_deplibs" finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" else compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs=$newdependency_libs if test dlpreopen = "$pass"; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test dlopen != "$pass"; then test conv = "$pass" || { # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) func_append lib_search_path " $dir" ;; esac done newlib_search_path= } if test prog,link = "$linkmode,$pass"; then vars="compile_deplibs finalize_deplibs" else vars=deplibs fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) func_append tmp_libs " $deplib" ;; esac ;; *) func_append tmp_libs " $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Add Sun CC postdeps if required: test CXX = "$tagname" && { case $host_os in linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 func_suncc_cstd_abi if test no != "$suncc_use_cstd_abi"; then func_append postdeps ' -library=Cstd -library=Crun' fi ;; esac ;; solaris*) func_cc_basename "$CC" case $func_cc_basename_result in CC* | sunCC*) func_suncc_cstd_abi if test no != "$suncc_use_cstd_abi"; then func_append postdeps ' -library=Cstd -library=Crun' fi ;; esac ;; esac } # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i= ;; esac if test -n "$i"; then func_append tmp_libs " $i" fi done dependency_libs=$tmp_libs done # for pass if test prog = "$linkmode"; then dlfiles=$newdlfiles fi if test prog = "$linkmode" || test lib = "$linkmode"; then dlprefiles=$newdlprefiles fi case $linkmode in oldlib) if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then func_warning "'-dlopen' is ignored for archives" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "'-l' and '-L' are ignored for archives" ;; esac test -n "$rpath" && \ func_warning "'-rpath' is ignored for archives" test -n "$xrpath" && \ func_warning "'-R' is ignored for archives" test -n "$vinfo" && \ func_warning "'-version-info/-version-number' is ignored for archives" test -n "$release" && \ func_warning "'-release' is ignored for archives" test -n "$export_symbols$export_symbols_regex" && \ func_warning "'-export-symbols' is ignored for archives" # Now set the variables for building old libraries. build_libtool_libs=no oldlibs=$output func_append objs "$old_deplibs" ;; lib) # Make sure we only generate libraries of the form 'libNAME.la'. case $outputname in lib*) func_stripname 'lib' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) test no = "$module" \ && func_fatal_help "libtool library '$output' must begin with 'lib'" if test no != "$need_lib_prefix"; then # Add the "lib" prefix for modules if required func_stripname '' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else func_stripname '' '.la' "$outputname" libname=$func_stripname_result fi ;; esac if test -n "$objs"; then if test pass_all != "$deplibs_check_method"; then func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs" else echo $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" func_append libobjs " $objs" fi fi test no = "$dlself" \ || func_warning "'-dlopen self' is ignored for libtool libraries" set dummy $rpath shift test 1 -lt "$#" \ && func_warning "ignoring multiple '-rpath's for a libtool library" install_libdir=$1 oldlibs= if test -z "$rpath"; then if test yes = "$build_libtool_libs"; then # Building a libtool convenience library. # Some compilers have problems with a '.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi test -n "$vinfo" && \ func_warning "'-version-info/-version-number' is ignored for convenience libraries" test -n "$release" && \ func_warning "'-release' is ignored for convenience libraries" else # Parse the version information argument. save_ifs=$IFS; IFS=: set dummy $vinfo 0 0 0 shift IFS=$save_ifs test -n "$7" && \ func_fatal_help "too many parameters to '-version-info'" # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major=$1 number_minor=$2 number_revision=$3 # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # that has an extra 1 added just for fun # case $version_type in # correct linux to gnu/linux during the next big refactor darwin|freebsd-elf|linux|osf|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age=$number_minor revision=$number_revision ;; freebsd-aout|qnx|sunos) current=$number_major revision=$number_minor age=0 ;; irix|nonstopux) func_arith $number_major + $number_minor current=$func_arith_result age=$number_minor revision=$number_minor lt_irix_increment=no ;; *) func_fatal_configuration "$modename: unknown library version type '$version_type'" ;; esac ;; no) current=$1 revision=$2 age=$3 ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "CURRENT '$current' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "REVISION '$revision' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "AGE '$age' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac if test "$age" -gt "$current"; then func_error "AGE '$age' is greater than the current interface number '$current'" func_fatal_error "'$vinfo' is not valid version information" fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision # Darwin ld doesn't like 0 for these options... func_arith $current + 1 minor_current=$func_arith_result xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" # On Darwin other compilers case $CC in nagfor*) verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" ;; *) verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; esac ;; freebsd-aout) major=.$current versuffix=.$current.$revision ;; freebsd-elf) func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision ;; irix | nonstopux) if test no = "$lt_irix_increment"; then func_arith $current - $age else func_arith $current - $age + 1 fi major=$func_arith_result case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring=$verstring_prefix$major.$revision # Add in all the interfaces that we are compatible with. loop=$revision while test 0 -ne "$loop"; do func_arith $revision - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring=$verstring_prefix$major.$iface:$verstring done # Before this point, $major must not contain '.'. major=.$major versuffix=$major.$revision ;; linux) # correct to gnu/linux during the next big refactor func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision ;; osf) func_arith $current - $age major=.$func_arith_result versuffix=.$current.$age.$revision verstring=$current.$age.$revision # Add in all the interfaces that we are compatible with. loop=$age while test 0 -ne "$loop"; do func_arith $current - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring=$verstring:$iface.0 done # Make executables depend on our current version. func_append verstring ":$current.0" ;; qnx) major=.$current versuffix=.$current ;; sco) major=.$current versuffix=.$current ;; sunos) major=.$current versuffix=.$current.$revision ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 file systems. func_arith $current - $age major=$func_arith_result versuffix=-$major ;; *) func_fatal_configuration "unknown library version type '$version_type'" ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring=0.0 ;; esac if test no = "$need_version"; then versuffix= else versuffix=.0.0 fi fi # Remove version info from name if versioning should be avoided if test yes,no = "$avoid_version,$need_version"; then major= versuffix= verstring= fi # Check to see if the archive will have undefined symbols. if test yes = "$allow_undefined"; then if test unsupported = "$allow_undefined_flag"; then if test yes = "$build_old_libs"; then func_warning "undefined symbols not allowed in $host shared libraries; building static only" build_libtool_libs=no else func_fatal_error "can't build $host shared library unless -no-undefined is specified" fi fi else # Don't allow undefined symbols. allow_undefined_flag=$no_undefined_flag fi fi func_generate_dlsyms "$libname" "$libname" : func_append libobjs " $symfileobj" test " " = "$libobjs" && libobjs= if test relink != "$opt_mode"; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$ECHO "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext | *.gcno) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*) if test -n "$precious_files_regex"; then if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi func_append removelist " $p" ;; *) ;; esac done test -n "$removelist" && \ func_show_eval "${RM}r \$removelist" fi # Now set the variables for building old libraries. if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then func_append oldlibs " $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do func_replace_sysroot "$libdir" func_append temp_xrpath " -R$func_replace_sysroot_result" case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles=$dlfiles dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) func_append dlfiles " $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles=$dlprefiles dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) func_append dlprefiles " $lib" ;; esac done if test yes = "$build_libtool_libs"; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework func_append deplibs " System.ltframework" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test yes = "$build_libtool_need_lc"; then func_append deplibs " -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release= versuffix= major= newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $opt_dry_run || $RM conftest.c cat > conftest.c </dev/null` $nocaseglob else potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` fi for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null | $GREP " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib=$potent_lib while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | $SED 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;; *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | $SED -e 10q | $EGREP "$file_magic_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib= break 2 fi done done fi if test -n "$a_deplib"; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib"; then $ECHO "*** with $libname but no candidates were found. (...for file magic test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a file magic. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` for a_deplib in $deplibs; do case $a_deplib in -l*) func_stripname -l '' "$a_deplib" name=$func_stripname_result if test yes = "$allow_libtool_libs_with_static_runtimes"; then case " $predeps $postdeps " in *" $a_deplib "*) func_append newdeplibs " $a_deplib" a_deplib= ;; esac fi if test -n "$a_deplib"; then libname=`eval "\\$ECHO \"$libname_spec\""` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib=$potent_lib # see symlink-check above in file_magic test if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib= break 2 fi done done fi if test -n "$a_deplib"; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib"; then $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a regex pattern. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; none | unknown | *) newdeplibs= tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` if test yes = "$allow_libtool_libs_with_static_runtimes"; then for i in $predeps $postdeps; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"` done fi case $tmp_deplibs in *[!\ \ ]*) echo if test none = "$deplibs_check_method"; then echo "*** Warning: inter-library dependencies are not supported in this platform." else echo "*** Warning: inter-library dependencies are not known to be supported." fi echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes ;; esac ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library with the System framework newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac if test yes = "$droppeddeps"; then if test yes = "$module"; then echo echo "*** Warning: libtool could not satisfy all declared inter-library" $ECHO "*** dependencies of module $libname. Therefore, libtool will create" echo "*** a static module, that should work as long as the dlopening" echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using 'nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** 'nm' from GNU binutils and a full rebuild may help." fi if test no = "$build_old_libs"; then oldlibs=$output_objdir/$libname.$libext build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else echo "*** The inter-library dependencies that have been dropped here will be" echo "*** automatically added whenever a program is linked with this library" echo "*** or is declared to -dlopen it." if test no = "$allow_undefined"; then echo echo "*** Since this library must not contain undefined symbols," echo "*** because either the platform does not support them or" echo "*** it was explicitly requested with -no-undefined," echo "*** libtool will only create a static version of it." if test no = "$build_old_libs"; then oldlibs=$output_objdir/$libname.$libext build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" case $host in *-*-darwin*) newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done deplibs=$new_libs # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test yes = "$build_libtool_libs"; then # Remove $wl instances when linking with ld. # FIXME: should test the right _cmds variable. case $archive_cmds in *\$LD\ *) wl= ;; esac if test yes = "$hardcode_into_libs"; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath=$finalize_rpath test relink = "$opt_mode" || rpath=$compile_rpath$rpath for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then func_replace_sysroot "$libdir" libdir=$func_replace_sysroot_result if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append dep_rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath=$finalize_shlibpath test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names shift realname=$1 shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname=$realname fi if test -z "$dlname"; then dlname=$soname fi lib=$output_objdir/$realname linknames= for link do func_append linknames " $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` test "X$libobjs" = "X " && libobjs= delfiles= if test -n "$export_symbols" && test -n "$include_expsyms"; then $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" export_symbols=$output_objdir/$libname.uexp func_append delfiles " $export_symbols" fi orig_export_symbols= case $host_os in cygwin* | mingw* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then # exporting using user supplied symfile func_dll_def_p "$export_symbols" || { # and it's NOT already a .def file. Must figure out # which of the given symbols are data symbols and tag # them as such. So, trigger use of export_symbols_cmds. # export_symbols gets reassigned inside the "prepare # the list of exported symbols" if statement, so the # include_expsyms logic still works. orig_export_symbols=$export_symbols export_symbols= always_export_symbols=yes } fi ;; esac # Prepare the list of exported symbols if test -z "$export_symbols"; then if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then func_verbose "generating symbol list for '$libname.la'" export_symbols=$output_objdir/$libname.exp $opt_dry_run || $RM $export_symbols cmds=$export_symbols_cmds save_ifs=$IFS; IFS='~' for cmd1 in $cmds; do IFS=$save_ifs # Take the normal branch if the nm_file_list_spec branch # doesn't work or if tool conversion is not needed. case $nm_file_list_spec~$to_tool_file_cmd in *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) try_normal_branch=yes eval cmd=\"$cmd1\" func_len " $cmd" len=$func_len_result ;; *) try_normal_branch=no ;; esac if test yes = "$try_normal_branch" \ && { test "$len" -lt "$max_cmd_len" \ || test "$max_cmd_len" -le -1; } then func_show_eval "$cmd" 'exit $?' skipped_export=false elif test -n "$nm_file_list_spec"; then func_basename "$output" output_la=$func_basename_result save_libobjs=$libobjs save_output=$output output=$output_objdir/$output_la.nm func_to_tool_file "$output" libobjs=$nm_file_list_spec$func_to_tool_file_result func_append delfiles " $output" func_verbose "creating $NM input file list: $output" for obj in $save_libobjs; do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > "$output" eval cmd=\"$cmd1\" func_show_eval "$cmd" 'exit $?' output=$save_output libobjs=$save_libobjs skipped_export=false else # The command line is too long to execute in one step. func_verbose "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS=$save_ifs if test -n "$export_symbols_regex" && test : != "$skipped_export"; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols=$export_symbols test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test : != "$skipped_export" && test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for '$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands, which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) func_append tmp_deplibs " $test_deplib" ;; esac done deplibs=$tmp_deplibs if test -n "$convenience"; then if test -n "$whole_archive_flag_spec" && test yes = "$compiler_needs_object" && test -z "$libobjs"; then # extract the archives, so we have objects to list. # TODO: could optimize this to just extract one archive. whole_archive_flag_spec= fi if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= else gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $convenience func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi fi if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" func_append linker_flags " $flag" fi # Make a backup of the uninstalled library when relinking if test relink = "$opt_mode"; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test yes = "$module" && test -n "$module_cmds"; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test : != "$skipped_export" && func_len " $test_cmds" && len=$func_len_result && test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise # or, if using GNU ld and skipped_export is not :, use a linker # script. # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output func_basename "$output" output_la=$func_basename_result # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= last_robj= k=1 if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then output=$output_objdir/$output_la.lnkscript func_verbose "creating GNU ld script: $output" echo 'INPUT (' > $output for obj in $save_libobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done echo ')' >> $output func_append delfiles " $output" func_to_tool_file "$output" output=$func_to_tool_file_result elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then output=$output_objdir/$output_la.lnk func_verbose "creating linker input file list: $output" : > $output set x $save_libobjs shift firstobj= if test yes = "$compiler_needs_object"; then firstobj="$1 " shift fi for obj do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done func_append delfiles " $output" func_to_tool_file "$output" output=$firstobj\"$file_list_spec$func_to_tool_file_result\" else if test -n "$save_libobjs"; then func_verbose "creating reloadable object files..." output=$output_objdir/$output_la-$k.$objext eval test_cmds=\"$reload_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 # Loop over the list of objects to be linked. for obj in $save_libobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result if test -z "$objlist" || test "$len" -lt "$max_cmd_len"; then func_append objlist " $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test 1 -eq "$k"; then # The first file doesn't have a previous command to add. reload_objs=$objlist eval concat_cmds=\"$reload_cmds\" else # All subsequent reloadable object files will link in # the last one created. reload_objs="$objlist $last_robj" eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" fi last_robj=$output_objdir/$output_la-$k.$objext func_arith $k + 1 k=$func_arith_result output=$output_objdir/$output_la-$k.$objext objlist=" $obj" func_len " $last_robj" func_arith $len0 + $func_len_result len=$func_arith_result fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ reload_objs="$objlist $last_robj" eval concat_cmds=\"\$concat_cmds$reload_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi func_append delfiles " $output" else output= fi ${skipped_export-false} && { func_verbose "generating symbol list for '$libname.la'" export_symbols=$output_objdir/$libname.exp $opt_dry_run || $RM $export_symbols libobjs=$output # Append the command to create the export file. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi } test -n "$save_libobjs" && func_verbose "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs=$IFS; IFS='~' for cmd in $concat_cmds; do IFS=$save_ifs $opt_quiet || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test relink = "$opt_mode"; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS=$save_ifs if test -n "$export_symbols_regex" && ${skipped_export-false}; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi ${skipped_export-false} && { if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols=$export_symbols test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for '$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands, which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi } libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test yes = "$module" && test -n "$module_cmds"; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi fi if test -n "$delfiles"; then # Append the command to remove temporary files to $cmds. eval cmds=\"\$cmds~\$RM $delfiles\" fi # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi save_ifs=$IFS; IFS='~' for cmd in $cmds; do IFS=$sp$nl eval cmd=\"$cmd\" IFS=$save_ifs $opt_quiet || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test relink = "$opt_mode"; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS=$save_ifs # Restore the uninstalled library and exit if test relink = "$opt_mode"; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then func_show_eval '${RM}r "$gentop"' fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' fi done # If -module or -export-dynamic was specified, set the dlname. if test yes = "$module" || test yes = "$export_dynamic"; then # On all known operating systems, these are identical. dlname=$soname fi fi ;; obj) if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then func_warning "'-dlopen' is ignored for objects" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "'-l' and '-L' are ignored for objects" ;; esac test -n "$rpath" && \ func_warning "'-rpath' is ignored for objects" test -n "$xrpath" && \ func_warning "'-R' is ignored for objects" test -n "$vinfo" && \ func_warning "'-version-info' is ignored for objects" test -n "$release" && \ func_warning "'-release' is ignored for objects" case $output in *.lo) test -n "$objs$old_deplibs" && \ func_fatal_error "cannot build library object '$output' from non-libtool objects" libobj=$output func_lo2o "$libobj" obj=$func_lo2o_result ;; *) libobj= obj=$output ;; esac # Delete the old objects. $opt_dry_run || $RM $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # if reload_cmds runs $LD directly, get rid of -Wl from # whole_archive_flag_spec and hope we can get by with turning comma # into space. case $reload_cmds in *\$LD[\ \$]*) wl= ;; esac if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags else gentop=$output_objdir/${obj}x func_append generated " $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # If we're not building shared, we need to use non_pic_objs test yes = "$build_libtool_libs" || libobjs=$non_pic_objects # Create the old-style object. reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs output=$obj func_execute_cmds "$reload_cmds" 'exit $?' # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS fi test yes = "$build_libtool_libs" || { if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS } if test -n "$pic_flag" || test default != "$pic_mode"; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output=$libobj func_execute_cmds "$reload_cmds" 'exit $?' fi if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) func_stripname '' '.exe' "$output" output=$func_stripname_result.exe;; esac test -n "$vinfo" && \ func_warning "'-version-info' is ignored for programs" test -n "$release" && \ func_warning "'-release' is ignored for programs" $preload \ && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \ && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support." case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac case $host in *-*-darwin*) # Don't allow lazy linking, it breaks C++ global constructors # But is supposedly fixed on 10.4 or later (yay!). if test CXX = "$tagname"; then case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 10.[0123]) func_append compile_command " $wl-bind_at_load" func_append finalize_command " $wl-bind_at_load" ;; esac fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done compile_deplibs=$new_libs func_append compile_command " $compile_deplibs" func_append finalize_command " $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; ::) dllsearchpath=$libdir;; *) func_append dllsearchpath ":$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath=$rpath rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) func_append finalize_perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath=$rpath if test -n "$libobjs" && test yes = "$build_old_libs"; then # Transform all the library objects into standard objects. compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` fi func_generate_dlsyms "$outputname" "@PROGRAM@" false # template prelinking step if test -n "$prelink_cmds"; then func_execute_cmds "$prelink_cmds" 'exit $?' fi wrappers_required=: case $host in *cegcc* | *mingw32ce*) # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. wrappers_required=false ;; *cygwin* | *mingw* ) test yes = "$build_libtool_libs" || wrappers_required=false ;; *) if test no = "$need_relink" || test yes != "$build_libtool_libs"; then wrappers_required=false fi ;; esac $wrappers_required || { # Replace the output file specification. compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` link_command=$compile_command$compile_rpath # We have no uninstalled library dependencies, so finalize right now. exit_status=0 func_show_eval "$link_command" 'exit_status=$?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Delete the generated files. if test -f "$output_objdir/${outputname}S.$objext"; then func_show_eval '$RM "$output_objdir/${outputname}S.$objext"' fi exit $exit_status } if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do func_append rpath "$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test yes = "$no_install"; then # We don't need to create a wrapper script. link_command=$compile_var$compile_command$compile_rpath # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $opt_dry_run || $RM $output # Link the executable and exit func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi exit $EXIT_SUCCESS fi case $hardcode_action,$fast_install in relink,*) # Fast installation is not supported link_command=$compile_var$compile_command$compile_rpath relink_command=$finalize_var$finalize_command$finalize_rpath func_warning "this platform does not like uninstalled shared libraries" func_warning "'$output' will be relinked during installation" ;; *,yes) link_command=$finalize_var$compile_command$finalize_rpath relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` ;; *,no) link_command=$compile_var$compile_command$compile_rpath relink_command=$finalize_var$finalize_command$finalize_rpath ;; *,needless) link_command=$finalize_var$compile_command$finalize_rpath relink_command= ;; esac # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output_objdir/$outputname" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Now create the wrapper script. func_verbose "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` fi # Only actually do things if not in dry run mode. $opt_dry_run || { # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) func_stripname '' '.exe' "$output" output=$func_stripname_result ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe func_stripname '' '.exe' "$outputname" outputname=$func_stripname_result ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) func_dirname_and_basename "$output" "" "." output_name=$func_basename_result output_path=$func_dirname_result cwrappersource=$output_path/$objdir/lt-$output_name.c cwrapper=$output_path/$output_name.exe $RM $cwrappersource $cwrapper trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 func_emit_cwrapperexe_src > $cwrappersource # The wrapper executable is built using the $host compiler, # because it contains $host paths and files. If cross- # compiling, it, like the target executable, must be # executed on the $host or under an emulation environment. $opt_dry_run || { $LTCC $LTCFLAGS -o $cwrapper $cwrappersource $STRIP $cwrapper } # Now, create the wrapper script for func_source use: func_ltwrapper_scriptname $cwrapper $RM $func_ltwrapper_scriptname_result trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 $opt_dry_run || { # note: this script will not be executed, so do not chmod. if test "x$build" = "x$host"; then $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result else func_emit_wrapper no > $func_ltwrapper_scriptname_result fi } ;; * ) $RM $output trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 func_emit_wrapper no > $output chmod +x $output ;; esac } exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do case $build_libtool_libs in convenience) oldobjs="$libobjs_save $symfileobj" addlibs=$convenience build_libtool_libs=no ;; module) oldobjs=$libobjs_save addlibs=$old_convenience build_libtool_libs=no ;; *) oldobjs="$old_deplibs $non_pic_objects" $preload && test -f "$symfileobj" \ && func_append oldobjs " $symfileobj" addlibs=$old_convenience ;; esac if test -n "$addlibs"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $addlibs func_append oldobjs " $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then cmds=$old_archive_from_new_cmds else # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append oldobjs " $func_extract_archives_result" fi # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do func_basename "$obj" $ECHO "$func_basename_result" done | sort | sort -uc >/dev/null 2>&1); then : else echo "copying selected object files to avoid basename conflicts..." gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_mkdir_p "$gentop" save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do func_basename "$obj" objbase=$func_basename_result case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase func_arith $counter + 1 counter=$func_arith_result case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" func_append oldobjs " $gentop/$newobj" ;; *) func_append oldobjs " $obj" ;; esac done fi func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result eval cmds=\"$old_archive_cmds\" func_len " $cmds" len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds elif test -n "$archiver_list_spec"; then func_verbose "using command file archive linking..." for obj in $oldobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > $output_objdir/$libname.libcmd func_to_tool_file "$output_objdir/$libname.libcmd" oldobjs=" $archiver_list_spec$func_to_tool_file_result" cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts func_verbose "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs oldobjs= # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done eval test_cmds=\"$old_archive_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 for obj in $save_oldobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result func_append objlist " $obj" if test "$len" -lt "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj"; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$old_archive_cmds\" objlist= len=$len0 fi done RANLIB=$save_RANLIB oldobjs=$objlist if test -z "$oldobjs"; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi func_execute_cmds "$cmds" 'exit $?' done test -n "$generated" && \ func_show_eval "${RM}r$generated" # Now create the libtool archive. case $output in *.la) old_library= test yes = "$build_old_libs" && old_library=$libname.$libext func_verbose "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` if test yes = "$hardcode_automatic"; then relink_command= fi # Only create the output if not a dry run. $opt_dry_run || { for installed in no yes; do if test yes = "$installed"; then if test -z "$install_libdir"; then break fi output=$output_objdir/${outputname}i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) func_basename "$deplib" name=$func_basename_result func_resolve_sysroot "$deplib" eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` test -z "$libdir" && \ func_fatal_error "'$deplib' is not a valid libtool archive" func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" ;; -L*) func_stripname -L '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -L$func_replace_sysroot_result" ;; -R*) func_stripname -R '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -R$func_replace_sysroot_result" ;; *) func_append newdependency_libs " $deplib" ;; esac done dependency_libs=$newdependency_libs newdlfiles= for lib in $dlfiles; do case $lib in *.la) func_basename "$lib" name=$func_basename_result eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "'$lib' is not a valid libtool archive" func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" ;; *) func_append newdlfiles " $lib" ;; esac done dlfiles=$newdlfiles newdlprefiles= for lib in $dlprefiles; do case $lib in *.la) # Only pass preopened files to the pseudo-archive (for # eventual linking with the app. that links it) if we # didn't already link the preopened objects directly into # the library: func_basename "$lib" name=$func_basename_result eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "'$lib' is not a valid libtool archive" func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" ;; esac done dlprefiles=$newdlprefiles else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlfiles " $abs" done dlfiles=$newdlfiles newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlprefiles " $abs" done dlprefiles=$newdlprefiles fi $RM $output # place dlname in correct position for cygwin # In fact, it would be nice if we could use this code for all target # systems that can't hard-code library paths into their executables # and that have no shared library path variable independent of PATH, # but it turns out we can't easily determine that from inspecting # libtool variables, so we have to hard-code the OSs to which it # applies here; at the moment, that means platforms that use the PE # object format with DLL files. See the long comment at the top of # tests/bindir.at for full details. tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) # If a -bindir argument was supplied, place the dll there. if test -n "$bindir"; then func_relative_path "$install_libdir" "$bindir" tdlname=$func_relative_path_result/$dlname else # Otherwise fall back on heuristic. tdlname=../bin/$dlname fi ;; esac $ECHO > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM (GNU $PACKAGE) $VERSION # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Linker flags that cannot go in dependency_libs. inherited_linker_flags='$new_inherited_linker_flags' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Names of additional weak libraries provided by this library weak_library_names='$weak_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test no,yes = "$installed,$need_relink"; then $ECHO >> $output "\ relink_command=\"$relink_command\"" fi done } # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' ;; esac exit $EXIT_SUCCESS } if test link = "$opt_mode" || test relink = "$opt_mode"; then func_mode_link ${1+"$@"} fi # func_mode_uninstall arg... func_mode_uninstall () { $debug_cmd RM=$nonopt files= rmforce=false exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic=$magic for arg do case $arg in -f) func_append RM " $arg"; rmforce=: ;; -*) func_append RM " $arg" ;; *) func_append files " $arg" ;; esac done test -z "$RM" && \ func_fatal_help "you must specify an RM program" rmdirs= for file in $files; do func_dirname "$file" "" "." dir=$func_dirname_result if test . = "$dir"; then odir=$objdir else odir=$dir/$objdir fi func_basename "$file" name=$func_basename_result test uninstall = "$opt_mode" && odir=$dir # Remember odir for removal later, being careful to avoid duplicates if test clean = "$opt_mode"; then case " $rmdirs " in *" $odir "*) ;; *) func_append rmdirs " $odir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if { test -L "$file"; } >/dev/null 2>&1 || { test -h "$file"; } >/dev/null 2>&1 || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif $rmforce; then continue fi rmfiles=$file case $name in *.la) # Possibly a libtool archive, so verify it. if func_lalib_p "$file"; then func_source $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do func_append rmfiles " $odir/$n" done test -n "$old_library" && func_append rmfiles " $odir/$old_library" case $opt_mode in clean) case " $library_names " in *" $dlname "*) ;; *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; esac test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1' fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1' fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if func_lalib_p "$file"; then # Read the .lo file func_source $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" && test none != "$pic_object"; then func_append rmfiles " $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" && test none != "$non_pic_object"; then func_append rmfiles " $dir/$non_pic_object" fi fi ;; *) if test clean = "$opt_mode"; then noexename=$name case $file in *.exe) func_stripname '' '.exe' "$file" file=$func_stripname_result func_stripname '' '.exe' "$name" noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe func_append rmfiles " $file" ;; esac # Do a test to see if this is a libtool program. if func_ltwrapper_p "$file"; then if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" relink_command= func_source $func_ltwrapper_scriptname_result func_append rmfiles " $func_ltwrapper_scriptname_result" else relink_command= func_source $dir/$noexename fi # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles func_append rmfiles " $odir/$name $odir/${name}S.$objext" if test yes = "$fast_install" && test -n "$relink_command"; then func_append rmfiles " $odir/lt-$name" fi if test "X$noexename" != "X$name"; then func_append rmfiles " $odir/lt-$noexename.c" fi fi fi ;; esac func_show_eval "$RM $rmfiles" 'exit_status=1' done # Try to remove the $objdir's in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then func_show_eval "rmdir $dir >/dev/null 2>&1" fi done exit $exit_status } if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then func_mode_uninstall ${1+"$@"} fi test -z "$opt_mode" && { help=$generic_help func_fatal_help "you must specify a MODE" } test -z "$exec_cmd" && \ func_fatal_help "invalid operation mode '$opt_mode'" if test -n "$exec_cmd"; then eval exec "$exec_cmd" exit $EXIT_FAILURE fi exit $exit_status # The TAGs below are defined such that we never get into a situation # where we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: vorbis-tools-1.4.2/m4/0000755000175000017500000000000014002243561011476 500000000000000vorbis-tools-1.4.2/m4/intmax.m40000644000175000017500000000201113767140576013175 00000000000000# intmax.m4 serial 3 (gettext-0.16) dnl Copyright (C) 2002-2005 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 Test whether the system has the 'intmax_t' type, but don't attempt to dnl find a replacement if it is lacking. AC_DEFUN([gt_TYPE_INTMAX_T], [ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) AC_REQUIRE([gl_AC_HEADER_STDINT_H]) AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t, [AC_TRY_COMPILE([ #include #include #if HAVE_STDINT_H_WITH_UINTMAX #include #endif #if HAVE_INTTYPES_H_WITH_UINTMAX #include #endif ], [intmax_t x = -1; return !x;], gt_cv_c_intmax_t=yes, gt_cv_c_intmax_t=no)]) if test $gt_cv_c_intmax_t = yes; then AC_DEFINE(HAVE_INTMAX_T, 1, [Define if you have the 'intmax_t' type in or .]) fi ]) vorbis-tools-1.4.2/m4/Makefile.am0000644000175000017500000000073213767140576013477 00000000000000EXTRA_DIST = intlmacosx.m4 intl.m4 intldir.m4 inttypes-h.m4 lock.m4 visibility.m4 \ codeset.m4 \ gettext.m4 \ glibc21.m4 \ glibc2.m4 \ iconv.m4 \ intdiv0.m4 \ intmax.m4 \ inttypes_h.m4 \ inttypes.m4 \ inttypes-pri.m4 \ isc-posix.m4 \ lcmessage.m4 \ lib-ld.m4 \ lib-link.m4 \ lib-prefix.m4 \ longdouble.m4 \ longlong.m4 \ nls.m4 \ po.m4 \ printf-posix.m4 \ progtest.m4 \ signed.m4 \ size_max.m4 \ stdint_h.m4 \ uintmax_t.m4 \ ulonglong.m4 \ wchar_t.m4 \ wint_t.m4 \ xsize.m4 vorbis-tools-1.4.2/m4/lib-prefix.m40000644000175000017500000001503613767140576013751 00000000000000# lib-prefix.m4 serial 5 (gettext-0.15) dnl Copyright (C) 2001-2005 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 a variable acl_libdirstem, containing dnl the basename of the libdir, either "lib" or "lib64". AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ dnl There is no formal standard regarding lib and lib64. The current dnl practice is that on a system supporting 32-bit and 64-bit instruction dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit dnl libraries go under $prefix/lib. We determine the compiler's default dnl mode by looking at the compiler's library search path. If at least dnl of its elements ends in /lib64 or points to a directory whose absolute dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the dnl default, namely "lib". acl_libdirstem=lib 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 ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi ]) vorbis-tools-1.4.2/m4/isc-posix.m40000644000175000017500000000170613767140576013625 00000000000000# isc-posix.m4 serial 2 (gettext-0.11.2) dnl Copyright (C) 1995-2002 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. # This file is not needed with autoconf-2.53 and newer. Remove it in 2005. # This test replaces the one in autoconf. # Currently this macro should have the same name as the autoconf macro # because gettext's gettext.m4 (distributed in the automake package) # still uses it. Otherwise, the use in gettext.m4 makes autoheader # give these diagnostics: # configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX # configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX undefine([AC_ISC_POSIX]) AC_DEFUN([AC_ISC_POSIX], [ dnl This test replaces the obsolescent AC_ISC_POSIX kludge. AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"]) ] ) vorbis-tools-1.4.2/m4/pkg.m40000644000175000017500000000375313767140576012474 00000000000000 dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page dnl also defines GSTUFF_PKG_ERRORS on error AC_DEFUN([PKG_CHECK_MODULES], [ succeeded=no if test -z "$PKG_CONFIG"; then AC_PATH_PROG(PKG_CONFIG, pkg-config, no) fi if test "$PKG_CONFIG" = "no" ; then echo "*** The pkg-config script could not be found. Make sure it is" echo "*** in your path, or set the PKG_CONFIG environment variable" echo "*** to the full path to pkg-config." echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then AC_MSG_CHECKING(for $2) if $PKG_CONFIG --exists "$2" ; then AC_MSG_RESULT(yes) succeeded=yes AC_MSG_CHECKING($1_CFLAGS) $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` AC_MSG_RESULT($$1_CFLAGS) AC_MSG_CHECKING($1_LIBS) $1_LIBS=`$PKG_CONFIG --libs "$2"` AC_MSG_RESULT($$1_LIBS) else $1_CFLAGS="" $1_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` ifelse([$4], ,echo $$1_PKG_ERRORS,) fi AC_SUBST($1_CFLAGS) AC_SUBST($1_LIBS) else echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." echo "*** See http://www.freedesktop.org/software/pkgconfig" fi fi if test $succeeded = yes; then ifelse([$3], , :, [$3]) else ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) fi ]) vorbis-tools-1.4.2/m4/glibc2.m40000644000175000017500000000135413767140576013050 00000000000000# glibc2.m4 serial 1 dnl Copyright (C) 2000-2002, 2004 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. # Test for the GNU C Library, version 2.0 or newer. # From Bruno Haible. AC_DEFUN([gt_GLIBC2], [ AC_CACHE_CHECK(whether we are using the GNU C Library 2 or newer, ac_cv_gnu_library_2, [AC_EGREP_CPP([Lucky GNU user], [ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ >= 2) Lucky GNU user #endif #endif ], ac_cv_gnu_library_2=yes, ac_cv_gnu_library_2=no) ] ) AC_SUBST(GLIBC2) GLIBC2="$ac_cv_gnu_library_2" ] ) vorbis-tools-1.4.2/m4/libtool.m40000644000175000017500000112617112756047127013353 00000000000000# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. m4_define([_LT_COPYING], [dnl # Copyright (C) 2014 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program or library that is built # using GNU Libtool, you may include this file under the same # distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . ]) # serial 58 LT_INIT # LT_PREREQ(VERSION) # ------------------ # Complain and exit if this libtool version is less that VERSION. m4_defun([LT_PREREQ], [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, [m4_default([$3], [m4_fatal([Libtool version $1 or higher is required], 63)])], [$2])]) # _LT_CHECK_BUILDDIR # ------------------ # Complain if the absolute build directory name contains unusual characters m4_defun([_LT_CHECK_BUILDDIR], [case `pwd` in *\ * | *\ *) AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; esac ]) # LT_INIT([OPTIONS]) # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl AC_BEFORE([$0], [LTDL_INIT])dnl m4_require([_LT_CHECK_BUILDDIR])dnl dnl Autoconf doesn't catch unexpanded LT_ macros by default: m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 dnl unless we require an AC_DEFUNed macro: AC_REQUIRE([LTOPTIONS_VERSION])dnl AC_REQUIRE([LTSUGAR_VERSION])dnl AC_REQUIRE([LTVERSION_VERSION])dnl AC_REQUIRE([LTOBSOLETE_VERSION])dnl m4_require([_LT_PROG_LTMAIN])dnl _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) # This can be used to rebuild libtool when needed LIBTOOL_DEPS=$ltmain # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl _LT_SETUP # Only expand once: m4_define([LT_INIT]) ])# LT_INIT # Old names: AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PROG_LIBTOOL], []) dnl AC_DEFUN([AM_PROG_LIBTOOL], []) # _LT_PREPARE_CC_BASENAME # ----------------------- m4_defun([_LT_PREPARE_CC_BASENAME], [ # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in @S|@*""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } ])# _LT_PREPARE_CC_BASENAME # _LT_CC_BASENAME(CC) # ------------------- # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, # but that macro is also expanded into generated libtool script, which # arranges for $SED and $ECHO to be set by different means. m4_defun([_LT_CC_BASENAME], [m4_require([_LT_PREPARE_CC_BASENAME])dnl AC_REQUIRE([_LT_DECL_SED])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl func_cc_basename $1 cc_basename=$func_cc_basename_result ]) # _LT_FILEUTILS_DEFAULTS # ---------------------- # It is okay to use these file commands and assume they have been set # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'. m4_defun([_LT_FILEUTILS_DEFAULTS], [: ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} ])# _LT_FILEUTILS_DEFAULTS # _LT_SETUP # --------- m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl dnl _LT_DECL([], [build_alias], [0], [The build system])dnl _LT_DECL([], [build], [0])dnl _LT_DECL([], [build_os], [0])dnl dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl dnl AC_REQUIRE([AC_PROG_LN_S])dnl test -z "$LN_S" && LN_S="ln -s" _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl dnl AC_REQUIRE([LT_CMD_MAX_LEN])dnl _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl m4_require([_LT_CMD_RELOAD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_WITH_SYSROOT])dnl m4_require([_LT_CMD_TRUNCATE])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi ]) if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld=$lt_cv_prog_gnu_ld old_CC=$CC old_CFLAGS=$CFLAGS # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then _LT_PATH_MAGIC fi ;; esac # Use C for the default configuration in the libtool script LT_SUPPORTED_TAG([CC]) _LT_LANG_C_CONFIG _LT_LANG_DEFAULT_CONFIG _LT_CONFIG_COMMANDS ])# _LT_SETUP # _LT_PREPARE_SED_QUOTE_VARS # -------------------------- # Define a few sed substitution that help us do robust quoting. m4_defun([_LT_PREPARE_SED_QUOTE_VARS], [# Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([["`\\]]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ]) # _LT_PROG_LTMAIN # --------------- # Note that this code is called both from 'configure', and 'config.status' # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, # 'config.status' has no value for ac_aux_dir unless we are using Automake, # so we pass a copy along to make sure it has a sensible value anyway. m4_defun([_LT_PROG_LTMAIN], [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) ltmain=$ac_aux_dir/ltmain.sh ])# _LT_PROG_LTMAIN ## ------------------------------------- ## ## Accumulate code for creating libtool. ## ## ------------------------------------- ## # So that we can recreate a full libtool script including additional # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS # in macros and then make a single call at the end using the 'libtool' # label. # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) # ---------------------------------------- # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL_INIT], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_INIT], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_INIT]) # _LT_CONFIG_LIBTOOL([COMMANDS]) # ------------------------------ # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) # ----------------------------------------------------- m4_defun([_LT_CONFIG_SAVE_COMMANDS], [_LT_CONFIG_LIBTOOL([$1]) _LT_CONFIG_LIBTOOL_INIT([$2]) ]) # _LT_FORMAT_COMMENT([COMMENT]) # ----------------------------- # Add leading comment marks to the start of each line, and a trailing # full-stop to the whole comment if one is not present already. m4_define([_LT_FORMAT_COMMENT], [m4_ifval([$1], [ m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) )]) ## ------------------------ ## ## FIXME: Eliminate VARNAME ## ## ------------------------ ## # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) # ------------------------------------------------------------------- # CONFIGNAME is the name given to the value in the libtool script. # VARNAME is the (base) name used in the configure script. # VALUE may be 0, 1 or 2 for a computed quote escaped value based on # VARNAME. Any other value will be used directly. m4_define([_LT_DECL], [lt_if_append_uniq([lt_decl_varnames], [$2], [, ], [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], [m4_ifval([$1], [$1], [$2])]) lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) m4_ifval([$4], [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) lt_dict_add_subkey([lt_decl_dict], [$2], [tagged?], [m4_ifval([$5], [yes], [no])])]) ]) # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) # -------------------------------------------------------- m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_tag_varnames], [_lt_decl_filter([tagged?], [yes], $@)]) # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) # --------------------------------------------------------- m4_define([_lt_decl_filter], [m4_case([$#], [0], [m4_fatal([$0: too few arguments: $#])], [1], [m4_fatal([$0: too few arguments: $#: $1])], [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], [lt_dict_filter([lt_decl_dict], $@)])[]dnl ]) # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) # -------------------------------------------------- m4_define([lt_decl_quote_varnames], [_lt_decl_filter([value], [1], $@)]) # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_dquote_varnames], [_lt_decl_filter([value], [2], $@)]) # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_varnames_tagged], [m4_assert([$# <= 2])dnl _$0(m4_quote(m4_default([$1], [[, ]])), m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) m4_define([_lt_decl_varnames_tagged], [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_all_varnames], [_$0(m4_quote(m4_default([$1], [[, ]])), m4_if([$2], [], m4_quote(lt_decl_varnames), m4_quote(m4_shift($@))))[]dnl ]) m4_define([_lt_decl_all_varnames], [lt_join($@, lt_decl_varnames_tagged([$1], lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl ]) # _LT_CONFIG_STATUS_DECLARE([VARNAME]) # ------------------------------------ # Quote a variable value, and forward it to 'config.status' so that its # declaration there will have the same value as in 'configure'. VARNAME # must have a single quote delimited value for this to work. m4_define([_LT_CONFIG_STATUS_DECLARE], [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) # _LT_CONFIG_STATUS_DECLARATIONS # ------------------------------ # We delimit libtool config variables with single quotes, so when # we write them to config.status, we have to be sure to quote all # embedded single quotes properly. In configure, this macro expands # each variable declared with _LT_DECL (and _LT_TAGDECL) into: # # ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAGS # ---------------- # Output comment and list of tags supported by the script m4_defun([_LT_LIBTOOL_TAGS], [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl available_tags='_LT_TAGS'dnl ]) # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) # ----------------------------------- # Extract the dictionary values for VARNAME (optionally with TAG) and # expand to a commented shell variable setting: # # # Some comment about what VAR is for. # visible_name=$lt_internal_name m4_define([_LT_LIBTOOL_DECLARE], [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [description])))[]dnl m4_pushdef([_libtool_name], m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), [0], [_libtool_name=[$]$1], [1], [_libtool_name=$lt_[]$1], [2], [_libtool_name=$lt_[]$1], [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl ]) # _LT_LIBTOOL_CONFIG_VARS # ----------------------- # Produce commented declarations of non-tagged libtool config variables # suitable for insertion in the LIBTOOL CONFIG section of the 'libtool' # script. Tagged libtool config variables (even for the LIBTOOL CONFIG # section) are produced by _LT_LIBTOOL_TAG_VARS. m4_defun([_LT_LIBTOOL_CONFIG_VARS], [m4_foreach([_lt_var], m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAG_VARS(TAG) # ------------------------- m4_define([_LT_LIBTOOL_TAG_VARS], [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) # _LT_TAGVAR(VARNAME, [TAGNAME]) # ------------------------------ m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) # _LT_CONFIG_COMMANDS # ------------------- # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of # variables for single and double quote escaping we saved from calls # to _LT_DECL, we can put quote escaped variables declarations # into 'config.status', and then the shell code to quote escape them in # for loops in 'config.status'. Finally, any additional code accumulated # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. m4_defun([_LT_CONFIG_COMMANDS], [AC_PROVIDE_IFELSE([LT_OUTPUT], dnl If the libtool generation code has been placed in $CONFIG_LT, dnl instead of duplicating it all over again into config.status, dnl then we will have config.status run $CONFIG_LT later, so it dnl needs to know what name is stored there: [AC_CONFIG_COMMANDS([libtool], [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], dnl If the libtool generation code is destined for config.status, dnl expand the accumulated commands and init code now: [AC_CONFIG_COMMANDS([libtool], [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) ])#_LT_CONFIG_COMMANDS # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], [ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' _LT_CONFIG_STATUS_DECLARATIONS LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$[]1 _LTECHO_EOF' } # Quote evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_quote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done _LT_OUTPUT_LIBTOOL_INIT ]) # _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) # ------------------------------------ # Generate a child script FILE with all initialization necessary to # reuse the environment learned by the parent script, and make the # file executable. If COMMENT is supplied, it is inserted after the # '#!' sequence but before initialization text begins. After this # macro, additional text can be appended to FILE to form the body of # the child script. The macro ends with non-zero status if the # file could not be fully written (such as if the disk is full). m4_ifdef([AS_INIT_GENERATED], [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], [m4_defun([_LT_GENERATED_FILE_INIT], [m4_require([AS_PREPARE])]dnl [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl [lt_write_fail=0 cat >$1 <<_ASEOF || lt_write_fail=1 #! $SHELL # Generated by $as_me. $2 SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$1 <<\_ASEOF || lt_write_fail=1 AS_SHELL_SANITIZE _AS_PREPARE exec AS_MESSAGE_FD>&1 _ASEOF test 0 = "$lt_write_fail" && chmod +x $1[]dnl m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- # This macro allows early generation of the libtool script (before # AC_OUTPUT is called), incase it is used in configure for compilation # tests. AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} AC_MSG_NOTICE([creating $CONFIG_LT]) _LT_GENERATED_FILE_INIT(["$CONFIG_LT"], [# Run this file to recreate a libtool stub with the current configuration.]) cat >>"$CONFIG_LT" <<\_LTEOF lt_cl_silent=false exec AS_MESSAGE_LOG_FD>>config.log { echo AS_BOX([Running $as_me.]) } >&AS_MESSAGE_LOG_FD lt_cl_help="\ '$as_me' creates a local libtool stub from the current configuration, for use in further configure time tests before the real libtool is generated. Usage: $[0] [[OPTIONS]] -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files Report bugs to ." lt_cl_version="\ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. Copyright (C) 2011 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." while test 0 != $[#] do case $[1] in --version | --v* | -V ) echo "$lt_cl_version"; exit 0 ;; --help | --h* | -h ) echo "$lt_cl_help"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --quiet | --q* | --silent | --s* | -q ) lt_cl_silent=: ;; -*) AC_MSG_ERROR([unrecognized option: $[1] Try '$[0] --help' for more information.]) ;; *) AC_MSG_ERROR([unrecognized argument: $[1] Try '$[0] --help' for more information.]) ;; esac shift done if $lt_cl_silent; then exec AS_MESSAGE_FD>/dev/null fi _LTEOF cat >>"$CONFIG_LT" <<_LTEOF _LT_OUTPUT_LIBTOOL_COMMANDS_INIT _LTEOF cat >>"$CONFIG_LT" <<\_LTEOF AC_MSG_NOTICE([creating $ofile]) _LT_OUTPUT_LIBTOOL_COMMANDS AS_EXIT(0) _LTEOF chmod +x "$CONFIG_LT" # configure is writing to config.log, but config.lt does its own redirection, # appending to config.log, which fails on DOS, as config.log is still kept # open by configure. Here we exec the FD to /dev/null, effectively closing # config.log, so it can be properly (re)opened and appended to by config.lt. lt_cl_success=: test yes = "$silent" && lt_config_lt_args="$lt_config_lt_args --quiet" exec AS_MESSAGE_LOG_FD>/dev/null $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false exec AS_MESSAGE_LOG_FD>>config.log $lt_cl_success || AS_EXIT(1) ])# LT_OUTPUT # _LT_CONFIG(TAG) # --------------- # If TAG is the built-in tag, create an initial libtool script with a # default configuration from the untagged config vars. Otherwise add code # to config.status for appending the configuration named by TAG from the # matching tagged config vars. m4_defun([_LT_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_CONFIG_SAVE_COMMANDS([ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl m4_if(_LT_TAG, [C], [ # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi cfgfile=${ofile}T trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 _LT_COPYING _LT_LIBTOOL_TAGS # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### BEGIN LIBTOOL CONFIG _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG _LT_EOF cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE _LT_PREPARE_MUNGE_PATH_LIST _LT_PREPARE_CC_BASENAME # ### END FUNCTIONS SHARED WITH CONFIGURE _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac _LT_PROG_LTMAIN # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ], [cat <<_LT_EOF >> "$ofile" dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded dnl in a comment (ie after a #). # ### BEGIN LIBTOOL TAG CONFIG: $1 _LT_LIBTOOL_TAG_VARS(_LT_TAG) # ### END LIBTOOL TAG CONFIG: $1 _LT_EOF ])dnl /m4_if ], [m4_if([$1], [], [ PACKAGE='$PACKAGE' VERSION='$VERSION' RM='$RM' ofile='$ofile'], []) ])dnl /_LT_CONFIG_SAVE_COMMANDS ])# _LT_CONFIG # LT_SUPPORTED_TAG(TAG) # --------------------- # Trace this macro to discover what tags are supported by the libtool # --tag option, using: # autoconf --trace 'LT_SUPPORTED_TAG:$1' AC_DEFUN([LT_SUPPORTED_TAG], []) # C support is built-in for now m4_define([_LT_LANG_C_enabled], []) m4_define([_LT_TAGS], []) # LT_LANG(LANG) # ------------- # Enable libtool support for the given language if not already enabled. AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], [Go], [_LT_LANG(GO)], [Java], [_LT_LANG(GCJ)], [Fortran 77], [_LT_LANG(F77)], [Fortran], [_LT_LANG(FC)], [Windows Resource], [_LT_LANG(RC)], [m4_ifdef([_LT_LANG_]$1[_CONFIG], [_LT_LANG($1)], [m4_fatal([$0: unsupported language: "$1"])])])dnl ])# LT_LANG # _LT_LANG(LANGNAME) # ------------------ m4_defun([_LT_LANG], [m4_ifdef([_LT_LANG_]$1[_enabled], [], [LT_SUPPORTED_TAG([$1])dnl m4_append([_LT_TAGS], [$1 ])dnl m4_define([_LT_LANG_]$1[_enabled], [])dnl _LT_LANG_$1_CONFIG($1)])dnl ])# _LT_LANG m4_ifndef([AC_PROG_GO], [ ############################################################ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_GO. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # ############################################################ m4_defun([AC_PROG_GO], [AC_LANG_PUSH(Go)dnl AC_ARG_VAR([GOC], [Go compiler command])dnl AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl _AC_ARG_VAR_LDFLAGS()dnl AC_CHECK_TOOL(GOC, gccgo) if test -z "$GOC"; then if test -n "$ac_tool_prefix"; then AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) fi fi if test -z "$GOC"; then AC_CHECK_PROG(GOC, gccgo, gccgo, false) fi ])#m4_defun ])#m4_ifndef # _LT_LANG_DEFAULT_CONFIG # ----------------------- m4_defun([_LT_LANG_DEFAULT_CONFIG], [AC_PROVIDE_IFELSE([AC_PROG_CXX], [LT_LANG(CXX)], [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) AC_PROVIDE_IFELSE([AC_PROG_F77], [LT_LANG(F77)], [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) AC_PROVIDE_IFELSE([AC_PROG_FC], [LT_LANG(FC)], [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal dnl pulling things in needlessly. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([LT_PROG_GCJ], [LT_LANG(GCJ)], [m4_ifdef([AC_PROG_GCJ], [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([A][M_PROG_GCJ], [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([LT_PROG_GCJ], [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) AC_PROVIDE_IFELSE([AC_PROG_GO], [LT_LANG(GO)], [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) AC_PROVIDE_IFELSE([LT_PROG_RC], [LT_LANG(RC)], [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) ])# _LT_LANG_DEFAULT_CONFIG # Obsolete macros: AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_CXX], []) dnl AC_DEFUN([AC_LIBTOOL_F77], []) dnl AC_DEFUN([AC_LIBTOOL_FC], []) dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) dnl AC_DEFUN([AC_LIBTOOL_RC], []) # _LT_TAG_COMPILER # ---------------- m4_defun([_LT_TAG_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_TAG_COMPILER # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. m4_defun([_LT_COMPILER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. m4_defun([_LT_LINKER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ])# _LT_LINKER_BOILERPLATE # _LT_REQUIRED_DARWIN_CHECKS # ------------------------- m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ case $host_os in rhapsody* | darwin*) AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) AC_CHECK_TOOL([LIPO], [lipo], [:]) AC_CHECK_TOOL([OTOOL], [otool], [:]) AC_CHECK_TOOL([OTOOL64], [otool64], [:]) _LT_DECL([], [DSYMUTIL], [1], [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) _LT_DECL([], [NMEDIT], [1], [Tool to change global to local symbols on Mac OS X]) _LT_DECL([], [LIPO], [1], [Tool to manipulate fat objects and archives on Mac OS X]) _LT_DECL([], [OTOOL], [1], [ldd/readelf like tool for Mach-O binaries on Mac OS X]) _LT_DECL([], [OTOOL64], [1], [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], [lt_cv_apple_cc_single_mod=no if test -z "$LT_MULTI_MODULE"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test 0 = "$_lt_result"; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -rf libconftest.dylib* rm -f conftest.* fi]) AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS=$save_LDFLAGS ]) AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], [lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then lt_cv_ld_force_load=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM ]) case $host_os in rhapsody* | darwin1.[[012]]) _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[[012]][[,.]]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi if test yes = "$lt_cv_ld_exported_symbols_list"; then _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' fi if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ]) # _LT_DARWIN_LINKER_FEATURES([TAG]) # --------------------------------- # Checks for linker and compiler features on darwin m4_defun([_LT_DARWIN_LINKER_FEATURES], [ m4_require([_LT_REQUIRED_DARWIN_CHECKS]) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported if test yes = "$lt_cv_ld_force_load"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) else _LT_TAGVAR(whole_archive_flag_spec, $1)='' fi _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined case $cc_basename in ifort*|nagfor*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test yes = "$_lt_dar_can_shared"; then output_verbose_link_cmd=func_echo_all _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" m4_if([$1], [CXX], [ if test yes != "$lt_cv_apple_cc_single_mod"; then _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" fi ],[]) else _LT_TAGVAR(ld_shlibs, $1)=no fi ]) # _LT_SYS_MODULE_PATH_AIX([TAGNAME]) # ---------------------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. # Store the results from the different compilers for each TAGNAME. # Allow to override them for all tags through lt_cv_aix_libpath. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ lt_aix_libpath_sed='[ /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }]' _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi],[]) if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib fi ]) aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) fi ])# _LT_SYS_MODULE_PATH_AIX # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], [m4_divert_text([M4SH-INIT], [$1 ])])# _LT_SHELL_INIT # _LT_PROG_ECHO_BACKSLASH # ----------------------- # Find how we can fake an echo command that does not interpret backslash. # In particular, with Autoconf 2.60 or later we add some code to the start # of the generated configure script that will find a shell with a builtin # printf (that we can use as an echo command). m4_defun([_LT_PROG_ECHO_BACKSLASH], [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO AC_MSG_CHECKING([how to print strings]) # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $[]1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } case $ECHO in printf*) AC_MSG_RESULT([printf]) ;; print*) AC_MSG_RESULT([print -r]) ;; *) AC_MSG_RESULT([cat]) ;; esac m4_ifdef([_AS_DETECT_SUGGESTED], [_AS_DETECT_SUGGESTED([ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test "X`printf %s $ECHO`" = "X$ECHO" \ || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) ])# _LT_PROG_ECHO_BACKSLASH # _LT_WITH_SYSROOT # ---------------- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot]) AC_ARG_WITH([sysroot], [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], [Search for dependent libraries within DIR (or the compiler's sysroot if not specified).])], [], [with_sysroot=no]) dnl lt_sysroot will always be passed unquoted. We quote it here dnl in case the user passed a directory name. lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) AC_MSG_RESULT([$with_sysroot]) AC_MSG_ERROR([The sysroot must be an absolute path.]) ;; esac AC_MSG_RESULT([${lt_sysroot:-no}]) _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl [dependent libraries, and where our libraries should be installed.])]) # _LT_ENABLE_LOCK # --------------- m4_defun([_LT_ENABLE_LOCK], [AC_ARG_ENABLE([libtool-lock], [AS_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test no = "$enable_libtool_lock" || enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out what ABI is being produced by ac_compile, and set mode # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE=32 ;; *ELF-64*) HPUX_IA64_MODE=64 ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test yes = "$lt_cv_prog_gnu_ld"; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; mips64*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then emul=elf case `/usr/bin/file conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; *64-bit*) emul="${emul}64" ;; esac case `/usr/bin/file conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; *LSB*) emul="${emul}ltsmip" ;; esac case `/usr/bin/file conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; esac LD="${LD-ld} -m $emul" fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when # doing 32-bit compilation for a host where ld defaults to 64-bit, or # vice versa); the common cases where no linker options are needed do # not appear in the list. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) case `/usr/bin/file conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; *) LD="${LD-ld} -m elf_i386" ;; esac ;; powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test yes != "$lt_cv_cc_needs_belf"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS=$SAVE_CFLAGS fi ;; *-*solaris*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*|x86_64-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD=${LD-ld}_sol2 fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks=$enable_libtool_lock ])# _LT_ENABLE_LOCK # _LT_PROG_AR # ----------- m4_defun([_LT_PROG_AR], [AC_CHECK_TOOLS(AR, [ar], false) : ${AR=ar} : ${AR_FLAGS=cru} _LT_DECL([], [AR], [1], [The archiver]) _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], [lt_cv_ar_at_file=no AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([lt_ar_try]) if test 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a AC_TRY_EVAL([lt_ar_try]) if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a ]) ]) if test no = "$lt_cv_ar_at_file"; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi _LT_DECL([], [archiver_list_spec], [1], [How to feed a file listing to the archiver]) ])# _LT_PROG_AR # _LT_CMD_OLD_ARCHIVE # ------------------- m4_defun([_LT_CMD_OLD_ARCHIVE], [_LT_PROG_AR AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: _LT_DECL([], [STRIP], [1], [A symbol stripping program]) AC_CHECK_TOOL(RANLIB, ranlib, :) test -z "$RANLIB" && RANLIB=: _LT_DECL([], [RANLIB], [1], [Commands used to install an old-style archive]) # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in bitrig* | openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac _LT_DECL([], [old_postinstall_cmds], [2]) _LT_DECL([], [old_postuninstall_cmds], [2]) _LT_TAGDECL([], [old_archive_cmds], [2], [Commands used to build an old-style archive]) _LT_DECL([], [lock_old_archive_extraction], [0], [Whether to use a lock for old archive extraction]) ])# _LT_CMD_OLD_ARCHIVE # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $RM conftest* ]) if test yes = "[$]$2"; then m4_if([$5], , :, [$5]) else m4_if([$6], , :, [$6]) fi ])# _LT_COMPILER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------- # Check whether the given linker option works AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS ]) if test yes = "[$]$2"; then m4_if([$4], , :, [$4]) else m4_if([$5], , :, [$5]) fi ])# _LT_LINKER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) # LT_CMD_MAX_LEN #--------------- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl # find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring=ABCD case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len" && \ test undefined != "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test X`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test 17 != "$i" # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n "$lt_cv_sys_max_cmd_len"; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi max_cmd_len=$lt_cv_sys_max_cmd_len _LT_DECL([], [max_cmd_len], [0], [What is the maximum length of a command?]) ])# LT_CMD_MAX_LEN # Old name: AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) # _LT_HEADER_DLFCN # ---------------- m4_defun([_LT_HEADER_DLFCN], [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl ])# _LT_HEADER_DLFCN # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ---------------------------------------------------------------- m4_defun([_LT_TRY_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test yes = "$cross_compiling"; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF [#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; }] _LT_EOF if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_TRY_DLOPEN_SELF # LT_SYS_DLOPEN_SELF # ------------------ AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test yes != "$enable_dlopen"; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen=load_add_on lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen=dlopen lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[ lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; tpf*) # Don't try to run any link tests for TPF. We know it's impossible # because TPF is a cross-compiler, and we know how we open DSOs. lt_cv_dlopen=dlopen lt_cv_dlopen_libs= lt_cv_dlopen_self=no ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen=shl_load], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen=dlopen], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld]) ]) ]) ]) ]) ]) ;; esac if test no = "$lt_cv_dlopen"; then enable_dlopen=no else enable_dlopen=yes fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS=$CPPFLAGS test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS=$LDFLAGS wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS=$LIBS LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS LIBS=$save_LIBS ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi _LT_DECL([dlopen_support], [enable_dlopen], [0], [Whether dlopen is supported]) _LT_DECL([dlopen_self], [enable_dlopen_self], [0], [Whether dlopen of programs is supported]) _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], [Whether dlopen of statically linked programs is supported]) ])# LT_SYS_DLOPEN_SELF # Old name: AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) # _LT_COMPILER_C_O([TAGNAME]) # --------------------------- # Check to see if options -c and -o are simultaneously supported by compiler. # This macro does not hard code the compiler like AC_PROG_CC_C_O. m4_defun([_LT_COMPILER_C_O], [m4_require([_LT_DECL_SED])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* ]) _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], [Does compiler simultaneously support -c and -o options?]) ])# _LT_COMPILER_C_O # _LT_COMPILER_FILE_LOCKS([TAGNAME]) # ---------------------------------- # Check to see if we can do hard links to lock some files if needed m4_defun([_LT_COMPILER_FILE_LOCKS], [m4_require([_LT_ENABLE_LOCK])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_COMPILER_C_O([$1]) hard_links=nottested if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test no = "$hard_links"; then AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) ])# _LT_COMPILER_FILE_LOCKS # _LT_CHECK_OBJDIR # ---------------- m4_defun([_LT_CHECK_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir _LT_DECL([], [objdir], [0], [The name of the directory that contains temporary libtool files])dnl m4_pattern_allow([LT_OBJDIR])dnl AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/", [Define to the sub-directory where libtool stores uninstalled libraries.]) ])# _LT_CHECK_OBJDIR # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) # -------------------------------------- # Check hardcoding attributes. m4_defun([_LT_LINKER_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_TAGVAR(hardcode_action, $1)= if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || test -n "$_LT_TAGVAR(runpath_var, $1)" || test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then # We can hardcode non-existent directories. if test no != "$_LT_TAGVAR(hardcode_direct, $1)" && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" && test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then # Linking always hardcodes the temporary library directory. _LT_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) if test relink = "$_LT_TAGVAR(hardcode_action, $1)" || test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then # Fast installation is not supported enable_fast_install=no elif test yes = "$shlibpath_overrides_runpath" || test no = "$enable_shared"; then # Fast installation is not necessary enable_fast_install=needless fi _LT_TAGDECL([], [hardcode_action], [0], [How to hardcode a shared library path into an executable]) ])# _LT_LINKER_HARDCODE_LIBPATH # _LT_CMD_STRIPLIB # ---------------- m4_defun([_LT_CMD_STRIPLIB], [m4_require([_LT_DECL_EGREP]) striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP"; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) _LT_DECL([], [striplib], [1]) ])# _LT_CMD_STRIPLIB # _LT_PREPARE_MUNGE_PATH_LIST # --------------------------- # Make sure func_munge_path_list() is defined correctly. m4_defun([_LT_PREPARE_MUNGE_PATH_LIST], [[# func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x@S|@2 in x) ;; *:) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" ;; x:*) eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; *::*) eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" ;; *) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; esac } ]])# _LT_PREPARE_PATH_LIST # _LT_SYS_DYNAMIC_LINKER([TAG]) # ----------------------------- # PORTME Fill in your ld.so characteristics m4_defun([_LT_SYS_DYNAMIC_LINKER], [AC_REQUIRE([AC_CANONICAL_HOST])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ if test yes = "$GCC"; then case $host_os in darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; *) lt_awk_arg='/^libraries:/' ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;; *) lt_sed_strip_eq='s|=/|/|g' ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary... lt_tmp_lt_search_path_spec= lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` # ...but if some path component already ends with the multilib dir we assume # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). case "$lt_multi_os_dir; $lt_search_path_spec " in "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) lt_multi_os_dir= ;; esac for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" elif test -n "$lt_multi_os_dir"; then test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS = " "; FS = "/|\n";} { lt_foo = ""; lt_count = 0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo = "/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=.so postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown AC_ARG_VAR([LT_SYS_LIBRARY_PATH], [User-defined run-time library search path.]) case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='$libname$release$shared_ext$major' ;; aix[[4-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test ia64 = "$host_cpu"; then # AIX 5 supports IA64 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line '#! .'. This would cause the generated library to # depend on '.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # Using Import Files as archive members, it is possible to support # filename-based versioning of shared library archives on AIX. While # this would work for both with and without runtime linking, it will # prevent static linking of such archives. So we do filename-based # shared library versioning with .so extension only, which is used # when both runtime linking and shared linking is enabled. # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the # archive as well as the shared archive member, telling the # bitwidth (32 or 64) of that shared object, and providing the # list of exported symbols of that shared object, eventually # decorated with the 'weak' keyword # *) the shared object with the F_LOADONLY flag set, to really avoid # it being seen by the linker. # At run time we better use the real file rather than another symlink, # but for link time we create the symlink libNAME.so -> libNAME.so.V case $with_aix_soname,$aix_use_runtimelinking in # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. aix,yes) # traditional libtool dynamic_linker='AIX unversionable lib.so' # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; aix,no) # traditional AIX only dynamic_linker='AIX lib.a[(]lib.so.V[)]' # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' ;; svr4,*) # full svr4 only dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,yes) # both, prefer svr4 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # unpreferred sharedlib libNAME.a needs extra handling postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,no) # both, prefer aix dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' ;; esac shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='$libname$shared_ext' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' library_names_spec='$libname.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec=$LIB if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' soname_spec='$libname$release$major$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[23]].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=no sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' if test 32 = "$HPUX_IA64_MODE"; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" sys_lib_dlsearch_path_spec=/usr/lib/hpux32 else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" sys_lib_dlsearch_path_spec=/usr/lib/hpux64 fi ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[[3-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test yes = "$lt_cv_prog_gnu_ld"; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes dynamic_linker='Android linker' # Don't embed -rpath directories since the linker doesn't support them. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], [lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], [lt_cv_shlibpath_overrides_runpath=yes])]) LDFLAGS=$save_LDFLAGS libdir=$save_libdir ]) shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, # even though it is searched at run-time. Try to do the best guess by # appending ld.so.conf contents (and includes) to the search path. if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd* | bitrig*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then need_version=no else need_version=yes fi library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; os2*) libname_spec='$name' version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no # OS/2 can only load a DLL with a base name of 8 characters or less. soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; v=$($ECHO $release$versuffix | tr -d .-); n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); $ECHO $n$v`$shared_ext' library_names_spec='${libname}_dll.$libext' dynamic_linker='OS/2 ld.exe' shlibpath_var=BEGINLIBPATH sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test yes = "$with_gnu_ld"; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec; then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' soname_spec='$libname$shared_ext.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=sco need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test yes = "$with_gnu_ld"; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test yes = "$GCC"; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec fi if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec fi # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH _LT_DECL([], [variables_saved_for_relink], [1], [Variables whose values should be saved in libtool wrapper scripts and restored at link time]) _LT_DECL([], [need_lib_prefix], [0], [Do we need the "lib" prefix for modules?]) _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) _LT_DECL([], [version_type], [0], [Library versioning type]) _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) _LT_DECL([], [shlibpath_overrides_runpath], [0], [Is shlibpath searched before the hard-coded library search path?]) _LT_DECL([], [libname_spec], [1], [Format of library name prefix]) _LT_DECL([], [library_names_spec], [1], [[List of archive names. First name is the real one, the rest are links. The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) _LT_DECL([], [install_override_mode], [1], [Permission mode override for installation of shared libraries]) _LT_DECL([], [postinstall_cmds], [2], [Command to use after installation of a shared archive]) _LT_DECL([], [postuninstall_cmds], [2], [Command to use after uninstallation of a shared archive]) _LT_DECL([], [finish_cmds], [2], [Commands used to finish a libtool library installation in a directory]) _LT_DECL([], [finish_eval], [1], [[As "finish_cmds", except a single script fragment to be evaled but not shown]]) _LT_DECL([], [hardcode_into_libs], [0], [Whether we should hardcode library paths into libraries]) _LT_DECL([], [sys_lib_search_path_spec], [2], [Compile-time system search path for libraries]) _LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2], [Detected run-time system search path for libraries]) _LT_DECL([], [configure_time_lt_sys_library_path], [2], [Explicit LT_SYS_LIBRARY_PATH set during ./configure time]) ])# _LT_SYS_DYNAMIC_LINKER # _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- # find a file program that can recognize shared library AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="m4_if([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$1"; then lt_cv_path_MAGIC_CMD=$ac_dir/"$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac]) MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi _LT_DECL([], [MAGIC_CMD], [0], [Used to examine libraries when file_magic_cmd begins with "file"])dnl ])# _LT_PATH_TOOL_PREFIX # Old name: AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) # _LT_PATH_MAGIC # -------------- # find a file program that can recognize a shared library m4_defun([_LT_PATH_MAGIC], [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# _LT_PATH_MAGIC # LT_PATH_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PROG_ECHO_BACKSLASH])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test no = "$withval" || with_gnu_ld=yes], [with_gnu_ld=no])dnl ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD=$ac_prog ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test yes = "$with_gnu_ld"; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD=$ac_dir/$ac_prog # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd], [if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: fi]) rm -f conftest.i conftest2.i conftest.out]) ])# _LT_PATH_DD # _LT_CMD_TRUNCATE # ---------------- # find command to truncate a binary pipe m4_defun([_LT_CMD_TRUNCATE], [m4_require([_LT_PATH_DD]) AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin], [printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" fi rm -f conftest.i conftest2.i conftest.out test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"]) _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1], [Command to truncate a binary pipe]) ])# _LT_CMD_TRUNCATE # _LT_CHECK_MAGIC_METHOD # ---------------------- # how to check for library dependencies # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_MAGIC_METHOD], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) AC_CACHE_CHECK([how to recognize dependent libraries], lt_cv_deplibs_check_method, [lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # 'unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # that responds to the $file_magic_cmd with a given extended regex. # If you have 'file' or equivalent on your system and you're not sure # whether 'pass_all' will *always* work, you probably want this one. case $host_os in aix[[4-9]]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[[45]]*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. if ( file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[[3-9]]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd* | bitrig*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; os2*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown _LT_DECL([], [deplibs_check_method], [1], [Method to check whether dependent libraries are shared objects]) _LT_DECL([], [file_magic_cmd], [1], [Command to use when deplibs_check_method = "file_magic"]) _LT_DECL([], [file_magic_glob], [1], [How to find potential files when deplibs_check_method = "file_magic"]) _LT_DECL([], [want_nocaseglob], [1], [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) ])# _LT_CHECK_MAGIC_METHOD # LT_PATH_NM # ---------- # find the pathname to a BSD- or MS-compatible name lister AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM=$NM else lt_nm_to_check=${ac_tool_prefix}nm if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/$lt_tmp_nm if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then # Check to see if the nm accepts a BSD-compat flag. # Adding the 'sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in mingw*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS=$lt_save_ifs done : ${lt_cv_path_NM=no} fi]) if test no != "$lt_cv_path_NM"; then NM=$lt_cv_path_NM else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) DUMPBIN=: ;; esac fi AC_SUBST([DUMPBIN]) if test : != "$DUMPBIN"; then NM=$DUMPBIN fi fi test -z "$NM" && NM=nm AC_SUBST([NM]) _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], [lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) cat conftest.out >&AS_MESSAGE_LOG_FD if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest*]) ])# LT_PATH_NM # Old names: AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_PROG_NM], []) dnl AC_DEFUN([AC_PROG_NM], []) # _LT_CHECK_SHAREDLIB_FROM_LINKLIB # -------------------------------- # how to determine the name of the shared library # associated with a specific link library. # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) m4_require([_LT_DECL_DLLTOOL]) AC_CACHE_CHECK([how to associate runtime and link libraries], lt_cv_sharedlib_from_linklib_cmd, [lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh; # decide which one to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd=$ECHO ;; esac ]) sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO _LT_DECL([], [sharedlib_from_linklib_cmd], [1], [Command to associate shared and link libraries]) ])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB # _LT_PATH_MANIFEST_TOOL # ---------------------- # locate the manifest tool m4_defun([_LT_PATH_MANIFEST_TOOL], [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], [lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&AS_MESSAGE_LOG_FD if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest*]) if test yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl ])# _LT_PATH_MANIFEST_TOOL # _LT_DLL_DEF_P([FILE]) # --------------------- # True iff FILE is a Windows DLL '.def' file. # Keep in sync with func_dll_def_p in the libtool script AC_DEFUN([_LT_DLL_DEF_P], [dnl test DEF = "`$SED -n dnl -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl -e q dnl Only consider the first "real" line $1`" dnl ])# _LT_DLL_DEF_P # LT_LIB_M # -------- # check for math library AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw) AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM=-lm) ;; esac AC_SUBST([LIBM]) ])# LT_LIB_M # Old name: AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_CHECK_LIBM], []) # _LT_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------- m4_defun([_LT_COMPILER_NO_RTTI], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test yes = "$GCC"; then case $cc_basename in nvcc*) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; *) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; esac _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], [Compiler flag to turn off builtin functions]) ])# _LT_COMPILER_NO_RTTI # _LT_CMD_GLOBAL_SYMBOLS # ---------------------- m4_defun([_LT_CMD_GLOBAL_SYMBOLS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_TAG_COMPILER])dnl # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[[ABCDGISTW]]' ;; hpux*) if test ia64 = "$host_cpu"; then symcode='[[ABCDEGRST]]' fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" lt_c_name_lib_hook="\ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" else # Disable hooks by default. lt_cv_sys_global_symbol_to_import= lt_cdecl_hook= lt_c_name_hook= lt_c_name_lib_hook= fi # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function, # D for any global variable and I for any imported variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx]" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT@&t@_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT@&t@_DLSYM_CONST #else # define LT@&t@_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT@&t@_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[[]] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS=conftstm.$ac_objext CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test yes = "$pipe_works"; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then nm_file_list_spec='@' fi _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], [Transform the output of nm in a proper C declaration]) _LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1], [Transform the output of nm into a list of symbols to manually relocate]) _LT_DECL([global_symbol_to_c_name_address], [lt_cv_sys_global_symbol_to_c_name_address], [1], [Transform the output of nm in a C name address pair]) _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) _LT_DECL([nm_interface], [lt_cv_nm_interface], [1], [The name lister interface]) _LT_DECL([], [nm_file_list_spec], [1], [Specify filename containing input files for $NM]) ]) # _LT_CMD_GLOBAL_SYMBOLS # _LT_COMPILER_PIC([TAGNAME]) # --------------------------- m4_defun([_LT_COMPILER_PIC], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_wl, $1)= _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test yes = "$GXX"; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix[[4-9]]*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; dgux*) case $cc_basename in ec++*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' if test ia64 != "$host_cpu"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in KCC*) # KAI C++ Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; ecpc* ) # old Intel C++ for x86_64, which still supported -KPIC. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; icpc* ) # Intel C++, used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC* | pgcpp*) # Portland Group C++ compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL 8.0, 9.0 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; vxworks*) ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test yes = "$GCC"; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' case $cc_basename in nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; hpux9* | hpux10* | hpux11*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in # old Intel for x86_64, which still supported -KPIC. ecc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # Lahey Fortran 8.1. lf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; tcc*) # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; *Sun\ F* | *Sun*Fortran*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; *Intel*\ [[CF]]*Compiler*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; *Portland\ Group*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; esac ;; newsos6) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; rdos*) _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) case $host_os in # For platforms that do not support PIC, -DPIC is meaningless: *djgpp*) _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac AC_CACHE_CHECK([for $compiler option to produce PIC], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], [Additional compiler flags for building library objects]) _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], [How to pass a linker flag through the compiler]) # # Check to make sure the static flag actually works. # wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], [Compiler flag to prevent dynamic linking]) ])# _LT_COMPILER_PIC # _LT_LINKER_SHLIBS([TAGNAME]) # ---------------------------- # See if the linker supports building shared libraries. m4_defun([_LT_LINKER_SHLIBS], [AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds ;; cygwin* | mingw* | cegcc*) case $cc_basename in cl*) _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] ;; esac ;; linux* | k*bsd*-gnu | gnu*) _LT_TAGVAR(link_all_deplibs, $1)=no ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_cmds, $1)= _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(old_archive_from_new_cmds, $1)= _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_TAGVAR(thread_safe_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ' (' and ')$', so one must not match beginning or # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', # as well as any symbol that contains 'd'. _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. dnl Note also adjust exclude_expsyms for C++ above. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd* | bitrig*) with_gnu_ld=no ;; linux* | k*bsd*-gnu | gnu*) _LT_TAGVAR(link_all_deplibs, $1)=no ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test yes = "$with_gnu_ld"; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test yes = "$lt_use_gnu_ld_interface"; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='$wl' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[[3-9]]*) # On AIX/PPC, the GNU linker is very broken if test ia64 != "$host_cpu"; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test linux-dietlibc = "$host_os"; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test no = "$tmp_diet" then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; nagfor*) # NAGFOR 5.3 tmp_sharedflag='-Wl,-shared' ;; xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi case $cc_basename in tcc*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then runpath_var= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_TAGVAR(hardcode_minus_L, $1)=yes if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix[[4-9]]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then aix_use_runtimelinking=yes break fi done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # traditional, no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GCC"; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag="$shared_flag "'$wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; bsdi[[45]]*) _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' ;; hpux10*) if test yes,no = "$GCC,$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test yes,no = "$GCC,$with_gnu_ld"; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) m4_if($1, [], [ # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) _LT_LINKER_OPTION([if $CC understands -b], _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) ;; esac fi if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], [lt_cv_irix_exported_symbol], [save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" AC_LINK_IFELSE( [AC_LANG_SOURCE( [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], [C++], [[int foo (void) { return 0; }]], [Fortran 77], [[ subroutine foo end]], [Fortran], [[ subroutine foo end]])])], [lt_cv_irix_exported_symbol=yes], [lt_cv_irix_exported_symbol=no]) LDFLAGS=$save_LDFLAGS]) if test yes = "$lt_cv_irix_exported_symbol"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' fi _LT_TAGVAR(link_all_deplibs, $1)=no else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes _LT_TAGVAR(link_all_deplibs, $1)=yes ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(ld_shlibs, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *nto* | *qnx*) ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' fi else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; osf3*) if test yes = "$GCC"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test yes = "$GCC"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test yes = "$GCC"; then wlarc='$wl' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='$wl' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. GCC discards it without '$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test yes = "$GCC"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' else _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test sequent = "$host_vendor"; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(ld_shlibs, $1)=no ;; esac if test sni = "$host_vendor"; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym' ;; esac fi fi ]) AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl _LT_DECL([], [extract_expsyms_cmds], [2], [The commands to extract the exported symbol list from a shared archive]) # # Do we need to explicitly link libc? # case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_TAGVAR(archive_cmds_need_lc, $1)=yes if test yes,yes = "$GCC,$enable_shared"; then case $_LT_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_CACHE_CHECK([whether -lc should be explicitly linked in], [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), [$RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) _LT_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) then lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no else lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* ]) _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) ;; esac fi ;; esac _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], [Whether or not to add -lc for building shared libraries]) _LT_TAGDECL([allow_libtool_libs_with_static_runtimes], [enable_shared_with_static_runtimes], [0], [Whether or not to disallow shared libs when runtime libs are static]) _LT_TAGDECL([], [export_dynamic_flag_spec], [1], [Compiler flag to allow reflexive dlopens]) _LT_TAGDECL([], [whole_archive_flag_spec], [1], [Compiler flag to generate shared objects directly from archives]) _LT_TAGDECL([], [compiler_needs_object], [1], [Whether the compiler copes with passing no objects directly]) _LT_TAGDECL([], [old_archive_from_new_cmds], [2], [Create an old-style archive from a shared archive]) _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], [Create a temporary old-style archive to link instead of a shared archive]) _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) _LT_TAGDECL([], [archive_expsym_cmds], [2]) _LT_TAGDECL([], [module_cmds], [2], [Commands used to build a loadable module if different from building a shared archive.]) _LT_TAGDECL([], [module_expsym_cmds], [2]) _LT_TAGDECL([], [with_gnu_ld], [1], [Whether we are building with GNU ld or not]) _LT_TAGDECL([], [allow_undefined_flag], [1], [Flag that allows shared libraries with undefined symbols to be built]) _LT_TAGDECL([], [no_undefined_flag], [1], [Flag that enforces no undefined symbols]) _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], [Flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]) _LT_TAGDECL([], [hardcode_libdir_separator], [1], [Whether we need a single "-rpath" flag with a separated argument]) _LT_TAGDECL([], [hardcode_direct], [0], [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_direct_absolute], [0], [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes DIR into the resulting binary and the resulting library dependency is "absolute", i.e impossible to change by setting $shlibpath_var if the library is relocated]) _LT_TAGDECL([], [hardcode_minus_L], [0], [Set to "yes" if using the -LDIR flag during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_shlibpath_var], [0], [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_automatic], [0], [Set to "yes" if building a shared library automatically hardcodes DIR into the library and all subsequent libraries and executables linked against it]) _LT_TAGDECL([], [inherit_rpath], [0], [Set to yes if linker adds runtime paths of dependent libraries to runtime path list]) _LT_TAGDECL([], [link_all_deplibs], [0], [Whether libtool must link a program against all its dependency libraries]) _LT_TAGDECL([], [always_export_symbols], [0], [Set to "yes" if exported symbols are required]) _LT_TAGDECL([], [export_symbols_cmds], [2], [The commands to list exported symbols]) _LT_TAGDECL([], [exclude_expsyms], [1], [Symbols that should not be listed in the preloaded symbols]) _LT_TAGDECL([], [include_expsyms], [1], [Symbols that must always be exported]) _LT_TAGDECL([], [prelink_cmds], [2], [Commands necessary for linking programs (against libraries) with templates]) _LT_TAGDECL([], [postlink_cmds], [2], [Commands necessary for finishing linking programs]) _LT_TAGDECL([], [file_list_spec], [1], [Specify filename containing input files]) dnl FIXME: Not yet implemented dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], dnl [Compiler flag to generate thread safe objects]) ])# _LT_LINKER_SHLIBS # _LT_LANG_C_CONFIG([TAG]) # ------------------------ # Ensure that the configuration variables for a C compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to 'libtool'. m4_defun([_LT_LANG_C_CONFIG], [m4_require([_LT_DECL_EGREP])dnl lt_save_CC=$CC AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' _LT_TAG_COMPILER # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) LT_SYS_DLOPEN_SELF _LT_CMD_STRIPLIB # Report what library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_CONFIG($1) fi AC_LANG_POP CC=$lt_save_CC ])# _LT_LANG_C_CONFIG # _LT_LANG_CXX_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a C++ compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to 'libtool'. m4_defun([_LT_LANG_CXX_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl if test -n "$CXX" && ( test no != "$CXX" && ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || (test g++ != "$CXX"))); then AC_PROG_CXXCPP else _lt_caught_CXX_error=yes fi AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the CXX compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_caught_CXX_error"; then # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} CFLAGS=$CXXFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then # We don't want -fno-exception when compiling C++ code, so set the # no_builtin_flag separately if test yes = "$GXX"; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test yes = "$GXX"; then # Set up default GNU C++ configuration LT_PATH_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test yes = "$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='$wl' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aix[[4-9]]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GXX"; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag=$shared_flag' $wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. _LT_TAGVAR(always_export_symbols, $1)=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. # The "-G" linker flag allows undefined symbols. _LT_TAGVAR(no_undefined_flag, $1)='-bernotok' # Determine the default libpath from the value encoded in an empty # executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' fi fi ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32* | cegcc*) case $GXX,$cc_basename in ,cl* | no,cl*) # Native MSVC # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ func_to_tool_file "$lt_outputfile"~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # g++ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd2.*) # C++ shared libraries reported to be fairly broken before # switch to ELF _LT_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_TAGVAR(ld_shlibs, $1)=yes ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; hpux9*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then if test no = "$with_gnu_ld"; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test yes = "$GXX"; then if test no = "$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' fi fi _LT_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc* | ecpc* ) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' ;; pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 6 and above use weak symbols _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' ;; cxx*) # Compaq C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' ;; xl* | mpixl* | bgxl*) # IBM XL 8.0 on PPC, with GNU ld _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; *nto* | *qnx*) _LT_TAGVAR(ld_shlibs, $1)=yes ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' fi output_verbose_link_cmd=func_echo_all else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. case $host in osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; esac ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; cxx*) case $host in osf3*) _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' ;; *) _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ $RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' ;; esac _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes,no = "$GXX,$with_gnu_ld"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' case $host in osf3*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test yes,no = "$GXX,$with_gnu_ld"; then _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # g++ 2.7 appears to require '-G' NOT '-shared' on this # platform. _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ '"$_LT_TAGVAR(old_archive_cmds, $1)" _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ '"$_LT_TAGVAR(reload_cmds, $1)" ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no _LT_TAGVAR(GCC, $1)=$GXX _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld fi # test yes != "$_lt_caught_CXX_error" AC_LANG_POP ])# _LT_LANG_CXX_CONFIG # _LT_FUNC_STRIPNAME_CNF # ---------------------- # func_stripname_cnf prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # # This function is identical to the (non-XSI) version of func_stripname, # except this one can be used by m4 code that may be executed by configure, # rather than the libtool script. m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl AC_REQUIRE([_LT_DECL_SED]) AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) func_stripname_cnf () { case @S|@2 in .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;; *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;; esac } # func_stripname_cnf ])# _LT_FUNC_STRIPNAME_CNF # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) # --------------------------------- # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. m4_defun([_LT_SYS_HIDDEN_LIBDEPS], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl # Dependencies to place before and after the object being linked: _LT_TAGVAR(predep_objects, $1)= _LT_TAGVAR(postdep_objects, $1)= _LT_TAGVAR(predeps, $1)= _LT_TAGVAR(postdeps, $1)= _LT_TAGVAR(compiler_lib_search_path, $1)= dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF int a; void foo (void) { a = 0; } _LT_EOF ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF class Foo { public: Foo (void) { a = 0; } private: int a; }; _LT_EOF ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer*4 a a=0 return end _LT_EOF ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer a a=0 return end _LT_EOF ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF public class foo { private int a; public void bar (void) { a = 0; } }; _LT_EOF ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF package foo func foo() { } _LT_EOF ]) _lt_libdeps_save_CFLAGS=$CFLAGS case "$CC $CFLAGS " in #( *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; esac dnl Parse the compiler output and extract the necessary dnl objects, libraries and library flags. if AC_TRY_EVAL(ac_compile); then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do case $prev$p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test x-L = "$p" || test x-R = "$p"; then prev=$p continue fi # Expand the sysroot to ease extracting the directories later. if test -z "$prev"; then case $p in -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; esac fi case $p in =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; esac if test no = "$pre_test_object_deps_done"; then case $prev in -L | -R) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p else _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$_LT_TAGVAR(postdeps, $1)"; then _LT_TAGVAR(postdeps, $1)=$prev$p else _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p" fi fi prev= ;; *.lto.$objext) ;; # Ignore GCC LTO objects *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test no = "$pre_test_object_deps_done"; then if test -z "$_LT_TAGVAR(predep_objects, $1)"; then _LT_TAGVAR(predep_objects, $1)=$p else _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" fi else if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then _LT_TAGVAR(postdep_objects, $1)=$p else _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling $1 test program" fi $RM -f confest.$objext CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], [case $host_os in interix[[3-9]]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. _LT_TAGVAR(predep_objects,$1)= _LT_TAGVAR(postdep_objects,$1)= _LT_TAGVAR(postdeps,$1)= ;; esac ]) case " $_LT_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac _LT_TAGVAR(compiler_lib_search_dirs, $1)= if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'` fi _LT_TAGDECL([], [compiler_lib_search_dirs], [1], [The directories searched by this compiler when creating a shared library]) _LT_TAGDECL([], [predep_objects], [1], [Dependencies to place before and after the objects being linked to create a shared library]) _LT_TAGDECL([], [postdep_objects], [1]) _LT_TAGDECL([], [predeps], [1]) _LT_TAGDECL([], [postdeps], [1]) _LT_TAGDECL([], [compiler_lib_search_path], [1], [The library search path used internally by the compiler when linking a shared library]) ])# _LT_SYS_HIDDEN_LIBDEPS # _LT_LANG_F77_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a Fortran 77 compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_F77_CONFIG], [AC_LANG_PUSH(Fortran 77) if test -z "$F77" || test no = "$F77"; then _lt_disable_F77=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the F77 compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_disable_F77"; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${F77-"f77"} CFLAGS=$FFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) GCC=$G77 if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)=$G77 _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test yes != "$_lt_disable_F77" AC_LANG_POP ])# _LT_LANG_F77_CONFIG # _LT_LANG_FC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for a Fortran compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_FC_CONFIG], [AC_LANG_PUSH(Fortran) if test -z "$FC" || test no = "$FC"; then _lt_disable_FC=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for fc test sources. ac_ext=${ac_fc_srcext-f} # Object file extension for compiled fc test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the FC compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_disable_FC"; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${FC-"f95"} CFLAGS=$FCFLAGS compiler=$CC GCC=$ac_cv_fc_compiler_gnu _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test yes != "$_lt_disable_FC" AC_LANG_POP ])# _LT_LANG_FC_CONFIG # _LT_LANG_GCJ_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Java Compiler compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_GCJ_CONFIG], [AC_REQUIRE([LT_PROG_GCJ])dnl AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GCJ-"gcj"} CFLAGS=$GCJFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)=$LD _LT_CC_BASENAME([$compiler]) # GCJ did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GCJ_CONFIG # _LT_LANG_GO_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Go compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_GO_CONFIG], [AC_REQUIRE([LT_PROG_GO])dnl AC_LANG_SAVE # Source file extension for Go test sources. ac_ext=go # Object file extension for compiled Go test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="package main; func main() { }" # Code to be used in simple link tests lt_simple_link_test_code='package main; func main() { }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GOC-"gccgo"} CFLAGS=$GOFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)=$LD _LT_CC_BASENAME([$compiler]) # Go did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GO_CONFIG # _LT_LANG_RC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for the Windows resource compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_RC_CONFIG], [AC_REQUIRE([LT_PROG_RC])dnl AC_LANG_SAVE # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code=$lt_simple_compile_test_code # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC= CC=${RC-"windres"} CFLAGS= compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes if test -n "$compiler"; then : _LT_CONFIG($1) fi GCC=$lt_save_GCC AC_LANG_RESTORE CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_RC_CONFIG # LT_PROG_GCJ # ----------- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj,) test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])[]dnl ]) # Old name: AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_GCJ], []) # LT_PROG_GO # ---------- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) ]) # LT_PROG_RC # ---------- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ]) # Old name: AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_RC], []) # _LT_DECL_EGREP # -------------- # If we don't have a new enough Autoconf to choose the best grep # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_EGREP], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_REQUIRE([AC_PROG_FGREP])dnl test -z "$GREP" && GREP=grep _LT_DECL([], [GREP], [1], [A grep program that handles long lines]) _LT_DECL([], [EGREP], [1], [An ERE matcher]) _LT_DECL([], [FGREP], [1], [A literal string matcher]) dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too AC_SUBST([GREP]) ]) # _LT_DECL_OBJDUMP # -------------- # If we don't have a new enough Autoconf to choose the best objdump # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_OBJDUMP], [AC_CHECK_TOOL(OBJDUMP, objdump, false) test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) AC_SUBST([OBJDUMP]) ]) # _LT_DECL_DLLTOOL # ---------------- # Ensure DLLTOOL variable is set. m4_defun([_LT_DECL_DLLTOOL], [AC_CHECK_TOOL(DLLTOOL, dlltool, false) test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program]) AC_SUBST([DLLTOOL]) ]) # _LT_DECL_SED # ------------ # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. m4_defun([_LT_DECL_SED], [AC_PROG_SED test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], [Sed that helps us avoid accidentally triggering echo(1) options like -n]) ])# _LT_DECL_SED m4_ifndef([AC_PROG_SED], [ ############################################################ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # ############################################################ m4_defun([AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f "$lt_ac_sed" && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test 10 -lt "$lt_ac_count" && break lt_ac_count=`expr $lt_ac_count + 1` if test "$lt_ac_count" -gt "$lt_ac_max"; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ])#AC_PROG_SED ])#m4_ifndef # Old name: AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_SED], []) # _LT_CHECK_SHELL_FEATURES # ------------------------ # Find out whether the shell is Bourne or XSI compatible, # or has some other useful features. m4_defun([_LT_CHECK_SHELL_FEATURES], [if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl ])# _LT_CHECK_SHELL_FEATURES # _LT_PATH_CONVERSION_FUNCTIONS # ----------------------------- # Determine what file name conversion functions should be used by # func_to_host_file (and, implicitly, by func_to_host_path). These are needed # for certain cross-compile configurations and native mingw. m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_MSG_CHECKING([how to convert $build file names to $host format]) AC_CACHE_VAL(lt_cv_to_host_file_cmd, [case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac ]) to_host_file_cmd=$lt_cv_to_host_file_cmd AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) _LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], [0], [convert $build file names to $host format])dnl AC_MSG_CHECKING([how to convert $build file names to toolchain format]) AC_CACHE_VAL(lt_cv_to_tool_file_cmd, [#assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac ]) to_tool_file_cmd=$lt_cv_to_tool_file_cmd AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], [0], [convert $build files to toolchain format])dnl ])# _LT_PATH_CONVERSION_FUNCTIONS vorbis-tools-1.4.2/m4/intldir.m40000644000175000017500000000161613767140576013354 00000000000000# intldir.m4 serial 1 (gettext-0.16) dnl Copyright (C) 2006 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. AC_PREREQ(2.52) dnl Tells the AM_GNU_GETTEXT macro to consider an intl/ directory. AC_DEFUN([AM_GNU_GETTEXT_INTL_SUBDIR], []) vorbis-tools-1.4.2/m4/printf-posix.m40000644000175000017500000000271113767140576014346 00000000000000# printf-posix.m4 serial 3 (gettext-0.17) dnl Copyright (C) 2003, 2007 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 Test whether the printf() function supports POSIX/XSI format strings with dnl positions. AC_DEFUN([gt_PRINTF_POSIX], [ AC_REQUIRE([AC_PROG_CC]) AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings], gt_cv_func_printf_posix, [ AC_TRY_RUN([ #include #include /* The string "%2$d %1$d", with dollar characters protected from the shell's dollar expansion (possibly an autoconf bug). */ static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; static char buf[100]; int main () { sprintf (buf, format, 33, 55); return (strcmp (buf, "55 33") != 0); }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no, [ AC_EGREP_CPP(notposix, [ #if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ notposix #endif ], gt_cv_func_printf_posix="guessing no", gt_cv_func_printf_posix="guessing yes") ]) ]) case $gt_cv_func_printf_posix in *yes) AC_DEFINE(HAVE_POSIX_PRINTF, 1, [Define if your printf() function supports format strings with positions.]) ;; esac ]) vorbis-tools-1.4.2/m4/ltsugar.m40000644000175000017500000001044012756047127013356 00000000000000# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software # Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 6 ltsugar.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) # lt_join(SEP, ARG1, [ARG2...]) # ----------------------------- # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their # associated separator. # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier # versions in m4sugar had bugs. m4_define([lt_join], [m4_if([$#], [1], [], [$#], [2], [[$2]], [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) m4_define([_lt_join], [m4_if([$#$2], [2], [], [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) # lt_car(LIST) # lt_cdr(LIST) # ------------ # Manipulate m4 lists. # These macros are necessary as long as will still need to support # Autoconf-2.59, which quotes differently. m4_define([lt_car], [[$1]]) m4_define([lt_cdr], [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], [$#], 1, [], [m4_dquote(m4_shift($@))])]) m4_define([lt_unquote], $1) # lt_append(MACRO-NAME, STRING, [SEPARATOR]) # ------------------------------------------ # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. # Note that neither SEPARATOR nor STRING are expanded; they are appended # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). # No SEPARATOR is output if MACRO-NAME was previously undefined (different # than defined and empty). # # This macro is needed until we can rely on Autoconf 2.62, since earlier # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. m4_define([lt_append], [m4_define([$1], m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) # ---------------------------------------------------------- # Produce a SEP delimited list of all paired combinations of elements of # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # has the form PREFIXmINFIXSUFFIXn. # Needed until we can rely on m4_combine added in Autoconf 2.62. m4_define([lt_combine], [m4_if(m4_eval([$# > 3]), [1], [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl [[m4_foreach([_Lt_prefix], [$2], [m4_foreach([_Lt_suffix], ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) # ----------------------------------------------------------------------- # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. m4_define([lt_if_append_uniq], [m4_ifdef([$1], [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], [lt_append([$1], [$2], [$3])$4], [$5])], [lt_append([$1], [$2], [$3])$4])]) # lt_dict_add(DICT, KEY, VALUE) # ----------------------------- m4_define([lt_dict_add], [m4_define([$1($2)], [$3])]) # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) # -------------------------------------------- m4_define([lt_dict_add_subkey], [m4_define([$1($2:$3)], [$4])]) # lt_dict_fetch(DICT, KEY, [SUBKEY]) # ---------------------------------- m4_define([lt_dict_fetch], [m4_ifval([$3], m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) # ----------------------------------------------------------------- m4_define([lt_if_dict_fetch], [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], [$5], [$6])]) # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) # -------------------------------------------------------------- m4_define([lt_dict_filter], [m4_if([$5], [], [], [lt_join(m4_quote(m4_default([$4], [[, ]])), lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl ]) vorbis-tools-1.4.2/m4/nls.m40000644000175000017500000000226613767140576012505 00000000000000# nls.m4 serial 3 (gettext-0.15) dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ(2.50) 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) ]) vorbis-tools-1.4.2/m4/Makefile.in0000644000175000017500000003623414002242752013474 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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 = m4 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \ $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intl.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/size_max.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ $(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.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_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in ChangeLog DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AO_CFLAGS = @AO_CFLAGS@ AO_LIBS = @AO_LIBS@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURL_CFLAGS = @CURL_CFLAGS@ CURL_LIBS = @CURL_LIBS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG = @DEBUG@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLAC_LIBS = @FLAC_LIBS@ GENCAT = @GENCAT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIBC2 = @GLIBC2@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WPRINTF = @HAVE_WPRINTF@ I18N_CFLAGS = @I18N_CFLAGS@ I18N_LIBS = @I18N_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KATE_CFLAGS = @KATE_CFLAGS@ KATE_LIBS = @KATE_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBPTH = @LIBPTH@ LIBPTH_PREFIX = @LIBPTH_PREFIX@ LIBS = @LIBS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBC = @LTLIBC@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBPTH = @LTLIBPTH@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ OPT_SUBDIRS = @OPT_SUBDIRS@ OPUSFILE_CFLAGS = @OPUSFILE_CFLAGS@ OPUSFILE_LIBS = @OPUSFILE_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POSUB = @POSUB@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PROFILE = @PROFILE@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHARE_CFLAGS = @SHARE_CFLAGS@ SHARE_LIBS = @SHARE_LIBS@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ SPEEX_LIBS = @SPEEX_LIBS@ STRIP = @STRIP@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISENC_LIBS = @VORBISENC_LIBS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ WINDRES = @WINDRES@ WOE32 = @WOE32@ WOE32DLL = @WOE32DLL@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ 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@ EXTRA_DIST = intlmacosx.m4 intl.m4 intldir.m4 inttypes-h.m4 lock.m4 visibility.m4 \ codeset.m4 \ gettext.m4 \ glibc21.m4 \ glibc2.m4 \ iconv.m4 \ intdiv0.m4 \ intmax.m4 \ inttypes_h.m4 \ inttypes.m4 \ inttypes-pri.m4 \ isc-posix.m4 \ lcmessage.m4 \ lib-ld.m4 \ lib-link.m4 \ lib-prefix.m4 \ longdouble.m4 \ longlong.m4 \ nls.m4 \ po.m4 \ printf-posix.m4 \ progtest.m4 \ signed.m4 \ size_max.m4 \ stdint_h.m4 \ uintmax_t.m4 \ ulonglong.m4 \ wchar_t.m4 \ wint_t.m4 \ xsize.m4 all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu m4/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile # 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: vorbis-tools-1.4.2/m4/wint_t.m40000644000175000017500000000170713767140576013214 00000000000000# wint_t.m4 serial 2 (gettext-0.17) dnl Copyright (C) 2003, 2007 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 Test whether has the 'wint_t' type. dnl Prerequisite: AC_PROG_CC AC_DEFUN([gt_TYPE_WINT_T], [ AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t, [AC_TRY_COMPILE([ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include wint_t foo = (wchar_t)'\0';], , gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)]) if test $gt_cv_c_wint_t = yes; then AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.]) fi ]) vorbis-tools-1.4.2/m4/signed.m40000644000175000017500000000115413767140576013155 00000000000000# signed.m4 serial 1 (gettext-0.10.40) dnl Copyright (C) 2001-2002 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([bh_C_SIGNED], [ AC_CACHE_CHECK([for signed], bh_cv_c_signed, [AC_TRY_COMPILE(, [signed char x;], bh_cv_c_signed=yes, bh_cv_c_signed=no)]) if test $bh_cv_c_signed = no; then AC_DEFINE(signed, , [Define to empty if the C compiler doesn't support this keyword.]) fi ]) vorbis-tools-1.4.2/m4/lib-link.m40000644000175000017500000007205513767140576013415 00000000000000# lib-link.m4 serial 13 (gettext-0.17) dnl Copyright (C) 2001-2007 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]) define([Name],[translit([$1],[./-], [___])]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ac_cv_lib[]Name[]_libs="$LIB[]NAME" ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" ]) LIB[]NAME="$ac_cv_lib[]Name[]_libs" LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" INC[]NAME="$ac_cv_lib[]Name[]_cppflags" LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the dnl results of this search when this library appears as a dependency. HAVE_LIB[]NAME=yes undefine([Name]) undefine([NAME]) ]) dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) 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. If found, it dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and dnl 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]) define([Name],[translit([$1],[./-], [___])]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME dnl accordingly. AC_LIB_LINKFLAGS_BODY([$1], [$2]) dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, dnl because if the user has installed lib[]Name and not disabled its use dnl via --without-lib[]Name-prefix, he wants to use it. ac_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ac_save_LIBS="$LIBS" LIBS="$LIBS $LIB[]NAME" AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) 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 $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]) undefine([Name]) undefine([NAME]) ]) dnl Determine the platform dependent parameters needed to use rpath: dnl acl_libext, dnl acl_shlibext, dnl acl_hardcode_libdir_flag_spec, dnl acl_hardcode_libdir_separator, dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ dnl Tell automake >= 1.10 to complain if config.rpath is missing. m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ]) wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], :, enable_rpath=yes) ]) dnl AC_LIB_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]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl Autoconf >= 2.61 supports dots in --with options. define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])]) 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]N_A_M_E[-prefix], [ --with-lib]N_A_M_E[-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib --without-lib]N_A_M_E[-prefix don't search for lib$1 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 ]) 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= 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"; 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/"'*$,,'` LIB[]NAME[]_PREFIX="$basedir" 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"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; 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 ]) 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"; 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"; 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]) ]) vorbis-tools-1.4.2/m4/lt~obsolete.m40000644000175000017500000001377412756047127014264 00000000000000# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software # Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 5 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), # which have later been changed to m4_define as they aren't part of the # exported API, or moved to Autoconf or Automake where they belong. # # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us # using a macro with the same name in our local m4/libtool.m4 it'll # pull the old libtool.m4 in (it doesn't see our shiny new m4_define # and doesn't know about Autoconf macros at all.) # # So we provide this file, which has a silly filename so it's always # included after everything else. This provides aclocal with the # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything # because those macros already exist, or will be overwritten later. # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. # # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. # Yes, that means every name once taken will need to remain here until # we give up compatibility with versions before 1.7, at which point # we need to keep only those names which we still refer to. # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) vorbis-tools-1.4.2/m4/size_max.m40000644000175000017500000000513313767140576013524 00000000000000# size_max.m4 serial 6 dnl Copyright (C) 2003, 2005-2006 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([gl_SIZE_MAX], [ AC_CHECK_HEADERS(stdint.h) dnl First test whether the system already has SIZE_MAX. AC_MSG_CHECKING([for SIZE_MAX]) AC_CACHE_VAL([gl_cv_size_max], [ gl_cv_size_max= AC_EGREP_CPP([Found it], [ #include #if HAVE_STDINT_H #include #endif #ifdef SIZE_MAX Found it #endif ], gl_cv_size_max=yes) if test -z "$gl_cv_size_max"; then dnl Define it ourselves. Here we assume that the type 'size_t' is not wider dnl than the type 'unsigned long'. Try hard to find a definition that can dnl be used in a preprocessor #if, i.e. doesn't contain a cast. AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], [#include #include ], size_t_bits_minus_1=) AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], [#include ], fits_in_uint=) if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then if test $fits_in_uint = 1; then dnl Even though SIZE_MAX fits in an unsigned int, it must be of type dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. AC_TRY_COMPILE([#include extern size_t foo; extern unsigned long foo; ], [], fits_in_uint=0) fi dnl We cannot use 'expr' to simplify this expression, because 'expr' dnl works only with 'long' integers in the host environment, while we dnl might be cross-compiling from a 32-bit platform to a 64-bit platform. if test $fits_in_uint = 1; then gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" else gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" fi else dnl Shouldn't happen, but who knows... gl_cv_size_max='((size_t)~(size_t)0)' fi fi ]) AC_MSG_RESULT([$gl_cv_size_max]) if test "$gl_cv_size_max" != yes; then AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], [Define as the maximum value of type 'size_t', if the system doesn't define it.]) fi ]) dnl Autoconf >= 2.61 has AC_COMPUTE_INT built-in. dnl Remove this when we can assume autoconf >= 2.61. m4_ifdef([AC_COMPUTE_INT], [], [ AC_DEFUN([AC_COMPUTE_INT], [_AC_COMPUTE_INT([$2],[$1],[$3],[$4])]) ]) vorbis-tools-1.4.2/m4/ltversion.m40000644000175000017500000000127312756047127013726 00000000000000# ltversion.m4 -- version numbers -*- Autoconf -*- # # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # @configure_input@ # serial 4179 ltversion.m4 # This file is part of GNU Libtool m4_define([LT_PACKAGE_VERSION], [2.4.6]) m4_define([LT_PACKAGE_REVISION], [2.4.6]) AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6' macro_revision='2.4.6' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) vorbis-tools-1.4.2/m4/codeset.m40000644000175000017500000000136613767140576013337 00000000000000# codeset.m4 serial 2 (gettext-0.16) dnl Copyright (C) 2000-2002, 2006 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_LANGINFO_CODESET], [ AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, [AC_TRY_LINK([#include ], [char* cs = nl_langinfo(CODESET); return !cs;], am_cv_langinfo_codeset=yes, am_cv_langinfo_codeset=no) ]) if test $am_cv_langinfo_codeset = yes; then AC_DEFINE(HAVE_LANGINFO_CODESET, 1, [Define if you have and nl_langinfo(CODESET).]) fi ]) vorbis-tools-1.4.2/m4/po.m40000644000175000017500000004460613767140576012333 00000000000000# po.m4 serial 15 (gettext-0.17) dnl Copyright (C) 1995-2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ(2.50) dnl Checks for all prerequisites of the po subdirectory. AC_DEFUN([AM_PO_SUBDIRS], [ AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake AC_REQUIRE([AM_NLS])dnl dnl Release version of the gettext macros. This is used to ensure that dnl the gettext macros and po/Makefile.in.in are in sync. AC_SUBST([GETTEXT_MACRO_VERSION], [0.17]) dnl Perform the following tests also if --disable-nls has been given, dnl because they are needed for "make dist" to work. dnl Search for GNU msgfmt in the PATH. dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. dnl The second test excludes FreeBSD msgfmt. AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) dnl Test whether it is GNU msgfmt >= 0.15. changequote(,)dnl case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac changequote([,])dnl AC_SUBST([MSGFMT_015]) changequote(,)dnl case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac changequote([,])dnl AC_SUBST([GMSGFMT_015]) dnl Search for GNU xgettext 0.12 or newer in the PATH. dnl The first test excludes Solaris xgettext and early GNU xgettext versions. dnl The second test excludes FreeBSD xgettext. AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) dnl Remove leftover from FreeBSD xgettext call. rm -f messages.po dnl Test whether it is GNU xgettext >= 0.15. changequote(,)dnl case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac changequote([,])dnl AC_SUBST([XGETTEXT_015]) dnl Search for GNU msgmerge 0.11 or newer in the PATH. AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) dnl Installation directories. dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we dnl have to define it here, so that it can be used in po/Makefile. test -n "$localedir" || localedir='${datadir}/locale' AC_SUBST([localedir]) dnl Support for AM_XGETTEXT_OPTION. test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) AC_CONFIG_COMMANDS([po-directories], [[ for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done]], [# Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" ]) ]) dnl Postprocesses a Makefile in a directory containing PO files. AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ # When this code is run, in config.status, two variables have already been # set: # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, # - LINGUAS is the value of the environment variable LINGUAS at configure # time. changequote(,)dnl # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Find a way to echo strings without interpreting backslash. if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then gt_echo='echo' else if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then gt_echo='printf %s\n' else echo_func () { cat < "$ac_file.tmp" if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` cat >> "$ac_file.tmp" < /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` cat >> "$ac_file.tmp" <> "$ac_file.tmp" <, 1995-2000. dnl Bruno Haible , 2000-2006. AC_PREREQ(2.52) dnl Checks for all prerequisites of the intl subdirectory, dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS, dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL. AC_DEFUN([AM_INTL_SUBDIR], [ AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([gt_GLIBC2])dnl AC_REQUIRE([AC_PROG_RANLIB])dnl AC_REQUIRE([gl_VISIBILITY])dnl AC_REQUIRE([gt_INTL_SUBDIR_CORE])dnl AC_REQUIRE([AC_TYPE_LONG_LONG_INT])dnl AC_REQUIRE([gt_TYPE_WCHAR_T])dnl AC_REQUIRE([gt_TYPE_WINT_T])dnl AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) AC_REQUIRE([gt_TYPE_INTMAX_T]) AC_REQUIRE([gt_PRINTF_POSIX]) AC_REQUIRE([gl_GLIBC21])dnl AC_REQUIRE([gl_XSIZE])dnl AC_REQUIRE([gt_INTL_MACOSX])dnl AC_CHECK_TYPE([ptrdiff_t], , [AC_DEFINE([ptrdiff_t], [long], [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) ]) AC_CHECK_HEADERS([stddef.h stdlib.h string.h]) AC_CHECK_FUNCS([asprintf fwprintf putenv setenv setlocale snprintf wcslen]) dnl Use the _snprintf function only if it is declared (because on NetBSD it dnl is defined as a weak alias of snprintf; we prefer to use the latter). gt_CHECK_DECL(_snprintf, [#include ]) gt_CHECK_DECL(_snwprintf, [#include ]) dnl Use the *_unlocked functions only if they are declared. dnl (because some of them were defined without being declared in Solaris dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built dnl on Solaris 2.5.1 to run on Solaris 2.6). dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13. gt_CHECK_DECL(getc_unlocked, [#include ]) case $gt_cv_func_printf_posix in *yes) HAVE_POSIX_PRINTF=1 ;; *) HAVE_POSIX_PRINTF=0 ;; esac AC_SUBST([HAVE_POSIX_PRINTF]) if test "$ac_cv_func_asprintf" = yes; then HAVE_ASPRINTF=1 else HAVE_ASPRINTF=0 fi AC_SUBST([HAVE_ASPRINTF]) if test "$ac_cv_func_snprintf" = yes; then HAVE_SNPRINTF=1 else HAVE_SNPRINTF=0 fi AC_SUBST([HAVE_SNPRINTF]) if test "$ac_cv_func_wprintf" = yes; then HAVE_WPRINTF=1 else HAVE_WPRINTF=0 fi AC_SUBST([HAVE_WPRINTF]) AM_LANGINFO_CODESET gt_LC_MESSAGES dnl Compilation on mingw and Cygwin needs special Makefile rules, because dnl 1. when we install a shared library, we must arrange to export dnl auxiliary pointer variables for every exported variable, dnl 2. when we install a shared library and a static library simultaneously, dnl the include file specifies __declspec(dllimport) and therefore we dnl must arrange to define the auxiliary pointer variables for the dnl exported variables _also_ in the static library. if test "$enable_shared" = yes; then case "$host_os" in mingw* | cygwin*) is_woe32dll=yes ;; *) is_woe32dll=no ;; esac else is_woe32dll=no fi WOE32DLL=$is_woe32dll AC_SUBST([WOE32DLL]) dnl On mingw and Cygwin, we can activate special Makefile rules which add dnl version information to the shared libraries and executables. case "$host_os" in mingw* | cygwin*) is_woe32=yes ;; *) is_woe32=no ;; esac WOE32=$is_woe32 AC_SUBST([WOE32]) if test $WOE32 = yes; then dnl Check for a program that compiles Windows resource files. AC_CHECK_TOOL([WINDRES], [windres]) fi dnl Determine whether when creating a library, "-lc" should be passed to dnl libtool or not. On many platforms, it is required for the libtool option dnl -no-undefined to work. On HP-UX, however, the -lc - stored by libtool dnl in the *.la files - makes it impossible to create multithreaded programs, dnl because libtool also reorders the -lc to come before the -pthread, and dnl this disables pthread_create() . case "$host_os" in hpux*) LTLIBC="" ;; *) LTLIBC="-lc" ;; esac AC_SUBST([LTLIBC]) dnl Rename some macros and functions used for locking. AH_BOTTOM([ #define __libc_lock_t gl_lock_t #define __libc_lock_define gl_lock_define #define __libc_lock_define_initialized gl_lock_define_initialized #define __libc_lock_init gl_lock_init #define __libc_lock_lock gl_lock_lock #define __libc_lock_unlock gl_lock_unlock #define __libc_lock_recursive_t gl_recursive_lock_t #define __libc_lock_define_recursive gl_recursive_lock_define #define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized #define __libc_lock_init_recursive gl_recursive_lock_init #define __libc_lock_lock_recursive gl_recursive_lock_lock #define __libc_lock_unlock_recursive gl_recursive_lock_unlock #define glthread_in_use libintl_thread_in_use #define glthread_lock_init libintl_lock_init #define glthread_lock_lock libintl_lock_lock #define glthread_lock_unlock libintl_lock_unlock #define glthread_lock_destroy libintl_lock_destroy #define glthread_rwlock_init libintl_rwlock_init #define glthread_rwlock_rdlock libintl_rwlock_rdlock #define glthread_rwlock_wrlock libintl_rwlock_wrlock #define glthread_rwlock_unlock libintl_rwlock_unlock #define glthread_rwlock_destroy libintl_rwlock_destroy #define glthread_recursive_lock_init libintl_recursive_lock_init #define glthread_recursive_lock_lock libintl_recursive_lock_lock #define glthread_recursive_lock_unlock libintl_recursive_lock_unlock #define glthread_recursive_lock_destroy libintl_recursive_lock_destroy #define glthread_once libintl_once #define glthread_once_call libintl_once_call #define glthread_once_singlethreaded libintl_once_singlethreaded ]) ]) dnl Checks for the core files of the intl subdirectory: dnl dcigettext.c dnl eval-plural.h dnl explodename.c dnl finddomain.c dnl gettextP.h dnl gmo.h dnl hash-string.h hash-string.c dnl l10nflist.c dnl libgnuintl.h.in (except the *printf stuff) dnl loadinfo.h dnl loadmsgcat.c dnl localealias.c dnl log.c dnl plural-exp.h plural-exp.c dnl plural.y dnl Used by libglocale. AC_DEFUN([gt_INTL_SUBDIR_CORE], [ AC_REQUIRE([AC_C_INLINE])dnl AC_REQUIRE([AC_TYPE_SIZE_T])dnl AC_REQUIRE([gl_AC_HEADER_STDINT_H]) AC_REQUIRE([AC_FUNC_ALLOCA])dnl AC_REQUIRE([AC_FUNC_MMAP])dnl AC_REQUIRE([gt_INTDIV0])dnl AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl AC_REQUIRE([gt_INTTYPES_PRI])dnl AC_REQUIRE([gl_LOCK])dnl AC_TRY_LINK( [int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }], [], [AC_DEFINE([HAVE_BUILTIN_EXPECT], 1, [Define to 1 if the compiler understands __builtin_expect.])]) AC_CHECK_HEADERS([argz.h inttypes.h limits.h unistd.h sys/param.h]) AC_CHECK_FUNCS([getcwd getegid geteuid getgid getuid mempcpy munmap \ stpcpy strcasecmp strdup strtoul tsearch argz_count argz_stringify \ argz_next __fsetlocking]) dnl Use the *_unlocked functions only if they are declared. dnl (because some of them were defined without being declared in Solaris dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built dnl on Solaris 2.5.1 to run on Solaris 2.6). dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13. gt_CHECK_DECL(feof_unlocked, [#include ]) gt_CHECK_DECL(fgets_unlocked, [#include ]) AM_ICONV dnl glibc >= 2.4 has a NL_LOCALE_NAME macro when _GNU_SOURCE is defined, dnl and a _NL_LOCALE_NAME macro always. AC_CACHE_CHECK([for NL_LOCALE_NAME macro], gt_cv_nl_locale_name, [AC_TRY_LINK([#include #include ], [char* cs = nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES)); return !cs; ], gt_cv_nl_locale_name=yes, gt_cv_nl_locale_name=no) ]) if test $gt_cv_nl_locale_name = yes; then AC_DEFINE(HAVE_NL_LOCALE_NAME, 1, [Define if you have and it defines the NL_LOCALE_NAME macro if _GNU_SOURCE is defined.]) fi dnl intl/plural.c is generated from intl/plural.y. It requires bison, dnl because plural.y uses bison specific features. It requires at least dnl bison-1.26 because earlier versions generate a plural.c that doesn't dnl compile. dnl bison is only needed for the maintainer (who touches plural.y). But in dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put dnl the rule in general Makefile. Now, some people carelessly touch the dnl files or have a broken "make" program, hence the plural.c rule will dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not dnl present or too old. AC_CHECK_PROGS([INTLBISON], [bison]) if test -z "$INTLBISON"; then ac_verc_fail=yes else dnl Found it, now check the version. AC_MSG_CHECKING([version of bison]) changequote(<<,>>)dnl ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` case $ac_prog_version in '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) changequote([,])dnl ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; esac AC_MSG_RESULT([$ac_prog_version]) fi if test $ac_verc_fail = yes; then INTLBISON=: fi ]) dnl gt_CHECK_DECL(FUNC, INCLUDES) dnl Check whether a function is declared. AC_DEFUN([gt_CHECK_DECL], [ AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1, [AC_TRY_COMPILE([$2], [ #ifndef $1 char *p = (char *) $1; #endif ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)]) if test $ac_cv_have_decl_$1 = yes; then gt_value=1 else gt_value=0 fi AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value], [Define to 1 if you have the declaration of `$1', and to 0 if you don't.]) ]) vorbis-tools-1.4.2/m4/xsize.m40000644000175000017500000000064513767140576013052 00000000000000# xsize.m4 serial 3 dnl Copyright (C) 2003-2004 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. AC_DEFUN([gl_XSIZE], [ dnl Prerequisites of lib/xsize.h. AC_REQUIRE([gl_SIZE_MAX]) AC_REQUIRE([AC_C_INLINE]) AC_CHECK_HEADERS(stdint.h) ]) vorbis-tools-1.4.2/m4/uintmax_t.m40000644000175000017500000000211213767140576013707 00000000000000# uintmax_t.m4 serial 10 dnl Copyright (C) 1997-2004, 2007 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 Paul Eggert. AC_PREREQ(2.13) # Define uintmax_t to 'unsigned long' or 'unsigned long long' # if it is not already defined in or . AC_DEFUN([gl_AC_TYPE_UINTMAX_T], [ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) AC_REQUIRE([gl_AC_HEADER_STDINT_H]) if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) test $ac_cv_type_unsigned_long_long_int = yes \ && ac_type='unsigned long long' \ || ac_type='unsigned long' AC_DEFINE_UNQUOTED(uintmax_t, $ac_type, [Define to unsigned long or unsigned long long if and don't define.]) else AC_DEFINE(HAVE_UINTMAX_T, 1, [Define if you have the 'uintmax_t' type in or .]) fi ]) vorbis-tools-1.4.2/m4/longdouble.m40000644000175000017500000000227713767140576014045 00000000000000# longdouble.m4 serial 2 (gettext-0.15) dnl Copyright (C) 2002-2003, 2006 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 Test whether the compiler supports the 'long double' type. dnl Prerequisite: AC_PROG_CC dnl This file is only needed in autoconf <= 2.59. Newer versions of autoconf dnl have a macro AC_TYPE_LONG_DOUBLE with identical semantics. AC_DEFUN([gt_TYPE_LONGDOUBLE], [ AC_CACHE_CHECK([for long double], gt_cv_c_long_double, [if test "$GCC" = yes; then gt_cv_c_long_double=yes else AC_TRY_COMPILE([ /* The Stardent Vistra knows sizeof(long double), but does not support it. */ long double foo = 0.0; /* On Ultrix 4.3 cc, long double is 4 and double is 8. */ int array [2*(sizeof(long double) >= sizeof(double)) - 1]; ], , gt_cv_c_long_double=yes, gt_cv_c_long_double=no) fi]) if test $gt_cv_c_long_double = yes; then AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.]) fi ]) vorbis-tools-1.4.2/m4/intlmacosx.m40000644000175000017500000000456513767140576014076 00000000000000# intlmacosx.m4 serial 1 (gettext-0.17) dnl Copyright (C) 2004-2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Checks for special options needed on MacOS X. dnl Defines INTL_MACOSX_LIBS. AC_DEFUN([gt_INTL_MACOSX], [ dnl Check for API introduced in MacOS X 10.2. AC_CACHE_CHECK([for CFPreferencesCopyAppValue], gt_cv_func_CFPreferencesCopyAppValue, [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_TRY_LINK([#include ], [CFPreferencesCopyAppValue(NULL, NULL)], [gt_cv_func_CFPreferencesCopyAppValue=yes], [gt_cv_func_CFPreferencesCopyAppValue=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1, [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) fi dnl Check for API introduced in MacOS X 10.3. AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent, [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_TRY_LINK([#include ], [CFLocaleCopyCurrent();], [gt_cv_func_CFLocaleCopyCurrent=yes], [gt_cv_func_CFLocaleCopyCurrent=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFLocaleCopyCurrent = yes; then AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1, [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi AC_SUBST([INTL_MACOSX_LIBS]) ]) vorbis-tools-1.4.2/m4/progtest.m40000644000175000017500000000555013767140576013557 00000000000000# progtest.m4 serial 4 (gettext-0.14.2) dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1996. AC_PREREQ(2.50) # Search path for a program which passes the given test. dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN([AM_PATH_PROG_WITH_TEST], [ # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in [[\\/]]* | ?:[[\\/]]*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in ifelse([$5], , $PATH, [$5]); do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$]$1) else AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) vorbis-tools-1.4.2/m4/stdint_h.m40000644000175000017500000000161413767140576013521 00000000000000# stdint_h.m4 serial 6 dnl Copyright (C) 1997-2004, 2006 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 Paul Eggert. # Define HAVE_STDINT_H_WITH_UINTMAX if exists, # doesn't clash with , and declares uintmax_t. AC_DEFUN([gl_AC_HEADER_STDINT_H], [ AC_CACHE_CHECK([for stdint.h], gl_cv_header_stdint_h, [AC_TRY_COMPILE( [#include #include ], [uintmax_t i = (uintmax_t) -1; return !i;], gl_cv_header_stdint_h=yes, gl_cv_header_stdint_h=no)]) if test $gl_cv_header_stdint_h = yes; then AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1, [Define if exists, doesn't clash with , and declares uintmax_t. ]) fi ]) vorbis-tools-1.4.2/m4/glibc21.m40000644000175000017500000000144513767140576013132 00000000000000# glibc21.m4 serial 3 dnl Copyright (C) 2000-2002, 2004 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. # Test for the GNU C Library, version 2.1 or newer. # From Bruno Haible. AC_DEFUN([gl_GLIBC21], [ AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer, ac_cv_gnu_library_2_1, [AC_EGREP_CPP([Lucky GNU user], [ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) Lucky GNU user #endif #endif ], ac_cv_gnu_library_2_1=yes, ac_cv_gnu_library_2_1=no) ] ) AC_SUBST(GLIBC21) GLIBC21="$ac_cv_gnu_library_2_1" ] ) vorbis-tools-1.4.2/m4/ulonglong.m40000644000175000017500000000353213767140576013712 00000000000000# ulonglong.m4 serial 6 dnl Copyright (C) 1999-2006 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 Paul Eggert. # Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works. # This fixes a bug in Autoconf 2.60, but can be removed once we # assume 2.61 everywhere. # Note: If the type 'unsigned long long int' exists but is only 32 bits # large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT # will not be defined. In this case you can treat 'unsigned long long int' # like 'unsigned long int'. AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], [ AC_CACHE_CHECK([for unsigned long long int], [ac_cv_type_unsigned_long_long_int], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[unsigned long long int ull = 18446744073709551615ULL; typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1 ? 1 : -1)]; int i = 63;]], [[unsigned long long int ullmax = 18446744073709551615ull; return (ull << 63 | ull >> 63 | ull << i | ull >> i | ullmax / ull | ullmax % ull);]])], [ac_cv_type_unsigned_long_long_int=yes], [ac_cv_type_unsigned_long_long_int=no])]) if test $ac_cv_type_unsigned_long_long_int = yes; then AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], 1, [Define to 1 if the system has the type `unsigned long long int'.]) fi ]) # This macro is obsolescent and should go away soon. AC_DEFUN([gl_AC_TYPE_UNSIGNED_LONG_LONG], [ AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) ac_cv_type_unsigned_long_long=$ac_cv_type_unsigned_long_long_int if test $ac_cv_type_unsigned_long_long = yes; then AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1, [Define if you have the 'unsigned long long' type.]) fi ]) vorbis-tools-1.4.2/m4/iconv.m40000644000175000017500000001375313767140576013032 00000000000000# iconv.m4 serial AM6 (gettext-0.17) dnl Copyright (C) 2000-2002, 2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_LIB_LINKFLAGS_BODY([iconv]) ]) AC_DEFUN([AM_ICONV_LINK], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) dnl Add $INCICONV to CPPFLAGS before performing the following checks, dnl because if the user has installed libiconv and not disabled its use dnl via --without-libiconv-prefix, he wants to use it. The first dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. am_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) AC_CACHE_CHECK([for iconv], am_cv_func_iconv, [ am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], am_cv_func_iconv=yes) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], am_cv_lib_iconv=yes am_cv_func_iconv=yes) LIBS="$am_save_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then AC_CACHE_CHECK([for working iconv], am_cv_func_iconv_works, [ dnl This tests against bugs in AIX 5.1 and HP-UX 11.11. am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi AC_TRY_RUN([ #include #include int main () { /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static const char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) return 1; } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; const char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, (char **) &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) return 1; } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ if (/* Try standardized names. */ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) /* Try IRIX, OSF/1 names. */ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) /* Try AIX names. */ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) /* Try HP-UX names. */ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) return 1; return 0; }], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no], [case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac]) LIBS="$am_save_LIBS" ]) case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function and it works.]) fi if test "$am_cv_lib_iconv" = yes; then AC_MSG_CHECKING([how to link with libiconv]) AC_MSG_RESULT([$LIBICONV]) else dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV dnl either. CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi AC_SUBST(LIBICONV) AC_SUBST(LTLIBICONV) ]) AC_DEFUN([AM_ICONV], [ AM_ICONV_LINK if test "$am_cv_func_iconv" = yes; then AC_MSG_CHECKING([for iconv declaration]) AC_CACHE_VAL(am_cv_proto_iconv, [ AC_TRY_COMPILE([ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` AC_MSG_RESULT([$]{ac_t:- }[$]am_cv_proto_iconv) AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, [Define as const if the declaration of iconv() needs const.]) fi ]) vorbis-tools-1.4.2/m4/gettext.m40000644000175000017500000003457013767140576013400 00000000000000# gettext.m4 serial 60 (gettext-0.17) dnl Copyright (C) 1995-2007 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. 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([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT ])])])]) define([gt_included_intl], ifelse([$1], [external], ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), [yes])) define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) gt_NEEDS_INIT AM_GNU_GETTEXT_NEED([$2]) AC_REQUIRE([AM_PO_SUBDIRS])dnl ifelse(gt_included_intl, yes, [ AC_REQUIRE([AM_INTL_SUBDIR])dnl ]) dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Sometimes libintl requires libiconv, so first search for libiconv. dnl Ideally we would do this search only after the dnl if test "$USE_NLS" = "yes"; then dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT dnl the configure script would need to contain the same shell code dnl again, outside any 'if'. There are two solutions: dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not dnl documented, we avoid it. ifelse(gt_included_intl, yes, , [ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ]) dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation. gt_INTL_MACOSX dnl Set USE_NLS. AC_REQUIRE([AM_NLS]) ifelse(gt_included_intl, yes, [ BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no ]) LIBINTL= LTLIBINTL= POSUB= dnl Add a version number to the cache macros. case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no ifelse(gt_included_intl, yes, [ AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH(included-gettext, [ --with-included-gettext use the GNU gettext library included here], nls_cv_force_use_gnu_gettext=$withval, nls_cv_force_use_gnu_gettext=no) AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then ]) dnl User does not insist on using GNU NLS library. Figure out what dnl to use. If GNU gettext is available we use this. Else we have dnl to fall back to GNU NLS library. if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif changequote(,)dnl typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; changequote([,])dnl ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], [AC_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings;], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings], [eval "$gt_func_gnugettext_libc=yes"], [eval "$gt_func_gnugettext_libc=no"])]) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl Sometimes libintl requires libiconv, so first search for libiconv. ifelse(gt_included_intl, yes, , [ AM_ICONV_LINK ]) dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) dnl because that would add "-liconv" to LIBINTL and LTLIBINTL dnl even if libiconv doesn't exist. AC_LIB_LINKFLAGS_BODY([intl]) AC_CACHE_CHECK([for GNU gettext in libintl], [$gt_func_gnugettext_libintl], [gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" dnl Now see whether libintl exists and does not depend on libiconv. AC_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *);], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], [eval "$gt_func_gnugettext_libintl=yes"], [eval "$gt_func_gnugettext_libintl=no"]) dnl Now see whether libintl exists and depends on libiconv. if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" AC_TRY_LINK([#include $gt_revision_test_code extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *);], [bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], [LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" ]) fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS"]) fi dnl If an already present or preinstalled GNU gettext() is found, dnl use it. But if this macro is used in GNU gettext, and GNU dnl gettext is already preinstalled in libintl, we update this dnl libintl. (Cf. the install rule in intl/Makefile.in.) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else dnl Reset the values set by searching for libintl. LIBINTL= LTLIBINTL= INCINTL= fi ifelse(gt_included_intl, yes, [ if test "$gt_use_preinstalled_gnugettext" != "yes"; then dnl GNU gettext is not found in the C library. dnl Fall back on included GNU gettext library. nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions used to generate GNU NLS library. BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` fi CATOBJEXT= if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions to use GNU gettext tools. CATOBJEXT=.gmo fi ]) if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Some extra flags are needed during linking. LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then AC_DEFINE(ENABLE_NLS, 1, [Define to 1 if translation of program messages to the user's native language is requested.]) else USE_NLS=no fi fi AC_MSG_CHECKING([whether to use NLS]) AC_MSG_RESULT([$USE_NLS]) if test "$USE_NLS" = "yes"; then AC_MSG_CHECKING([where the gettext function comes from]) if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi AC_MSG_RESULT([$gt_source]) fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then AC_MSG_CHECKING([how to link with libintl]) AC_MSG_RESULT([$LIBINTL]) AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) fi dnl For backward compatibility. Some packages may be using this. AC_DEFINE(HAVE_GETTEXT, 1, [Define if the GNU gettext() function is already present or preinstalled.]) AC_DEFINE(HAVE_DCGETTEXT, 1, [Define if the GNU dcgettext() function is already present or preinstalled.]) fi dnl We need to process the po/ directory. POSUB=po fi ifelse(gt_included_intl, yes, [ dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL dnl to 'yes' because some of the testsuite requires it. if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then BUILD_INCLUDED_LIBINTL=yes fi dnl Make all variables we use known to autoconf. AC_SUBST(BUILD_INCLUDED_LIBINTL) AC_SUBST(USE_INCLUDED_LIBINTL) AC_SUBST(CATOBJEXT) dnl For backward compatibility. Some configure.ins may be using this. nls_cv_header_intl= nls_cv_header_libgt= dnl For backward compatibility. Some Makefiles may be using this. DATADIRNAME=share AC_SUBST(DATADIRNAME) dnl For backward compatibility. Some Makefiles may be using this. INSTOBJEXT=.mo AC_SUBST(INSTOBJEXT) dnl For backward compatibility. Some Makefiles may be using this. GENCAT=gencat AC_SUBST(GENCAT) dnl For backward compatibility. Some Makefiles may be using this. INTLOBJS= if test "$USE_INCLUDED_LIBINTL" = yes; then INTLOBJS="\$(GETTOBJS)" fi AC_SUBST(INTLOBJS) dnl Enable libtool support if the surrounding package wishes it. INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) ]) dnl For backward compatibility. Some Makefiles may be using this. INTLLIBS="$LIBINTL" AC_SUBST(INTLLIBS) dnl Make all documented variables known to autoconf. AC_SUBST(LIBINTL) AC_SUBST(LTLIBINTL) AC_SUBST(POSUB) ]) dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. m4_define([gt_NEEDS_INIT], [ m4_divert_text([DEFAULTS], [gt_needs=]) m4_define([gt_NEEDS_INIT], []) ]) dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) AC_DEFUN([AM_GNU_GETTEXT_NEED], [ m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) ]) dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) vorbis-tools-1.4.2/m4/lib-ld.m40000644000175000017500000000653113767140576013053 00000000000000# lib-ld.m4 serial 3 (gettext-0.13) dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Subroutines of libtool.m4, dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision dnl with libtool.m4. dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, [# I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by GCC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]* | [A-Za-z]:[\\/]*)] [re_direlt='/[^/][^/]*/\.\./'] # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(acl_cv_path_LD, [if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) test "$with_gnu_ld" != no && break ;; *) test "$with_gnu_ld" != yes && break ;; esac fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi]) LD="$acl_cv_path_LD" if test -n "$LD"; then AC_MSG_RESULT($LD) else AC_MSG_RESULT(no) fi test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) AC_LIB_PROG_LD_GNU ]) vorbis-tools-1.4.2/m4/inttypes-h.m40000644000175000017500000000150013767140576014003 00000000000000# inttypes-h.m4 serial 1 (gettext-0.15) dnl Copyright (C) 1997-2002, 2006 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 Paul Eggert. # Define HAVE_INTTYPES_H if exists and doesn't clash with # . AC_DEFUN([gl_HEADER_INTTYPES_H], [ AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h, [ AC_TRY_COMPILE( [#include #include ], [], gl_cv_header_inttypes_h=yes, gl_cv_header_inttypes_h=no) ]) if test $gl_cv_header_inttypes_h = yes; then AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1, [Define if exists and doesn't clash with .]) fi ]) vorbis-tools-1.4.2/m4/wchar_t.m40000644000175000017500000000132613767140576013334 00000000000000# wchar_t.m4 serial 1 (gettext-0.12) dnl Copyright (C) 2002-2003 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 Test whether has the 'wchar_t' type. dnl Prerequisite: AC_PROG_CC AC_DEFUN([gt_TYPE_WCHAR_T], [ AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t, [AC_TRY_COMPILE([#include wchar_t foo = (wchar_t)'\0';], , gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)]) if test $gt_cv_c_wchar_t = yes; then AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.]) fi ]) vorbis-tools-1.4.2/m4/visibility.m40000644000175000017500000000413013767140576014070 00000000000000# visibility.m4 serial 1 (gettext-0.15) dnl Copyright (C) 2005 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 Tests whether the compiler supports the command-line option dnl -fvisibility=hidden and the function and variable attributes dnl __attribute__((__visibility__("hidden"))) and dnl __attribute__((__visibility__("default"))). dnl Does *not* test for __visibility__("protected") - which has tricky dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on dnl MacOS X. dnl Does *not* test for __visibility__("internal") - which has processor dnl dependent semantics. dnl Does *not* test for #pragma GCC visibility push(hidden) - which is dnl "really only recommended for legacy code". dnl Set the variable CFLAG_VISIBILITY. dnl Defines and sets the variable HAVE_VISIBILITY. AC_DEFUN([gl_VISIBILITY], [ AC_REQUIRE([AC_PROG_CC]) CFLAG_VISIBILITY= HAVE_VISIBILITY=0 if test -n "$GCC"; then AC_MSG_CHECKING([for simple visibility declarations]) AC_CACHE_VAL(gl_cv_cc_visibility, [ gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" AC_TRY_COMPILE( [extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); extern __attribute__((__visibility__("default"))) int exportedfunc (void);], [], gl_cv_cc_visibility=yes, gl_cv_cc_visibility=no) CFLAGS="$gl_save_CFLAGS"]) AC_MSG_RESULT([$gl_cv_cc_visibility]) if test $gl_cv_cc_visibility = yes; then CFLAG_VISIBILITY="-fvisibility=hidden" HAVE_VISIBILITY=1 fi fi AC_SUBST([CFLAG_VISIBILITY]) AC_SUBST([HAVE_VISIBILITY]) AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY], [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.]) ]) vorbis-tools-1.4.2/m4/longlong.m40000644000175000017500000001005413767140576013522 00000000000000# longlong.m4 serial 13 dnl Copyright (C) 1999-2007 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 Paul Eggert. # Define HAVE_LONG_LONG_INT if 'long long int' works. # This fixes a bug in Autoconf 2.61, but can be removed once we # assume 2.62 everywhere. # Note: If the type 'long long int' exists but is only 32 bits large # (as on some very old compilers), HAVE_LONG_LONG_INT will not be # defined. In this case you can treat 'long long int' like 'long int'. AC_DEFUN([AC_TYPE_LONG_LONG_INT], [ AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int], [AC_LINK_IFELSE( [_AC_TYPE_LONG_LONG_SNIPPET], [dnl This catches a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004. dnl If cross compiling, assume the bug isn't important, since dnl nobody cross compiles for this platform as far as we know. AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[@%:@include @%:@ifndef LLONG_MAX @%:@ define HALF \ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) @%:@ define LLONG_MAX (HALF - 1 + HALF) @%:@endif]], [[long long int n = 1; int i; for (i = 0; ; i++) { long long int m = n << i; if (m >> i != n) return 1; if (LLONG_MAX / 2 < m) break; } return 0;]])], [ac_cv_type_long_long_int=yes], [ac_cv_type_long_long_int=no], [ac_cv_type_long_long_int=yes])], [ac_cv_type_long_long_int=no])]) if test $ac_cv_type_long_long_int = yes; then AC_DEFINE([HAVE_LONG_LONG_INT], 1, [Define to 1 if the system has the type `long long int'.]) fi ]) # Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works. # This fixes a bug in Autoconf 2.61, but can be removed once we # assume 2.62 everywhere. # Note: If the type 'unsigned long long int' exists but is only 32 bits # large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT # will not be defined. In this case you can treat 'unsigned long long int' # like 'unsigned long int'. AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], [ AC_CACHE_CHECK([for unsigned long long int], [ac_cv_type_unsigned_long_long_int], [AC_LINK_IFELSE( [_AC_TYPE_LONG_LONG_SNIPPET], [ac_cv_type_unsigned_long_long_int=yes], [ac_cv_type_unsigned_long_long_int=no])]) if test $ac_cv_type_unsigned_long_long_int = yes; then AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], 1, [Define to 1 if the system has the type `unsigned long long int'.]) fi ]) # Expands to a C program that can be used to test for simultaneous support # of 'long long' and 'unsigned long long'. We don't want to say that # 'long long' is available if 'unsigned long long' is not, or vice versa, # because too many programs rely on the symmetry between signed and unsigned # integer types (excluding 'bool'). AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], [ AC_LANG_PROGRAM( [[/* Test preprocessor. */ #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) error in preprocessor; #endif #if ! (18446744073709551615ULL <= -1ull) error in preprocessor; #endif /* Test literals. */ long long int ll = 9223372036854775807ll; long long int nll = -9223372036854775807LL; unsigned long long int ull = 18446744073709551615ULL; /* Test constant expressions. */ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ? 1 : -1)]; typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ? 1 : -1)]; int i = 63;]], [[/* Test availability of runtime routines for shift and division. */ long long int llmax = 9223372036854775807ll; unsigned long long int ullmax = 18446744073709551615ull; return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) | (llmax / ll) | (llmax % ll) | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) | (ullmax / ull) | (ullmax % ull));]]) ]) vorbis-tools-1.4.2/m4/lcmessage.m40000644000175000017500000000240413767140576013646 00000000000000# lcmessage.m4 serial 4 (gettext-0.14.2) dnl Copyright (C) 1995-2002, 2004-2005 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. # Check whether LC_MESSAGES is available in . AC_DEFUN([gt_LC_MESSAGES], [ AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include ], [return LC_MESSAGES], gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)]) if test $gt_cv_val_LC_MESSAGES = yes; then AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your file defines LC_MESSAGES.]) fi ]) vorbis-tools-1.4.2/m4/ltoptions.m40000644000175000017500000003426212756047127013740 00000000000000# Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 8 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option '$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl 'shared' nor 'disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) ]) ])# _LT_SET_OPTIONS ## --------------------------------- ## ## Macros to handle LT_INIT options. ## ## --------------------------------- ## # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS=$lt_save_ifs ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS=$lt_save_ifs ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS=$lt_save_ifs ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' # LT_INIT options. # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac], [pic_mode=m4_default([$1], [default])]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) ## ----------------- ## ## LTDL_INIT Options ## ## ----------------- ## m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) vorbis-tools-1.4.2/m4/acx_pthread.m40000644000175000017500000002237413767140576014175 00000000000000dnl @synopsis ACX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) dnl dnl @summary figure out how to build C programs using POSIX threads dnl dnl This macro figures out how to build C programs using POSIX threads. dnl It sets the PTHREAD_LIBS output variable to the threads library and dnl linker flags, and the PTHREAD_CFLAGS output variable to any special dnl C compiler flags that are needed. (The user can also force certain dnl compiler flags/libs to be tested by setting these environment dnl variables.) dnl dnl Also sets PTHREAD_CC to any special C compiler that is needed for dnl multi-threaded programs (defaults to the value of CC otherwise). dnl (This is necessary on AIX to use the special cc_r compiler alias.) dnl dnl NOTE: You are assumed to not only compile your program with these dnl flags, but also link it with them as well. e.g. you should link dnl with $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS dnl $LIBS dnl dnl If you are only building threads programs, you may wish to use dnl these variables in your default LIBS, CFLAGS, and CC: dnl dnl LIBS="$PTHREAD_LIBS $LIBS" dnl CFLAGS="$CFLAGS $PTHREAD_CFLAGS" dnl CC="$PTHREAD_CC" dnl dnl In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute dnl constant has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to dnl that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX). dnl dnl ACTION-IF-FOUND is a list of shell commands to run if a threads dnl library is found, and ACTION-IF-NOT-FOUND is a list of commands to dnl run it if it is not found. If ACTION-IF-FOUND is not specified, the dnl default action will define HAVE_PTHREAD. dnl dnl Please let the authors know if this macro fails on any platform, or dnl if you have any other suggestions or comments. This macro was based dnl on work by SGJ on autoconf scripts for FFTW (www.fftw.org) (with dnl help from M. Frigo), as well as ac_pthread and hb_pthread macros dnl posted by Alejandro Forero Cuervo to the autoconf macro repository. dnl We are also grateful for the helpful feedback of numerous users. dnl dnl @category InstalledPackages dnl @author Steven G. Johnson dnl @version 2006-05-29 dnl @license GPLWithACException AC_DEFUN([ACX_PTHREAD], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_LANG_SAVE AC_LANG_C acx_pthread_ok=no # We used to check for pthread.h first, but this fails if pthread.h # requires special compiler flags (e.g. on True64 or Sequent). # It gets checked for in the link test anyway. # First of all, check if the user has set any of the PTHREAD_LIBS, # etcetera environment variables, and if threads linking works using # them: if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" save_LIBS="$LIBS" LIBS="$PTHREAD_LIBS $LIBS" AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS]) AC_TRY_LINK_FUNC(pthread_join, acx_pthread_ok=yes) AC_MSG_RESULT($acx_pthread_ok) if test x"$acx_pthread_ok" = xno; then PTHREAD_LIBS="" PTHREAD_CFLAGS="" fi LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" fi # We must check for the threads library under a number of different # names; the ordering is very important because some systems # (e.g. DEC) have both -lpthread and -lpthreads, where one of the # libraries is broken (non-POSIX). # Create a list of thread flags to try. Items starting with a "-" are # C compiler flags, and other items are library names, except for "none" # which indicates that we try without any flags at all, and "pthread-config" # which is a program returning the flags for the Pth emulation library. acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" # The ordering *is* (sometimes) important. Some notes on the # individual items follow: # pthreads: AIX (must check this before -lpthread) # none: in case threads are in libc; should be tried before -Kthread and # other compiler flags to prevent continual compiler warnings # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) # -pthreads: Solaris/gcc # -mthreads: Mingw32/gcc, Lynx/gcc # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it # doesn't hurt to check since this sometimes defines pthreads too; # also defines -D_REENTRANT) # ... -mt is also the pthreads flag for HP/aCC # pthread: Linux, etcetera # --thread-safe: KAI C++ # pthread-config: use pthread-config program (for GNU Pth library) case "${host_cpu}-${host_os}" in *solaris*) # On Solaris (at least, for some versions), libc contains stubbed # (non-functional) versions of the pthreads routines, so link-based # tests will erroneously succeed. (We need to link with -pthreads/-mt/ # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather # a function called by this macro, so we could check for that, but # who knows whether they'll stub that too in a future libc.) So, # we'll just look for -pthreads and -lpthread first: acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags" ;; esac if test x"$acx_pthread_ok" = xno; then for flag in $acx_pthread_flags; do case $flag in none) AC_MSG_CHECKING([whether pthreads work without any flags]) ;; -*) AC_MSG_CHECKING([whether pthreads work with $flag]) PTHREAD_CFLAGS="$flag" ;; pthread-config) AC_CHECK_PROG(acx_pthread_config, pthread-config, yes, no) if test x"$acx_pthread_config" = xno; then continue; fi PTHREAD_CFLAGS="`pthread-config --cflags`" PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" ;; *) AC_MSG_CHECKING([for the pthreads library -l$flag]) PTHREAD_LIBS="-l$flag" ;; esac save_LIBS="$LIBS" save_CFLAGS="$CFLAGS" LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" # Check for various functions. We must include pthread.h, # since some functions may be macros. (On the Sequent, we # need a special flag -Kthread to make this header compile.) # We check for pthread_join because it is in -lpthread on IRIX # while pthread_create is in libc. We check for pthread_attr_init # due to DEC craziness with -lpthreads. We check for # pthread_cleanup_push because it is one of the few pthread # functions on Solaris that doesn't have a non-functional libc stub. # We try pthread_create on general principles. AC_TRY_LINK([#include ], [pthread_t th; pthread_join(th, 0); pthread_attr_init(0); pthread_cleanup_push(0, 0); pthread_create(0,0,0,0); pthread_cleanup_pop(0); ], [acx_pthread_ok=yes]) LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" AC_MSG_RESULT($acx_pthread_ok) if test "x$acx_pthread_ok" = xyes; then break; fi PTHREAD_LIBS="" PTHREAD_CFLAGS="" done fi # Various other checks: if test "x$acx_pthread_ok" = xyes; then save_LIBS="$LIBS" LIBS="$PTHREAD_LIBS $LIBS" save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. AC_MSG_CHECKING([for joinable pthread attribute]) attr_name=unknown for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do AC_TRY_LINK([#include ], [int attr=$attr; return attr;], [attr_name=$attr; break]) done AC_MSG_RESULT($attr_name) if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then AC_DEFINE_UNQUOTED(PTHREAD_CREATE_JOINABLE, $attr_name, [Define to necessary symbol if this constant uses a non-standard name on your system.]) fi AC_MSG_CHECKING([if more special flags are required for pthreads]) flag=no case "${host_cpu}-${host_os}" in *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; esac AC_MSG_RESULT(${flag}) if test "x$flag" != xno; then PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" fi LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" # More AIX lossage: must compile with xlc_r or cc_r if test x"$GCC" != xyes; then AC_CHECK_PROGS(PTHREAD_CC, xlc_r cc_r, ${CC}) else PTHREAD_CC=$CC fi else PTHREAD_CC="$CC" fi AC_SUBST(PTHREAD_LIBS) AC_SUBST(PTHREAD_CFLAGS) AC_SUBST(PTHREAD_CC) # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: if test x"$acx_pthread_ok" = xyes; then ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1]) : else acx_pthread_ok=no $2 fi AC_LANG_RESTORE ])dnl ACX_PTHREAD vorbis-tools-1.4.2/m4/ChangeLog0000644000175000017500000000346313767140576013221 000000000000002008-11-06 gettextize * gettext.m4: Upgrade to gettext-0.17. * iconv.m4: Upgrade to gettext-0.17. * lib-link.m4: Upgrade to gettext-0.17. * po.m4: Upgrade to gettext-0.17. * intdiv0.m4: Upgrade to gettext-0.17. * intl.m4: Upgrade to gettext-0.17. * intlmacosx.m4: New file, from gettext-0.17. * lock.m4: Upgrade to gettext-0.17. * longlong.m4: Upgrade to gettext-0.17. * printf-posix.m4: Upgrade to gettext-0.17. * size_max.m4: Upgrade to gettext-0.17. * uintmax_t.m4: Upgrade to gettext-0.17. * wint_t.m4: Upgrade to gettext-0.17. * Makefile.am (EXTRA_DIST): Add the new files. 2007-12-30 gettextize * gettext.m4: Upgrade to gettext-0.16.1. * lib-link.m4: Upgrade to gettext-0.16.1. * codeset.m4: Upgrade to gettext-0.16.1. * intl.m4: New file, from gettext-0.16.1. * intldir.m4: New file, from gettext-0.16.1. * intmax.m4: Upgrade to gettext-0.16.1. * inttypes_h.m4: Upgrade to gettext-0.16.1. * inttypes-pri.m4: Upgrade to gettext-0.16.1. * lock.m4: Upgrade to gettext-0.16.1. * longlong.m4: Upgrade to gettext-0.16.1. * size_max.m4: Upgrade to gettext-0.16.1. * stdint_h.m4: Upgrade to gettext-0.16.1. * ulonglong.m4: Upgrade to gettext-0.16.1. * Makefile.am (EXTRA_DIST): Add the new files. 2006-12-18 gettextize * gettext.m4: Upgrade to gettext-0.15. * inttypes-h.m4: New file, from gettext-0.15. * inttypes-pri.m4: Upgrade to gettext-0.15. * lib-link.m4: Upgrade to gettext-0.15. * lib-prefix.m4: Upgrade to gettext-0.15. * lock.m4: New file, from gettext-0.15. * longdouble.m4: Upgrade to gettext-0.15. * nls.m4: Upgrade to gettext-0.15. * po.m4: Upgrade to gettext-0.15. * size_max.m4: Upgrade to gettext-0.15. * visibility.m4: New file, from gettext-0.15. * Makefile.am (EXTRA_DIST): Add the new files. vorbis-tools-1.4.2/m4/lock.m40000644000175000017500000003022313767140576012633 00000000000000# lock.m4 serial 7 (gettext-0.17) dnl Copyright (C) 2005-2007 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 Tests for a multithreading library to be used. dnl Defines at most one of the macros USE_POSIX_THREADS, USE_SOLARIS_THREADS, dnl USE_PTH_THREADS, USE_WIN32_THREADS dnl Sets the variables LIBTHREAD and LTLIBTHREAD to the linker options for use dnl in a Makefile (LIBTHREAD for use without libtool, LTLIBTHREAD for use with dnl libtool). dnl Sets the variables LIBMULTITHREAD and LTLIBMULTITHREAD similarly, for dnl programs that really need multithread functionality. The difference dnl between LIBTHREAD and LIBMULTITHREAD is that on platforms supporting weak dnl symbols, typically LIBTHREAD="" whereas LIBMULTITHREAD="-lpthread". dnl Adds to CPPFLAGS the flag -D_REENTRANT or -D_THREAD_SAFE if needed for dnl multithread-safe programs. AC_DEFUN([gl_LOCK_EARLY], [ AC_REQUIRE([gl_LOCK_EARLY_BODY]) ]) dnl The guts of gl_LOCK_EARLY. Needs to be expanded only once. AC_DEFUN([gl_LOCK_EARLY_BODY], [ dnl Ordering constraints: This macro modifies CPPFLAGS in a way that dnl influences the result of the autoconf tests that test for *_unlocked dnl declarations, on AIX 5 at least. Therefore it must come early. AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl AC_BEFORE([$0], [gl_ARGP])dnl AC_REQUIRE([AC_CANONICAL_HOST]) dnl _GNU_SOURCE is needed for pthread_rwlock_t on glibc systems. dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes dnl AC_GNU_SOURCE. m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])], [AC_REQUIRE([AC_GNU_SOURCE])]) dnl Check for multithreading. AC_ARG_ENABLE(threads, AC_HELP_STRING([--enable-threads={posix|solaris|pth|win32}], [specify multithreading API]) AC_HELP_STRING([--disable-threads], [build without multithread safety]), [gl_use_threads=$enableval], [case "$host_os" in dnl Disable multithreading by default on OSF/1, because it interferes dnl with fork()/exec(): When msgexec is linked with -lpthread, its child dnl process gets an endless segmentation fault inside execvp(). osf*) gl_use_threads=no ;; *) gl_use_threads=yes ;; esac ]) if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then # For using : case "$host_os" in osf*) # On OSF/1, the compiler needs the flag -D_REENTRANT so that it # groks . cc also understands the flag -pthread, but # we don't use it because 1. gcc-2.95 doesn't understand -pthread, # 2. putting a flag into CPPFLAGS that has an effect on the linker # causes the AC_TRY_LINK test below to succeed unexpectedly, # leading to wrong values of LIBTHREAD and LTLIBTHREAD. CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac # Some systems optimize for single-threaded programs by default, and # need special flags to disable these optimizations. For example, the # definition of 'errno' in . case "$host_os" in aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac fi ]) dnl The guts of gl_LOCK. Needs to be expanded only once. AC_DEFUN([gl_LOCK_BODY], [ AC_REQUIRE([gl_LOCK_EARLY_BODY]) gl_threads_api=none LIBTHREAD= LTLIBTHREAD= LIBMULTITHREAD= LTLIBMULTITHREAD= if test "$gl_use_threads" != no; then dnl Check whether the compiler and linker support weak declarations. AC_MSG_CHECKING([whether imported symbols can be declared weak]) gl_have_weak=no AC_TRY_LINK([extern void xyzzy (); #pragma weak xyzzy], [xyzzy();], [gl_have_weak=yes]) AC_MSG_RESULT([$gl_have_weak]) if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that # it groks . It's added above, in gl_LOCK_EARLY_BODY. AC_CHECK_HEADER(pthread.h, gl_have_pthread_h=yes, gl_have_pthread_h=no) if test "$gl_have_pthread_h" = yes; then # Other possible tests: # -lpthreads (FSU threads, PCthreads) # -lgthreads gl_have_pthread= # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist # in libc. IRIX 6.5 has the first one in both libc and libpthread, but # the second one only in libpthread, and lock.c needs it. AC_TRY_LINK([#include ], [pthread_mutex_lock((pthread_mutex_t*)0); pthread_mutexattr_init((pthread_mutexattr_t*)0);], [gl_have_pthread=yes]) # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) if test -n "$gl_have_pthread"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. AC_CHECK_LIB(pthread, pthread_kill, [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a # thread: pthread_create from libc will fail, whereas # pthread_create will actually create a thread. case "$host_os" in solaris* | hpux*) AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], 1, [Define if the pthread_in_use() detection is hard.]) esac ]) else # Some library is needed. Try libpthread and libc_r. AC_CHECK_LIB(pthread, pthread_kill, [gl_have_pthread=yes LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread]) if test -z "$gl_have_pthread"; then # For FreeBSD 4. AC_CHECK_LIB(c_r, pthread_kill, [gl_have_pthread=yes LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r]) fi fi if test -n "$gl_have_pthread"; then gl_threads_api=posix AC_DEFINE([USE_POSIX_THREADS], 1, [Define if the POSIX multithreading library can be used.]) if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if test $gl_have_weak = yes; then AC_DEFINE([USE_POSIX_THREADS_WEAK], 1, [Define if references to the POSIX multithreading library should be made weak.]) LIBTHREAD= LTLIBTHREAD= fi fi # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the # pthread_rwlock_* functions. AC_CHECK_TYPE([pthread_rwlock_t], [AC_DEFINE([HAVE_PTHREAD_RWLOCK], 1, [Define if the POSIX multithreading library has read/write locks.])], [], [#include ]) # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. AC_TRY_COMPILE([#include ], [#if __FreeBSD__ == 4 error "No, in FreeBSD 4.0 recursive mutexes actually don't work." #else int x = (int)PTHREAD_MUTEX_RECURSIVE; return !x; #endif], [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], 1, [Define if the defines PTHREAD_MUTEX_RECURSIVE.])]) fi fi fi if test -z "$gl_have_pthread"; then if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then gl_have_solaristhread= gl_save_LIBS="$LIBS" LIBS="$LIBS -lthread" AC_TRY_LINK([#include #include ], [thr_self();], [gl_have_solaristhread=yes]) LIBS="$gl_save_LIBS" if test -n "$gl_have_solaristhread"; then gl_threads_api=solaris LIBTHREAD=-lthread LTLIBTHREAD=-lthread LIBMULTITHREAD="$LIBTHREAD" LTLIBMULTITHREAD="$LTLIBTHREAD" AC_DEFINE([USE_SOLARIS_THREADS], 1, [Define if the old Solaris multithreading library can be used.]) if test $gl_have_weak = yes; then AC_DEFINE([USE_SOLARIS_THREADS_WEAK], 1, [Define if references to the old Solaris multithreading library should be made weak.]) LIBTHREAD= LTLIBTHREAD= fi fi fi fi if test "$gl_use_threads" = pth; then gl_save_CPPFLAGS="$CPPFLAGS" AC_LIB_LINKFLAGS(pth) gl_have_pth= gl_save_LIBS="$LIBS" LIBS="$LIBS -lpth" AC_TRY_LINK([#include ], [pth_self();], gl_have_pth=yes) LIBS="$gl_save_LIBS" if test -n "$gl_have_pth"; then gl_threads_api=pth LIBTHREAD="$LIBPTH" LTLIBTHREAD="$LTLIBPTH" LIBMULTITHREAD="$LIBTHREAD" LTLIBMULTITHREAD="$LTLIBTHREAD" AC_DEFINE([USE_PTH_THREADS], 1, [Define if the GNU Pth multithreading library can be used.]) if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if test $gl_have_weak = yes; then AC_DEFINE([USE_PTH_THREADS_WEAK], 1, [Define if references to the GNU Pth multithreading library should be made weak.]) LIBTHREAD= LTLIBTHREAD= fi fi else CPPFLAGS="$gl_save_CPPFLAGS" fi fi if test -z "$gl_have_pthread"; then if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then if { case "$host_os" in mingw*) true;; *) false;; esac }; then gl_threads_api=win32 AC_DEFINE([USE_WIN32_THREADS], 1, [Define if the Win32 multithreading API can be used.]) fi fi fi fi AC_MSG_CHECKING([for multithread API to use]) AC_MSG_RESULT([$gl_threads_api]) AC_SUBST(LIBTHREAD) AC_SUBST(LTLIBTHREAD) AC_SUBST(LIBMULTITHREAD) AC_SUBST(LTLIBMULTITHREAD) ]) AC_DEFUN([gl_LOCK], [ AC_REQUIRE([gl_LOCK_EARLY]) AC_REQUIRE([gl_LOCK_BODY]) gl_PREREQ_LOCK ]) # Prerequisites of lib/lock.c. AC_DEFUN([gl_PREREQ_LOCK], [ AC_REQUIRE([AC_C_INLINE]) ]) dnl Survey of platforms: dnl dnl Platform Available Compiler Supports test-lock dnl flavours option weak result dnl --------------- --------- --------- -------- --------- dnl Linux 2.4/glibc posix -lpthread Y OK dnl dnl GNU Hurd/glibc posix dnl dnl FreeBSD 5.3 posix -lc_r Y dnl posix -lkse ? Y dnl posix -lpthread ? Y dnl posix -lthr Y dnl dnl FreeBSD 5.2 posix -lc_r Y dnl posix -lkse Y dnl posix -lthr Y dnl dnl FreeBSD 4.0,4.10 posix -lc_r Y OK dnl dnl NetBSD 1.6 -- dnl dnl OpenBSD 3.4 posix -lpthread Y OK dnl dnl MacOS X 10.[123] posix -lpthread Y OK dnl dnl Solaris 7,8,9 posix -lpthread Y Sol 7,8: 0.0; Sol 9: OK dnl solaris -lthread Y Sol 7,8: 0.0; Sol 9: OK dnl dnl HP-UX 11 posix -lpthread N (cc) OK dnl Y (gcc) dnl dnl IRIX 6.5 posix -lpthread Y 0.5 dnl dnl AIX 4.3,5.1 posix -lpthread N AIX 4: 0.5; AIX 5: OK dnl dnl OSF/1 4.0,5.1 posix -pthread (cc) N OK dnl -lpthread (gcc) Y dnl dnl Cygwin posix -lpthread Y OK dnl dnl Any of the above pth -lpth 0.0 dnl dnl Mingw win32 N OK dnl dnl BeOS 5 -- dnl dnl The test-lock result shows what happens if in test-lock.c EXPLICIT_YIELD is dnl turned off: dnl OK if all three tests terminate OK, dnl 0.5 if the first test terminates OK but the second one loops endlessly, dnl 0.0 if the first test already loops endlessly. vorbis-tools-1.4.2/m4/intdiv0.m40000644000175000017500000000443113767140576013262 00000000000000# intdiv0.m4 serial 2 (gettext-0.17) dnl Copyright (C) 2002, 2007 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([gt_INTDIV0], [ AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_CACHE_CHECK([whether integer division by zero raises SIGFPE], gt_cv_int_divbyzero_sigfpe, [ gt_cv_int_divbyzero_sigfpe= changequote(,)dnl case "$host_os" in macos* | darwin[6-9]* | darwin[1-9][0-9]*) # On MacOS X 10.2 or newer, just assume the same as when cross- # compiling. If we were to perform the real test, 1 Crash Report # dialog window would pop up. case "$host_cpu" in i[34567]86 | x86_64) gt_cv_int_divbyzero_sigfpe="guessing yes" ;; esac ;; esac changequote([,])dnl if test -z "$gt_cv_int_divbyzero_sigfpe"; then AC_TRY_RUN([ #include #include static void sigfpe_handler (int sig) { /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ exit (sig != SIGFPE); } int x = 1; int y = 0; int z; int nan; int main () { signal (SIGFPE, sigfpe_handler); /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) signal (SIGTRAP, sigfpe_handler); #endif /* Linux/SPARC yields signal SIGILL. */ #if defined (__sparc__) && defined (__linux__) signal (SIGILL, sigfpe_handler); #endif z = x / y; nan = y / y; exit (1); } ], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no, [ # Guess based on the CPU. changequote(,)dnl case "$host_cpu" in alpha* | i[34567]86 | x86_64 | m68k | s390*) gt_cv_int_divbyzero_sigfpe="guessing yes";; *) gt_cv_int_divbyzero_sigfpe="guessing no";; esac changequote([,])dnl ]) fi ]) case "$gt_cv_int_divbyzero_sigfpe" in *yes) value=1;; *) value=0;; esac AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value, [Define if integer division by zero raises signal SIGFPE.]) ]) vorbis-tools-1.4.2/m4/inttypes_h.m40000644000175000017500000000164413767140576014076 00000000000000# inttypes_h.m4 serial 7 dnl Copyright (C) 1997-2004, 2006 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 Paul Eggert. # Define HAVE_INTTYPES_H_WITH_UINTMAX if exists, # doesn't clash with , and declares uintmax_t. AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [ AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h, [AC_TRY_COMPILE( [#include #include ], [uintmax_t i = (uintmax_t) -1; return !i;], gl_cv_header_inttypes_h=yes, gl_cv_header_inttypes_h=no)]) if test $gl_cv_header_inttypes_h = yes; then AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1, [Define if exists, doesn't clash with , and declares uintmax_t. ]) fi ]) vorbis-tools-1.4.2/m4/inttypes.m40000644000175000017500000000147213767140576013566 00000000000000# inttypes.m4 serial 1 (gettext-0.11.4) dnl Copyright (C) 1997-2002 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 Paul Eggert. # Define HAVE_INTTYPES_H if exists and doesn't clash with # . AC_DEFUN([gt_HEADER_INTTYPES_H], [ AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h, [ AC_TRY_COMPILE( [#include #include ], [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no) ]) if test $gt_cv_header_inttypes_h = yes; then AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1, [Define if exists and doesn't clash with .]) fi ]) vorbis-tools-1.4.2/m4/inttypes-pri.m40000644000175000017500000000215213767140576014352 00000000000000# inttypes-pri.m4 serial 4 (gettext-0.16) dnl Copyright (C) 1997-2002, 2006 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.52) # Define PRI_MACROS_BROKEN if exists and defines the PRI* # macros to non-string values. This is the case on AIX 4.3.3. AC_DEFUN([gt_INTTYPES_PRI], [ AC_CHECK_HEADERS([inttypes.h]) if test $ac_cv_header_inttypes_h = yes; then AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], gt_cv_inttypes_pri_broken, [ AC_TRY_COMPILE([#include #ifdef PRId32 char *p = PRId32; #endif ], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes) ]) fi if test "$gt_cv_inttypes_pri_broken" = yes; then AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1, [Define if exists and defines unusable PRI* macros.]) PRI_MACROS_BROKEN=1 else PRI_MACROS_BROKEN=0 fi AC_SUBST([PRI_MACROS_BROKEN]) ]) vorbis-tools-1.4.2/config.guess0000755000175000017500000012564413011674454013442 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright 1992-2016 Free Software Foundation, Inc. timestamp='2016-10-02' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess # # Please send patches to . me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright 1992-2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "${UNAME_SYSTEM}" in Linux|GNU|GNU/*) # If the system lacks a compiler, then just pick glibc. # We could probably try harder. LIBC=gnu eval $set_cc_for_build cat <<-EOF > $dummy.c #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #else LIBC=gnu #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` ;; esac # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ /sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || \ echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; earmv*) arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'` endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'` machine=${arch}${endian}-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently (or will in the future) 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 ;; *: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 ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE=alpha ;; "EV4.5 (21064)") UNAME_MACHINE=alpha ;; "LCA4 (21066/21068)") UNAME_MACHINE=alpha ;; "EV5 (21164)") UNAME_MACHINE=alphaev5 ;; "EV5.6 (21164A)") UNAME_MACHINE=alphaev56 ;; "EV5.6 (21164PC)") UNAME_MACHINE=alphapca56 ;; "EV5.7 (21164PC)") UNAME_MACHINE=alphapca57 ;; "EV6 (21264)") UNAME_MACHINE=alphaev6 ;; "EV6.7 (21264A)") UNAME_MACHINE=alphaev67 ;; "EV6.8CB (21264C)") UNAME_MACHINE=alphaev68 ;; "EV6.8AL (21264B)") UNAME_MACHINE=alphaev68 ;; "EV6.8CX (21264D)") UNAME_MACHINE=alphaev68 ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE=alphaev69 ;; "EV7 (21364)") UNAME_MACHINE=alphaev7 ;; "EV7.9 (21364A)") UNAME_MACHINE=alphaev79 ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux${UNAME_RELEASE} exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH=i386 # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH=x86_64 fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/lslpp ] ; then IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH=hppa2.0n ;; 64) HP_ARCH=hppa2.0w ;; '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = hppa2.0w ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH=hppa2.0w else HP_ARCH=hppa64 fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW64*:*) echo ${UNAME_MACHINE}-pc-mingw64 exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; *:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[: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:*:*) echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB 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 fi elif test "$UNAME_PROCESSOR" = i386 ; then # Avoid executing cc on OS X 10.9, as it ships with a stub # that puts up a graphical alert prompting to install # developer tools. Any system running Mac OS X 10.7 or # later (Darwin 11 and later) is required to have a 64-bit # processor. This is not true of the ARM version of Darwin # that Apple uses in portable devices. UNAME_PROCESSOR=x86_64 fi echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = x86; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-?:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = 386; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'` exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; x86_64:VMkernel:*:*) echo ${UNAME_MACHINE}-unknown-esx exit ;; amd64:Isilon\ OneFS:*:*) echo x86_64-unknown-onefs exit ;; esac cat >&2 </dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: vorbis-tools-1.4.2/configure0000755000175000017500000251535214002242751013022 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for vorbis-tools 1.4.2. # # 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 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: vorbis-dev@xiph.org about your system, including any $0: error possibly output before this message. Then install $0: a modern shell, or manually run the script under such a $0: shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" SHELL=${CONFIG_SHELL-/bin/sh} test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='vorbis-tools' PACKAGE_TARNAME='vorbis-tools' PACKAGE_VERSION='1.4.2' PACKAGE_STRING='vorbis-tools 1.4.2' PACKAGE_BUGREPORT='vorbis-dev@xiph.org' PACKAGE_URL='' ac_unique_file="oggenc/encode.c" # 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_header_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS I18N_LIBS I18N_CFLAGS SHARE_LIBS SHARE_CFLAGS SOCKET_LIBS PROFILE DEBUG OPT_SUBDIRS MANDIR HAVE_KATE_FALSE HAVE_KATE_TRUE KATE_LIBS KATE_CFLAGS SPEEX_LIBS HAVE_LIBSPEEX_FALSE HAVE_LIBSPEEX_TRUE FLAC_LIBS HAVE_LIBFLAC_FALSE HAVE_LIBFLAC_TRUE PTHREAD_CFLAGS PTHREAD_LIBS PTHREAD_CC acx_pthread_config AO_LIBS AO_CFLAGS CURL_LIBS CURL_CFLAGS HAVE_LIBOPUSFILE_FALSE HAVE_LIBOPUSFILE_TRUE OPUSFILE_LIBS OPUSFILE_CFLAGS HAVE_OV_READ_FILTER_FALSE HAVE_OV_READ_FILTER_TRUE VORBISFILE_LIBS VORBISENC_LIBS VORBIS_LIBS VORBIS_CFLAGS OGG_LIBS OGG_CFLAGS PKG_CONFIG HAVE_PKG_CONFIG POSUB LTLIBINTL LIBINTL INTLLIBS INTL_LIBTOOL_SUFFIX_PREFIX INTLOBJS GENCAT INSTOBJEXT DATADIRNAME CATOBJEXT USE_INCLUDED_LIBINTL BUILD_INCLUDED_LIBINTL LTLIBC WINDRES WOE32 WOE32DLL HAVE_WPRINTF HAVE_SNPRINTF HAVE_ASPRINTF HAVE_POSIX_PRINTF INTL_MACOSX_LIBS GLIBC21 INTLBISON LIBICONV LTLIBMULTITHREAD LIBMULTITHREAD LTLIBTHREAD LIBTHREAD LIBPTH_PREFIX LTLIBPTH LIBPTH PRI_MACROS_BROKEN ALLOCA HAVE_VISIBILITY CFLAG_VISIBILITY GLIBC2 XGETTEXT_EXTRA_OPTIONS MSGMERGE XGETTEXT_015 XGETTEXT GMSGFMT_015 MSGFMT_015 GMSGFMT MSGFMT GETTEXT_MACRO_VERSION USE_NLS LT_SYS_LIBRARY_PATH OTOOL64 OTOOL LIPO NMEDIT DSYMUTIL MANIFEST_TOOL RANLIB ac_ct_AR AR DLLTOOL OBJDUMP LN_S NM ac_ct_DUMPBIN DUMPBIN LD FGREP SED LIBTOOL EGREP GREP CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE 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 host_os host_vendor host_cpu host build_os build_vendor build_cpu build 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' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_maintainer_mode enable_dependency_tracking enable_shared enable_static with_pic enable_fast_install with_aix_soname with_gnu_ld with_sysroot enable_libtool_lock enable_nls enable_threads enable_rpath with_libpth_prefix with_libiconv_prefix with_included_gettext with_libintl_prefix enable_largefile enable_ogg123 enable_oggdec enable_oggenc enable_ogginfo enable_vcut enable_vorbiscomment with_flac with_speex with_kate with_ogg with_ogg_libraries with_ogg_includes enable_oggtest with_vorbis with_vorbis_libraries with_vorbis_includes enable_vorbistest with_curl with_curl_libraries with_curl_includes enable_curltest ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP LT_SYS_LIBRARY_PATH' # 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 vorbis-tools 1.4.2 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/vorbis-tools] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of vorbis-tools 1.4.2:";; 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") --disable-maintainer-mode disable make rules and dependencies not useful (and sometimes confusing) to the casual installer --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --disable-nls do not use Native Language Support --enable-threads={posix|solaris|pth|win32} specify multithreading API --disable-threads build without multithread safety --disable-rpath do not hardcode runtime library paths --disable-largefile omit support for large files --disable-ogg123 Skip building ogg123 --disable-oggdec Skip building oggdec --disable-oggenc Skip building oggenc --disable-ogginfo Skip building ogginfo --disable-vcut Skip building vcut --disable-vorbiscomment Skip building vorbiscomment --disable-oggtest Do not try to compile and run a test Ogg program --disable-vorbistest Do not try to compile and run a test Vorbis program --disable-curltest Do not try to compile and run a test libcurl program Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use both] --with-aix-soname=aix|svr4|both shared library versioning (aka "SONAME") variant to provide on AIX, [default=aix]. --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot[=DIR] Search for dependent libraries within DIR (or the compiler's sysroot if not specified). --with-gnu-ld assume the C compiler uses GNU ld default=no --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib --without-libpth-prefix don't search for libpth in includedir and libdir --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib --with-included-gettext use the GNU gettext library included here --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 --without-flac Do not compile FLAC support --without-speex Do not compile Speex support --without-kate Do not compile Kate support --with-ogg=PFX Prefix where libogg is installed (optional) --with-ogg-libraries=DIR Directory where libogg library is installed (optional) --with-ogg-includes=DIR Directory where libogg header files are installed (optional) --with-vorbis=PFX Prefix where libvorbis is installed (optional) --with-vorbis-libraries=DIR Directory where libvorbis library is installed (optional) --with-vorbis-includes=DIR Directory where libvorbis header files are installed (optional) --with-curl=PFX Prefix where libcurl is installed (optional) --with-curl-libraries=DIR Directory where libcurl library is installed (optional) --with-curl-includes=DIR Directory where libcurl header files are installed (optional) Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor LT_SYS_LIBRARY_PATH User-defined run-time library search path. 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 vorbis-tools configure 1.4.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_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 vorbis-dev@xiph.org ## ## ---------------------------------- ##" ) | 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_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_c_check_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_compute_int LINENO EXPR VAR INCLUDES # -------------------------------------------- # Tries to find the compile-time value of EXPR in a program that includes # INCLUDES, setting VAR accordingly. Returns whether the value could be # computed ac_fn_c_compute_int () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) >= 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_lo=0 ac_mid=0 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=$ac_mid; break else as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) < 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=-1 ac_mid=-1 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) >= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_lo=$ac_mid; break else as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done else ac_lo= ac_hi= fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_hi=$ac_mid else as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in #(( ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; '') ac_retval=1 ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 static long int longval () { return $2; } static unsigned long int ulongval () { return $2; } #include #include int main () { FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if (($2) < 0) { long int i = longval (); if (i != ($2)) return 1; fprintf (f, "%ld", i); } else { unsigned long int i = ulongval (); if (i != ($2)) return 1; fprintf (f, "%lu", i); } /* Do not output a trailing newline, as this causes \r\n confusion on some platforms. */ return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : echo >>conftest.val; read $3 &5 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { #ifndef $as_decl_name #ifdef __cplusplus (void) $as_decl_use; #else (void) $as_decl_name; #endif #endif ; return 0; } _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_decl 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 vorbis-tools $as_me 1.4.2, 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 " as_fn_append ac_header_list " stdlib.h" as_fn_append ac_header_list " unistd.h" as_fn_append ac_header_list " sys/param.h" # 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 ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac am__api_version='1.15' # 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='vorbis-tools' VERSION='1.4.2' 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then : enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 $as_echo "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu 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=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" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes else MINIX= fi if test "$MINIX" = yes; then $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h $as_echo "#define _MINIX 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } if ${ac_cv_safe_to_define___extensions__+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # define __EXTENSIONS__ 1 $ac_includes_default int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_safe_to_define___extensions__=yes else ac_cv_safe_to_define___extensions__=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } test $ac_cv_safe_to_define___extensions__ = yes && $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h $as_echo "#define _ALL_SOURCE 1" >>confdefs.h $as_echo "#define _GNU_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h # 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=0;; 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='\' cflags_save="$CFLAGS" 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 CFLAGS="$cflags_save" case `pwd` in *\ * | *\ *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac macro_version='2.4.6' macro_revision='2.4.6' ltmain=$ac_aux_dir/ltmain.sh # Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\(["`$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "" } case $ECHO in printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 $as_echo "printf" >&6; } ;; print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 $as_echo "print -r" >&6; } ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 $as_echo "cat" >&6; } ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } if ${ac_cv_path_FGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else if test -z "$FGREP"; then ac_path_FGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in *GNU*) ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_FGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_FGREP=$FGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD=$ac_prog ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test yes = "$with_gnu_ld"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD=$ac_dir/$ac_prog # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } if ${lt_cv_path_NM+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM=$NM else lt_nm_to_check=${ac_tool_prefix}nm if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/$lt_tmp_nm if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then # Check to see if the nm accepts a BSD-compat flag. # Adding the 'sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in mingw*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS=$lt_save_ifs done : ${lt_cv_path_NM=no} fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } if test no != "$lt_cv_path_NM"; then NM=$lt_cv_path_NM else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else if test -n "$ac_tool_prefix"; then for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$DUMPBIN" && break done fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_DUMPBIN" && break done if test "x$ac_ct_DUMPBIN" = x; then DUMPBIN=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN fi fi case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) DUMPBIN=: ;; esac fi if test : != "$DUMPBIN"; then NM=$DUMPBIN fi fi test -z "$NM" && NM=nm { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } if ${lt_cv_nm_interface+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } if ${lt_cv_sys_max_cmd_len+:} false; then : $as_echo_n "(cached) " >&6 else i=0 teststring=ABCD case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len" && \ test undefined != "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test X`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test 17 != "$i" # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac fi if test -n "$lt_cv_sys_max_cmd_len"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len : ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } if ${lt_cv_to_host_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac fi to_host_file_cmd=$lt_cv_to_host_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 $as_echo "$lt_cv_to_host_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } if ${lt_cv_to_tool_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else #assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac fi to_tool_file_cmd=$lt_cv_to_tool_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in cygwin* | mingw* | pw32* | cegcc*) if test yes != "$GCC"; then reload_cmds=false fi ;; darwin*) if test yes = "$GCC"; then reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi test -z "$OBJDUMP" && OBJDUMP=objdump { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } if ${lt_cv_deplibs_check_method+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # 'unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # that responds to the $file_magic_cmd with a given extended regex. # If you have 'file' or equivalent on your system and you're not sure # whether 'pass_all' will *always* work, you probably want this one. case $host_os in aix[4-9]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. if ( file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[3-9]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd* | bitrig*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; os2*) lt_cv_deplibs_check_method=pass_all ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi test -z "$DLLTOOL" && DLLTOOL=dlltool { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh; # decide which one to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd=$ECHO ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO if test -n "$ac_tool_prefix"; then for ac_prog in ar do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} : ${AR_FLAGS=cru} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 $as_echo_n "checking for archiver @FILE support... " >&6; } if ${lt_cv_ar_at_file+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ar_at_file=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 $as_echo "$lt_cv_ar_at_file" >&6; } if test no = "$lt_cv_ar_at_file"; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi test -z "$STRIP" && STRIP=: if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi test -z "$RANLIB" && RANLIB=: # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in bitrig* | openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Check for command to grab the raw symbol name followed by C symbol from nm. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } if ${lt_cv_sys_global_symbol_pipe+:} false; then : $as_echo_n "(cached) " >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) if test ia64 = "$host_cpu"; then symcode='[ABCDEGRST]' fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" lt_c_name_lib_hook="\ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" else # Disable hooks by default. lt_cv_sys_global_symbol_to_import= lt_cdecl_hook= lt_c_name_hook= lt_c_name_lib_hook= fi # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function, # D for any global variable and I for any imported variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK '"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS=conftstm.$ac_objext CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test yes = "$pipe_works"; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 $as_echo "failed" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then nm_file_list_spec='@' fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 $as_echo_n "checking for sysroot... " >&6; } # Check whether --with-sysroot was given. if test "${with_sysroot+set}" = set; then : withval=$with_sysroot; else with_sysroot=no fi lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 $as_echo "$with_sysroot" >&6; } as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 $as_echo "${lt_sysroot:-no}" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 $as_echo_n "checking for a working dd... " >&6; } if ${ac_cv_path_lt_DD+:} false; then : $as_echo_n "(cached) " >&6 else printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} if test -z "$lt_DD"; then ac_path_lt_DD_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in dd; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_lt_DD" || continue if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: fi $ac_path_lt_DD_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_lt_DD"; then : fi else ac_cv_path_lt_DD=$lt_DD fi rm -f conftest.i conftest2.i conftest.out fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 $as_echo "$ac_cv_path_lt_DD" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 $as_echo_n "checking how to truncate binary pipes... " >&6; } if ${lt_cv_truncate_bin+:} false; then : $as_echo_n "(cached) " >&6 else printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" fi rm -f conftest.i conftest2.i conftest.out test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 $as_echo "$lt_cv_truncate_bin" >&6; } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then : enableval=$enable_libtool_lock; fi test no = "$enable_libtool_lock" || enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out what ABI is being produced by ac_compile, and set mode # options accordingly. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE=32 ;; *ELF-64*) HPUX_IA64_MODE=64 ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if test yes = "$lt_cv_prog_gnu_ld"; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; mips64*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then emul=elf case `/usr/bin/file conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; *64-bit*) emul="${emul}64" ;; esac case `/usr/bin/file conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; *LSB*) emul="${emul}ltsmip" ;; esac case `/usr/bin/file conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; esac LD="${LD-ld} -m $emul" fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when # doing 32-bit compilation for a host where ld defaults to 64-bit, or # vice versa); the common cases where no linker options are needed do # not appear in the list. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) case `/usr/bin/file conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; *) LD="${LD-ld} -m elf_i386" ;; esac ;; powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -belf" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } if ${lt_cv_cc_needs_belf+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_cc_needs_belf=yes else lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } if test yes != "$lt_cv_cc_needs_belf"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS=$SAVE_CFLAGS fi ;; *-*solaris*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*|x86_64-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD=${LD-ld}_sol2 fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks=$enable_libtool_lock if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. set dummy ${ac_tool_prefix}mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$MANIFEST_TOOL"; then ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL if test -n "$MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 $as_echo "$MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_MANIFEST_TOOL"; then ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL # Extract the first word of "mt", so it can be a program name with args. set dummy mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_MANIFEST_TOOL"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL if test -n "$ac_ct_MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_MANIFEST_TOOL" = x; then MANIFEST_TOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL fi else MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } if ${lt_cv_path_mainfest_tool+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&5 if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 $as_echo "$lt_cv_path_mainfest_tool" >&6; } if test yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi case $host_os in rhapsody* | darwin*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then DSYMUTIL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL fi else DSYMUTIL="$ac_cv_prog_DSYMUTIL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then NMEDIT=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT fi else NMEDIT="$ac_cv_prog_NMEDIT" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_LIPO"; then ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then LIPO=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO fi else LIPO="$ac_cv_prog_LIPO" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL"; then ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then OTOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL fi else OTOOL="$ac_cv_prog_OTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL64"; then ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then OTOOL64=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 fi else OTOOL64="$ac_cv_prog_OTOOL64" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } if ${lt_cv_apple_cc_single_mod+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no if test -z "$LT_MULTI_MODULE"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&5 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&5 # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test 0 = "$_lt_result"; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&5 fi rm -rf libconftest.dylib* rm -f conftest.* fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } if ${lt_cv_ld_exported_symbols_list+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_ld_exported_symbols_list=yes else lt_cv_ld_exported_symbols_list=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 $as_echo_n "checking for -force_load linker flag... " >&6; } if ${lt_cv_ld_force_load+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5 echo "$RANLIB libconftest.a" >&5 $RANLIB libconftest.a 2>&5 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&5 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then lt_cv_ld_force_load=yes else cat conftest.err >&5 fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 $as_echo "$lt_cv_ld_force_load" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[91]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[012][,.]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi if test yes = "$lt_cv_ld_exported_symbols_list"; then _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' fi if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac # func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; esac } for ac_header in dlfcn.h do : ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DLFCN_H 1 _ACEOF fi done # Set options enable_dlopen=no enable_win32_dll=no # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then : enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS=$lt_save_ifs ;; esac else enable_shared=yes fi # Check whether --enable-static was given. if test "${enable_static+set}" = set; then : enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS=$lt_save_ifs ;; esac else enable_static=yes fi # Check whether --with-pic was given. if test "${with_pic+set}" = set; then : withval=$with_pic; lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac else pic_mode=default fi # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then : enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS=$lt_save_ifs ;; esac else enable_fast_install=yes fi shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[5-9]*,yes) { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; } # Check whether --with-aix-soname was given. if test "${with_aix_soname+set}" = set; then : withval=$with_aix_soname; case $withval in aix|svr4|both) ;; *) as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 ;; esac lt_cv_with_aix_soname=$with_aix_soname else if ${lt_cv_with_aix_soname+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_with_aix_soname=aix fi with_aix_soname=$lt_cv_with_aix_soname fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 $as_echo "$with_aix_soname" >&6; } if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac # This can be used to rebuild libtool when needed LIBTOOL_DEPS=$ltmain # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' test -z "$LN_S" && LN_S="ln -s" if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } if ${lt_cv_objdir+:} false; then : $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir cat >>confdefs.h <<_ACEOF #define LT_OBJDIR "$lt_cv_objdir/" _ACEOF case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld=$lt_cv_prog_gnu_ld old_CC=$CC old_CFLAGS=$CFLAGS # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o func_cc_basename $compiler cc_basename=$func_cc_basename_result # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/${ac_tool_prefix}file"; then lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac fi MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 $as_echo_n "checking for file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/file"; then lt_cv_path_MAGIC_CMD=$ac_dir/"file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac fi MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac # Use C for the default configuration in the libtool script lt_save_CC=$CC ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then lt_prog_compiler_no_builtin_flag= if test yes = "$GCC"; then case $cc_basename in nvcc*) lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; *) lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= if test yes = "$GCC"; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi lt_prog_compiler_pic='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support lt_prog_compiler_pic='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic='-DDLL_EXPORT' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. lt_prog_compiler_static= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; *) lt_prog_compiler_pic='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 lt_prog_compiler_wl='-Xlinker ' if test -n "$lt_prog_compiler_pic"; then lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' case $cc_basename in nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; esac ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='$wl-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in # old Intel for x86_64, which still supported -KPIC. ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; # Lahey Fortran 8.1. lf95*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; tcc*) # Fabrice Bellard et al's Tiny C Compiler lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='' ;; *Sun\ F* | *Sun*Fortran*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Intel*\ [CF]*Compiler*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; *Portland\ Group*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; esac ;; esac ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; rdos*) lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi case $host_os in # For platforms that do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if ${lt_cv_prog_compiler_pic+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic=$lt_prog_compiler_pic fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 $as_echo "$lt_cv_prog_compiler_pic" >&6; } lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } if ${lt_cv_prog_compiler_pic_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test yes = "$lt_cv_prog_compiler_pic_works"; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } if ${lt_cv_prog_compiler_static_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes fi else lt_cv_prog_compiler_static_works=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test yes = "$lt_cv_prog_compiler_static_works"; then : else lt_prog_compiler_static= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } hard_links=nottested if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test no = "$hard_links"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= always_export_symbols=no archive_cmds= archive_expsym_cmds= compiler_needs_object=no enable_shared_with_static_runtimes=no export_dynamic_flag_spec= export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' hardcode_automatic=no hardcode_direct=no hardcode_direct_absolute=no hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_minus_L=no hardcode_shlibpath_var=unsupported inherit_rpath=no link_all_deplibs=unknown module_cmds= module_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= thread_safe_flag_spec= whole_archive_flag_spec= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ' (' and ')$', so one must not match beginning or # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', # as well as any symbol that contains 'd'. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd* | bitrig*) with_gnu_ld=no ;; linux* | k*bsd*-gnu | gnu*) link_all_deplibs=no ;; esac ld_shlibs=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test yes = "$with_gnu_ld"; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; *\ \(GNU\ Binutils\)\ [3-9]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test yes = "$lt_use_gnu_ld_interface"; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='$wl' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' export_dynamic_flag_spec='$wl--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test ia64 != "$host_cpu"; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' export_dynamic_flag_spec='$wl--export-all-symbols' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; haiku*) archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' link_all_deplibs=yes ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes ;; interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='$wl-rpath,$libdir' export_dynamic_flag_spec='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test linux-dietlibc = "$host_os"; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test no = "$tmp_diet" then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 whole_archive_flag_spec= tmp_sharedflag='--shared' ;; nagfor*) # NAGFOR 5.3 tmp_sharedflag='-Wl,-shared' ;; xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' compiler_needs_object=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi case $cc_basename in tcc*) export_dynamic_flag_spec='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test no = "$ld_shlibs"; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then aix_use_runtimelinking=yes break fi done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_direct_absolute=yes hardcode_libdir_separator=':' link_all_deplibs=yes file_list_spec='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # traditional, no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. hardcode_direct=no hardcode_direct_absolute=no ;; esac if test yes = "$GCC"; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag="$shared_flag "'$wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi export_dynamic_flag_spec='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' $wl-bernotok' allow_undefined_flag=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' fi archive_cmds_need_lc=yes archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported always_export_symbols=yes file_list_spec='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, )='true' enable_shared_with_static_runtimes=yes exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib old_postinstall_cmds='chmod 644 $oldlib' postlink_cmds='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' enable_shared_with_static_runtimes=yes ;; esac ;; darwin* | rhapsody*) archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported if test yes = "$lt_cv_ld_force_load"; then whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' else whole_archive_flag_spec='' fi link_all_deplibs=yes allow_undefined_flag=$_lt_dar_allow_undefined case $cc_basename in ifort*|nagfor*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test yes = "$_lt_dar_can_shared"; then output_verbose_link_cmd=func_echo_all archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" else ld_shlibs=no fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test yes = "$GCC"; then archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='$wl-E' ;; hpux10*) if test yes,no = "$GCC,$with_gnu_ld"; then archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test no = "$with_gnu_ld"; then hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test yes,no = "$GCC,$with_gnu_ld"; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 $as_echo_n "checking if $CC understands -b... " >&6; } if ${lt_cv_prog_compiler__b+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler__b=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -b" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler__b=yes fi else lt_cv_prog_compiler__b=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 $as_echo "$lt_cv_prog_compiler__b" >&6; } if test yes = "$lt_cv_prog_compiler__b"; then archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi ;; esac fi if test no = "$with_gnu_ld"; then hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test yes = "$GCC"; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } if ${lt_cv_irix_exported_symbol+:} false; then : $as_echo_n "(cached) " >&6 else save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int foo (void) { return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_irix_exported_symbol=yes else lt_cv_irix_exported_symbol=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 $as_echo "$lt_cv_irix_exported_symbol" >&6; } if test yes = "$lt_cv_irix_exported_symbol"; then archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' fi link_all_deplibs=no else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: inherit_rpath=yes link_all_deplibs=yes ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler ld_shlibs=yes archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; *nto* | *qnx*) ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no hardcode_direct_absolute=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='$wl-rpath,$libdir' export_dynamic_flag_spec='$wl-E' else archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='$wl-rpath,$libdir' fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes ;; osf3*) if test yes = "$GCC"; then allow_undefined_flag=' $wl-expect_unresolved $wl\*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test yes = "$GCC"; then allow_undefined_flag=' $wl-expect_unresolved $wl\*' archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi archive_cmds_need_lc='no' hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z defs' if test yes = "$GCC"; then wlarc='$wl' archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='$wl' archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. GCC discards it without '$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test yes = "$GCC"; then whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=yes ;; sunos4*) if test sequent = "$host_vendor"; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='$wl-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='$wl-z,text' allow_undefined_flag='$wl-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='$wl-R,$libdir' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='$wl-Bexport' runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac if test sni = "$host_vendor"; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) export_dynamic_flag_spec='$wl-Blargedynsym' ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test no = "$ld_shlibs" && can_build_shared=no with_gnu_ld=$with_gnu_ld # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test yes,yes = "$GCC,$enable_shared"; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } if ${lt_cv_archive_cmds_need_lc+:} false; then : $as_echo_n "(cached) " >&6 else $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc=no else lt_cv_archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } if test yes = "$GCC"; then case $host_os in darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; *) lt_awk_arg='/^libraries:/' ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; *) lt_sed_strip_eq='s|=/|/|g' ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary... lt_tmp_lt_search_path_spec= lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` # ...but if some path component already ends with the multilib dir we assume # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). case "$lt_multi_os_dir; $lt_search_path_spec " in "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) lt_multi_os_dir= ;; esac for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" elif test -n "$lt_multi_os_dir"; then test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS = " "; FS = "/|\n";} { lt_foo = ""; lt_count = 0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo = "/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's|/\([A-Za-z]:\)|\1|g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=.so postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='$libname$release$shared_ext$major' ;; aix[4-9]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test ia64 = "$host_cpu"; then # AIX 5 supports IA64 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line '#! .'. This would cause the generated library to # depend on '.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # Using Import Files as archive members, it is possible to support # filename-based versioning of shared library archives on AIX. While # this would work for both with and without runtime linking, it will # prevent static linking of such archives. So we do filename-based # shared library versioning with .so extension only, which is used # when both runtime linking and shared linking is enabled. # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the # archive as well as the shared archive member, telling the # bitwidth (32 or 64) of that shared object, and providing the # list of exported symbols of that shared object, eventually # decorated with the 'weak' keyword # *) the shared object with the F_LOADONLY flag set, to really avoid # it being seen by the linker. # At run time we better use the real file rather than another symlink, # but for link time we create the symlink libNAME.so -> libNAME.so.V case $with_aix_soname,$aix_use_runtimelinking in # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. aix,yes) # traditional libtool dynamic_linker='AIX unversionable lib.so' # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; aix,no) # traditional AIX only dynamic_linker='AIX lib.a(lib.so.V)' # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' ;; svr4,*) # full svr4 only dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,yes) # both, prefer svr4 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # unpreferred sharedlib libNAME.a needs extra handling postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,no) # both, prefer aix dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' ;; esac shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='$libname$shared_ext' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' library_names_spec='$libname.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec=$LIB if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' soname_spec='$libname$release$major$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[23].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=no sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' if test 32 = "$HPUX_IA64_MODE"; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" sys_lib_dlsearch_path_spec=/usr/lib/hpux32 else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" sys_lib_dlsearch_path_spec=/usr/lib/hpux64 fi ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[3-9]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test yes = "$lt_cv_prog_gnu_ld"; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes dynamic_linker='Android linker' # Don't embed -rpath directories since the linker doesn't support them. hardcode_libdir_flag_spec='-L$libdir' ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH if ${lt_cv_shlibpath_overrides_runpath+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir fi shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, # even though it is searched at run-time. Try to do the best guess by # appending ld.so.conf contents (and includes) to the search path. if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd* | bitrig*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then need_version=no else need_version=yes fi library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; os2*) libname_spec='$name' version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no # OS/2 can only load a DLL with a base name of 8 characters or less. soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; v=$($ECHO $release$versuffix | tr -d .-); n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); $ECHO $n$v`$shared_ext' library_names_spec='${libname}_dll.$libext' dynamic_linker='OS/2 ld.exe' shlibpath_var=BEGINLIBPATH sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test yes = "$with_gnu_ld"; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec; then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' soname_spec='$libname$shared_ext.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=sco need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test yes = "$with_gnu_ld"; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test yes = "$GCC"; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec fi if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec fi # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || test yes = "$hardcode_automatic"; then # We can hardcode non-existent directories. if test no != "$hardcode_direct" && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && test no != "$hardcode_minus_L"; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test relink = "$hardcode_action" || test yes = "$inherit_rpath"; then # Fast installation is not supported enable_fast_install=no elif test yes = "$shlibpath_overrides_runpath" || test no = "$enable_shared"; then # Fast installation is not necessary enable_fast_install=needless fi if test yes != "$enable_dlopen"; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen=load_add_on lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen=dlopen lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl else lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; tpf*) # Don't try to run any link tests for TPF. We know it's impossible # because TPF is a cross-compiler, and we know how we open DSOs. lt_cv_dlopen=dlopen lt_cv_dlopen_libs= lt_cv_dlopen_self=no ;; *) ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" if test "x$ac_cv_func_shl_load" = xyes; then : lt_cv_dlopen=shl_load else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } if ${ac_cv_lib_dld_shl_load+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char shl_load (); int main () { return shl_load (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_shl_load=yes else ac_cv_lib_dld_shl_load=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } if test "x$ac_cv_lib_dld_shl_load" = xyes; then : lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld else ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" if test "x$ac_cv_func_dlopen" = xyes; then : lt_cv_dlopen=dlopen else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } if ${ac_cv_lib_svld_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_svld_dlopen=yes else ac_cv_lib_svld_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } if test "x$ac_cv_lib_svld_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } if ${ac_cv_lib_dld_dld_link+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dld_link (); int main () { return dld_link (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_dld_link=yes else ac_cv_lib_dld_dld_link=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } if test "x$ac_cv_lib_dld_dld_link" = xyes; then : lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld fi fi fi fi fi fi ;; esac if test no = "$lt_cv_dlopen"; then enable_dlopen=no else enable_dlopen=yes fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS=$CPPFLAGS test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS=$LDFLAGS wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS=$LIBS LIBS="$lt_cv_dlopen_libs $LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self+:} false; then : $as_echo_n "(cached) " >&6 else if test yes = "$cross_compiling"; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self_static+:} false; then : $as_echo_n "(cached) " >&6 else if test yes = "$cross_compiling"; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS LIBS=$save_LIBS ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi striplib= old_striplib= { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP"; then striplib="$STRIP -x" old_striplib="$STRIP -S" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } ;; esac fi # Report what library types will actually be built { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[4-9]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC=$lt_save_CC ac_config_commands="$ac_config_commands libtool" # Only expand once: ALL_LINGUAS="be cs da en_GB eo es fr hr hu nl pl ro ru sk sv uk vi" mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test "${enable_nls+set}" = set; then : enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } GETTEXT_MACRO_VERSION=0.17 # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; *) MSGFMT_015=$MSGFMT ;; esac case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi rm -f messages.po case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGMERGE" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ;; esac fi MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$localedir" || localedir='${datadir}/locale' test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= ac_config_commands="$ac_config_commands po-directories" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2 or newer" >&5 $as_echo_n "checking whether we are using the GNU C Library 2 or newer... " >&6; } if ${ac_cv_gnu_library_2+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ >= 2) Lucky GNU user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Lucky GNU user" >/dev/null 2>&1; then : ac_cv_gnu_library_2=yes else ac_cv_gnu_library_2=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2" >&5 $as_echo "$ac_cv_gnu_library_2" >&6; } GLIBC2="$ac_cv_gnu_library_2" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi CFLAG_VISIBILITY= HAVE_VISIBILITY=0 if test -n "$GCC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5 $as_echo_n "checking for simple visibility declarations... " >&6; } if ${gl_cv_cc_visibility+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); extern __attribute__((__visibility__("default"))) int exportedfunc (void); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_cc_visibility=yes else gl_cv_cc_visibility=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$gl_save_CFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5 $as_echo "$gl_cv_cc_visibility" >&6; } if test $gl_cv_cc_visibility = yes; then CFLAG_VISIBILITY="-fvisibility=hidden" HAVE_VISIBILITY=1 fi fi cat >>confdefs.h <<_ACEOF #define HAVE_VISIBILITY $HAVE_VISIBILITY _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } if ${ac_cv_c_inline+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_inline=$ac_kw fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 $as_echo "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; *) case $ac_cv_c_inline in no) ac_val=;; *) ac_val=$ac_cv_c_inline;; esac cat >>confdefs.h <<_ACEOF #ifndef __cplusplus #define inline $ac_val #endif _ACEOF ;; esac ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" if test "x$ac_cv_type_size_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned int _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5 $as_echo_n "checking for stdint.h... " >&6; } if ${gl_cv_header_stdint_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { uintmax_t i = (uintmax_t) -1; return !i; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_stdint_h=yes else gl_cv_header_stdint_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5 $as_echo "$gl_cv_header_stdint_h" >&6; } if test $gl_cv_header_stdint_h = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_STDINT_H_WITH_UINTMAX 1 _ACEOF fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 $as_echo_n "checking for working alloca.h... " >&6; } if ${ac_cv_working_alloca_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { char *p = (char *) alloca (2 * sizeof (int)); if (p) return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_working_alloca_h=yes else ac_cv_working_alloca_h=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 $as_echo "$ac_cv_working_alloca_h" >&6; } if test $ac_cv_working_alloca_h = yes; then $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 $as_echo_n "checking for alloca... " >&6; } if ${ac_cv_func_alloca_works+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __GNUC__ # define alloca __builtin_alloca #else # ifdef _MSC_VER # include # define alloca _alloca # else # ifdef HAVE_ALLOCA_H # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ void *alloca (size_t); # endif # endif # endif # endif #endif int main () { char *p = (char *) alloca (1); if (p) return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_func_alloca_works=yes else ac_cv_func_alloca_works=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 $as_echo "$ac_cv_func_alloca_works" >&6; } if test $ac_cv_func_alloca_works = yes; then $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h else # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=\${LIBOBJDIR}alloca.$ac_objext $as_echo "#define C_ALLOCA 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } if ${ac_cv_os_cray+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined CRAY && ! defined CRAY2 webecray #else wenotbecray #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "webecray" >/dev/null 2>&1; then : ac_cv_os_cray=yes else ac_cv_os_cray=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 $as_echo "$ac_cv_os_cray" >&6; } if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; 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 CRAY_STACKSEG_END $ac_func _ACEOF break fi done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 $as_echo_n "checking stack direction for C alloca... " >&6; } if ${ac_cv_c_stack_direction+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_c_stack_direction=0 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int find_stack_direction (int *addr, int depth) { int dir, dummy = 0; if (! addr) addr = &dummy; *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; dir = depth ? find_stack_direction (addr, depth - 1) : 0; return dir + dummy; } int main (int argc, char **argv) { return find_stack_direction (0, argc + !argv + 20) < 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_c_stack_direction=1 else ac_cv_c_stack_direction=-1 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_c_stack_direction" >&5 $as_echo "$ac_cv_c_stack_direction" >&6; } cat >>confdefs.h <<_ACEOF #define STACK_DIRECTION $ac_cv_c_stack_direction _ACEOF fi for ac_header in $ac_header_list do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in getpagesize do : ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" if test "x$ac_cv_func_getpagesize" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETPAGESIZE 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 $as_echo_n "checking for working mmap... " >&6; } if ${ac_cv_func_mmap_fixed_mapped+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_mmap_fixed_mapped=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default /* malloc might have been renamed as rpl_malloc. */ #undef malloc /* Thanks to Mike Haertel and Jim Avera for this test. Here is a matrix of mmap possibilities: mmap private not fixed mmap private fixed at somewhere currently unmapped mmap private fixed at somewhere already mapped mmap shared not fixed mmap shared fixed at somewhere currently unmapped mmap shared fixed at somewhere already mapped For private mappings, we should verify that changes cannot be read() back from the file, nor mmap's back from the file at a different address. (There have been systems where private was not correctly implemented like the infamous i386 svr4.0, and systems where the VM page cache was not coherent with the file system buffer cache like early versions of FreeBSD and possibly contemporary NetBSD.) For shared mappings, we should conversely verify that changes get propagated back to all the places they're supposed to be. Grep wants private fixed already mapped. The main things grep needs to know about mmap are: * does it exist and is it safe to write into the mmap'd area * how to use it (BSD variants) */ #include #include #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H char *malloc (); #endif /* This mess was copied from the GNU getpagesize.h. */ #ifndef HAVE_GETPAGESIZE # ifdef _SC_PAGESIZE # define getpagesize() sysconf(_SC_PAGESIZE) # else /* no _SC_PAGESIZE */ # ifdef HAVE_SYS_PARAM_H # include # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE # else /* no EXEC_PAGESIZE */ # ifdef NBPG # define getpagesize() NBPG * CLSIZE # ifndef CLSIZE # define CLSIZE 1 # endif /* no CLSIZE */ # else /* no NBPG */ # ifdef NBPC # define getpagesize() NBPC # else /* no NBPC */ # ifdef PAGESIZE # define getpagesize() PAGESIZE # endif /* PAGESIZE */ # endif /* no NBPC */ # endif /* no NBPG */ # endif /* no EXEC_PAGESIZE */ # else /* no HAVE_SYS_PARAM_H */ # define getpagesize() 8192 /* punt totally */ # endif /* no HAVE_SYS_PARAM_H */ # endif /* no _SC_PAGESIZE */ #endif /* no HAVE_GETPAGESIZE */ int main () { char *data, *data2, *data3; const char *cdata2; int i, pagesize; int fd, fd2; pagesize = getpagesize (); /* First, make a file with some known garbage in it. */ data = (char *) malloc (pagesize); if (!data) return 1; for (i = 0; i < pagesize; ++i) *(data + i) = rand (); umask (0); fd = creat ("conftest.mmap", 0600); if (fd < 0) return 2; if (write (fd, data, pagesize) != pagesize) return 3; close (fd); /* Next, check that the tail of a page is zero-filled. File must have non-zero length, otherwise we risk SIGBUS for entire page. */ fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); if (fd2 < 0) return 4; cdata2 = ""; if (write (fd2, cdata2, 1) != 1) return 5; data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); if (data2 == MAP_FAILED) return 6; for (i = 0; i < pagesize; ++i) if (*(data2 + i)) return 7; close (fd2); if (munmap (data2, pagesize)) return 8; /* Next, try to mmap the file at a fixed address which already has something else allocated at it. If we can, also make sure that we see the same garbage. */ fd = open ("conftest.mmap", O_RDWR); if (fd < 0) return 9; if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, 0L)) return 10; for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data2 + i)) return 11; /* Finally, make sure that changes to the mapped area do not percolate back to the file as seen by read(). (This is a bug on some variants of i386 svr4.0.) */ for (i = 0; i < pagesize; ++i) *(data2 + i) = *(data2 + i) + 1; data3 = (char *) malloc (pagesize); if (!data3) return 12; if (read (fd, data3, pagesize) != pagesize) return 13; for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data3 + i)) return 14; close (fd); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_mmap_fixed_mapped=yes else ac_cv_func_mmap_fixed_mapped=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_mmap_fixed_mapped" >&5 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } if test $ac_cv_func_mmap_fixed_mapped = yes; then $as_echo "#define HAVE_MMAP 1" >>confdefs.h fi rm -f conftest.mmap conftest.txt { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; } if ${gt_cv_int_divbyzero_sigfpe+:} false; then : $as_echo_n "(cached) " >&6 else gt_cv_int_divbyzero_sigfpe= case "$host_os" in macos* | darwin[6-9]* | darwin[1-9][0-9]*) # On MacOS X 10.2 or newer, just assume the same as when cross- # compiling. If we were to perform the real test, 1 Crash Report # dialog window would pop up. case "$host_cpu" in i[34567]86 | x86_64) gt_cv_int_divbyzero_sigfpe="guessing yes" ;; esac ;; esac if test -z "$gt_cv_int_divbyzero_sigfpe"; then if test "$cross_compiling" = yes; then : # Guess based on the CPU. case "$host_cpu" in alpha* | i[34567]86 | x86_64 | m68k | s390*) gt_cv_int_divbyzero_sigfpe="guessing yes";; *) gt_cv_int_divbyzero_sigfpe="guessing no";; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include static void sigfpe_handler (int sig) { /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ exit (sig != SIGFPE); } int x = 1; int y = 0; int z; int nan; int main () { signal (SIGFPE, sigfpe_handler); /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) signal (SIGTRAP, sigfpe_handler); #endif /* Linux/SPARC yields signal SIGILL. */ #if defined (__sparc__) && defined (__linux__) signal (SIGILL, sigfpe_handler); #endif z = x / y; nan = y / y; exit (1); } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gt_cv_int_divbyzero_sigfpe=yes else gt_cv_int_divbyzero_sigfpe=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: $gt_cv_int_divbyzero_sigfpe" >&5 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; } case "$gt_cv_int_divbyzero_sigfpe" in *yes) value=1;; *) value=0;; esac cat >>confdefs.h <<_ACEOF #define INTDIV0_RAISES_SIGFPE $value _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5 $as_echo_n "checking for inttypes.h... " >&6; } if ${gl_cv_header_inttypes_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { uintmax_t i = (uintmax_t) -1; return !i; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_header_inttypes_h=yes else gl_cv_header_inttypes_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5 $as_echo "$gl_cv_header_inttypes_h" >&6; } if test $gl_cv_header_inttypes_h = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_INTTYPES_H_WITH_UINTMAX 1 _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 $as_echo_n "checking for unsigned long long int... " >&6; } if ${ac_cv_type_unsigned_long_long_int+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ unsigned long long int ull = 18446744073709551615ULL; typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1 ? 1 : -1)]; int i = 63; int main () { unsigned long long int ullmax = 18446744073709551615ull; return (ull << 63 | ull >> 63 | ull << i | ull >> i | ullmax / ull | ullmax % ull); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_type_unsigned_long_long_int=yes else ac_cv_type_unsigned_long_long_int=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } if test $ac_cv_type_unsigned_long_long_int = yes; then $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h fi if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then test $ac_cv_type_unsigned_long_long_int = yes \ && ac_type='unsigned long long' \ || ac_type='unsigned long' cat >>confdefs.h <<_ACEOF #define uintmax_t $ac_type _ACEOF else $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h fi for ac_header in inttypes.h do : ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" if test "x$ac_cv_header_inttypes_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_INTTYPES_H 1 _ACEOF fi done if test $ac_cv_header_inttypes_h = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; } if ${gt_cv_inttypes_pri_broken+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef PRId32 char *p = PRId32; #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_inttypes_pri_broken=no else gt_cv_inttypes_pri_broken=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5 $as_echo "$gt_cv_inttypes_pri_broken" >&6; } fi if test "$gt_cv_inttypes_pri_broken" = yes; then cat >>confdefs.h <<_ACEOF #define PRI_MACROS_BROKEN 1 _ACEOF PRI_MACROS_BROKEN=1 else PRI_MACROS_BROKEN=0 fi # Check whether --enable-threads was given. if test "${enable_threads+set}" = set; then : enableval=$enable_threads; gl_use_threads=$enableval else case "$host_os" in osf*) gl_use_threads=no ;; *) gl_use_threads=yes ;; esac fi if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then # For using : case "$host_os" in osf*) # On OSF/1, the compiler needs the flag -D_REENTRANT so that it # groks . cc also understands the flag -pthread, but # we don't use it because 1. gcc-2.95 doesn't understand -pthread, # 2. putting a flag into CPPFLAGS that has an effect on the linker # causes the AC_TRY_LINK test below to succeed unexpectedly, # leading to wrong values of LIBTHREAD and LTLIBTHREAD. CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac # Some systems optimize for single-threaded programs by default, and # need special flags to disable these optimizations. For example, the # definition of 'errno' in . case "$host_os" in aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; esac fi if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 $as_echo_n "checking for ld used by GCC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | [A-Za-z]:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${acl_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) test "$with_gnu_ld" != no && break ;; *) test "$with_gnu_ld" != yes && break ;; esac fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi fi LD="$acl_cv_path_LD" if test -n "$LD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${acl_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 &5 $as_echo "$acl_cv_prog_gnu_ld" >&6; } with_gnu_ld=$acl_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 $as_echo_n "checking for shared library run path origin... " >&6; } if ${acl_cv_rpath+:} false; then : $as_echo_n "(cached) " >&6 else CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 $as_echo "$acl_cv_rpath" >&6; } wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" # Check whether --enable-rpath was given. if test "${enable_rpath+set}" = set; then : enableval=$enable_rpath; : else enable_rpath=yes fi acl_libdirstem=lib 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 ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi gl_threads_api=none LIBTHREAD= LTLIBTHREAD= LIBMULTITHREAD= LTLIBMULTITHREAD= if test "$gl_use_threads" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5 $as_echo_n "checking whether imported symbols can be declared weak... " >&6; } gl_have_weak=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern void xyzzy (); #pragma weak xyzzy int main () { xyzzy(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_have_weak=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_weak" >&5 $as_echo "$gl_have_weak" >&6; } if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that # it groks . It's added above, in gl_LOCK_EARLY_BODY. ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" if test "x$ac_cv_header_pthread_h" = xyes; then : gl_have_pthread_h=yes else gl_have_pthread_h=no fi if test "$gl_have_pthread_h" = yes; then # Other possible tests: # -lpthreads (FSU threads, PCthreads) # -lgthreads gl_have_pthread= # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist # in libc. IRIX 6.5 has the first one in both libc and libpthread, but # the second one only in libpthread, and lock.c needs it. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { pthread_mutex_lock((pthread_mutex_t*)0); pthread_mutexattr_init((pthread_mutexattr_t*)0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_have_pthread=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext # Test for libpthread by looking for pthread_kill. (Not pthread_self, # since it is defined as a macro on OSF/1.) if test -n "$gl_have_pthread"; then # The program links fine without libpthread. But it may actually # need to link with libpthread in order to create multiple threads. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 $as_echo_n "checking for pthread_kill in -lpthread... " >&6; } if ${ac_cv_lib_pthread_pthread_kill+:} 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_kill (); int main () { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_pthread_pthread_kill=yes else ac_cv_lib_pthread_pthread_kill=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_kill" >&5 $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread # On Solaris and HP-UX, most pthread functions exist also in libc. # Therefore pthread_in_use() needs to actually try to create a # thread: pthread_create from libc will fail, whereas # pthread_create will actually create a thread. case "$host_os" in solaris* | hpux*) $as_echo "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h esac fi else # Some library is needed. Try libpthread and libc_r. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 $as_echo_n "checking for pthread_kill in -lpthread... " >&6; } if ${ac_cv_lib_pthread_pthread_kill+:} 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_kill (); int main () { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_pthread_pthread_kill=yes else ac_cv_lib_pthread_pthread_kill=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_kill" >&5 $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : gl_have_pthread=yes LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread fi if test -z "$gl_have_pthread"; then # For FreeBSD 4. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5 $as_echo_n "checking for pthread_kill in -lc_r... " >&6; } if ${ac_cv_lib_c_r_pthread_kill+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lc_r $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_kill (); int main () { return pthread_kill (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_c_r_pthread_kill=yes else ac_cv_lib_c_r_pthread_kill=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_c_r_pthread_kill" >&5 $as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; } if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then : gl_have_pthread=yes LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r fi fi fi if test -n "$gl_have_pthread"; then gl_threads_api=posix $as_echo "#define USE_POSIX_THREADS 1" >>confdefs.h if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if test $gl_have_weak = yes; then $as_echo "#define USE_POSIX_THREADS_WEAK 1" >>confdefs.h LIBTHREAD= LTLIBTHREAD= fi fi # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the # pthread_rwlock_* functions. ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include " if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then : $as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h fi # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if __FreeBSD__ == 4 error "No, in FreeBSD 4.0 recursive mutexes actually don't work." #else int x = (int)PTHREAD_MUTEX_RECURSIVE; return !x; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : $as_echo "#define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi fi fi if test -z "$gl_have_pthread"; then if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then gl_have_solaristhread= gl_save_LIBS="$LIBS" LIBS="$LIBS -lthread" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { thr_self(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_have_solaristhread=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" if test -n "$gl_have_solaristhread"; then gl_threads_api=solaris LIBTHREAD=-lthread LTLIBTHREAD=-lthread LIBMULTITHREAD="$LIBTHREAD" LTLIBMULTITHREAD="$LTLIBTHREAD" $as_echo "#define USE_SOLARIS_THREADS 1" >>confdefs.h if test $gl_have_weak = yes; then $as_echo "#define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h LIBTHREAD= LTLIBTHREAD= fi fi fi fi if test "$gl_use_threads" = pth; then gl_save_CPPFLAGS="$CPPFLAGS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5 $as_echo_n "checking how to link with libpth... " >&6; } if ${ac_cv_libpth_libs+:} false; then : $as_echo_n "(cached) " >&6 else 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-libpth-prefix was given. if test "${with_libpth_prefix+set}" = set; then : withval=$with_libpth_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" fi fi fi LIBPTH= LTLIBPTH= INCPTH= LIBPTH_PREFIX= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='pth ' 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" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$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 $LTLIBPTH; 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 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-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"; then LIBPTH="${LIBPTH}${LIBPTH:+ }$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 LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBPTH="${LIBPTH}${LIBPTH:+ }$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 $LIBPTH; 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 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so" else LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a" else LIBPTH="${LIBPTH}${LIBPTH:+ }-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/"'*$,,'` LIBPTH_PREFIX="$basedir" 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 $INCPTH; 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 INCPTH="${INCPTH}${INCPTH:+ }-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"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; 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 $LIBPTH; 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 LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBPTH; 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 LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-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$,,'` ;; *) LIBPTH="${LIBPTH}${LIBPTH:+ }$dep" LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep" ;; esac done fi else LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name" LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-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" LIBPTH="${LIBPTH}${LIBPTH:+ }$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" LIBPTH="${LIBPTH}${LIBPTH:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir" done fi ac_cv_libpth_libs="$LIBPTH" ac_cv_libpth_ltlibs="$LTLIBPTH" ac_cv_libpth_cppflags="$INCPTH" ac_cv_libpth_prefix="$LIBPTH_PREFIX" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5 $as_echo "$ac_cv_libpth_libs" >&6; } LIBPTH="$ac_cv_libpth_libs" LTLIBPTH="$ac_cv_libpth_ltlibs" INCPTH="$ac_cv_libpth_cppflags" LIBPTH_PREFIX="$ac_cv_libpth_prefix" for element in $INCPTH; 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 HAVE_LIBPTH=yes gl_have_pth= gl_save_LIBS="$LIBS" LIBS="$LIBS -lpth" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { pth_self(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gl_have_pth=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gl_save_LIBS" if test -n "$gl_have_pth"; then gl_threads_api=pth LIBTHREAD="$LIBPTH" LTLIBTHREAD="$LTLIBPTH" LIBMULTITHREAD="$LIBTHREAD" LTLIBMULTITHREAD="$LTLIBTHREAD" $as_echo "#define USE_PTH_THREADS 1" >>confdefs.h if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then if test $gl_have_weak = yes; then $as_echo "#define USE_PTH_THREADS_WEAK 1" >>confdefs.h LIBTHREAD= LTLIBTHREAD= fi fi else CPPFLAGS="$gl_save_CPPFLAGS" fi fi if test -z "$gl_have_pthread"; then if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then if { case "$host_os" in mingw*) true;; *) false;; esac }; then gl_threads_api=win32 $as_echo "#define USE_WIN32_THREADS 1" >>confdefs.h fi fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5 $as_echo_n "checking for multithread API to use... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5 $as_echo "$gl_threads_api" >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; } int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : $as_echo "#define HAVE_BUILTIN_EXPECT 1" >>confdefs.h fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext for ac_header in argz.h inttypes.h limits.h unistd.h sys/param.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 for ac_func in getcwd getegid geteuid getgid getuid mempcpy munmap \ stpcpy strcasecmp strdup strtoul tsearch argz_count argz_stringify \ argz_next __fsetlocking 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&5 $as_echo_n "checking whether feof_unlocked is declared... " >&6; } if ${ac_cv_have_decl_feof_unlocked+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef feof_unlocked char *p = (char *) feof_unlocked; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_have_decl_feof_unlocked=yes else ac_cv_have_decl_feof_unlocked=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_feof_unlocked" >&5 $as_echo "$ac_cv_have_decl_feof_unlocked" >&6; } if test $ac_cv_have_decl_feof_unlocked = yes; then gt_value=1 else gt_value=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_FEOF_UNLOCKED $gt_value _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&5 $as_echo_n "checking whether fgets_unlocked is declared... " >&6; } if ${ac_cv_have_decl_fgets_unlocked+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef fgets_unlocked char *p = (char *) fgets_unlocked; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_have_decl_fgets_unlocked=yes else ac_cv_have_decl_fgets_unlocked=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_fgets_unlocked" >&5 $as_echo "$ac_cv_have_decl_fgets_unlocked" >&6; } if test $ac_cv_have_decl_fgets_unlocked = yes; then gt_value=1 else gt_value=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_FGETS_UNLOCKED $gt_value _ACEOF # Check whether --with-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then : withval=$with_libiconv_prefix; for dir in `echo "$withval" | tr : ' '`; do if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi done fi { $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 -liconv" 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 "#define HAVE_ICONV 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 $as_echo_n "checking for iconv declaration... " >&6; } if ${am_cv_proto_iconv+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : am_cv_proto_iconv_arg1="" else am_cv_proto_iconv_arg1="const" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 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);" fi am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- }$am_cv_proto_iconv" >&5 $as_echo "${ac_t:- }$am_cv_proto_iconv" >&6; } cat >>confdefs.h <<_ACEOF #define ICONV_CONST $am_cv_proto_iconv_arg1 _ACEOF fi LIBICONV= if test "$am_cv_lib_iconv" = yes; then LIBICONV="-liconv" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NL_LOCALE_NAME macro" >&5 $as_echo_n "checking for NL_LOCALE_NAME macro... " >&6; } if ${gt_cv_nl_locale_name+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { char* cs = nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES)); return !cs; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_nl_locale_name=yes else gt_cv_nl_locale_name=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_nl_locale_name" >&5 $as_echo "$gt_cv_nl_locale_name" >&6; } if test $gt_cv_nl_locale_name = yes; then $as_echo "#define HAVE_NL_LOCALE_NAME 1" >>confdefs.h fi for ac_prog in bison 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_INTLBISON+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$INTLBISON"; then ac_cv_prog_INTLBISON="$INTLBISON" # 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_INTLBISON="$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 INTLBISON=$ac_cv_prog_INTLBISON if test -n "$INTLBISON"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5 $as_echo "$INTLBISON" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$INTLBISON" && break done if test -z "$INTLBISON"; then ac_verc_fail=yes else { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5 $as_echo_n "checking version of bison... " >&6; } ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` case $ac_prog_version in '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5 $as_echo "$ac_prog_version" >&6; } fi if test $ac_verc_fail = yes; then INTLBISON=: fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 $as_echo_n "checking for long long int... " >&6; } if ${ac_cv_type_long_long_int+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Test preprocessor. */ #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) error in preprocessor; #endif #if ! (18446744073709551615ULL <= -1ull) error in preprocessor; #endif /* Test literals. */ long long int ll = 9223372036854775807ll; long long int nll = -9223372036854775807LL; unsigned long long int ull = 18446744073709551615ULL; /* Test constant expressions. */ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) ? 1 : -1)]; typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 ? 1 : -1)]; int i = 63; int main () { /* Test availability of runtime routines for shift and division. */ long long int llmax = 9223372036854775807ll; unsigned long long int ullmax = 18446744073709551615ull; return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) | (llmax / ll) | (llmax % ll) | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) | (ullmax / ull) | (ullmax % ull)); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if test "$cross_compiling" = yes; then : ac_cv_type_long_long_int=yes else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef LLONG_MAX # define HALF \ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) # define LLONG_MAX (HALF - 1 + HALF) #endif int main () { long long int n = 1; int i; for (i = 0; ; i++) { long long int m = n << i; if (m >> i != n) return 1; if (LLONG_MAX / 2 < m) break; } return 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_type_long_long_int=yes else ac_cv_type_long_long_int=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi else ac_cv_type_long_long_int=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 $as_echo "$ac_cv_type_long_long_int" >&6; } if test $ac_cv_type_long_long_int = yes; then $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 $as_echo_n "checking for wchar_t... " >&6; } if ${gt_cv_c_wchar_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include wchar_t foo = (wchar_t)'\0'; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_c_wchar_t=yes else gt_cv_c_wchar_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 $as_echo "$gt_cv_c_wchar_t" >&6; } if test $gt_cv_c_wchar_t = yes; then $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 $as_echo_n "checking for wint_t... " >&6; } if ${gt_cv_c_wint_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.0.1 has a bug: , and must be included before . */ #include #include #include #include wint_t foo = (wchar_t)'\0'; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_c_wint_t=yes else gt_cv_c_wint_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 $as_echo "$gt_cv_c_wint_t" >&6; } if test $gt_cv_c_wint_t = yes; then $as_echo "#define HAVE_WINT_T 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5 $as_echo_n "checking for intmax_t... " >&6; } if ${gt_cv_c_intmax_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if HAVE_STDINT_H_WITH_UINTMAX #include #endif #if HAVE_INTTYPES_H_WITH_UINTMAX #include #endif int main () { intmax_t x = -1; return !x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gt_cv_c_intmax_t=yes else gt_cv_c_intmax_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5 $as_echo "$gt_cv_c_intmax_t" >&6; } if test $gt_cv_c_intmax_t = yes; then $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5 $as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; } if ${gt_cv_func_printf_posix+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ notposix #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "notposix" >/dev/null 2>&1; then : gt_cv_func_printf_posix="guessing no" else gt_cv_func_printf_posix="guessing yes" fi rm -f conftest* else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include /* The string "%2$d %1$d", with dollar characters protected from the shell's dollar expansion (possibly an autoconf bug). */ static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; static char buf[100]; int main () { sprintf (buf, format, 33, 55); return (strcmp (buf, "55 33") != 0); } _ACEOF if ac_fn_c_try_run "$LINENO"; then : gt_cv_func_printf_posix=yes else gt_cv_func_printf_posix=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: $gt_cv_func_printf_posix" >&5 $as_echo "$gt_cv_func_printf_posix" >&6; } case $gt_cv_func_printf_posix in *yes) $as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; } if ${ac_cv_gnu_library_2_1+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifdef __GNU_LIBRARY__ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) Lucky GNU user #endif #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Lucky GNU user" >/dev/null 2>&1; then : ac_cv_gnu_library_2_1=yes else ac_cv_gnu_library_2_1=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5 $as_echo "$ac_cv_gnu_library_2_1" >&6; } GLIBC21="$ac_cv_gnu_library_2_1" for ac_header in stdint.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" if test "x$ac_cv_header_stdint_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDINT_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5 $as_echo_n "checking for SIZE_MAX... " >&6; } if ${gl_cv_size_max+:} false; then : $as_echo_n "(cached) " >&6 else gl_cv_size_max= cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_STDINT_H #include #endif #ifdef SIZE_MAX Found it #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Found it" >/dev/null 2>&1; then : gl_cv_size_max=yes fi rm -f conftest* if test -z "$gl_cv_size_max"; then if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include #include "; then : else size_t_bits_minus_1= fi if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include "; then : else fits_in_uint= fi if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then if test $fits_in_uint = 1; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include extern size_t foo; extern unsigned long foo; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : fits_in_uint=0 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $fits_in_uint = 1; then gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" else gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" fi else gl_cv_size_max='((size_t)~(size_t)0)' fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5 $as_echo "$gl_cv_size_max" >&6; } if test "$gl_cv_size_max" != yes; then cat >>confdefs.h <<_ACEOF #define SIZE_MAX $gl_cv_size_max _ACEOF fi for ac_header in stdint.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" if test "x$ac_cv_header_stdint_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDINT_H 1 _ACEOF fi done { $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 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default" if test "x$ac_cv_type_ptrdiff_t" = xyes; then : else $as_echo "#define ptrdiff_t long" >>confdefs.h fi for ac_header in stddef.h stdlib.h string.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 for ac_func in asprintf fwprintf putenv setenv setlocale snprintf wcslen 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5 $as_echo_n "checking whether _snprintf is declared... " >&6; } if ${ac_cv_have_decl__snprintf+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef _snprintf char *p = (char *) _snprintf; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_have_decl__snprintf=yes else ac_cv_have_decl__snprintf=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snprintf" >&5 $as_echo "$ac_cv_have_decl__snprintf" >&6; } if test $ac_cv_have_decl__snprintf = yes; then gt_value=1 else gt_value=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL__SNPRINTF $gt_value _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5 $as_echo_n "checking whether _snwprintf is declared... " >&6; } if ${ac_cv_have_decl__snwprintf+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef _snwprintf char *p = (char *) _snwprintf; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_have_decl__snwprintf=yes else ac_cv_have_decl__snwprintf=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl__snwprintf" >&5 $as_echo "$ac_cv_have_decl__snwprintf" >&6; } if test $ac_cv_have_decl__snwprintf = yes; then gt_value=1 else gt_value=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL__SNWPRINTF $gt_value _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5 $as_echo_n "checking whether getc_unlocked is declared... " >&6; } if ${ac_cv_have_decl_getc_unlocked+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef getc_unlocked char *p = (char *) getc_unlocked; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_have_decl_getc_unlocked=yes else ac_cv_have_decl_getc_unlocked=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_decl_getc_unlocked" >&5 $as_echo "$ac_cv_have_decl_getc_unlocked" >&6; } if test $ac_cv_have_decl_getc_unlocked = yes; then gt_value=1 else gt_value=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GETC_UNLOCKED $gt_value _ACEOF case $gt_cv_func_printf_posix in *yes) HAVE_POSIX_PRINTF=1 ;; *) HAVE_POSIX_PRINTF=0 ;; esac if test "$ac_cv_func_asprintf" = yes; then HAVE_ASPRINTF=1 else HAVE_ASPRINTF=0 fi if test "$ac_cv_func_snprintf" = yes; then HAVE_SNPRINTF=1 else HAVE_SNPRINTF=0 fi if test "$ac_cv_func_wprintf" = yes; then HAVE_WPRINTF=1 else HAVE_WPRINTF=0 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } if ${am_cv_langinfo_codeset+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { char* cs = nl_langinfo(CODESET); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_langinfo_codeset=yes else am_cv_langinfo_codeset=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 $as_echo "$am_cv_langinfo_codeset" >&6; } if test $am_cv_langinfo_codeset = yes; then $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 $as_echo_n "checking for LC_MESSAGES... " >&6; } if ${gt_cv_val_LC_MESSAGES+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_val_LC_MESSAGES=yes else gt_cv_val_LC_MESSAGES=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5 $as_echo "$gt_cv_val_LC_MESSAGES" >&6; } if test $gt_cv_val_LC_MESSAGES = yes; then $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h fi if test "$enable_shared" = yes; then case "$host_os" in mingw* | cygwin*) is_woe32dll=yes ;; *) is_woe32dll=no ;; esac else is_woe32dll=no fi WOE32DLL=$is_woe32dll case "$host_os" in mingw* | cygwin*) is_woe32=yes ;; *) is_woe32=no ;; esac WOE32=$is_woe32 if test $WOE32 = yes; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. set dummy ${ac_tool_prefix}windres; 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_WINDRES+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$WINDRES"; then ac_cv_prog_WINDRES="$WINDRES" # 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_WINDRES="${ac_tool_prefix}windres" $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 WINDRES=$ac_cv_prog_WINDRES if test -n "$WINDRES"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 $as_echo "$WINDRES" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_WINDRES"; then ac_ct_WINDRES=$WINDRES # Extract the first word of "windres", so it can be a program name with args. set dummy windres; 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_WINDRES+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_WINDRES"; then ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # 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_WINDRES="windres" $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_WINDRES=$ac_cv_prog_ac_ct_WINDRES if test -n "$ac_ct_WINDRES"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 $as_echo "$ac_ct_WINDRES" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_WINDRES" = x; then WINDRES="" 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 WINDRES=$ac_ct_WINDRES fi else WINDRES="$ac_cv_prog_WINDRES" fi fi case "$host_os" in hpux*) LTLIBC="" ;; *) LTLIBC="-lc" ;; esac { $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 BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5 $as_echo_n "checking whether included gettext is requested... " >&6; } # Check whether --with-included-gettext was given. if test "${with_included_gettext+set}" = set; then : withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval else nls_cv_force_use_gnu_gettext=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; } nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 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 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" fi fi fi LIBINTL= LTLIBINTL= INCINTL= LIBINTL_PREFIX= 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"; 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/"'*$,,'` LIBINTL_PREFIX="$basedir" 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"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; 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 "$gt_use_preinstalled_gnugettext" != "yes"; then nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV $LIBTHREAD" LTLIBINTL="\${top_builddir}/intl/libintl.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 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 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 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then BUILD_INCLUDED_LIBINTL=yes fi nls_cv_header_intl= nls_cv_header_libgt= DATADIRNAME=share INSTOBJEXT=.mo GENCAT=gencat INTLOBJS= if test "$USE_INCLUDED_LIBINTL" = yes; then INTLOBJS="\$(GETTOBJS)" fi INTL_LIBTOOL_SUFFIX_PREFIX= INTLLIBS="$LIBINTL" # Check whether --enable-largefile was given. if test "${enable_largefile+set}" = set; then : enableval=$enable_largefile; fi if test "$enable_largefile" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } if ${ac_cv_sys_largefile_CC+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_sys_largefile_CC=no if test "$GCC" != yes; then ac_save_CC=$CC while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : break fi rm -f core conftest.err conftest.$ac_objext CC="$CC -n32" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_largefile_CC=' -n32'; break fi rm -f core conftest.err conftest.$ac_objext break done CC=$ac_save_CC rm -f conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 $as_echo "$ac_cv_sys_largefile_CC" >&6; } if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } if ${ac_cv_sys_file_offset_bits+:} false; then : $as_echo_n "(cached) " >&6 else while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_file_offset_bits=no; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_file_offset_bits=64; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_file_offset_bits=unknown break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } case $ac_cv_sys_file_offset_bits in #( no | unknown) ;; *) cat >>confdefs.h <<_ACEOF #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits _ACEOF ;; esac rm -rf conftest* if test $ac_cv_sys_file_offset_bits = unknown; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } if ${ac_cv_sys_large_files+:} false; then : $as_echo_n "(cached) " >&6 else while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_large_files=no; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _LARGE_FILES 1 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_large_files=1; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_large_files=unknown break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 $as_echo "$ac_cv_sys_large_files" >&6; } case $ac_cv_sys_large_files in #( no | unknown) ;; *) cat >>confdefs.h <<_ACEOF #define _LARGE_FILES $ac_cv_sys_large_files _ACEOF ;; esac rm -rf conftest* fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } if ${ac_cv_c_bigendian+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. ac_arch= ac_prev= for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do if test -n "$ac_prev"; then case $ac_word in i?86 | x86_64 | ppc | ppc64) if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ac_arch=$ac_word else ac_cv_c_bigendian=universal break fi ;; esac ac_prev= elif test "x$ac_word" = "x-arch"; then ac_prev=arch fi done fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ && LITTLE_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no 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 if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to _BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #ifndef _BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=yes else ac_cv_c_bigendian=no 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 if test $ac_cv_c_bigendian = unknown; then # Compile a test program. if test "$cross_compiling" = yes; then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } extern int foo; int main () { return use_ascii (foo) == use_ebcdic (foo); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { /* Are we little or big endian? From Harbison&Steele. */ union { long int l; char c[sizeof (long int)]; } u; u.l = 1; return u.c[sizeof (long int) - 1] == 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_c_bigendian=no else ac_cv_c_bigendian=yes 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_c_bigendian" >&5 $as_echo "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h ;; #( no) ;; #( universal) $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) as_fn_error $? "unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; esac cflags_save="$CFLAGS" if test -z "$GCC"; then case $host in *-*-irix*) DEBUG="-g -signed" CFLAGS="-O2 -w -signed" PROFILE="-p -g3 -O2 -signed" ;; sparc-sun-solaris*) DEBUG="-v -g" CFLAGS="-xO4 -fast -w -fsimple -native -xcg92" PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;; *) DEBUG="-g" CFLAGS="-O" PROFILE="-g -p" ;; esac else case $host in *-*-linux*) DEBUG="-g -Wall -fsigned-char" CFLAGS="-O2 -Wall -ffast-math -fsigned-char" PROFILE="-Wall -W -pg -g -O2 -ffast-math -fsigned-char" ;; sparc-sun-*) DEBUG="-g -Wall -fsigned-char -mv8" CFLAGS="-O20 -ffast-math -fsigned-char -mv8" PROFILE="-pg -g -O20 -fsigned-char -mv8" ;; *-*-darwin*) DEBUG="-fno-common -g -Wall -fsigned-char" CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math" PROFILE="-fno-common -O4 -Wall -pg -g -fsigned-char -ffast-math" ;; *) DEBUG="-g -Wall -fsigned-char" CFLAGS="-O2 -fsigned-char" PROFILE="-O2 -g -pg -fsigned-char" ;; esac fi CFLAGS="$CFLAGS $cflags_save" DEBUG="$DEBUG $cflags_save" PROFILE="$PROFILE $cflags_save" # Check whether --enable-ogg123 was given. if test "${enable_ogg123+set}" = set; then : enableval=$enable_ogg123; build_ogg123="$enableval" else build_ogg123="yes" fi # Check whether --enable-oggdec was given. if test "${enable_oggdec+set}" = set; then : enableval=$enable_oggdec; build_oggdec="$enableval" else build_oggdec="yes" fi # Check whether --enable-oggenc was given. if test "${enable_oggenc+set}" = set; then : enableval=$enable_oggenc; build_oggenc="$enableval" else build_oggenc="yes" fi # Check whether --enable-ogginfo was given. if test "${enable_ogginfo+set}" = set; then : enableval=$enable_ogginfo; build_ogginfo="$enableval" else build_ogginfo="yes" fi # Check whether --enable-vcut was given. if test "${enable_vcut+set}" = set; then : enableval=$enable_vcut; build_vcut="$enableval" else build_vcut="yes" fi # Check whether --enable-vorbiscomment was given. if test "${enable_vorbiscomment+set}" = set; then : enableval=$enable_vorbiscomment; build_vorbiscomment="$enableval" else build_vorbiscomment="yes" fi # Check whether --with-flac was given. if test "${with_flac+set}" = set; then : withval=$with_flac; build_flac="$withval" else build_flac="yes" fi # Check whether --with-speex was given. if test "${with_speex+set}" = set; then : withval=$with_speex; build_speex="$withval" else build_speex="yes" fi # Check whether --with-kate was given. if test "${with_kate+set}" = set; then : withval=$with_kate; build_kate="$withval" else build_kate="yes" fi HAVE_OGG=no # 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_prog_HAVE_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$HAVE_PKG_CONFIG"; then ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # 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_HAVE_PKG_CONFIG="yes" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG if test -n "$HAVE_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PKG_CONFIG" >&5 $as_echo "$HAVE_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$HAVE_PKG_CONFIG" = "xyes" then succeeded=no if test -z "$PKG_CONFIG"; then # 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_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 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; 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 "$PKG_CONFIG" = "no" ; then echo "*** The pkg-config script could not be found. Make sure it is" echo "*** in your path, or set the PKG_CONFIG environment variable" echo "*** to the full path to pkg-config." echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg >= 1.0" >&5 $as_echo_n "checking for ogg >= 1.0... " >&6; } if $PKG_CONFIG --exists "ogg >= 1.0" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } succeeded=yes { $as_echo "$as_me:${as_lineno-$LINENO}: checking OGG_CFLAGS" >&5 $as_echo_n "checking OGG_CFLAGS... " >&6; } OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.0"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OGG_CFLAGS" >&5 $as_echo "$OGG_CFLAGS" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking OGG_LIBS" >&5 $as_echo_n "checking OGG_LIBS... " >&6; } OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.0"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OGG_LIBS" >&5 $as_echo "$OGG_LIBS" >&6; } else OGG_CFLAGS="" OGG_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ogg >= 1.0"` fi else echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." echo "*** See http://www.freedesktop.org/software/pkgconfig" fi fi if test $succeeded = yes; then HAVE_OGG=yes else HAVE_OGG=no fi fi if test "x$HAVE_OGG" = "xno" then # Check whether --with-ogg was given. if test "${with_ogg+set}" = set; then : withval=$with_ogg; ogg_prefix="$withval" else ogg_prefix="" fi # Check whether --with-ogg-libraries was given. if test "${with_ogg_libraries+set}" = set; then : withval=$with_ogg_libraries; ogg_libraries="$withval" else ogg_libraries="" fi # Check whether --with-ogg-includes was given. if test "${with_ogg_includes+set}" = set; then : withval=$with_ogg_includes; ogg_includes="$withval" else ogg_includes="" fi # Check whether --enable-oggtest was given. if test "${enable_oggtest+set}" = set; then : enableval=$enable_oggtest; else enable_oggtest=yes fi if test "x$ogg_libraries" != "x" ; then OGG_LIBS="-L$ogg_libraries" elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then OGG_LIBS="" elif test "x$ogg_prefix" != "x" ; then OGG_LIBS="-L$ogg_prefix/lib" elif test "x$prefix" != "xNONE" ; then OGG_LIBS="-L$prefix/lib" fi if test "x$ogg_prefix" != "xno" ; then OGG_LIBS="$OGG_LIBS -logg" fi if test "x$ogg_includes" != "x" ; then OGG_CFLAGS="-I$ogg_includes" elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then OGG_CFLAGS="" elif test "x$ogg_prefix" != "x" ; then OGG_CFLAGS="-I$ogg_prefix/include" elif test "x$prefix" != "xNONE"; then OGG_CFLAGS="-I$prefix/include" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ogg" >&5 $as_echo_n "checking for Ogg... " >&6; } if test "x$ogg_prefix" = "xno" ; then no_ogg="disabled" enable_oggtest="no" else no_ogg="" fi if test "x$enable_oggtest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $OGG_CFLAGS" LIBS="$LIBS $OGG_LIBS" rm -f conf.oggtest if test "$cross_compiling" = yes; then : echo $ac_n "cross compiling; assumed OK... $ac_c" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { system("touch conf.oggtest"); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else no_ogg=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_ogg" = "xdisabled" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? "Ogg needed!" "$LINENO" 5 elif test "x$no_ogg" = "x" ; 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; } if test -f conf.oggtest ; then : else echo "*** Could not run Ogg test program, checking why..." CFLAGS="$CFLAGS $OGG_CFLAGS" LIBS="$LIBS $OGG_LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding Ogg or finding the wrong" echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" else echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means Ogg was incorrectly installed" echo "*** or that you have moved Ogg since it was installed. In the latter case, you" echo "*** may want to edit the ogg-config script: $OGG_CONFIG" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi OGG_CFLAGS="" OGG_LIBS="" as_fn_error $? "Ogg needed!" "$LINENO" 5 fi rm -f conf.oggtest libs_save=$LIBS LIBS="$OGG_LIBS $VORBIS_LIBS" ac_fn_c_check_func "$LINENO" "oggpack_writealign" "ac_cv_func_oggpack_writealign" if test "x$ac_cv_func_oggpack_writealign" = xyes; then : else as_fn_error $? "Ogg >= 1.0 required !" "$LINENO" 5 fi LIBS=$libs_save fi HAVE_VORBIS=no if test "x$HAVE_PKG_CONFIG" = "xyes" then succeeded=no if test -z "$PKG_CONFIG"; then # 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_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 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; 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 "$PKG_CONFIG" = "no" ; then echo "*** The pkg-config script could not be found. Make sure it is" echo "*** in your path, or set the PKG_CONFIG environment variable" echo "*** to the full path to pkg-config." echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis >= 1.3.0" >&5 $as_echo_n "checking for vorbis >= 1.3.0... " >&6; } if $PKG_CONFIG --exists "vorbis >= 1.3.0" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } succeeded=yes { $as_echo "$as_me:${as_lineno-$LINENO}: checking VORBIS_CFLAGS" >&5 $as_echo_n "checking VORBIS_CFLAGS... " >&6; } VORBIS_CFLAGS=`$PKG_CONFIG --cflags "vorbis >= 1.3.0"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VORBIS_CFLAGS" >&5 $as_echo "$VORBIS_CFLAGS" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking VORBIS_LIBS" >&5 $as_echo_n "checking VORBIS_LIBS... " >&6; } VORBIS_LIBS=`$PKG_CONFIG --libs "vorbis >= 1.3.0"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VORBIS_LIBS" >&5 $as_echo "$VORBIS_LIBS" >&6; } else VORBIS_CFLAGS="" VORBIS_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. VORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vorbis >= 1.3.0"` fi else echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." echo "*** See http://www.freedesktop.org/software/pkgconfig" fi fi if test $succeeded = yes; then HAVE_VORBIS=yes else HAVE_VORBIS=no fi VORBISENC_LIBS="-lvorbisenc" VORBISFILE_LIBS="-lvorbisfile" libs_save=$LIBS LIBS="$OGG_LIBS $VORBIS_LIBS $VORBISFILE_LIBS" ac_fn_c_check_func "$LINENO" "ov_read_filter" "ac_cv_func_ov_read_filter" if test "x$ac_cv_func_ov_read_filter" = xyes; then : have_ov_read_filter=yes else have_ov_read_filter=no fi LIBS=$libs_save if test "x$have_ov_read_filter" = "xyes" then $as_echo "#define HAVE_OV_READ_FILTER 1" >>confdefs.h fi fi if test "x$HAVE_VORBIS" = "xno" then # Check whether --with-vorbis was given. if test "${with_vorbis+set}" = set; then : withval=$with_vorbis; vorbis_prefix="$withval" else vorbis_prefix="" fi # Check whether --with-vorbis-libraries was given. if test "${with_vorbis_libraries+set}" = set; then : withval=$with_vorbis_libraries; vorbis_libraries="$withval" else vorbis_libraries="" fi # Check whether --with-vorbis-includes was given. if test "${with_vorbis_includes+set}" = set; then : withval=$with_vorbis_includes; vorbis_includes="$withval" else vorbis_includes="" fi # Check whether --enable-vorbistest was given. if test "${enable_vorbistest+set}" = set; then : enableval=$enable_vorbistest; else enable_vorbistest=yes fi if test "x$vorbis_libraries" != "x" ; then VORBIS_LIBS="-L$vorbis_libraries" elif test "x$vorbis_prefix" = "xno" || test "x$vorbis_prefix" = "xyes" ; then VORBIS_LIBS="" elif test "x$vorbis_prefix" != "x" ; then VORBIS_LIBS="-L$vorbis_prefix/lib" elif test "x$prefix" != "xNONE"; then VORBIS_LIBS="-L$prefix/lib" fi VORBISFILE_LIBS="$VORBIS_LIBS -lvorbisfile" VORBISENC_LIBS="$VORBIS_LIBS -lvorbisenc" if test "x$vorbis_prefix" != "xno" ; then VORBIS_LIBS="$VORBIS_LIBS -lvorbis" fi if test "x$vorbis_includes" != "x" ; then VORBIS_CFLAGS="-I$vorbis_includes" elif test "x$vorbis_prefix" = "xno" || test "x$vorbis_prefix" = "xyes" ; then VORBIS_CFLAGS="" elif test "x$vorbis_prefix" != "x" ; then VORBIS_CFLAGS="-I$vorbis_prefix/include" elif test "x$prefix" != "xNONE"; then VORBIS_CFLAGS="-I$prefix/include" fi xiph_saved_LIBS="$LIBS" LIBS="" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cos" >&5 $as_echo_n "checking for library containing cos... " >&6; } if ${ac_cv_search_cos+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$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 cos (); int main () { return cos (); ; return 0; } _ACEOF for ac_lib in '' m; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_cos=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_cos+:} false; then : break fi done if ${ac_cv_search_cos+:} false; then : else ac_cv_search_cos=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cos" >&5 $as_echo "$ac_cv_search_cos" >&6; } ac_res=$ac_cv_search_cos if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" VORBIS_LIBS="$VORBIS_LIBS $LIBS" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cos() not found in math library, vorbis installation may not work" >&5 $as_echo "$as_me: WARNING: cos() not found in math library, vorbis installation may not work" >&2;} fi LIBS="$xiph_saved_LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Vorbis" >&5 $as_echo_n "checking for Vorbis... " >&6; } if test "x$vorbis_prefix" = "xno" ; then no_vorbis="disabled" enable_vorbistest="no" else no_vorbis="" fi if test "x$enable_vorbistest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS" LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS" rm -f conf.vorbistest if test "$cross_compiling" = yes; then : echo $ac_n "cross compiling; assumed OK... $ac_c" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { system("touch conf.vorbistest"); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else no_vorbis=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_vorbis" = "xdisabled" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? "Vorbis needed!" "$LINENO" 5 elif test "x$no_vorbis" = "x" ; 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; } if test -f conf.vorbistest ; then : else echo "*** Could not run Vorbis test program, checking why..." CFLAGS="$CFLAGS $VORBIS_CFLAGS" LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding Vorbis or finding the wrong" echo "*** version of Vorbis. If it is not finding Vorbis, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" else echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means Vorbis was incorrectly installed" echo "*** or that you have moved Vorbis since it was installed." fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi VORBIS_CFLAGS="" VORBIS_LIBS="" VORBISFILE_LIBS="" VORBISENC_LIBS="" as_fn_error $? "Vorbis needed!" "$LINENO" 5 fi rm -f conf.vorbistest ac_fn_c_check_decl "$LINENO" "OV_ECTL_COUPLING_SET" "ac_cv_have_decl_OV_ECTL_COUPLING_SET" "#include " if test "x$ac_cv_have_decl_OV_ECTL_COUPLING_SET" = xyes; then : fi if test "x$ac_cv_have_decl_OV_ECTL_COUPLING_SET" = "xno" then as_fn_error $? "Vorbis >= 1.3.0 required !" "$LINENO" 5 HAVE_VORBIS=no fi fi if test "x$have_ov_read_filter" = "xyes"; then HAVE_OV_READ_FILTER_TRUE= HAVE_OV_READ_FILTER_FALSE='#' else HAVE_OV_READ_FILTER_TRUE='#' HAVE_OV_READ_FILTER_FALSE= fi if test "x$HAVE_PKG_CONFIG" = "xyes" then succeeded=no if test -z "$PKG_CONFIG"; then # 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_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 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; 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 "$PKG_CONFIG" = "no" ; then echo "*** The pkg-config script could not be found. Make sure it is" echo "*** in your path, or set the PKG_CONFIG environment variable" echo "*** to the full path to pkg-config." echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opusfile >= 0.2" >&5 $as_echo_n "checking for opusfile >= 0.2... " >&6; } if $PKG_CONFIG --exists "opusfile >= 0.2" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } succeeded=yes { $as_echo "$as_me:${as_lineno-$LINENO}: checking OPUSFILE_CFLAGS" >&5 $as_echo_n "checking OPUSFILE_CFLAGS... " >&6; } OPUSFILE_CFLAGS=`$PKG_CONFIG --cflags "opusfile >= 0.2"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPUSFILE_CFLAGS" >&5 $as_echo "$OPUSFILE_CFLAGS" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking OPUSFILE_LIBS" >&5 $as_echo_n "checking OPUSFILE_LIBS... " >&6; } OPUSFILE_LIBS=`$PKG_CONFIG --libs "opusfile >= 0.2"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPUSFILE_LIBS" >&5 $as_echo "$OPUSFILE_LIBS" >&6; } else OPUSFILE_CFLAGS="" OPUSFILE_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. OPUSFILE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "opusfile >= 0.2"` fi else echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." echo "*** See http://www.freedesktop.org/software/pkgconfig" fi fi if test $succeeded = yes; then HAVE_LIBOPUSFILE=yes else HAVE_LIBOPUSFILE=no fi if test "x$HAVE_LIBOPUSFILE" = xyes; then $as_echo "#define HAVE_LIBOPUSFILE 1" >>confdefs.h fi fi if test "x$HAVE_LIBOPUSFILE" = "xyes"; then HAVE_LIBOPUSFILE_TRUE= HAVE_LIBOPUSFILE_FALSE='#' else HAVE_LIBOPUSFILE_TRUE='#' HAVE_LIBOPUSFILE_FALSE= fi SHARE_LIBS='$(top_builddir)/share/libutf8.a $(top_builddir)/share/libgetopt.a' SHARE_CFLAGS='-I$(top_srcdir)/include' I18N_CFLAGS='-I$(top_srcdir)/intl' I18N_LIBS=$INTLLIBS SOCKET_LIBS= { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 $as_echo_n "checking for socket in -lsocket... " >&6; } if ${ac_cv_lib_socket_socket+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $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 socket (); int main () { return socket (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_socket_socket=yes else ac_cv_lib_socket_socket=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_socket_socket" >&5 $as_echo "$ac_cv_lib_socket_socket" >&6; } if test "x$ac_cv_lib_socket_socket" = xyes; then : SOCKET_LIBS="-lsocket" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnetwork" >&5 $as_echo_n "checking for socket in -lnetwork... " >&6; } if ${ac_cv_lib_network_socket+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnetwork $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 socket (); int main () { return socket (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_network_socket=yes else ac_cv_lib_network_socket=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_network_socket" >&5 $as_echo "$ac_cv_lib_network_socket" >&6; } if test "x$ac_cv_lib_network_socket" = xyes; then : SOCKET_LIBS="-lnetwork" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } if ${ac_cv_lib_nsl_gethostbyname+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $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 gethostbyname (); int main () { return gethostbyname (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_nsl_gethostbyname=yes else ac_cv_lib_nsl_gethostbyname=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_nsl_gethostbyname" >&5 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : SOCKET_LIBS="-lnsl $SOCKET_LIBS" fi if test "x$HAVE_PKG_CONFIG" = "xyes"; then succeeded=no if test -z "$PKG_CONFIG"; then # 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_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 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; 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 "$PKG_CONFIG" = "no" ; then echo "*** The pkg-config script could not be found. Make sure it is" echo "*** in your path, or set the PKG_CONFIG environment variable" echo "*** to the full path to pkg-config." echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5 $as_echo_n "checking for libcurl... " >&6; } if $PKG_CONFIG --exists "libcurl" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } succeeded=yes { $as_echo "$as_me:${as_lineno-$LINENO}: checking CURL_CFLAGS" >&5 $as_echo_n "checking CURL_CFLAGS... " >&6; } CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL_CFLAGS" >&5 $as_echo "$CURL_CFLAGS" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking CURL_LIBS" >&5 $as_echo_n "checking CURL_LIBS... " >&6; } CURL_LIBS=`$PKG_CONFIG --libs "libcurl"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL_LIBS" >&5 $as_echo "$CURL_LIBS" >&6; } else CURL_CFLAGS="" CURL_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. CURL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl"` fi else echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." echo "*** See http://www.freedesktop.org/software/pkgconfig" fi fi if test $succeeded = yes; then HAVE_CURL=yes else HAVE_CURL=no fi if test "x$HAVE_CURL" = "xno"; then # Check whether --with-curl was given. if test "${with_curl+set}" = set; then : withval=$with_curl; curl_prefix="$withval" else curl_prefix="" fi # Check whether --with-curl-libraries was given. if test "${with_curl_libraries+set}" = set; then : withval=$with_curl_libraries; curl_libraries="$withval" else curl_libraries="" fi # Check whether --with-curl-includes was given. if test "${with_curl_includes+set}" = set; then : withval=$with_curl_includes; curl_includes="$withval" else curl_includes="" fi # Check whether --enable-curltest was given. if test "${enable_curltest+set}" = set; then : enableval=$enable_curltest; else enable_curltest=yes fi if test "x$curl_prefix" != "xno" ; then if test "x$curl_libraries" != "x" ; then CURL_LIBS="-L$curl_libraries" elif test "x$curl_prefix" != "x" ; then CURL_LIBS="-L$curl_prefix/lib" elif test "x$prefix" != "xNONE" ; then CURL_LIBS="-L$prefix/lib" fi CURL_LIBS="$CURL_LIBS -lcurl" if test "x$curl_includes" != "x" ; then CURL_CFLAGS="-I$curl_includes" elif test "x$curl_prefix" != "x" ; then CURL_CFLAGS="-I$curl_prefix/include" elif test "x$prefix" != "xNONE"; then CURL_CFLAGS="-I$prefix/include" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5 $as_echo_n "checking for libcurl... " >&6; } no_curl="" if test "x$enable_curltest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $CURL_CFLAGS" LIBS="$LIBS $CURL_LIBS" rm -f conf.curltest if test "$cross_compiling" = yes; then : echo $ac_n "cross compiling; assumed OK... $ac_c" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { system("touch conf.curltest"); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else no_curl=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_curl" = "x" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_CURL 1" >>confdefs.h HAVE_CURL=yes else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if test -f conf.curltest ; then : else echo "*** Could not run libcurl test program, checking why..." CFLAGS="$CFLAGS $CURL_CFLAGS" LIBS="$LIBS $CURL_LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding libcurl or finding the wrong" echo "*** version of libcurl. If it is not finding libcurl, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" else echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means libcurl was incorrectly installed" echo "*** or that you have moved libcurl since it was installed." fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi CURL_CFLAGS="" CURL_LIBS="" HAVE_CURL=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libcurl missing" >&5 $as_echo "$as_me: WARNING: libcurl missing" >&2;} fi else CURL_CFLAGS="" CURL_LIBS="" fi rm -f conf.curltest fi else # Check whether --with-curl was given. if test "${with_curl+set}" = set; then : withval=$with_curl; curl_prefix="$withval" else curl_prefix="" fi # Check whether --with-curl-libraries was given. if test "${with_curl_libraries+set}" = set; then : withval=$with_curl_libraries; curl_libraries="$withval" else curl_libraries="" fi # Check whether --with-curl-includes was given. if test "${with_curl_includes+set}" = set; then : withval=$with_curl_includes; curl_includes="$withval" else curl_includes="" fi # Check whether --enable-curltest was given. if test "${enable_curltest+set}" = set; then : enableval=$enable_curltest; else enable_curltest=yes fi if test "x$curl_prefix" != "xno" ; then if test "x$curl_libraries" != "x" ; then CURL_LIBS="-L$curl_libraries" elif test "x$curl_prefix" != "x" ; then CURL_LIBS="-L$curl_prefix/lib" elif test "x$prefix" != "xNONE" ; then CURL_LIBS="-L$prefix/lib" fi CURL_LIBS="$CURL_LIBS -lcurl" if test "x$curl_includes" != "x" ; then CURL_CFLAGS="-I$curl_includes" elif test "x$curl_prefix" != "x" ; then CURL_CFLAGS="-I$curl_prefix/include" elif test "x$prefix" != "xNONE"; then CURL_CFLAGS="-I$prefix/include" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5 $as_echo_n "checking for libcurl... " >&6; } no_curl="" if test "x$enable_curltest" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $CURL_CFLAGS" LIBS="$LIBS $CURL_LIBS" rm -f conf.curltest if test "$cross_compiling" = yes; then : echo $ac_n "cross compiling; assumed OK... $ac_c" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { system("touch conf.curltest"); return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else no_curl=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi if test "x$no_curl" = "x" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_CURL 1" >>confdefs.h HAVE_CURL=yes else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if test -f conf.curltest ; then : else echo "*** Could not run libcurl test program, checking why..." CFLAGS="$CFLAGS $CURL_CFLAGS" LIBS="$LIBS $CURL_LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding libcurl or finding the wrong" echo "*** version of libcurl. If it is not finding libcurl, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" else echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means libcurl was incorrectly installed" echo "*** or that you have moved libcurl since it was installed." fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi CURL_CFLAGS="" CURL_LIBS="" HAVE_CURL=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libcurl missing" >&5 $as_echo "$as_me: WARNING: libcurl missing" >&2;} fi else CURL_CFLAGS="" CURL_LIBS="" fi rm -f conf.curltest fi if test "x$HAVE_CURL" = "xyes"; then $as_echo "#define HAVE_CURL 1" >>confdefs.h fi if test "x$build_ogg123" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for ogg123 requirements" >&5 $as_echo "checking for ogg123 requirements" >&6; } succeeded=no if test -z "$PKG_CONFIG"; then # 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_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 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; 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 "$PKG_CONFIG" = "no" ; then echo "*** The pkg-config script could not be found. Make sure it is" echo "*** in your path, or set the PKG_CONFIG environment variable" echo "*** to the full path to pkg-config." echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ao >= 1.0.0" >&5 $as_echo_n "checking for ao >= 1.0.0... " >&6; } if $PKG_CONFIG --exists "ao >= 1.0.0" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } succeeded=yes { $as_echo "$as_me:${as_lineno-$LINENO}: checking AO_CFLAGS" >&5 $as_echo_n "checking AO_CFLAGS... " >&6; } AO_CFLAGS=`$PKG_CONFIG --cflags "ao >= 1.0.0"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AO_CFLAGS" >&5 $as_echo "$AO_CFLAGS" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking AO_LIBS" >&5 $as_echo_n "checking AO_LIBS... " >&6; } AO_LIBS=`$PKG_CONFIG --libs "ao >= 1.0.0"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AO_LIBS" >&5 $as_echo "$AO_LIBS" >&6; } else AO_CFLAGS="" AO_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. AO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ao >= 1.0.0"` fi else echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." echo "*** See http://www.freedesktop.org/software/pkgconfig" fi fi if test $succeeded = yes; then : else build_ogg123=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libao too old; >= 1.0.0 required" >&5 $as_echo "$as_me: WARNING: libao too old; >= 1.0.0 required" >&2;} 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 acx_pthread_ok=no # We used to check for pthread.h first, but this fails if pthread.h # requires special compiler flags (e.g. on True64 or Sequent). # It gets checked for in the link test anyway. # First of all, check if the user has set any of the PTHREAD_LIBS, # etcetera environment variables, and if threads linking works using # them: if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" save_LIBS="$LIBS" LIBS="$PTHREAD_LIBS $LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; } 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_join (); int main () { return pthread_join (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : acx_pthread_ok=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 $as_echo "$acx_pthread_ok" >&6; } if test x"$acx_pthread_ok" = xno; then PTHREAD_LIBS="" PTHREAD_CFLAGS="" fi LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" fi # We must check for the threads library under a number of different # names; the ordering is very important because some systems # (e.g. DEC) have both -lpthread and -lpthreads, where one of the # libraries is broken (non-POSIX). # Create a list of thread flags to try. Items starting with a "-" are # C compiler flags, and other items are library names, except for "none" # which indicates that we try without any flags at all, and "pthread-config" # which is a program returning the flags for the Pth emulation library. acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" # The ordering *is* (sometimes) important. Some notes on the # individual items follow: # pthreads: AIX (must check this before -lpthread) # none: in case threads are in libc; should be tried before -Kthread and # other compiler flags to prevent continual compiler warnings # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) # -pthreads: Solaris/gcc # -mthreads: Mingw32/gcc, Lynx/gcc # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it # doesn't hurt to check since this sometimes defines pthreads too; # also defines -D_REENTRANT) # ... -mt is also the pthreads flag for HP/aCC # pthread: Linux, etcetera # --thread-safe: KAI C++ # pthread-config: use pthread-config program (for GNU Pth library) case "${host_cpu}-${host_os}" in *solaris*) # On Solaris (at least, for some versions), libc contains stubbed # (non-functional) versions of the pthreads routines, so link-based # tests will erroneously succeed. (We need to link with -pthreads/-mt/ # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather # a function called by this macro, so we could check for that, but # who knows whether they'll stub that too in a future libc.) So, # we'll just look for -pthreads and -lpthread first: acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags" ;; esac if test x"$acx_pthread_ok" = xno; then for flag in $acx_pthread_flags; do case $flag in none) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 $as_echo_n "checking whether pthreads work without any flags... " >&6; } ;; -*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5 $as_echo_n "checking whether pthreads work with $flag... " >&6; } PTHREAD_CFLAGS="$flag" ;; pthread-config) # Extract the first word of "pthread-config", so it can be a program name with args. set dummy pthread-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_acx_pthread_config+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$acx_pthread_config"; then ac_cv_prog_acx_pthread_config="$acx_pthread_config" # 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_acx_pthread_config="yes" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no" fi fi acx_pthread_config=$ac_cv_prog_acx_pthread_config if test -n "$acx_pthread_config"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5 $as_echo "$acx_pthread_config" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test x"$acx_pthread_config" = xno; then continue; fi PTHREAD_CFLAGS="`pthread-config --cflags`" PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5 $as_echo_n "checking for the pthreads library -l$flag... " >&6; } PTHREAD_LIBS="-l$flag" ;; esac save_LIBS="$LIBS" save_CFLAGS="$CFLAGS" LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" # Check for various functions. We must include pthread.h, # since some functions may be macros. (On the Sequent, we # need a special flag -Kthread to make this header compile.) # We check for pthread_join because it is in -lpthread on IRIX # while pthread_create is in libc. We check for pthread_attr_init # due to DEC craziness with -lpthreads. We check for # pthread_cleanup_push because it is one of the few pthread # functions on Solaris that doesn't have a non-functional libc stub. # We try pthread_create on general principles. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { pthread_t th; pthread_join(th, 0); pthread_attr_init(0); pthread_cleanup_push(0, 0); pthread_create(0,0,0,0); pthread_cleanup_pop(0); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : acx_pthread_ok=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5 $as_echo "$acx_pthread_ok" >&6; } if test "x$acx_pthread_ok" = xyes; then break; fi PTHREAD_LIBS="" PTHREAD_CFLAGS="" done fi # Various other checks: if test "x$acx_pthread_ok" = xyes; then save_LIBS="$LIBS" LIBS="$PTHREAD_LIBS $LIBS" save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5 $as_echo_n "checking for joinable pthread attribute... " >&6; } attr_name=unknown for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int attr=$attr; return attr; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : attr_name=$attr; break fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext done { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5 $as_echo "$attr_name" >&6; } if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then cat >>confdefs.h <<_ACEOF #define PTHREAD_CREATE_JOINABLE $attr_name _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5 $as_echo_n "checking if more special flags are required for pthreads... " >&6; } flag=no case "${host_cpu}-${host_os}" in *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 $as_echo "${flag}" >&6; } if test "x$flag" != xno; then PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" fi LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" # More AIX lossage: must compile with xlc_r or cc_r if test x"$GCC" != xyes; then for ac_prog in xlc_r cc_r 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_PTHREAD_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$PTHREAD_CC"; then ac_cv_prog_PTHREAD_CC="$PTHREAD_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_PTHREAD_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 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC if test -n "$PTHREAD_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 $as_echo "$PTHREAD_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$PTHREAD_CC" && break done test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}" else PTHREAD_CC=$CC fi else PTHREAD_CC="$CC" fi # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: if test x"$acx_pthread_ok" = xyes; then $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h : else acx_pthread_ok=no build_ogg123=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: POSIX threads missing" >&5 $as_echo "$as_me: WARNING: POSIX threads missing" >&2;} 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 fi FLAC_LIBS="" if test "x$build_flac" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5 $as_echo_n "checking for log in -lm... " >&6; } if ${ac_cv_lib_m_log+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char log (); int main () { return log (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_m_log=yes else ac_cv_lib_m_log=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5 $as_echo "$ac_cv_lib_m_log" >&6; } if test "x$ac_cv_lib_m_log" = xyes; then : FLAC_LIBS="-lm" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC__stream_decoder_init_ogg_stream in -lFLAC" >&5 $as_echo_n "checking for FLAC__stream_decoder_init_ogg_stream in -lFLAC... " >&6; } if ${ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lFLAC $FLAC_LIBS $OGG_LIBS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char FLAC__stream_decoder_init_ogg_stream (); int main () { return FLAC__stream_decoder_init_ogg_stream (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream=yes else ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream" >&5 $as_echo "$ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream" >&6; } if test "x$ac_cv_lib_FLAC_FLAC__stream_decoder_init_ogg_stream" = xyes; then : have_libFLAC=yes else have_libFLAC=no fi if test "x$have_libFLAC" = xyes; then FLAC_LIBS="-lFLAC $FLAC_LIBS $OGG_LIBS" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC__stream_decoder_process_single in -lFLAC" >&5 $as_echo_n "checking for FLAC__stream_decoder_process_single in -lFLAC... " >&6; } if ${ac_cv_lib_FLAC_FLAC__stream_decoder_process_single+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lFLAC $FLAC_LIBS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char FLAC__stream_decoder_process_single (); int main () { return FLAC__stream_decoder_process_single (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_FLAC_FLAC__stream_decoder_process_single=yes else ac_cv_lib_FLAC_FLAC__stream_decoder_process_single=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_FLAC_FLAC__stream_decoder_process_single" >&5 $as_echo "$ac_cv_lib_FLAC_FLAC__stream_decoder_process_single" >&6; } if test "x$ac_cv_lib_FLAC_FLAC__stream_decoder_process_single" = xyes; then : have_libFLAC=yes; FLAC_LIBS="-lFLAC $FLAC_LIBS" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libFLAC missing" >&5 $as_echo "$as_me: WARNING: libFLAC missing" >&2;} have_libFLAC=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OggFLAC__stream_decoder_new in -lOggFLAC" >&5 $as_echo_n "checking for OggFLAC__stream_decoder_new in -lOggFLAC... " >&6; } if ${ac_cv_lib_OggFLAC_OggFLAC__stream_decoder_new+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lOggFLAC $FLAC_LIBS $OGG_LIBS $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 OggFLAC__stream_decoder_new (); int main () { return OggFLAC__stream_decoder_new (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_OggFLAC_OggFLAC__stream_decoder_new=yes else ac_cv_lib_OggFLAC_OggFLAC__stream_decoder_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_OggFLAC_OggFLAC__stream_decoder_new" >&5 $as_echo "$ac_cv_lib_OggFLAC_OggFLAC__stream_decoder_new" >&6; } if test "x$ac_cv_lib_OggFLAC_OggFLAC__stream_decoder_new" = xyes; then : FLAC_LIBS="-lOggFLAC $FLAC_LIBS $OGG_LIBS" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libOggFLAC missing" >&5 $as_echo "$as_me: WARNING: libOggFLAC missing" >&2;} have_libFLAC=no fi fi ac_fn_c_check_header_compile "$LINENO" "FLAC/stream_decoder.h" "ac_cv_header_FLAC_stream_decoder_h" " " if test "x$ac_cv_header_FLAC_stream_decoder_h" = xyes; then : else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libFLAC headers missing" >&5 $as_echo "$as_me: WARNING: libFLAC headers missing" >&2;} have_libFLAC=no fi if test "x$have_libFLAC" = xyes; then $as_echo "#define HAVE_LIBFLAC 1" >>confdefs.h else build_flac="no" FLAC_LIBS="" fi fi if test "x$have_libFLAC" = "xyes"; then HAVE_LIBFLAC_TRUE= HAVE_LIBFLAC_FALSE='#' else HAVE_LIBFLAC_TRUE='#' HAVE_LIBFLAC_FALSE= fi SPEEX_LIBS="" if test "x$build_speex" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5 $as_echo_n "checking for log in -lm... " >&6; } if ${ac_cv_lib_m_log+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char log (); int main () { return log (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_m_log=yes else ac_cv_lib_m_log=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5 $as_echo "$ac_cv_lib_m_log" >&6; } if test "x$ac_cv_lib_m_log" = xyes; then : SPEEX_LIBS="-lm" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_decoder_init in -lspeex" >&5 $as_echo_n "checking for speex_decoder_init in -lspeex... " >&6; } if ${ac_cv_lib_speex_speex_decoder_init+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lspeex $SPEEX_LIBS $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 speex_decoder_init (); int main () { return speex_decoder_init (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_speex_speex_decoder_init=yes else ac_cv_lib_speex_speex_decoder_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_speex_speex_decoder_init" >&5 $as_echo "$ac_cv_lib_speex_speex_decoder_init" >&6; } if test "x$ac_cv_lib_speex_speex_decoder_init" = xyes; then : have_libspeex=yes; SPEEX_LIBS="-lspeex $SPEEX_LIBS" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libspeex missing" >&5 $as_echo "$as_me: WARNING: libspeex missing" >&2;} have_libspeex=no fi ac_fn_c_check_header_compile "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" " " if test "x$ac_cv_header_speex_speex_h" = xyes; then : else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libspeex headers missing" >&5 $as_echo "$as_me: WARNING: libspeex headers missing" >&2;} have_libspeex=no fi if test "x$have_libspeex" = xyes; then $as_echo "#define HAVE_LIBSPEEX 1" >>confdefs.h else build_speex="no" SPEEX_LIBS="" fi fi if test "x$have_libspeex" = "xyes"; then HAVE_LIBSPEEX_TRUE= HAVE_LIBSPEEX_FALSE='#' else HAVE_LIBSPEEX_TRUE='#' HAVE_LIBSPEEX_FALSE= fi KATE_CFLAGS="" KATE_LIBS="" if test "x$build_kate" = xyes; then # 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_prog_HAVE_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$HAVE_PKG_CONFIG"; then ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # 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_HAVE_PKG_CONFIG="yes" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG if test -n "$HAVE_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PKG_CONFIG" >&5 $as_echo "$HAVE_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$HAVE_PKG_CONFIG" = "xyes" then succeeded=no if test -z "$PKG_CONFIG"; then # 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_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 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; 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 "$PKG_CONFIG" = "no" ; then echo "*** The pkg-config script could not be found. Make sure it is" echo "*** in your path, or set the PKG_CONFIG environment variable" echo "*** to the full path to pkg-config." echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggkate" >&5 $as_echo_n "checking for oggkate... " >&6; } if $PKG_CONFIG --exists "oggkate" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } succeeded=yes { $as_echo "$as_me:${as_lineno-$LINENO}: checking KATE_CFLAGS" >&5 $as_echo_n "checking KATE_CFLAGS... " >&6; } KATE_CFLAGS=`$PKG_CONFIG --cflags "oggkate"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KATE_CFLAGS" >&5 $as_echo "$KATE_CFLAGS" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking KATE_LIBS" >&5 $as_echo_n "checking KATE_LIBS... " >&6; } KATE_LIBS=`$PKG_CONFIG --libs "oggkate"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KATE_LIBS" >&5 $as_echo "$KATE_LIBS" >&6; } else KATE_CFLAGS="" KATE_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. KATE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "oggkate"` fi else echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." echo "*** See http://www.freedesktop.org/software/pkgconfig" fi fi if test $succeeded = yes; then HAVE_KATE=yes else HAVE_KATE=no fi fi if test "x$HAVE_KATE" = "xno" then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5 $as_echo_n "checking for log in -lm... " >&6; } if ${ac_cv_lib_m_log+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char log (); int main () { return log (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_m_log=yes else ac_cv_lib_m_log=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5 $as_echo "$ac_cv_lib_m_log" >&6; } if test "x$ac_cv_lib_m_log" = xyes; then : KATE_LIBS="-lm" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kate_decode_init in -lkate" >&5 $as_echo_n "checking for kate_decode_init in -lkate... " >&6; } if ${ac_cv_lib_kate_kate_decode_init+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lkate $KATE_LIBS $OGG_LIBS $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 kate_decode_init (); int main () { return kate_decode_init (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_kate_kate_decode_init=yes else ac_cv_lib_kate_kate_decode_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_kate_kate_decode_init" >&5 $as_echo "$ac_cv_lib_kate_kate_decode_init" >&6; } if test "x$ac_cv_lib_kate_kate_decode_init" = xyes; then : HAVE_KATE=yes; KATE_LIBS="-lkate $KATE_LIBS $OGG_LIBS" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libkate missing" >&5 $as_echo "$as_me: WARNING: libkate missing" >&2;} HAVE_KATE=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kate_ogg_decode_headerin in -loggkate" >&5 $as_echo_n "checking for kate_ogg_decode_headerin in -loggkate... " >&6; } if ${ac_cv_lib_oggkate_kate_ogg_decode_headerin+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-loggkate $KATE_LIBS $OGG_LIBS $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 kate_ogg_decode_headerin (); int main () { return kate_ogg_decode_headerin (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_oggkate_kate_ogg_decode_headerin=yes else ac_cv_lib_oggkate_kate_ogg_decode_headerin=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_oggkate_kate_ogg_decode_headerin" >&5 $as_echo "$ac_cv_lib_oggkate_kate_ogg_decode_headerin" >&6; } if test "x$ac_cv_lib_oggkate_kate_ogg_decode_headerin" = xyes; then : HAVE_KATE=yes; KATE_LIBS="-loggkate $KATE_LIBS $OGG_LIBS" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libkate missing" >&5 $as_echo "$as_me: WARNING: libkate missing" >&2;} HAVE_KATE=no fi ac_fn_c_check_header_compile "$LINENO" "kate/kate.h" "ac_cv_header_kate_kate_h" " " if test "x$ac_cv_header_kate_kate_h" = xyes; then : else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libkate headers missing" >&5 $as_echo "$as_me: WARNING: libkate headers missing" >&2;} HAVE_KATE=no fi ac_fn_c_check_header_compile "$LINENO" "kate/oggkate.h" "ac_cv_header_kate_oggkate_h" " " if test "x$ac_cv_header_kate_oggkate_h" = xyes; then : else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: liboggkate headers missing" >&5 $as_echo "$as_me: WARNING: liboggkate headers missing" >&2;} HAVE_KATE=no fi fi if test "x$HAVE_KATE" = xyes; then $as_echo "#define HAVE_KATE 1" >>confdefs.h else build_kate="no" KATE_CFLAGS="" KATE_LIBS="" fi fi if test "x$HAVE_KATE" = "xyes"; then HAVE_KATE_TRUE= HAVE_KATE_FALSE='#' else HAVE_KATE_TRUE='#' HAVE_KATE_FALSE= fi for ac_header in fcntl.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 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 $as_echo_n "checking for working alloca.h... " >&6; } if ${ac_cv_working_alloca_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { char *p = (char *) alloca (2 * sizeof (int)); if (p) return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_working_alloca_h=yes else ac_cv_working_alloca_h=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 $as_echo "$ac_cv_working_alloca_h" >&6; } if test $ac_cv_working_alloca_h = yes; then $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 $as_echo_n "checking for alloca... " >&6; } if ${ac_cv_func_alloca_works+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __GNUC__ # define alloca __builtin_alloca #else # ifdef _MSC_VER # include # define alloca _alloca # else # ifdef HAVE_ALLOCA_H # include # else # ifdef _AIX #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ void *alloca (size_t); # endif # endif # endif # endif #endif int main () { char *p = (char *) alloca (1); if (p) return 0; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_func_alloca_works=yes else ac_cv_func_alloca_works=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 $as_echo "$ac_cv_func_alloca_works" >&6; } if test $ac_cv_func_alloca_works = yes; then $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h else # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=\${LIBOBJDIR}alloca.$ac_objext $as_echo "#define C_ALLOCA 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } if ${ac_cv_os_cray+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined CRAY && ! defined CRAY2 webecray #else wenotbecray #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "webecray" >/dev/null 2>&1; then : ac_cv_os_cray=yes else ac_cv_os_cray=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 $as_echo "$ac_cv_os_cray" >&6; } if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; 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 CRAY_STACKSEG_END $ac_func _ACEOF break fi done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 $as_echo_n "checking stack direction for C alloca... " >&6; } if ${ac_cv_c_stack_direction+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_c_stack_direction=0 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int find_stack_direction (int *addr, int depth) { int dir, dummy = 0; if (! addr) addr = &dummy; *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; dir = depth ? find_stack_direction (addr, depth - 1) : 0; return dir + dummy; } int main (int argc, char **argv) { return find_stack_direction (0, argc + !argv + 20) < 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_c_stack_direction=1 else ac_cv_c_stack_direction=-1 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_c_stack_direction" >&5 $as_echo "$ac_cv_c_stack_direction" >&6; } cat >>confdefs.h <<_ACEOF #define STACK_DIRECTION $ac_cv_c_stack_direction _ACEOF fi # Check whether --with-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then : withval=$with_libiconv_prefix; for dir in `echo "$withval" | tr : ' '`; do if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi done fi { $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 -liconv" 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 "#define HAVE_ICONV 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 $as_echo_n "checking for iconv declaration... " >&6; } if ${am_cv_proto_iconv+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : am_cv_proto_iconv_arg1="" else am_cv_proto_iconv_arg1="const" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 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);" fi am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- }$am_cv_proto_iconv" >&5 $as_echo "${ac_t:- }$am_cv_proto_iconv" >&6; } cat >>confdefs.h <<_ACEOF #define ICONV_CONST $am_cv_proto_iconv_arg1 _ACEOF fi LIBICONV= if test "$am_cv_lib_iconv" = yes; then LIBICONV="-liconv" fi for ac_func in atexit on_exit fcntl select stat chmod alphasort scandir 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; } if ${am_cv_langinfo_codeset+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { char* cs = nl_langinfo(CODESET); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_langinfo_codeset=yes else am_cv_langinfo_codeset=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 $as_echo "$am_cv_langinfo_codeset" >&6; } if test $am_cv_langinfo_codeset = yes; then $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h fi if test -z "$mandir"; then if test "$prefix" = "/usr"; then MANDIR='$(datadir)/man' else MANDIR='$(prefix)/man' fi else MANDIR=$mandir fi # add optional subdirs to the build OPT_SUBDIRS="" if test "x$build_ogg123" = xyes; then OPT_SUBDIRS="$OPT_SUBDIRS ogg123" fi if test "x$build_oggenc" = xyes; then OPT_SUBDIRS="$OPT_SUBDIRS oggenc" fi if test "x$build_oggdec" = xyes; then OPT_SUBDIRS="$OPT_SUBDIRS oggdec" fi if test "x$build_ogginfo" = xyes; then OPT_SUBDIRS="$OPT_SUBDIRS ogginfo" fi if test "x$build_vcut" = xyes; then OPT_SUBDIRS="$OPT_SUBDIRS vcut" fi if test "x$build_vorbiscomment" = xyes; then OPT_SUBDIRS="$OPT_SUBDIRS vorbiscomment" fi ac_config_files="$ac_config_files Makefile m4/Makefile po/Makefile.in intl/Makefile include/Makefile share/Makefile win32/Makefile oggdec/Makefile oggenc/Makefile oggenc/man/Makefile ogg123/Makefile vorbiscomment/Makefile vcut/Makefile ogginfo/Makefile" ac_config_headers="$ac_config_headers config.h" 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 "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${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 "${HAVE_OV_READ_FILTER_TRUE}" && test -z "${HAVE_OV_READ_FILTER_FALSE}"; then as_fn_error $? "conditional \"HAVE_OV_READ_FILTER\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBOPUSFILE_TRUE}" && test -z "${HAVE_LIBOPUSFILE_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBOPUSFILE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBFLAC_TRUE}" && test -z "${HAVE_LIBFLAC_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBFLAC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBSPEEX_TRUE}" && test -z "${HAVE_LIBSPEEX_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBSPEEX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_KATE_TRUE}" && test -z "${HAVE_KATE_FALSE}"; then as_fn_error $? "conditional \"HAVE_KATE\" 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 vorbis-tools $as_me 1.4.2, 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="\\ vorbis-tools config.status 1.4.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } # Quote evaled strings. for var in SHELL \ ECHO \ PATH_SEPARATOR \ SED \ GREP \ EGREP \ FGREP \ LD \ NM \ LN_S \ lt_SP2NL \ lt_NL2SP \ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ file_magic_glob \ want_nocaseglob \ DLLTOOL \ sharedlib_from_linklib_cmd \ AR \ AR_FLAGS \ archiver_list_spec \ STRIP \ RANLIB \ CC \ CFLAGS \ compiler \ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_import \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ lt_cv_nm_interface \ nm_file_list_spec \ lt_cv_truncate_bin \ lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_pic \ lt_prog_compiler_wl \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ MANIFEST_TOOL \ DSYMUTIL \ NMEDIT \ LIPO \ OTOOL \ OTOOL64 \ shrext_cmds \ export_dynamic_flag_spec \ whole_archive_flag_spec \ compiler_needs_object \ with_gnu_ld \ allow_undefined_flag \ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_separator \ exclude_expsyms \ include_expsyms \ file_list_spec \ variables_saved_for_relink \ libname_spec \ library_names_spec \ soname_spec \ install_override_mode \ finish_eval \ old_striplib \ striplib; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in reload_cmds \ old_postinstall_cmds \ old_postuninstall_cmds \ old_archive_cmds \ extract_expsyms_cmds \ old_archive_from_new_cmds \ old_archive_from_expsyms_cmds \ archive_cmds \ archive_expsym_cmds \ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ postlink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ configure_time_dlsearch_path \ configure_time_lt_sys_library_path; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done ac_aux_dir='$ac_aux_dir' # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi PACKAGE='$PACKAGE' VERSION='$VERSION' RM='$RM' ofile='$ofile' # Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it # from automake < 1.5. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "intl/Makefile") CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;; "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; "share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;; "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;; "oggdec/Makefile") CONFIG_FILES="$CONFIG_FILES oggdec/Makefile" ;; "oggenc/Makefile") CONFIG_FILES="$CONFIG_FILES oggenc/Makefile" ;; "oggenc/man/Makefile") CONFIG_FILES="$CONFIG_FILES oggenc/man/Makefile" ;; "ogg123/Makefile") CONFIG_FILES="$CONFIG_FILES ogg123/Makefile" ;; "vorbiscomment/Makefile") CONFIG_FILES="$CONFIG_FILES vorbiscomment/Makefile" ;; "vcut/Makefile") CONFIG_FILES="$CONFIG_FILES vcut/Makefile" ;; "ogginfo/Makefile") CONFIG_FILES="$CONFIG_FILES ogginfo/Makefile" ;; "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "libtool":C) # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi cfgfile=${ofile}T trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 # Copyright (C) 2014 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program or library that is built # using GNU Libtool, you may include this file under the same # distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # The names of the tagged configurations supported by this script. available_tags='' # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### BEGIN LIBTOOL CONFIG # Which release of libtool.m4 was used? macro_version=$macro_version macro_revision=$macro_revision # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # What type of objects to build. pic_mode=$pic_mode # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # Shared archive member basename,for filename based shared library versioning on AIX. shared_archive_member_spec=$shared_archive_member_spec # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # An echo program that protects backslashes. ECHO=$lt_ECHO # The PATH separator for the build system. PATH_SEPARATOR=$lt_PATH_SEPARATOR # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="\$SED -e 1s/^X//" # A grep program that handles long lines. GREP=$lt_GREP # An ERE matcher. EGREP=$lt_EGREP # A literal string matcher. FGREP=$lt_FGREP # A BSD- or MS-compatible name lister. NM=$lt_NM # Whether we need soft or hard links. LN_S=$lt_LN_S # What is the maximum length of a command? max_cmd_len=$max_cmd_len # Object file suffix (normally "o"). objext=$ac_objext # Executable file suffix (normally ""). exeext=$exeext # whether the shell understands "unset". lt_unset=$lt_unset # turn spaces into newlines. SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP # convert \$build file names to \$host format. to_host_file_cmd=$lt_cv_to_host_file_cmd # convert \$build files to toolchain format. to_tool_file_cmd=$lt_cv_to_tool_file_cmd # An object symbol dumper. OBJDUMP=$lt_OBJDUMP # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method = "file_magic". file_magic_cmd=$lt_file_magic_cmd # How to find potential files when deplibs_check_method = "file_magic". file_magic_glob=$lt_file_magic_glob # Find potential files using nocaseglob when deplibs_check_method = "file_magic". want_nocaseglob=$lt_want_nocaseglob # DLL creation program. DLLTOOL=$lt_DLLTOOL # Command to associate shared and link libraries. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd # The archiver. AR=$lt_AR # Flags to create an archive. AR_FLAGS=$lt_AR_FLAGS # How to feed a file listing to the archiver. archiver_list_spec=$lt_archiver_list_spec # A symbol stripping program. STRIP=$lt_STRIP # Commands used to install an old-style archive. RANLIB=$lt_RANLIB old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Whether to use a lock for old archive extraction. lock_old_archive_extraction=$lock_old_archive_extraction # A C compiler. LTCC=$lt_CC # LTCC compiler flags. LTCFLAGS=$lt_CFLAGS # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm into a list of symbols to manually relocate. global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import # Transform the output of nm in a C name address pair. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix # The name lister interface. nm_interface=$lt_lt_cv_nm_interface # Specify filename containing input files for \$NM. nm_file_list_spec=$lt_nm_file_list_spec # The root where to search for dependent libraries,and where our libraries should be installed. lt_sysroot=$lt_sysroot # Command to truncate a binary pipe. lt_truncate_bin=$lt_lt_cv_truncate_bin # The name of the directory that contains temporary libtool files. objdir=$objdir # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks # Manifest tool. MANIFEST_TOOL=$lt_MANIFEST_TOOL # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL # Tool to change global to local symbols on Mac OS X. NMEDIT=$lt_NMEDIT # Tool to manipulate fat objects and archives on Mac OS X. LIPO=$lt_LIPO # ldd/readelf like tool for Mach-O binaries on Mac OS X. OTOOL=$lt_OTOOL # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. OTOOL64=$lt_OTOOL64 # Old archive suffix (normally "a"). libext=$libext # Shared library suffix (normally ".so"). shrext_cmds=$lt_shrext_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Variables whose values should be saved in libtool wrapper scripts and # restored at link time. variables_saved_for_relink=$lt_variables_saved_for_relink # Do we need the "lib" prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Library versioning type. version_type=$version_type # Shared library runtime path variable. runpath_var=$runpath_var # Shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Permission mode override for installation of shared libraries. install_override_mode=$lt_install_override_mode # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds # Command to use after uninstallation of a shared archive. postuninstall_cmds=$lt_postuninstall_cmds # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # As "finish_cmds", except a single script fragment to be evaled but # not shown. finish_eval=$lt_finish_eval # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Compile-time system search path for libraries. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Detected run-time system search path for libraries. sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # The linker used to build libraries. LD=$lt_LD # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds # A language specific compiler. CC=$lt_compiler # Is the compiler the GNU compiler? with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Whether the compiler copes with passing no objects directly. compiler_needs_object=$lt_compiler_needs_object # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds # Commands used to build a loadable module if different from building # a shared archive. module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Whether we are building with GNU ld or not. with_gnu_ld=$lt_with_gnu_ld # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that enforces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes # DIR into the resulting binary. hardcode_direct=$hardcode_direct # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes # DIR into the resulting binary and the resulting library dependency is # "absolute",i.e impossible to change by setting \$shlibpath_var if the # library is relocated. hardcode_direct_absolute=$hardcode_direct_absolute # Set to "yes" if using the -LDIR flag during linking hardcodes DIR # into the resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR # into the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. hardcode_automatic=$hardcode_automatic # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds # Commands necessary for finishing linking programs. postlink_cmds=$lt_postlink_cmds # Specify filename containing input files. file_list_spec=$lt_file_list_spec # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # ### END LIBTOOL CONFIG _LT_EOF cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE # func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; esac } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } # ### END FUNCTIONS SHARED WITH CONFIGURE _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac ltmain=$ac_aux_dir/ltmain.sh # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ;; "po-directories":C) for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. # Hide the ALL_LINGUAS assigment from automake < 1.5. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi if test "x$build_oggenc" = xyes -a "x$have_libFLAC" != xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FLAC and/or OggFLAC libraries or headers missing, oggenc will NOT be built with FLAC read support." >&5 $as_echo "$as_me: WARNING: FLAC and/or OggFLAC libraries or headers missing, oggenc will NOT be built with FLAC read support." >&2;} fi if test "x$build_ogg123" != xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Prerequisites for ogg123 not met, ogg123 will be skipped. Please ensure that you have POSIX threads, libao, and (optionally) libcurl libraries and headers present if you would like to build ogg123." >&5 $as_echo "$as_me: WARNING: Prerequisites for ogg123 not met, ogg123 will be skipped. Please ensure that you have POSIX threads, libao, and (optionally) libcurl libraries and headers present if you would like to build ogg123." >&2;} else if test "x$have_libFLAC" != xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FLAC and/or OggFLAC libraries or headers missing, ogg123 will NOT be built with FLAC read support." >&5 $as_echo "$as_me: WARNING: FLAC and/or OggFLAC libraries or headers missing, ogg123 will NOT be built with FLAC read support." >&2;} fi if test "x$have_libspeex" != xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Speex libraries and/or headers missing, ogg123 will NOT be built with Speex read support." >&5 $as_echo "$as_me: WARNING: Speex libraries and/or headers missing, ogg123 will NOT be built with Speex read support." >&2;} fi if test "x$HAVE_CURL" != xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: curl libraries and/or headers missing, ogg123 will NOT be built with http support." >&5 $as_echo "$as_me: WARNING: curl libraries and/or headers missing, ogg123 will NOT be built with http support." >&2;} fi if test "x$HAVE_KATE" != xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Kate libraries and/or headers missing, oggenc will NOT be built with Kate lyrics support." >&5 $as_echo "$as_me: WARNING: Kate libraries and/or headers missing, oggenc will NOT be built with Kate lyrics support." >&2;} fi fi vorbis-tools-1.4.2/compile0000755000175000017500000001624513042165456012475 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: vorbis-tools-1.4.2/CHANGES0000644000175000017500000001415214002242660012073 00000000000000vorbis-tools 1.4.2 -- 2021-01-21 * Cleanup of the build system * Code cleanup * Removed outdated debian/, and vorbis-tools.spec * Updated po/ to reflect new code positions * ogg123, ogginfo: Added support to decode METADATA_BLOCK_PICTURE * ogginfo: Added support for decoding Skeleton vorbis-tools 1.4.1 -- Unreleased (2020-12-21) * Updated documentation including manpages (including: #1679, Debian bug: #359948) * Cleanup of the build system * Code cleanup * Fixed invalid handling of input data (#2007) * Fixed build with MSVC. * Added gitlab-ci configuration * oggenc, oggdec: Fixed memory leak * oggenc, ogg123: Always link libm * oggenc: Fixed RIFF/WAVE 6.1 channel mapping (#1749) * oggenc: Fixed --ignorelength (#1803) * oggenc: Fixed crash on raw input (#2009) * oggenc: Reject files with invalid sample rates (#2078) * oggenc: Fixed crash when encoding from stdin * oggenc: Fixed floating point error (Debian bug: #328266, #634855) * oggenc: Fixed large alloca on bad AIFF input (#2212, Debian bug: #797461, CVE: CVE-2015-6749) * oggenc: Validate count of channels in the header (#2136, #2137, Debian bug: #776086, CVE: CVE-2014-9638, CVE-2014-9639) * oggdec: Fixed write of version to not corrupt data (Debian bug: #595104) * oggdec: Fixed crash on stream errors (#2148, Debian bug: #772978, Ubuntu bug: #629135) * oggdec: Use translations (#2149, Debian bug: #772976) * oggdec: Fixed output to stdout (Do not write "-.wav" files) (#1678, Debian bug: 263762) * ogg123: Fixed format string error * ogg123: Fixed playback of stereo speex tracks with no intensity signal (#1676) * ogg123: Fixed locking/synchronization error * ogg123: Fixed freeze on interupt at EOF (#1956, Debian bug: #307325) * ogg123: Fixed wrong display of status lines (#1677, Debian bug: #239073) * ogg123: Fixed Speex playback, correctly initialize channel matrix (Debian bug: #772766) * ogg123: Added support for Opus files * ogginfo: Corrected reported duration for Theora streams * ogginfo: Added support for Opus, FLAC, and speex * vcut: Corrected code to match language specification (#1701) * vcut: Corrected memory access (#2264, Debian bug: #818037) * vorbiscomment: Added -d/--rm to allow removal of tags * vorbiscomment: Fixed handling of short files vorbis-tools 1.4.0 -- 2010-03-25 * Implement corrected channel mappings for all input and playback file types * Correct an possible infinite loop in WAV input reading code when header is corrupt * Implement disable_coupling option for oggenc * Fix Ctrl-C lockup bug in ogg123 * ogg123 playback in sorted order * Add WAVEFORMATEXTENSIBLE support * More translations * Add '-' as stdin/out filename in vcut * Add -lnetwork check for socket in configure * Remove 'extra' F parameter from ogg123 remote output vorbis-tools 1.3.0 -- Unreleased * Fixed an error in configure.ac; --with-speex/flac work again (#1319) * Corrected problems in the Visual Studio project files * Updated po files from the Translation Project * Added new en_GB.po, eo.po, pl.po, sk.po and vi.po translation files * Added AC_USE_SYSTEM_EXTENSIONS to configure.ac; no more configure warnings * Corrected SUBLANG values in intl/localename.c (#1415) * Change -v to -V on oggenc and oggdec for consistency (#1112) * Fix for utf8_decode in Windows; improves behavior in vorbiscomment (#268) * Updated gettextize to version 0.17 * ogg123: backported fix from libfishsound to patch the Speex decoder (#1347) * ogg123: fixed CPU issue when outputting to a closed pipe (#1357) * ogg123: return value to stop decoding after buffer is shut down (#1357) * ogg123: support for ReplayGain; requires libvorbis 1.2.1 or later (#381) * ogg123: unset non-blocking mode on stderr * oggdec: gettextized help text (#1385) * oggdec: gettextized all strings * oggdec: call ov_open_callbacks instead of ov_open; it works on Windows now * oggenc: fixed a core dump while resampling from FLAC (#1316) * oggenc: fixed a typo in the Skeleton handling routine * oggenc: fixed remapping channels bug (#1326) * oggenc: support for WAVE_FORMAT_EXTENSIBLE headers (#1326) * oggenc: support for 32 bit Wave files (#1326) * oggenc: --ignorelength; support for Wave files > 4 GB (#1326) * oggenc: split help text into manageable chunks to help translators (#1385) * oggenc: --utf8 command similar to vorbiscomment's --raw (#268) * oggenc: fixed the encoding of extended characters in Windows (#268) * oggenc: validate raw UTF-8 sent to oggenc (#268) * oggenc: include the PID in the RNG seed to get a unique serial (#1432) * oggenc: lyrics support using .lrc as source; requires libkate (#1403) * ogginfo: support for information in Kate streams (#1360) * vcut: 64 bit fixes (#1366) * vcut: support for chained streams (#1455) * vorbiscomment: correct memory allocation (#472) * vorbiscomment: validate raw UTF-8 sent to vorbiscomment (#268) * vorbiscomment: fix segfault when using --tag (#1439) * vorbiscomment: round-trip multi-line comments (#273) vorbis-tools 1.2.0 -- 2008-02-21 * FLAC support now relies solely on libFLAC * Support for large files (#879) * Fixed acinclude.m4 to properly support --no switches * ogg123: added remote control support (#1109) * ogg123: fixed a bug in esd when pressing CTRL + C (#715) * ogg123: fixed a type mismatch in option parsing for 64 bit systems * ogg123: configuration no longer hardcoded to /etc * ogg123: compiles with older versions of libcurl * ogg123: fixed crash when playing 1-channel FLAC (#535) * ogg123: fixed floating-point exception when playing corrupt FLAC (#1119) * oggdec: limited support for chained Ogg bitstreams * oggdec: support decoding of multiple files into a single one * oggenc: -k, switch for Skeleton bitstream encoding * oggenc: fixed issues with Skeleton on big endian systems * oggenc: proper 5.1 channel mapping support * oggenc: FLAC module does not confuse every Ogg file as its own * oggenc: compiles with older versions of libvorbis * ogginfo: recognizes Skeleton, Dirac, FLAC and Kate bitstreams * vcut: solved issues described in ticket #1313 * vorbiscomment: support for creation of long comments * vorbiscomment: support for multiplexed Vorbis * Several minor bug fixes vorbis-tools-1.4.2/ogg123/0000755000175000017500000000000014002243561012160 500000000000000vorbis-tools-1.4.2/ogg123/remote.c0000644000175000017500000002364613774147573013577 00000000000000/* remote.c by Richard van Paasen */ /******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Kenneth C. Arnold AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #if HAVE_SELECT #include #endif #include "ogg123.h" #include "format.h" /* Maximum size of the input buffer */ #define MAXBUF 1024 /* Undefine logfile if you don't want it */ //#define LOGFILE "/tmp/ogg123.log" /* The play function in ogg123.c */ extern void play (char *source_string); extern ogg123_options_t options; extern void set_seek_opt(ogg123_options_t *ogg123_opts, char *buf); /* Status */ typedef enum { PLAY, STOP, PAUSE, NEXT, QUIT} Status; static Status status = STOP; /* Threading is introduced to reduce the amount of processor time that ogg123 will take if it is in idle state */ /* Thread control locks */ static pthread_mutex_t main_lock; static sem_t sem_command; static sem_t sem_processed; static pthread_mutex_t output_lock; #ifdef LOGFILE void send_log(const char* fmt, ...) { FILE* fp; va_list ap; pthread_mutex_lock (&output_lock); fp=fopen(LOGFILE,"a"); va_start(ap, fmt); vfprintf(fp, fmt, ap); va_end(ap); fprintf(fp, "\n"); fclose(fp); pthread_mutex_unlock (&output_lock); return; } #else #define send_log(...) #endif static void send_msg(const char* fmt, ...) { va_list ap; pthread_mutex_lock (&output_lock); fprintf(stdout, "@"); va_start(ap, fmt); vfprintf(stdout, fmt, ap); va_end(ap); fprintf(stdout, "\n"); pthread_mutex_unlock (&output_lock); return; } static void send_err(const char* fmt, ...) { va_list ap; pthread_mutex_lock (&output_lock); fprintf(stderr, "@"); va_start(ap, fmt); vfprintf(stderr, fmt, ap); va_end(ap); fprintf(stderr, "\n"); pthread_mutex_unlock (&output_lock); return; } static Status getstatus() { return status; } static void setstatus(Status s) { status = s; } static void invertpause() { if (status==PLAY) { status = PAUSE; } else if (status==PAUSE) { status = PLAY; } return; } static void * remotethread(void * arg) { int done = 0; int error = 0; int ignore = 0; char buf[MAXBUF+1]; char *b; #if HAVE_SELECT fd_set fd; #endif buf[MAXBUF]=0; while(!done) { /* Read a line */ buf[0] = 0; send_log("Waiting for input: ..."); #if HAVE_SELECT FD_ZERO(&fd); FD_SET(0,&fd); select (1, &fd, NULL, NULL, NULL); #endif fgets(buf, MAXBUF, stdin); buf[strlen(buf)-1] = 0; /* Lock on */ pthread_mutex_lock (&main_lock); send_log("Input: %s", buf); error = 0; if (!strncasecmp(buf,"l",1)) { /* prepare to load */ if ((b=strchr(buf,' ')) != NULL) { /* Prepare to load a new song */ strcpy((char*)arg, b+1); setstatus(NEXT); } else { /* Invalid load command */ error = 1; } } else if (!strncasecmp(buf,"p",1)) { /* Prepare to (un)pause */ invertpause(); } else if (!strncasecmp(buf,"j",1)) { /* Prepare to seek */ if ((b=strchr(buf,' ')) != NULL) { set_seek_opt(&options, b+1); } ignore = 1; } else if (!strncasecmp(buf,"s",1)) { /* Prepare to stop */ setstatus(STOP); } else if (!strncasecmp(buf,"r",1)) { /* Prepare to reload */ setstatus(NEXT); } else if (!strncasecmp(buf,"h",1)) { /* Send help */ send_msg("H +----------------------------------------------------+"); send_msg("H | Ogg123 remote interface |"); send_msg("H |----------------------------------------------------|"); send_msg("H | Load - load a file and starts playing |"); send_msg("H | Pause - pause or unpause playing |"); send_msg("H | Jump [+|-] - jump seconds forth or back |"); send_msg("H | Stop - stop playing |"); send_msg("H | Reload - reload last song |"); send_msg("H | Quit - quit ogg123 |"); send_msg("H |----------------------------------------------------|"); send_msg("H | refer to README.remote for documentation |"); send_msg("H +----------------------------------------------------+"); ignore = 1; } else if (!strncasecmp(buf,"q",1)) { /* Prepare to quit */ setstatus(QUIT); done = 1; } else { /* Unknown input received */ error = 1; } if (ignore) { /* Unlock */ pthread_mutex_unlock (&main_lock); ignore = 0; } else { if (error) { /* Send the error and unlock */ send_err("E Unknown command '%s'", buf); send_log("Unknown command '%s'", buf); /* Unlock */ pthread_mutex_unlock (&main_lock); } else { /* Signal the main thread */ sem_post(&sem_command); /* Unlock */ pthread_mutex_unlock (&main_lock); /* Wait until the change has been noticed */ sem_wait(&sem_processed); } } } return NULL; } void remote_mainloop(void) { int r; pthread_t th; Status s; char fname[MAXBUF+1]; /* Need to output line by line! */ setlinebuf(stdout); /* Send a greeting */ send_msg("R ogg123 from " PACKAGE " " VERSION); /* Initialize the thread controlling variables */ pthread_mutex_init(&main_lock, NULL); sem_init(&sem_command, 0, 0); sem_init(&sem_processed, 0, 0); /* Start the thread */ r = pthread_create(&th, NULL, remotethread, (void*)fname); if (r != 0) { send_err("E Could not create a thread (code %d)", r); return; } send_log("Start"); /* The thread may already have processed some input, get the current status */ pthread_mutex_lock(&main_lock); s = getstatus(); pthread_mutex_unlock(&main_lock); while (s != QUIT) { /* wait for a new command */ if (s != NEXT) { /* Wait until a new status is available, This puts the main tread asleep and saves resources */ sem_wait(&sem_command); pthread_mutex_lock(&main_lock); s = getstatus(); pthread_mutex_unlock(&main_lock); } send_log("Status: %d", s); if (s == NEXT) { /* The status is to play a new song. Set the status to PLAY and signal the thread that the status has been processed. */ send_msg("I %s", fname); send_msg("S 0.0 0 00000 xxxxxx 0 0 0 0 0 0 0 0"); send_msg("P 2"); pthread_mutex_lock(&main_lock); setstatus(PLAY); s = getstatus(); send_log("mainloop s=%d", s); sem_post(&sem_processed); s = getstatus(); send_log("mainloop s=%d", s); pthread_mutex_unlock(&main_lock); /* Start the player. The player calls the playloop frequently to check for a new status (e.g. NEXT, STOP or PAUSE. */ pthread_mutex_lock(&main_lock); s = getstatus(); pthread_mutex_unlock(&main_lock); send_log("mainloop s=%d", s); play(fname); /* Retrieve the new status */ pthread_mutex_lock(&main_lock); s = getstatus(); pthread_mutex_unlock(&main_lock); /* don't know why this was here, sending "play stoped" on NEXT wasn't good idea... */ // if (s == NEXT) { /* Send "play stopped" */ // send_msg("P 0"); // send_log("P 0"); // } else { /* Send "play stopped at eof" */ // send_msg("P 0 EOF"); // send_log("P 0 EOF"); // } } else { /* Irrelevent status, notice the thread that it has been processed. */ sem_post(&sem_processed); } } /* Send "Quit" */ send_msg("Q"); send_log("Quit"); /* Cleanup the semaphores */ sem_destroy(&sem_command); sem_destroy(&sem_processed); return; } int remote_playloop(void) { Status s; /* Check the status. If the player should pause, then signal that the command has been processed and wait for a new status. A new status will end the player and return control to the main loop. The main loop will signal that the new command has been processed. */ pthread_mutex_lock (&main_lock); s = getstatus(); pthread_mutex_unlock (&main_lock); send_log("playloop entry s=%d", s); if (s == PAUSE) { /* Send "pause on" */ send_msg("P 1"); while (s == PAUSE) { sem_post(&sem_processed); sem_wait(&sem_command); pthread_mutex_lock (&main_lock); s = getstatus(); pthread_mutex_unlock (&main_lock); } /* Send "pause off" */ send_msg("P 2"); } /* Send stop msg to the frontend */ /* this probably should be done after the audio buffer is flushed and no audio is actually playing, but don't know how */ if ((s == STOP) || (s == QUIT)) send_msg("P 0"); send_log("playloop exit s=%d", s); return ((s == NEXT) || (s == STOP) || (s == QUIT)); } void remote_time(double current, double total) { /* Send the frame (not implemented yet) and the time */ send_msg("F 0 0 %.2f %.2f", current, (total-current)); return; } vorbis-tools-1.4.2/ogg123/ogg123.10000644000175000017500000002455513770106511013203 00000000000000.\" Process this file with .\" groff -man -Tascii ogg123.1 .\" .TH ogg123 1 "2010 March 24" "Xiph.Org Foundation" "Vorbis Tools" .SH NAME ogg123 \- plays Ogg, and FLAC files .SH SYNOPSIS .B ogg123 [ .B -vqrzZVh ] [ .B -k .I seconds ] [ .B -x .I nth ] [ .B -y .I ntimes ] [ .B -b .I buffer_size ] [ .B -d .I driver [ .B -o .I option:value ] [ .B -f .I filename ] ] .I file .B ... | .I directory .B ... | .I URL .B ... .SH DESCRIPTION .B ogg123 reads Ogg/Vorbis, Ogg/Speex, Ogg/Opus, Ogg/FLAC, and native FLAC audio files and decodes them to the devices specified on the command line. By default, .B ogg123 writes to the standard sound device, but output can be sent to any number of devices. Files can be read from the file system, or URLs can be streamed via HTTP. If a directory is given, all of the files in it or its subdirectories will be played. .SH OPTIONS .IP "--audio-buffer n" Use an output audio buffer of approximately 'n' kilobytes. .IP "-@ playlist, --list playlist" Play all of the files named in the file 'playlist'. The playlist should have one filename, directory name, or URL per line. Blank lines are permitted. Directories will be treated in the same way as on the command line. .IP "-b n, --buffer n" Use an input buffer of approximately 'n' kilobytes. HTTP-only option. .IP "-p n, --prebuffer n" Prebuffer 'n' percent of the input buffer. Playback won't begin until this prebuffer is complete. HTTP-only option. .IP "-d device, --device device" Specify output device. See .B DEVICES section for a list of devices. Any number of devices may be specified. .IP "-f filename, --file filename" Specify output file for a file device previously specified with --device. The filename "-" writes to standard out. If the file already exists, .B ogg123 will overwrite it. .IP "-h, --help" Show command help. .IP "-k n, --skip n" Skip the first 'n' seconds. 'n' may also be in minutes:seconds or hours:minutes:seconds form. .IP "-K n, --end n" Stops playing 'n' seconds from the start of the stream. 'n' may also have the same format as used in the .I --skip option. .IP "-o option[:value], --device-option option[:value]" Sets the option .I option to .I value for the preceding device. See .B DEVICES for a list of valid options for each device. .IP "-q, --quiet" Quiet mode. No messages are displayed. .IP "-V, --version" Display version information. .IP "-v, --verbose" Increase verbosity. .IP "-x n, --nth" Play every 'n'th decoded block. Has the effect of playing audio at 'n' times faster than normal speed. .IP "-y n, --ntimes" Repeat every played block 'n' times. Has the effect of playing audio 'n' times slower than normal speed. May be with -x for interesting fractional speeds. .IP "-r, --repeat" Repeat playlist indefinitely. .IP "-z, --shuffle" Play files in pseudo-random order. .IP "-Z, --random" Play files in pseudo-random order forever. .SH DEVICES .B ogg123 supports a variety of audio output devices through libao. Only those devices supported by the target platform will be available. The .B -f option may only be used with devices that write to files. Options supported by all devices: .RS .IP debug Turn on debugging output [if any] for a chosen driver. .IP matrix:value Force a specific output channel ordering for a given device. .I value is a comma separated list of AO style channel names, eg, L,R,C,LFE,BL,BR,SL,SR. .IP verbose Turn on verbose output for a chosen driver. the -v option will also set the driver verbose option. .IP quiet Force chosen driver to be completely silent. Even errors will not produce any output. -q will also set the driver quiet option. .RE .B .IP aixs AIX live output driver. Options: .RS .IP dev:value Set AIX output device to .I value .RE .B .IP alsa Advanced Linux Sound Architecture live output driver. Options: .RS .IP buffer_time:value Override the default hardware buffer size (in milliseconds). .IP dev:value ALSA device label to use. Examples include "hw:0" for the first soundcard and "hw:1" for the second. The alsa driver normally chooses one of "surround71", "surround51", "surround40" or "default" automatically depending on number of output channels. For more information, see http://alsa.opensrc.org/ALSA+device+labels .IP period_time:value Override the default hardware period size (in microseconds). .IP period_time:value Override the default hardware period size (in microseconds). .IP use_mmap:value .I value is set to "yes" or "no" to override the compiled-in default to use or not use mmap device access. In the past, some buggy alsa drivers have behaved better when not using mmap access at the penalty of slightly higher CPU usage. .RE .B .IP arts aRts Sound Daemon live output driver. Options: .RS .IP multi:value .I value is set to "yes" or "no" to allow opening the aRts playback device for multiply concurrent playback. Although the driver works properly in multi mode, it is known to occasionally crash the aRts server itself. Default behavior is "no". .RE .B .IP au Sun audio file output. Writes the audio samples in AU format. The AU format supports writing to unseekable files like standard out. In such circumstances, the AU header will specify the sample format, but not the length of the recording. .B .IP esd Enlightened Sound Daemon live output. Options: .RS .IP host:value .I value specifies the hostname where esd is running. This can include a port number after a colon, as in "whizbang.com:555". (Default = localhost) .IP client_name:value Sets the client name for the new audio stream. Defaults to "libao client". .RE .B .IP irix IRIX live output audio driver. .B .IP macosx MacOS X 'AUHAL' live output driver. This driver supports MacOS X 10.5 and later (10.4 and earlier uses an earlier, incompatible interface). Options: .RS .IP buffer_time:value Set the hardware buffer size to the equivalent of .I value milliseconds. .RE .B .IP nas Network Audio Server live output driver. Options: .RS .IP buf_size:value Set size of audio buffer on server in bytes. .IP host:value Set location of NAS server; See nas(1) for format. .RE .B .IP null Null driver. All audio data is discarded. (Note: Audio data is not written to .B /dev/null !) You could use this driver to test raw decoding speed without output overhead. .B .IP oss Open Sound System driver for Linux and FreeBSD, versions 2, 3 and 4. Options: .RS .IP dsp:value DSP device for soundcard. Defaults to .B /dev/dsp. .RE .B .IP pulse Pulseaudio live audio sound driver. Options: .RS .IP server:value Specifies location of remote or alternate Pulseaudio server. .IP sink:value Specifies a non-default Pulseaudio sink for audio stream. .RE .B .IP raw Raw file output. Writes raw audio samples to a file. Options: .RS .IP byteorder:value Chooses big endian ("big"), little endian ("little"), or native ("native") byte order. Default is native order. .RE .B .IP roar RoarAudio Daemon live output driver. Options: .RS .IP "server:value, host:value" Specifies location of remote RoarAudio server to use. .IP "id:value, dev:value" Specifies a non-default mixer within a RoarAudio server for audio stream. .IP role:value Sets the role setting for the audio stream. .IP client_name:value Sets the client name for the new audio stream. Defaults to "libao client". .RE .B .IP sndio OpenBSD SNDIO live output driver. Options: .RS .IP dev:value Specifies audio device to use for playback. .RE .B .IP sun Sun Audio live output driver for NetBSD, OpenBSD, and Solaris. Options: .RS .IP dev:value Audio device for soundcard. Defaults to .B /dev/audio. .RE .B .IP wav WAV file output. Writes the sound data to disk in uncompressed form. If multiple files are played, all of them will be concatenated into the same WAV file. WAV files cannot be written to unseekable files, such as standard out. Use the AU format instead. .B .IP wmm Windows MultiMedia live output driver for Win98 and later. Options: .RS .IP dev:value Selects audio device to use for playback by device name. .IP id:value Selects audio device to use for playback by device id (card number). .RE .SH EXAMPLES The .B ogg123 command line is fairly flexible, perhaps confusingly so. Here are some sample command lines and an explanation of what they do. .PP Play on the default soundcard: .RS .B ogg123 test.ogg .RE .PP Play all of the files in the directory ~/music and its subdirectories. .RS .B ogg123 ~/music .RE .PP Play a file using the OSS driver: .RS .B ogg123 -d oss test.ogg .RE .PP Pass the "dsp" option to the OSS driver: .RS .B ogg123 -d oss -o dsp:/dev/mydsp .RE .PP Use the ESD driver .RS .B ogg123 -d esd test.ogg .RE .PP Use the WAV driver with the output file, "test.wav": .RS .B ogg123 -d wav -f test.wav test.ogg .RE .PP Listen to a file while you write it to a WAV file: .RS .B ogg123 -d oss -d wav -f test.wav test.ogg .RE .PP Note that options apply to the device declared to the left: .RS .B ogg123 -d oss -o dsp:/dev/mydsp -d raw -f test2.raw -o byteorder:big test.ogg .RE .PP Stress test your harddrive: .RS .B ogg123 -d oss -d wav -f 1.wav -d wav -f 2.wav -d wav -f 3.wav -d wav -f 4.wav -d wav -f 5.wav test.ogg .RE .PP Create an echo effect with esd and a slow computer: .RS .B ogg123 -d esd -d esd test.ogg .RE .PP .SH INTERRUPT You can abort .B ogg123 at any time by pressing Ctrl-C. If you are playing multiple files, this will stop the current file and begin playing the next one. If you want to abort playing immediately instead of skipping to the next file, press Ctrl-C within the first second of the playback of a new file. .P Note that the result of pressing Ctrl-C might not be audible immediately, due to audio data buffering in the audio device. This delay is system dependent, but it is usually not more than one or two seconds. .SH FILES .TP /etc/libao.conf Can be used to set the default output device for all libao programs. .TP ~/.libao Per-user config file to override the system wide output device settings. .PP .SH BUGS Piped WAV files may cause strange behavior in other programs. This is because WAV files store the data length in the header. However, the output driver does not know the length when it writes the header, and there is no value that means "length unknown". Use the raw or au output driver if you need to use ogg123 in a pipe. .SH AUTHORS .TP Program Authors: .br Kenneth Arnold .br Stan Seibert .br .TP Manpage Author: .br Stan Seibert .SH "SEE ALSO" .PP \fBlibao.conf\fR(5), \fBoggenc\fR(1), \fBvorbiscomment\fR(1), \fBogginfo\fR(1) vorbis-tools-1.4.2/ogg123/Makefile.am0000644000175000017500000000370513774434224014156 00000000000000## Process this file with automake to produce Makefile.in if HAVE_LIBFLAC flac_sources = flac_format.c easyflac.c easyflac.h else flac_sources = endif if HAVE_LIBSPEEX speex_sources = speex_format.c else speex_sources = endif if HAVE_LIBOPUSFILE opus_sources = opus_format.c else opus_sources = endif if HAVE_OV_READ_FILTER vgfilter_sources = vgfilter.c vgfilter.h else vgfilter_sources = endif datadir = @datadir@ localedir = $(datadir)/locale DEFS = -DSYSCONFDIR=\"$(sysconfdir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@ docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) mandir = @MANDIR@ bin_PROGRAMS = ogg123 AM_CPPFLAGS = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @OPUSFILE_CFLAGS@ @AO_CFLAGS@ @CURL_CFLAGS@ \ @PTHREAD_CFLAGS@ @SHARE_CFLAGS@ @I18N_CFLAGS@ ogg123_LDADD = @SHARE_LIBS@ $(top_builddir)/share/libpicture.a $(top_builddir)/share/libbase64.a \ @VORBISFILE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @AO_LIBS@ \ @SOCKET_LIBS@ @LIBICONV@ @CURL_LIBS@ @PTHREAD_CFLAGS@ \ @PTHREAD_LIBS@ @I18N_LIBS@ @FLAC_LIBS@ @SPEEX_LIBS@ @OPUSFILE_LIBS@ \ -lm ogg123_DEPENDENCIES = @SHARE_LIBS@ $(top_builddir)/share/libpicture.a $(top_builddir)/share/libbase64.a ogg123_SOURCES = audio.c buffer.c callbacks.c \ cfgfile_options.c cmdline_options.c \ file_transport.c format.c http_transport.c \ ogg123.c oggvorbis_format.c playlist.c \ status.c remote.c transport.c vorbis_comments.c \ audio.h buffer.h callbacks.h compat.h \ cfgfile_options.h cmdline_options.h \ format.h ogg123.h playlist.h status.h \ transport.h remote.h vorbis_comments.h \ $(flac_sources) $(speex_sources) $(opus_sources) \ $(vgfilter_sources) man_MANS = ogg123.1 doc_DATA = ogg123rc-example EXTRA_ogg123_SOURCES = \ $(man_MANS) $(doc_DATA) debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" vorbis-tools-1.4.2/ogg123/ogg123rc-example0000644000175000017500000000053213767140576015026 00000000000000# Copy this to ~/.ogg123rc and edit as necessary. These are all the # default options except for default device, which is a reasonable # default for many people. To see a full list of available options, # type: # # $ ogg123 -c default_device=oss shuffle=n verbose=1 outbuffer=0 outprebuffer=0 inbuffer=10000 inprebuffer=10 #save_stream= delay=1 vorbis-tools-1.4.2/ogg123/easyflac.h0000644000175000017500000001466413774147573014100 00000000000000/* EasyFLAC - A thin decoding wrapper around libFLAC and libOggFLAC to * make your code less ugly. * * Copyright 2003 - Stan Seibert * This code is licensed under a BSD style license: * * 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. * * - Neither the name of the Xiph.org Foundation nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * 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. * ************************************************************************ * * The motivation for this wrapper is to avoid issues where you need to * decode both FLAC and Ogg FLAC but don't want to enclose all of your code * in enormous if blocks where the body of the two branches is essentially * the same. For example, you don't want to do something like this: * * if (is_ogg_flac) * { * OggFLAC__blah_blah(); * OggFLAC__more_stuff(); * } * else * { * FLAC__blah_blah(); * FLAC__more_stuff(); * } * * when you really just want this: * * EasyFLAC__blah_blah(); * EasyFLAC__more_stuff(); * * This is even more cumbersome when you have to deal with constants. * * EasyFLAC uses essentially the same API as * FLAC__stream_decoder with two additions: * * - EasyFLAC__is_oggflac() for those rare occassions when you might * need to distiguish the difference cases. * * - EasyFLAC__stream_decoder_new() takes a parameter to select when * you are reading FLAC or Ogg FLAC. * * The constants are all FLAC__stream_decoder_*. * * WARNING: Always call EasyFLAC__set_client_data() even if all you * want to do is set the client data to NULL. */ #ifndef __EASYFLAC_H #define __EASYFLAC_H #include #include #ifdef __cplusplus extern "C" { #endif typedef struct EasyFLAC__StreamDecoder EasyFLAC__StreamDecoder; typedef FLAC__StreamDecoderReadStatus (*EasyFLAC__StreamDecoderReadCallback)(const EasyFLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data); typedef FLAC__StreamDecoderWriteStatus (*EasyFLAC__StreamDecoderWriteCallback)(const EasyFLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data); typedef void (*EasyFLAC__StreamDecoderMetadataCallback)(const EasyFLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data); typedef void (*EasyFLAC__StreamDecoderErrorCallback)(const EasyFLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data); struct EasyFLAC__StreamDecoder { FLAC__bool is_oggflac; FLAC__StreamDecoder *flac; OggFLAC__StreamDecoder *oggflac; struct { EasyFLAC__StreamDecoderReadCallback read; EasyFLAC__StreamDecoderWriteCallback write; EasyFLAC__StreamDecoderMetadataCallback metadata; EasyFLAC__StreamDecoderErrorCallback error; void *client_data; } callbacks; }; FLAC__bool EasyFLAC__is_oggflac(EasyFLAC__StreamDecoder *decoder); EasyFLAC__StreamDecoder *EasyFLAC__stream_decoder_new(FLAC__bool is_oggflac); void EasyFLAC__stream_decoder_delete(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__set_read_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderReadCallback value); FLAC__bool EasyFLAC__set_write_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderWriteCallback value); FLAC__bool EasyFLAC__set_metadata_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderMetadataCallback value); FLAC__bool EasyFLAC__set_error_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderErrorCallback value); FLAC__bool EasyFLAC__set_client_data(EasyFLAC__StreamDecoder *decoder, void *value); FLAC__bool EasyFLAC__set_metadata_respond(EasyFLAC__StreamDecoder *decoder, FLAC__MetadataType type); FLAC__bool EasyFLAC__set_metadata_respond_application(EasyFLAC__StreamDecoder *decoder, const FLAC__byte id[4]); FLAC__bool EasyFLAC__set_metadata_respond_all(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__set_metadata_ignore(EasyFLAC__StreamDecoder *decoder, FLAC__MetadataType type); FLAC__bool EasyFLAC__set_metadata_ignore_application(EasyFLAC__StreamDecoder *decoder, const FLAC__byte id[4]); FLAC__bool EasyFLAC__set_metadata_ignore_all(EasyFLAC__StreamDecoder *decoder); FLAC__StreamDecoderState EasyFLAC__get_state(const EasyFLAC__StreamDecoder *decoder); unsigned EasyFLAC__get_channels(const EasyFLAC__StreamDecoder *decoder); FLAC__ChannelAssignment EasyFLAC__get_channel_assignment(const EasyFLAC__StreamDecoder *decoder); unsigned EasyFLAC__get_bits_per_sample(const EasyFLAC__StreamDecoder *decoder); unsigned EasyFLAC__get_sample_rate(const EasyFLAC__StreamDecoder *decoder); unsigned EasyFLAC__get_blocksize(const EasyFLAC__StreamDecoder *decoder); FLAC__StreamDecoderState EasyFLAC__init(EasyFLAC__StreamDecoder *decoder); void EasyFLAC__finish(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__flush(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__reset(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__process_single(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__process_until_end_of_metadata(EasyFLAC__StreamDecoder *decoder); FLAC__bool EasyFLAC__process_until_end_of_stream(EasyFLAC__StreamDecoder *decoder); #ifdef __cplusplus } #endif #endif vorbis-tools-1.4.2/ogg123/opus_format.c0000644000175000017500000002204713774147573014634 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2003 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id: opus_format.c 16825 2010-01-27 04:14:08Z xiphmont $ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include "transport.h" #include "format.h" #include "vorbis_comments.h" #include "utf8.h" #include "i18n.h" typedef struct opf_private_t { OggOpusFile *of; const OpusTags *ot; const OpusHead *oh; int current_section; int bos; /* At beginning of logical bitstream */ decoder_stats_t stats; } opf_private_t; /* Forward declarations */ format_t opus_format; OpusFileCallbacks opusfile_callbacks; void print_opus_stream_info (decoder_t *decoder); void print_opus_comments (const OpusTags *ot, decoder_callbacks_t *cb, void *callback_arg); /* ----------------------------------------------------------- */ int opf_can_decode (data_source_t *source) { char buf[36]; int len; len = source->transport->peek(source, buf, sizeof(char), 36); if (len >= 32 && memcmp(buf, "OggS", 4) == 0 && memcmp(buf+28, "OpusHead", 8) == 0) /* 3 trailing spaces */ return 1; else return 0; } decoder_t* opf_init (data_source_t *source, ogg123_options_t *ogg123_opts, audio_format_t *audio_fmt, decoder_callbacks_t *callbacks, void *callback_arg) { decoder_t *decoder; opf_private_t *private; int ret; /* Allocate data source structures */ decoder = malloc(sizeof(decoder_t)); private = malloc(sizeof(opf_private_t)); if (decoder != NULL && private != NULL) { decoder->source = source; decoder->actual_fmt = decoder->request_fmt = *audio_fmt; decoder->format = &opus_format; decoder->callbacks = callbacks; decoder->callback_arg = callback_arg; decoder->private = private; private->bos = 1; private->current_section = -1; private->stats.total_time = 0.0; private->stats.current_time = 0.0; private->stats.instant_bitrate = 0; private->stats.avg_bitrate = 0; } else { fprintf(stderr, _("ERROR: Out of memory.\n")); exit(1); } /* Initialize opusfile decoder */ private->of = op_open_callbacks (decoder, &opusfile_callbacks, NULL, 0, &ret); if (private->of == NULL) { free(private); /* free(source); nope. caller frees. */ return NULL; } return decoder; } int opf_read (decoder_t *decoder, void *ptr, int nbytes, int *eos, audio_format_t *audio_fmt) { opf_private_t *priv = decoder->private; decoder_callbacks_t *cb = decoder->callbacks; int bytes_read = 0; int ret; int old_section; /* Read comments and audio info at the start of a logical bitstream */ if (priv->bos) { priv->ot = op_tags(priv->of, -1); priv->oh = op_head(priv->of, -1); decoder->actual_fmt.channels = priv->oh->channel_count; decoder->actual_fmt.rate = 48000; switch(decoder->actual_fmt.channels){ case 1: decoder->actual_fmt.matrix="M"; break; case 2: decoder->actual_fmt.matrix="L,R"; break; case 3: decoder->actual_fmt.matrix="L,C,R"; break; case 4: decoder->actual_fmt.matrix="L,R,BL,BR"; break; case 5: decoder->actual_fmt.matrix="L,C,R,BL,BR"; break; case 6: decoder->actual_fmt.matrix="L,C,R,BL,BR,LFE"; break; case 7: decoder->actual_fmt.matrix="L,C,R,SL,SR,BC,LFE"; break; case 8: decoder->actual_fmt.matrix="L,C,R,SL,SR,BL,BR,LFE"; break; default: decoder->actual_fmt.matrix=NULL; break; } print_opus_stream_info(decoder); print_opus_comments(priv->ot, cb, decoder->callback_arg); priv->bos = 0; } *audio_fmt = decoder->actual_fmt; /* Attempt to read as much audio as is requested */ while (nbytes >= audio_fmt->word_size * audio_fmt->channels) { old_section = priv->current_section; ret = op_read(priv->of, ptr, nbytes/2, NULL); if (ret == 0) { /* EOF */ *eos = 1; break; } else if (ret == OP_HOLE) { if (cb->printf_error != NULL) cb->printf_error(decoder->callback_arg, INFO, _("--- Hole in the stream; probably harmless\n")); } else if (ret < 0) { if (cb->printf_error != NULL) cb->printf_error(decoder->callback_arg, ERROR, _("=== Vorbis library reported a stream error.\n")); /* EOF */ *eos = 1; break; } else { bytes_read += ret*2*audio_fmt->channels; ptr = (void *)((unsigned char *)ptr + ret*2*audio_fmt->channels); nbytes -= ret*2*audio_fmt->channels; /* did we enter a new logical bitstream? */ if (old_section != priv->current_section && old_section != -1) { *eos = 1; priv->bos = 1; /* Read new headers next time through */ break; } } } return bytes_read; } int opf_seek (decoder_t *decoder, double offset, int whence) { opf_private_t *priv = decoder->private; int ret; int cur; int samples = offset * 48000; if (whence == DECODER_SEEK_CUR) { cur = op_pcm_tell(priv->of); if (cur >= 0) samples += cur; else return 0; } ret = op_pcm_seek(priv->of, samples); if (ret == 0) return 1; else return 0; } decoder_stats_t *opf_statistics (decoder_t *decoder) { opf_private_t *priv = decoder->private; long instant_bitrate; long avg_bitrate; /* ov_time_tell() doesn't work on non-seekable streams, so we use ov_pcm_tell() */ priv->stats.total_time = (double) op_pcm_total(priv->of, -1) / (double) decoder->actual_fmt.rate; priv->stats.current_time = (double) op_pcm_tell(priv->of) / (double) decoder->actual_fmt.rate; /* opusfile returns 0 when no bitrate change has occurred */ instant_bitrate = op_bitrate_instant(priv->of); if (instant_bitrate > 0) priv->stats.instant_bitrate = instant_bitrate; avg_bitrate = op_bitrate(priv->of, priv->current_section); /* Catch error case caused by non-seekable stream */ priv->stats.avg_bitrate = avg_bitrate > 0 ? avg_bitrate : 0; return malloc_decoder_stats(&priv->stats); } void opf_cleanup (decoder_t *decoder) { opf_private_t *priv = decoder->private; op_free(priv->of); free(decoder->private); free(decoder); } format_t opus_format = { "oggopus", &opf_can_decode, &opf_init, &opf_read, &opf_seek, &opf_statistics, &opf_cleanup, }; /* ------------------- Opusfile Callbacks ----------------- */ int opusfile_cb_read (void *stream, unsigned char *ptr, int nbytes) { decoder_t *decoder = stream; return decoder->source->transport->read(decoder->source, ptr, 1, nbytes); } int opusfile_cb_seek (void *arg, opus_int64 offset, int whence) { decoder_t *decoder = arg; return decoder->source->transport->seek(decoder->source, offset, whence); } int opusfile_cb_close (void *arg) { return 1; /* Ignore close request so transport can be closed later */ } opus_int64 opusfile_cb_tell (void *arg) { decoder_t *decoder = arg; return decoder->source->transport->tell(decoder->source); } OpusFileCallbacks opusfile_callbacks = { &opusfile_cb_read, &opusfile_cb_seek, &opusfile_cb_tell, &opusfile_cb_close }; /* ------------------- Private functions -------------------- */ void print_opus_stream_info (decoder_t *decoder) { opf_private_t *priv = decoder->private; decoder_callbacks_t *cb = decoder->callbacks; if (cb == NULL || cb->printf_metadata == NULL) return; cb->printf_metadata(decoder->callback_arg, 2, _("Ogg Opus stream: %d channel, 48000 Hz"), priv->oh->channel_count); cb->printf_metadata(decoder->callback_arg, 3, _("Vorbis format: Version %d"), priv->oh->version); cb->printf_metadata(decoder->callback_arg, 3, _("Encoded by: %s"), priv->ot->vendor); } void print_opus_comments (const OpusTags *ot, decoder_callbacks_t *cb, void *callback_arg) { int i; char *temp = NULL; int temp_len = 0; for (i = 0; i < ot->comments; i++) { /* Gotta null terminate these things */ if (temp_len < ot->comment_lengths[i] + 1) { temp_len = ot->comment_lengths[i] + 1; temp = realloc(temp, sizeof(char) * temp_len); } strncpy(temp, ot->user_comments[i], ot->comment_lengths[i]); temp[ot->comment_lengths[i]] = '\0'; print_vorbis_comment(temp, cb, callback_arg); } free(temp); } vorbis-tools-1.4.2/ogg123/cfgfile_options.c0000644000175000017500000002347113774147573015452 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ /* if strcasecmp is giving you problems, switch to strcmp or the appropriate * function for your platform / compiler. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include /* for INT/LONG_MIN/MAX */ #include #include "cfgfile_options.h" #include "status.h" #include "i18n.h" /* ------------------- Private Functions ---------------------- */ int print_space (FILE *f, int s, int c) { int tmp = 0; do { fputc (c, f); tmp++; } while (--s > 0); return tmp; } int parse_error (parse_code_t pcode, int lineno, const char *filename, char *line) { if (pcode == parse_syserr) { if (errno != EEXIST && errno != ENOENT) perror (_("System error")); return -1; } else { status_error (_("=== Parse error: %s on line %d of %s (%s)\n"), parse_error_string(pcode), lineno, filename, line); return 0; } } /* ------------------- Public Interface ----------------------- */ void file_options_init (file_option_t opts[]) { while (opts && opts->name) { opts->found = 0; if (opts->dfl) { switch (opts->type) { case opt_type_none: /* do nothing */ break; case opt_type_char: *(char *) opts->ptr = *(char*) opts->dfl; break; case opt_type_string: *(char **) opts->ptr = *(char **) opts->dfl; break; case opt_type_bool: case opt_type_int: *(int *) opts->ptr = *(int *) opts->dfl; break; case opt_type_float: *(float *) opts->ptr = *(float *) opts->dfl; break; case opt_type_double: *(double *) opts->ptr = *(double *) opts->dfl; break; } } opts++; } } /* DescribeOptions - describe available options to outfile */ void file_options_describe (file_option_t opts[], FILE *f) { /* name | description | type | default */ int colWidths[] = {0, 0, 7, 7}; int totalWidth = 0; file_option_t *opt = opts; while (opt->name) { int len = strlen (opt->name) + 1; if (len > colWidths[0]) colWidths[0] = len; opt++; } opt = opts; while (opt->name) { int len = strlen (opt->desc) + 1; if (len > colWidths[1]) colWidths[1] = len; opt++; } /* Column headers */ /* Name */ totalWidth += fprintf (f, "%-*s", colWidths[0], _("Name")); /* Description */ totalWidth += fprintf (f, "%-*s", colWidths[1], _("Description")); /* Type */ totalWidth += fprintf (f, "%-*s", colWidths[2], _("Type")); /* Default */ totalWidth += fprintf (f, "%-*s", colWidths[3], _("Default")); fputc ('\n', f); /* Divider */ print_space (f, totalWidth, '-'); fputc ('\n', f); opt = opts; while (opt->name) { /* name */ int w = colWidths[0]; w -= fprintf (f, "%s", opt->name); print_space (f, w, ' '); /* description */ w = colWidths[1]; w -= fprintf (f, "%s", opt->desc); print_space (f, w, ' '); /* type */ w = colWidths[2]; switch (opt->type) { case opt_type_none: w -= fprintf (f, _("none")); break; case opt_type_bool: w -= fprintf (f, _("bool")); break; case opt_type_char: w -= fprintf (f, _("char")); break; case opt_type_string: w -= fprintf (f, _("string")); break; case opt_type_int: w -= fprintf (f, _("int")); break; case opt_type_float: w -= fprintf (f, _("float")); break; case opt_type_double: w -= fprintf (f, _("double")); break; default: w -= fprintf (f, _("other")); } print_space (f, w, ' '); /* default */ if (opt->dfl == NULL) fputs (_("(NULL)"), f); else { switch (opt->type) { case opt_type_none: fputs (_("(none)"), f); break; case opt_type_char: fputc (*(char *) opt->dfl, f); break; case opt_type_string: fputs (*(char **) opt->dfl, f); break; case opt_type_bool: case opt_type_int: fprintf (f, "%d", *(int *) opt->dfl); break; case opt_type_float: fprintf (f, "%f", (double) (*(float *) opt->dfl)); break; case opt_type_double: fprintf (f, "%f", *(double *) opt->dfl); break; } } fputc ('\n', f); opt++; } } parse_code_t parse_line (file_option_t opts[], char *line) { char *equals, *value = ""; file_option_t *opt; int len; /* skip leading whitespace */ while (line[0] == ' ') line++; /* remove comments */ equals = strchr (line, '#'); if (equals) *equals = '\0'; /* return if only whitespace on line */ if (!line[0] || line[0] == '#') return parse_ok; /* check for an '=' and set to \0 */ equals = strchr (line, '='); if (equals) { value = equals + 1; *equals = '\0'; } /* cut trailing whitespace from key (line = key now) */ while ((equals = strrchr(line, ' '))) *equals = '\0'; /* remove this if you want a zero-length key */ if (strlen(line) == 0) return parse_nokey; if (value) { /* cut leading whitespace from value */ while (*value == ' ') value++; /* cut trailing whitespace from value */ len = strlen (value); while (len > 0 && value[len-1] == ' ') { len--; value[len] = '\0'; } } /* now key is in line and value is in value. Search for a matching option. */ opt = opts; while (opt->name) { if (!strcasecmp (opt->name, line)) { long tmpl; char *endptr; /* found the key. now set the value. */ switch (opt->type) { case opt_type_none: if (value != NULL || strlen(value) > 0) return parse_badvalue; opt->found++; break; case opt_type_bool: if (!value || *value == '\0') return parse_badvalue; /* Maybe this is a numeric bool */ tmpl = strtol (value, &endptr, 0); if ( !strncasecmp(value, "y", 1) || !strcasecmp(value, "true") || (*endptr == '\0' && tmpl) ) *(int *) opt->ptr = 1; else if ( !strncasecmp(value, "n", 1) || !strcasecmp(value, "false") || (*endptr == '\0' && !tmpl) ) *(int *) opt->ptr = 0; else return parse_badvalue; break; case opt_type_char: if (strlen(value) != 1) return parse_badvalue; opt->found++; *(char *) opt->ptr = value[0]; break; case opt_type_string: opt->found++; if (*(char **)opt->ptr) free(*(char **)opt->ptr); *(char **) opt->ptr = strdup (value); break; case opt_type_int: if (!value || *value == '\0') return parse_badvalue; errno = 0; tmpl = strtol (value, &endptr, 0); if (((tmpl == LONG_MIN || tmpl == LONG_MAX) && errno == ERANGE) || (*endptr != '\0')) return parse_badvalue; if ((tmpl > INT_MAX) || (tmpl < INT_MIN)) return parse_badvalue; opt->found++; *(int *) opt->ptr = tmpl; break; case opt_type_float: if (!value || *value == '\0') return parse_badvalue; opt->found++; *(float *) opt->ptr = atof (value); break; case opt_type_double: if (!value || *value == '\0') return parse_badvalue; opt->found++; *(double *) opt->ptr = atof (value); break; default: return parse_badtype; } return parse_ok; } opt++; } return parse_keynotfound; } parse_code_t parse_config_file (file_option_t opts[], const char *filename) { unsigned int len=80; char *line = malloc(len); int readoffset, thischar, lineno; FILE *file; parse_code_t pcode; char empty[] = ""; if (!line) { parse_error(parse_syserr, 0, empty, empty); return parse_syserr; } file = fopen (filename, "r"); if (!file) { parse_error (parse_syserr, 0, empty, empty); free (line); return parse_syserr; } lineno = 0; while (!feof (file)) { lineno++; readoffset = 0; memset (line, 0, len); while ((thischar = fgetc(file)) != EOF) { if (readoffset + 1 > len) { len *= 2; line = realloc (line, len); if (!line) { parse_error(parse_syserr, 0, empty, empty); fclose (file); return parse_syserr; } } if (thischar == '\n') { line[readoffset] = '\0'; break; } else line[readoffset] = (unsigned char) thischar; readoffset++; } pcode = parse_line (opts, line); if (pcode != parse_ok) if (!parse_error(pcode, lineno, filename, line)) { free (line); return pcode; } } free (line); return parse_ok; } /* ParseErr - returns a string corresponding to parse code pcode */ const char *parse_error_string (parse_code_t pcode) { switch (pcode) { case parse_ok: return _("Success"); case parse_syserr: return strerror(errno); case parse_keynotfound: return _("Key not found"); case parse_nokey: return _("No key"); case parse_badvalue: return _("Bad value"); case parse_badtype: return _("Bad type in options list"); default: return _("Unknown error"); } } void parse_std_configs (file_option_t opts[]) { char filename[FILENAME_MAX]; char *homedir = getenv("HOME"); parse_config_file(opts, SYSCONFDIR "/ogg123rc"); if (homedir && strlen(homedir) < FILENAME_MAX - 10) { /* Try ~/.ogg123 */ strncpy(filename, homedir, FILENAME_MAX); strcat(filename, "/.ogg123rc"); parse_config_file(opts, filename); } } vorbis-tools-1.4.2/ogg123/vgfilter.h0000644000175000017500000000465213774147427014125 00000000000000/* * vgfilter.h (c) 2007,2008 William Poetra Yoga Hadisoeseno * based on: * vgplay.h 1.0 (c) 2003 John Morton */ /* vgplay.h 1.0 (c) 2003 John Morton * * Portions of this file are (C) COPYRIGHT 1994-2002 by * the XIPHOPHORUS Company http://www.xiph.org/ * * 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. * * - Neither the name of the Xiph.org Foundation nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * * 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 * REGENTS 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. * ********************************************************************** * * vgfilter - a filter for ov_read_filter to enable replay gain. * */ #ifndef __VGPLAY_H #define __VGPLAY_H /* Default pre-amp in dB */ #define VG_PREAMP_DB 0.0 typedef struct { float scale_factor; /* The scale factor */ float max_scale; /* The maximum scale factor before clipping occurs */ } vgain_state; /* Initializes the ReplayGain the vgain_state structure for a track. */ extern void vg_init(vgain_state *vg_state, vorbis_comment *vc); /* The filter where VorbisGain is applied */ extern void vg_filter(float **pcm, long channels, long samples, void *filter_param); #endif /* __VGPLAY_H */ vorbis-tools-1.4.2/ogg123/Makefile.in0000644000175000017500000007371014002242752014156 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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@ bin_PROGRAMS = ogg123$(EXEEXT) subdir = ogg123 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \ $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intl.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/size_max.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ $(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.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)" "$(DESTDIR)$(man1dir)" \ "$(DESTDIR)$(docdir)" PROGRAMS = $(bin_PROGRAMS) am__ogg123_SOURCES_DIST = audio.c buffer.c callbacks.c \ cfgfile_options.c cmdline_options.c file_transport.c format.c \ http_transport.c ogg123.c oggvorbis_format.c playlist.c \ status.c remote.c transport.c vorbis_comments.c audio.h \ buffer.h callbacks.h compat.h cfgfile_options.h \ cmdline_options.h format.h ogg123.h playlist.h status.h \ transport.h remote.h vorbis_comments.h flac_format.c \ easyflac.c easyflac.h speex_format.c opus_format.c vgfilter.c \ vgfilter.h @HAVE_LIBFLAC_TRUE@am__objects_1 = flac_format.$(OBJEXT) \ @HAVE_LIBFLAC_TRUE@ easyflac.$(OBJEXT) @HAVE_LIBSPEEX_TRUE@am__objects_2 = speex_format.$(OBJEXT) @HAVE_LIBOPUSFILE_TRUE@am__objects_3 = opus_format.$(OBJEXT) @HAVE_OV_READ_FILTER_TRUE@am__objects_4 = vgfilter.$(OBJEXT) am_ogg123_OBJECTS = audio.$(OBJEXT) buffer.$(OBJEXT) \ callbacks.$(OBJEXT) cfgfile_options.$(OBJEXT) \ cmdline_options.$(OBJEXT) file_transport.$(OBJEXT) \ format.$(OBJEXT) http_transport.$(OBJEXT) ogg123.$(OBJEXT) \ oggvorbis_format.$(OBJEXT) playlist.$(OBJEXT) status.$(OBJEXT) \ remote.$(OBJEXT) transport.$(OBJEXT) vorbis_comments.$(OBJEXT) \ $(am__objects_1) $(am__objects_2) $(am__objects_3) \ $(am__objects_4) ogg123_OBJECTS = $(am_ogg123_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(ogg123_SOURCES) $(EXTRA_ogg123_SOURCES) DIST_SOURCES = $(am__ogg123_SOURCES_DIST) $(EXTRA_ogg123_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) DATA = $(doc_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AO_CFLAGS = @AO_CFLAGS@ AO_LIBS = @AO_LIBS@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURL_CFLAGS = @CURL_CFLAGS@ CURL_LIBS = @CURL_LIBS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG = @DEBUG@ DEFS = -DSYSCONFDIR=\"$(sysconfdir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLAC_LIBS = @FLAC_LIBS@ GENCAT = @GENCAT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIBC2 = @GLIBC2@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WPRINTF = @HAVE_WPRINTF@ I18N_CFLAGS = @I18N_CFLAGS@ I18N_LIBS = @I18N_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KATE_CFLAGS = @KATE_CFLAGS@ KATE_LIBS = @KATE_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBPTH = @LIBPTH@ LIBPTH_PREFIX = @LIBPTH_PREFIX@ LIBS = @LIBS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBC = @LTLIBC@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBPTH = @LTLIBPTH@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ OPT_SUBDIRS = @OPT_SUBDIRS@ OPUSFILE_CFLAGS = @OPUSFILE_CFLAGS@ OPUSFILE_LIBS = @OPUSFILE_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POSUB = @POSUB@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PROFILE = @PROFILE@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHARE_CFLAGS = @SHARE_CFLAGS@ SHARE_LIBS = @SHARE_LIBS@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ SPEEX_LIBS = @SPEEX_LIBS@ STRIP = @STRIP@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISENC_LIBS = @VORBISENC_LIBS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ WINDRES = @WINDRES@ WOE32 = @WOE32@ WOE32DLL = @WOE32DLL@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ 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 = $(datadir)/doc/$(PACKAGE)-$(VERSION) dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = $(datadir)/locale 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@ @HAVE_LIBFLAC_FALSE@flac_sources = @HAVE_LIBFLAC_TRUE@flac_sources = flac_format.c easyflac.c easyflac.h @HAVE_LIBSPEEX_FALSE@speex_sources = @HAVE_LIBSPEEX_TRUE@speex_sources = speex_format.c @HAVE_LIBOPUSFILE_FALSE@opus_sources = @HAVE_LIBOPUSFILE_TRUE@opus_sources = opus_format.c @HAVE_OV_READ_FILTER_FALSE@vgfilter_sources = @HAVE_OV_READ_FILTER_TRUE@vgfilter_sources = vgfilter.c vgfilter.h AM_CPPFLAGS = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @OPUSFILE_CFLAGS@ @AO_CFLAGS@ @CURL_CFLAGS@ \ @PTHREAD_CFLAGS@ @SHARE_CFLAGS@ @I18N_CFLAGS@ ogg123_LDADD = @SHARE_LIBS@ $(top_builddir)/share/libpicture.a $(top_builddir)/share/libbase64.a \ @VORBISFILE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @AO_LIBS@ \ @SOCKET_LIBS@ @LIBICONV@ @CURL_LIBS@ @PTHREAD_CFLAGS@ \ @PTHREAD_LIBS@ @I18N_LIBS@ @FLAC_LIBS@ @SPEEX_LIBS@ @OPUSFILE_LIBS@ \ -lm ogg123_DEPENDENCIES = @SHARE_LIBS@ $(top_builddir)/share/libpicture.a $(top_builddir)/share/libbase64.a ogg123_SOURCES = audio.c buffer.c callbacks.c \ cfgfile_options.c cmdline_options.c \ file_transport.c format.c http_transport.c \ ogg123.c oggvorbis_format.c playlist.c \ status.c remote.c transport.c vorbis_comments.c \ audio.h buffer.h callbacks.h compat.h \ cfgfile_options.h cmdline_options.h \ format.h ogg123.h playlist.h status.h \ transport.h remote.h vorbis_comments.h \ $(flac_sources) $(speex_sources) $(opus_sources) \ $(vgfilter_sources) man_MANS = ogg123.1 doc_DATA = ogg123rc-example EXTRA_ogg123_SOURCES = \ $(man_MANS) $(doc_DATA) all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ogg123/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu ogg123/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(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 \ || test -f $$p1 \ ; 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) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(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: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list ogg123$(EXEEXT): $(ogg123_OBJECTS) $(ogg123_DEPENDENCIES) $(EXTRA_ogg123_DEPENDENCIES) @rm -f ogg123$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ogg123_OBJECTS) $(ogg123_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/audio.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/buffer.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/callbacks.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cfgfile_options.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmdline_options.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/easyflac.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_transport.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/flac_format.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/format.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/http_transport.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ogg123.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggvorbis_format.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opus_format.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/playlist.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remote.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/speex_format.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/status.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/transport.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vgfilter.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vorbis_comments.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-docDATA: $(doc_DATA) @$(NORMAL_INSTALL) @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ done uninstall-docDATA: @$(NORMAL_UNINSTALL) @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir) ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-docDATA install-man 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-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-docDATA uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \ ctags ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-binPROGRAMS \ install-data install-data-am install-docDATA install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-man1 install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am uninstall-binPROGRAMS uninstall-docDATA \ uninstall-man uninstall-man1 .PRECIOUS: Makefile debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" # 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: vorbis-tools-1.4.2/ogg123/vgfilter.c0000644000175000017500000000774513767140576014126 00000000000000/* * vgfilter.c (c) 2007,2008 William Poetra Yoga Hadisoeseno * based on: * vgplay.c 1.0 (c) 2003 John Morton */ /* vgplay.c 1.0 (c) 2003 John Morton * * Portions of this file are (C) COPYRIGHT 1994-2002 by * the XIPHOPHORUS Company http://www.xiph.org/ * * 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. * * - Neither the name of the Xiph.org Foundation nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * * 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 * REGENTS 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. * ********************************************************************** * * vgfilter - a filter for ov_read_filter to enable replay gain. * */ #include #include #include #include #include #include #include #include "vgfilter.h" /* * Initialize the replaygain parameters from vorbis comments. */ void vg_init(vgain_state *vg, vorbis_comment *vc) { float track_gain_db = 0.00, track_peak = 1.00; char *tag = NULL; if (vc) { if ((tag = vorbis_comment_query(vc, "replaygain_album_gain", 0)) || (tag = vorbis_comment_query(vc, "rg_audiophile", 0))) track_gain_db = atof(tag); else if ((tag = vorbis_comment_query(vc, "replaygain_track_gain", 0)) || (tag = vorbis_comment_query(vc, "rg_radio", 0))) track_gain_db = atof(tag); if ((tag = vorbis_comment_query(vc, "replaygain_album_peak", 0)) || (tag = vorbis_comment_query(vc, "replaygain_track_peak", 0)) || (tag = vorbis_comment_query(vc, "rg_peak", 0))) track_peak = atof(tag); } vg->scale_factor = pow(10.0, (track_gain_db + VG_PREAMP_DB)/20); vg->max_scale = 1.0 / track_peak; } /* * This is the filter function for the decoded Ogg Vorbis stream. */ void vg_filter(float **pcm, long channels, long samples, void *filter_param) { int i, j; float cur_sample; vgain_state *param = filter_param; float scale_factor = param->scale_factor; float max_scale = param->max_scale; /* Apply the gain, and any limiting necessary */ if (scale_factor > max_scale) { for(i = 0; i < channels; i++) for(j = 0; j < samples; j++) { cur_sample = pcm[i][j] * scale_factor; /* This is essentially the scaled hard-limiting algorithm */ /* It looks like the soft-knee to me */ /* I haven't found a better limiting algorithm yet... */ if (cur_sample < -0.5) cur_sample = tanh((cur_sample + 0.5) / (1-0.5)) * (1-0.5) - 0.5; else if (cur_sample > 0.5) cur_sample = tanh((cur_sample - 0.5) / (1-0.5)) * (1-0.5) + 0.5; pcm[i][j] = cur_sample; } } else if (scale_factor > 0.0) { for(i = 0; i < channels; i++) for(j = 0; j < samples; j++) pcm[i][j] *= scale_factor; } } vorbis-tools-1.4.2/ogg123/speex_format.c0000644000175000017500000003663713774327451014777 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2003 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include "transport.h" #include "format.h" #include "vorbis_comments.h" #include "utf8.h" #include "i18n.h" /* Note that this file contains gratuitous cut and paste from speexdec.c. */ /* Use speex's audio enhancement feature */ #define ENHANCE_AUDIO 1 typedef struct speex_private_t { ogg_sync_state oy; ogg_page og; ogg_packet op; ogg_stream_state os; SpeexBits bits; SpeexStereoState *stereo; SpeexHeader *header; void *st; char *comment_packet; int comment_packet_len; float *output; /* Has frame_size * [number of channels] * frames_per_packet elements */ int output_start; int output_left; int frames_per_packet; int frame_size; int vbr; int bos; /* If we are at the beginning (before headers) of a stream */ int eof; /* If we've read the end of the data source (but there still might be data in the buffers */ /* For calculating bitrate stats */ long samples_decoded; long samples_decoded_previous; long bytes_read; long bytes_read_previous; long totalsamples; long currentsample; decoder_stats_t stats; } speex_private_t; /* Forward declarations */ format_t speex_format; /* Private functions declarations */ void print_speex_info(SpeexHeader *header, decoder_callbacks_t *cb, void *callback_arg); void print_speex_comments(char *comments, int length, decoder_callbacks_t *cb, void *callback_arg); void *process_header(ogg_packet *op, int *frame_size, SpeexHeader **header, SpeexStereoState *stereo, decoder_callbacks_t *cb, void *callback_arg); int read_speex_header(decoder_t *decoder); /* ----------------------------------------------------------- */ int speex_can_decode (data_source_t *source) { char buf[36]; int len; len = source->transport->peek(source, buf, sizeof(char), 36); if (len >= 32 && memcmp(buf, "OggS", 4) == 0 && memcmp(buf+28, "Speex ", 8) == 0) /* 3 trailing spaces */ return 1; else return 0; } decoder_t* speex_init (data_source_t *source, ogg123_options_t *ogg123_opts, audio_format_t *audio_fmt, decoder_callbacks_t *callbacks, void *callback_arg) { decoder_t *decoder; speex_private_t *private; int ret; /* Allocate data source structures */ decoder = malloc(sizeof(decoder_t)); private = malloc(sizeof(speex_private_t)); if (decoder != NULL && private != NULL) { decoder->source = source; decoder->actual_fmt = decoder->request_fmt = *audio_fmt; decoder->format = &speex_format; decoder->callbacks = callbacks; decoder->callback_arg = callback_arg; decoder->private = private; private->bos = 1; private->eof = 0; private->samples_decoded = private->samples_decoded_previous = 0; private->bytes_read = private->bytes_read_previous = 0; private->currentsample = 0; private->comment_packet = NULL; private->comment_packet_len = 0; private->header = NULL; private->stereo = speex_stereo_state_init(); private->stats.total_time = 0.0; private->stats.current_time = 0.0; private->stats.instant_bitrate = 0; private->stats.avg_bitrate = 0; } else { fprintf(stderr, _("ERROR: Out of memory.\n")); exit(1); } /* Initialize structures */ ogg_sync_init(&private->oy); speex_bits_init(&private->bits); ret = 1; if (ret < 0) { free(private); /* free(source); nope. caller frees. */ return NULL; } return decoder; } int speex_read (decoder_t *decoder, void *ptr, int nbytes, int *eos, audio_format_t *audio_fmt) { speex_private_t *priv = decoder->private; decoder_callbacks_t *cb = decoder->callbacks; transport_t *trans = decoder->source->transport; int bytes_requested = nbytes; int ret; short *out = (short *) ptr; /* Read comments and audio info at the start of a logical bitstream */ if (priv->bos) { ret = read_speex_header(decoder); if (!ret) { *eos = 1; return 0; /* Bail out! */ } print_speex_info(priv->header, cb, decoder->callback_arg); if (priv->comment_packet != NULL) print_speex_comments(priv->comment_packet, priv->comment_packet_len, cb, decoder->callback_arg); priv->bos = 0; } *audio_fmt = decoder->actual_fmt; while (nbytes) { char *data; int i, j, nb_read; /* First see if there is anything left in the output buffer and empty it out */ if (priv->output_left > 0) { int to_copy = nbytes / (2 * audio_fmt->channels); to_copy *= audio_fmt->channels; to_copy = priv->output_left < to_copy ? priv->output_left : to_copy; /* Integerify it! */ for (i = 0; i < to_copy; i++) out[i]=(ogg_int16_t)priv->output[i+priv->output_start]; out += to_copy; priv->output_start += to_copy; priv->output_left -= to_copy; priv->currentsample += to_copy / audio_fmt->channels; nbytes -= to_copy * 2; } else if (ogg_stream_packetout(&priv->os, &priv->op) == 1) { float *temp_output = priv->output; /* Decode some more samples */ /*Copy Ogg packet to Speex bitstream*/ speex_bits_read_from(&priv->bits, (char*)priv->op.packet, priv->op.bytes); for (j = 0;j < priv->frames_per_packet; j++) { /*Decode frame*/ speex_decode(priv->st, &priv->bits, temp_output); if (audio_fmt->channels==2) speex_decode_stereo(temp_output, priv->frame_size, priv->stereo); priv->samples_decoded += priv->frame_size; /*PCM saturation (just in case)*/ for (i=0;i < priv->frame_size * audio_fmt->channels; i++) { if (temp_output[i]>32000.0) temp_output[i]=32000.0; else if (temp_output[i]<-32000.0) temp_output[i]=-32000.0; } temp_output += priv->frame_size * audio_fmt->channels; } priv->output_start = 0; priv->output_left = priv->frame_size * audio_fmt->channels * priv->frames_per_packet; } else if (ogg_sync_pageout(&priv->oy, &priv->og) == 1) { /* Read in another ogg page */ ogg_stream_pagein(&priv->os, &priv->og); } else if (!priv->eof) { /* Finally, pull in some more data and try again on the next pass */ /*Get the ogg buffer for writing*/ data = ogg_sync_buffer(&priv->oy, 200); /*Read bitstream from input file*/ nb_read = trans->read(decoder->source, data, sizeof(char), 200); if (nb_read == 0) priv->eof = 1; /* We've read the end of the file */ ogg_sync_wrote(&priv->oy, nb_read); priv->bytes_read += nb_read; } else { *eos = 1; break; } } return bytes_requested - nbytes; } int speex_seek (decoder_t *decoder, double offset, int whence) { speex_private_t *priv = decoder->private; (void)priv; return 0; } #define AVG_FACTOR 0.7 decoder_stats_t *speex_statistics (decoder_t *decoder) { speex_private_t *priv = decoder->private; long instant_bitrate; priv->stats.total_time = (double) priv->totalsamples / (double) decoder->actual_fmt.rate; priv->stats.current_time = (double) priv->currentsample / (double) decoder->actual_fmt.rate; /* Need this test to prevent averaging in false zeros. */ if ((priv->bytes_read - priv->bytes_read_previous) != 0 && (priv->samples_decoded - priv->samples_decoded_previous) != 0) { instant_bitrate = 8.0 * (priv->bytes_read - priv->bytes_read_previous) * decoder->actual_fmt.rate / (double) (priv->samples_decoded - priv->samples_decoded_previous); /* A little exponential averaging to smooth things out */ priv->stats.instant_bitrate = AVG_FACTOR * instant_bitrate + (1.0 - AVG_FACTOR) * priv->stats.instant_bitrate; priv->bytes_read_previous = priv->bytes_read; priv->samples_decoded_previous = priv->samples_decoded; } /* Don't know unless we seek the stream */ priv->stats.avg_bitrate = 0; return malloc_decoder_stats(&priv->stats); } void speex_cleanup (decoder_t *decoder) { speex_private_t *priv = decoder->private; speex_stereo_state_destroy(priv->stereo); free(priv->comment_packet); free(priv->output); free(decoder->private); free(decoder); } format_t speex_format = { "speex", &speex_can_decode, &speex_init, &speex_read, &speex_seek, &speex_statistics, &speex_cleanup, }; /* ------------------- Private functions -------------------- */ #define readint(buf, base) (((buf[base+3]<<24)&0xff000000)| \ ((buf[base+2]<<16)&0xff0000)| \ ((buf[base+1]<<8)&0xff00)| \ (buf[base]&0xff)) void print_speex_info(SpeexHeader *header, decoder_callbacks_t *cb, void *callback_arg) { int modeID = header->mode; if (header->vbr) cb->printf_metadata(callback_arg, 2, _("Ogg Speex stream: %d channel, %d Hz, %s mode (VBR)"), header->nb_channels, header->rate, speex_mode_list[modeID]->modeName); else cb->printf_metadata(callback_arg, 2, _("Ogg Speex stream: %d channel, %d Hz, %s mode"), header->nb_channels, header->rate, speex_mode_list[modeID]->modeName); cb->printf_metadata(callback_arg, 3, _("Speex version: %s"), header->speex_version); } void print_speex_comments(char *comments, int length, decoder_callbacks_t *cb, void *callback_arg) { char *c = comments; int len, i, nb_fields; char *end; char *temp = NULL; int temp_len = 0; if (length<8) { cb->printf_error(callback_arg, WARNING, _("Invalid/corrupted comments")); return; } /* Parse out vendor string */ end = c + length; len = readint(c, 0); c += 4; if (c+len>end) { cb->printf_error(callback_arg, WARNING, _("Invalid/corrupted comments")); return; } temp_len = len + 1; temp = malloc(sizeof(char) * temp_len); strncpy(temp, c, len); temp[len] = '\0'; cb->printf_metadata(callback_arg, 3, _("Encoded by: %s"), temp); /* Parse out user comments */ c += len; if (c + 4>end) { cb->printf_error(callback_arg, WARNING, _("Invalid/corrupted comments")); free(temp); return; } nb_fields = readint(c, 0); c += 4; for (i = 0; i < nb_fields; i++) { if (c + 4 > end) { cb->printf_error(callback_arg, WARNING, _("Invalid/corrupted comments")); free(temp); return; } len = readint(c, 0); c += 4; if (c + len > end) { cb->printf_error(callback_arg, WARNING, _("Invalid/corrupted comments")); free(temp); return; } if (temp_len < len + 1) { temp_len = len + 1; temp = realloc(temp, sizeof(char) * temp_len); } strncpy(temp, c, len); temp[len] = '\0'; print_vorbis_comment(temp, cb, callback_arg); c += len; } free(temp); } void *process_header(ogg_packet *op, int *frame_size, SpeexHeader **header, SpeexStereoState *stereo, decoder_callbacks_t *cb, void *callback_arg) { void *st; const SpeexMode *mode; int modeID; SpeexCallback callback; int enhance = ENHANCE_AUDIO; *header = speex_packet_to_header((char*)op->packet, op->bytes); if (!*header) { cb->printf_error(callback_arg, ERROR, _("Cannot read header")); return NULL; } if ((*header)->mode >= SPEEX_NB_MODES || (*header)->mode < 0) { cb->printf_error(callback_arg, ERROR, _("Mode number %d does not (any longer) exist in this version"), (*header)->mode); return NULL; } modeID = (*header)->mode; mode = speex_mode_list[modeID]; if (mode->bitstream_version < (*header)->mode_bitstream_version) { cb->printf_error(callback_arg, ERROR, _("The file was encoded with a newer version of Speex.\n You need to upgrade in order to play it.\n")); return NULL; } if (mode->bitstream_version > (*header)->mode_bitstream_version) { cb->printf_error(callback_arg, ERROR, _("The file was encoded with an older version of Speex.\nYou would need to downgrade the version in order to play it.")); return NULL; } st = speex_decoder_init(mode); speex_decoder_ctl(st, SPEEX_SET_ENH, &enhance); speex_decoder_ctl(st, SPEEX_GET_FRAME_SIZE, frame_size); callback.callback_id = SPEEX_INBAND_STEREO; callback.func = speex_std_stereo_request_handler; callback.data = stereo; speex_decoder_ctl(st, SPEEX_SET_HANDLER, &callback); speex_decoder_ctl(st, SPEEX_SET_SAMPLING_RATE, &(*header)->rate); return st; } int read_speex_header (decoder_t *decoder) { speex_private_t *priv = decoder->private; transport_t *trans = decoder->source->transport; int packet_count = 0; int stream_init = 0; char *data; int nb_read; while (packet_count < 2) { /*Get the ogg buffer for writing*/ data = ogg_sync_buffer(&priv->oy, 200); /*Read bitstream from input file*/ nb_read = trans->read(decoder->source, data, sizeof(char), 200); ogg_sync_wrote(&priv->oy, nb_read); /*Loop for all complete pages we got (most likely only one)*/ while (ogg_sync_pageout(&priv->oy, &priv->og)==1) { if (stream_init == 0) { ogg_stream_init(&priv->os, ogg_page_serialno(&priv->og)); stream_init = 1; } /*Add page to the bitstream*/ ogg_stream_pagein(&priv->os, &priv->og); /*Extract all available packets FIXME: EOS!*/ while (ogg_stream_packetout(&priv->os, &priv->op)==1) { /*If first packet, process as Speex header*/ if (packet_count==0) { priv->st = process_header(&priv->op, &priv->frame_size, &priv->header, priv->stereo, decoder->callbacks, decoder->callback_arg); if (!priv->st) return 0; decoder->actual_fmt.rate = priv->header->rate; priv->frames_per_packet = priv->header->frames_per_packet; decoder->actual_fmt.channels = priv->header->nb_channels; priv->vbr = priv->header->vbr; if (!priv->frames_per_packet) priv->frames_per_packet=1; switch(decoder->actual_fmt.channels) { case 1: decoder->actual_fmt.matrix="M"; break; case 2: decoder->actual_fmt.matrix="L,R"; break; default: decoder->actual_fmt.matrix=NULL; break; } priv->output = calloc(priv->frame_size * decoder->actual_fmt.channels * priv->frames_per_packet, sizeof(float)); priv->output_start = 0; priv->output_left = 0; } else if (packet_count==1){ priv->comment_packet_len = priv->op.bytes; priv->comment_packet = malloc(sizeof(char) * priv->comment_packet_len); memcpy(priv->comment_packet, priv->op.packet, priv->comment_packet_len); } packet_count++; } } } return 1; } vorbis-tools-1.4.2/ogg123/buffer.h0000644000175000017500000001051413774147573013550 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ /* A generic circular buffer interface with the ability to buffer actions (conceptually) between bytes in the buffer.*/ #ifndef __BUFFER_H__ #define __BUFFER_H__ #include #include #include struct action_t; /* forward declaration */ /* buffer_write_func(void *data, int nbytes, int eos, void *arg) */ typedef int (*buffer_write_func_t) (void *, int, int, void *); typedef struct buf_t { /* generic buffer interface */ void *write_arg; buffer_write_func_t write_func; /* pthread variables */ pthread_t thread; pthread_mutex_t mutex; pthread_cond_t playback_cond; /* signalled when playback can continue */ pthread_cond_t write_cond; /* signalled when more data can be written to the buffer */ /* buffer info (constant) */ int audio_chunk_size; /* write data to audio device in this chunk size, if possible */ long prebuffer_size; /* number of bytes to prebuffer */ long size; /* buffer size, for reference */ int cancel_flag; /* When set, the playback thread should exit */ /* ----- Everything after this point is protected by mutex ----- */ /* buffering state variables */ int prebuffering; int paused; int eos; int abort_write; /* buffer data */ long curfill; /* how much the buffer is currently filled */ long start; /* offset in buffer of start of available data */ ogg_int64_t position; /* How many bytes have we output so far */ ogg_int64_t position_end; /* Position right after end of data */ struct action_t *actions; /* Queue actions to perform */ char buffer[1]; /* The buffer itself. It's more than one byte. */ } buf_t; /* action_func(buf_t *buf, void *arg) */ typedef void (*action_func_t) (buf_t *, void *); typedef struct action_t { ogg_int64_t position; action_func_t action_func; void *arg; struct action_t *next; } action_t; typedef struct buffer_stats_t { long size; double fill; double prebuffer_fill; int prebuffering; int paused; int eos; } buffer_stats_t; /* --- Buffer allocation --- */ buf_t *buffer_create (long size, long prebuffer, buffer_write_func_t write_func, void *arg, int audio_chunk_size); void buffer_reset (buf_t *buf); void buffer_destroy (buf_t *buf); /* --- Buffer thread control --- */ int buffer_thread_start (buf_t *buf); void buffer_thread_pause (buf_t *buf); void buffer_thread_unpause (buf_t *buf); void buffer_thread_kill (buf_t *buf); /* --- Data buffering functions --- */ int buffer_submit_data (buf_t *buf, char *data, long nbytes); size_t buffer_get_data (buf_t *buf, char *data, long nbytes); void buffer_mark_eos (buf_t *buf); void buffer_abort_write (buf_t *buf); /* --- Action buffering functions --- */ void buffer_action_now (buf_t *buf, action_func_t action_func, void *action_arg); void buffer_insert_action_at_end (buf_t *buf, action_func_t action_func, void *action_arg); void buffer_append_action_at_end (buf_t *buf, action_func_t action_func, void *action_arg); void buffer_insert_action_at (buf_t *buf, action_func_t action_func, void *action_arg, ogg_int64_t position); void buffer_append_action_at (buf_t *buf, action_func_t action_func, void *action_arg, ogg_int64_t position); /* --- Buffer status functions --- */ void buffer_wait_for_empty (buf_t *buf); long buffer_full (buf_t *buf); buffer_stats_t *buffer_statistics (buf_t *buf); #endif /* __BUFFER_H__ */ vorbis-tools-1.4.2/ogg123/cfgfile_options.h0000644000175000017500000000346413774147071015450 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifndef __CFGFILE_OPTIONS_H__ #define __CFGFILE_OPTIONS_H__ #include typedef enum { opt_type_none = 0, opt_type_bool, opt_type_char, opt_type_string, opt_type_int, opt_type_float, opt_type_double } file_option_type_t; typedef enum { parse_ok = 0, parse_syserr, parse_keynotfound, parse_nokey, parse_badvalue, parse_badtype } parse_code_t; typedef struct file_option_t { char found; const char *name; const char *desc; file_option_type_t type; void *ptr; void *dfl; } file_option_t; void file_options_init (file_option_t opts[]); void file_options_describe (file_option_t opts[], FILE *outfile); parse_code_t parse_line (file_option_t opts[], char *line); parse_code_t parse_config_file (file_option_t opts[], const char *filename); const char *parse_error_string (parse_code_t pcode); void parse_std_configs (file_option_t opts[]); #endif /* __OPTIONS_H__ */ vorbis-tools-1.4.2/ogg123/audio.c0000644000175000017500000000630313774147573013374 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "audio.h" int audio_format_equal (audio_format_t *a, audio_format_t *b) { return a->big_endian == b->big_endian && a->word_size == b->word_size && a->signed_sample == b->signed_sample && a->rate == b->rate && a->channels == b->channels && ((a->matrix==NULL && b->matrix==NULL) || !strcmp(a->matrix,b->matrix)); } audio_device_t *append_audio_device(audio_device_t *devices_list, int driver_id, ao_option *options, char *filename) { if (devices_list != NULL) { while (devices_list->next_device != NULL) devices_list = devices_list->next_device; devices_list = devices_list->next_device = malloc(sizeof(audio_device_t)); } else { devices_list = (audio_device_t *) malloc(sizeof(audio_device_t)); } devices_list->driver_id = driver_id; devices_list->options = options; devices_list->filename = filename; devices_list->device = NULL; devices_list->next_device = NULL; return devices_list; } int audio_devices_write(audio_device_t *d, void *ptr, int nbytes) { while (d != NULL) { if (ao_play(d->device, ptr, nbytes) == 0) return 0; /* error occurred */ d = d->next_device; } return 1; } int add_ao_option(ao_option **op_h, const char *optstring) { char *key, *value; int result; key = strdup(optstring); if (key == NULL) return 0; value = strchr(key, ':'); if (value) { /* split by replacing the separator with a null */ *value++ = '\0'; } result = ao_append_option(op_h, key, value); free(key); return (result); } void close_audio_devices (audio_device_t *devices) { audio_device_t *current = devices; while (current != NULL) { if (current->device) ao_close(current->device); current->device = NULL; current = current->next_device; } } void free_audio_devices (audio_device_t *devices) { audio_device_t *current; while (devices != NULL) { current = devices->next_device; free (devices); devices = current; } } void ao_onexit (void *arg) { audio_device_t *devices = (audio_device_t *) arg; close_audio_devices (devices); free_audio_devices (devices); ao_shutdown(); } vorbis-tools-1.4.2/ogg123/vorbis_comments.h0000644000175000017500000000217713774151302015477 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2003 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifndef __VORBIS_COMMENTS_H__ #define __VORBIS_COMMENTS_H__ #include "format.h" void print_vorbis_comment (const char *comment, decoder_callbacks_t *cb, void *callback_arg); #endif /* __VORBIS_COMMENTS_H__ */ vorbis-tools-1.4.2/ogg123/callbacks.c0000644000175000017500000002351013774147573014211 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "callbacks.h" #include "i18n.h" #define WARNING_VERBOSITY 2 #define INFO_VERBOSITY 3 /* Audio callbacks */ int audio_play_callback (void *ptr, int nbytes, int eos, void *arg) { audio_play_arg_t *play_arg = (audio_play_arg_t *) arg; int ret; ret = audio_devices_write(play_arg->devices, ptr, nbytes); return ret ? nbytes : 0; } void audio_reopen_action (buf_t *buf, void *arg) { audio_reopen_arg_t *reopen_arg = (audio_reopen_arg_t *) arg; audio_device_t *current; ao_sample_format format; close_audio_devices (reopen_arg->devices); /* Record audio device settings and open the devices */ format.rate = reopen_arg->format->rate; format.channels = reopen_arg->format->channels; format.bits = reopen_arg->format->word_size * 8; format.byte_format = reopen_arg->format->big_endian ? AO_FMT_BIG : AO_FMT_LITTLE; format.matrix = reopen_arg->format->matrix; current = reopen_arg->devices; while (current != NULL) { ao_info *info = ao_driver_info(current->driver_id); if (current->filename == NULL) current->device = ao_open_live(current->driver_id, &format, current->options); else current->device = ao_open_file(current->driver_id, current->filename, 1 /*overwrite*/, &format, current->options); /* Report errors */ if (current->device == NULL) { switch (errno) { case AO_ENODRIVER: status_error(_("ERROR: Device not available.\n")); break; case AO_ENOTLIVE: status_error(_("ERROR: %s requires an output filename to be specified with -f.\n"), info->short_name); break; case AO_EBADOPTION: status_error(_("ERROR: Unsupported option value to %s device.\n"), info->short_name); break; case AO_EOPENDEVICE: status_error(_("ERROR: Cannot open device %s.\n"), info->short_name); break; case AO_EFAIL: status_error(_("ERROR: Device %s failure.\n"), info->short_name); break; case AO_ENOTFILE: status_error(_("ERROR: An output file cannot be given for %s device.\n"), info->short_name); break; case AO_EOPENFILE: status_error(_("ERROR: Cannot open file %s for writing.\n"), current->filename); break; case AO_EFILEEXISTS: status_error(_("ERROR: File %s already exists.\n"), current->filename); break; default: status_error(_("ERROR: This error should never happen (%d). Panic!\n"), errno); break; } /* We cannot recover from any of these errors */ exit(1); } current = current->next_device; } /* Cleanup argument */ if(reopen_arg->format->matrix) free(reopen_arg->format->matrix); free(reopen_arg->format); free(reopen_arg); } audio_reopen_arg_t *new_audio_reopen_arg (audio_device_t *devices, audio_format_t *fmt) { audio_reopen_arg_t *arg; if ( (arg = calloc(1,sizeof(audio_reopen_arg_t))) == NULL ) { status_error(_("ERROR: Out of memory in new_audio_reopen_arg().\n")); exit(1); } if ( (arg->format = calloc(1,sizeof(audio_format_t))) == NULL ) { status_error(_("ERROR: Out of memory in new_audio_reopen_arg().\n")); exit(1); } arg->devices = devices; /* Copy format in case fmt is recycled later */ *arg->format = *fmt; if(fmt->matrix) arg->format->matrix = strdup(fmt->matrix); return arg; } /* Statistics callbacks */ void print_statistics_action (buf_t *buf, void *arg) { print_statistics_arg_t *stats_arg = (print_statistics_arg_t *) arg; buffer_stats_t *buffer_stats; if (buf != NULL) buffer_stats = buffer_statistics(buf); else buffer_stats = NULL; status_print_statistics(stats_arg->stat_format, buffer_stats, stats_arg->data_source_statistics, stats_arg->decoder_statistics); free(stats_arg->data_source_statistics); free(stats_arg->decoder_statistics); free(stats_arg); free(buffer_stats); } print_statistics_arg_t *new_print_statistics_arg ( stat_format_t *stat_format, data_source_stats_t *data_source_statistics, decoder_stats_t *decoder_statistics) { print_statistics_arg_t *arg; if ( (arg = calloc(1,sizeof(print_statistics_arg_t))) == NULL ) { status_error(_("Error: Out of memory in new_print_statistics_arg().\n")); exit(1); } arg->stat_format = stat_format; arg->data_source_statistics = data_source_statistics; arg->decoder_statistics = decoder_statistics; return arg; } /* Decoder callbacks */ void decoder_error_callback (void *arg, int severity, char *message, ...) { va_list ap; va_start(ap, message); switch (severity) { case ERROR: vstatus_error(message, ap); break; case WARNING: vstatus_message(WARNING_VERBOSITY, message, ap); break; case INFO: vstatus_message(INFO_VERBOSITY, message, ap); break; } va_end(ap); } void decoder_metadata_callback (void *arg, int verbosity, char *message, ...) { va_list ap; va_start(ap, message); vstatus_message(verbosity, message, ap); va_end(ap); } /* ---------------------------------------------------------------------- */ /* These actions are just wrappers for vstatus_message() and vstatus_error() */ typedef struct status_message_arg_t { int verbosity; char *message; } status_message_arg_t; status_message_arg_t *new_status_message_arg (int verbosity) { status_message_arg_t *arg; if ( (arg = calloc(1,sizeof(status_message_arg_t))) == NULL ) { status_error(_("ERROR: Out of memory in new_status_message_arg().\n")); exit(1); } arg->verbosity = verbosity; return arg; } void status_error_action (buf_t *buf, void *arg) { status_message_arg_t *myarg = (status_message_arg_t *) arg; status_error("%s", myarg->message); free(myarg->message); free(myarg); } void status_message_action (buf_t *buf, void *arg) { status_message_arg_t *myarg = (status_message_arg_t *) arg; status_message(myarg->verbosity, "%s", myarg->message); free(myarg->message); free(myarg); } /* -------------------------------------------------------------- */ void decoder_buffered_error_callback (void *arg, int severity, char *message, ...) { va_list ap; buf_t *buf = (buf_t *)arg; status_message_arg_t *sm_arg = new_status_message_arg(0); int n, size = 80; /* Guess we need no more than 80 bytes. */ /* Preformat the string and allocate space for it. This code taken straight from the vsnprintf() man page. We do this here because we might need to reinit ap several times. */ if ((sm_arg->message = calloc (size,1)) == NULL) { status_error(_("Error: Out of memory in decoder_buffered_metadata_callback().\n")); exit(1); } while (1) { /* Try to print in the allocated space. */ va_start(ap, message); n = vsnprintf (sm_arg->message, size, message, ap); va_end(ap); /* If that worked, return the string. */ if (n > -1 && n < size) break; /* Else try again with more space. */ if (n > -1) /* glibc 2.1 */ size = n+1; /* precisely what is needed */ else /* glibc 2.0 */ size *= 2; /* twice the old size */ if ((sm_arg->message = realloc (sm_arg->message, size)) == NULL) { status_error(_("Error: Out of memory in decoder_buffered_metadata_callback().\n")); exit(1); } } switch (severity) { case ERROR: buffer_append_action_at_end(buf, &status_error_action, sm_arg); break; case WARNING: sm_arg->verbosity = WARNING_VERBOSITY; buffer_append_action_at_end(buf, &status_message_action, sm_arg); break; case INFO: sm_arg->verbosity = INFO_VERBOSITY; buffer_append_action_at_end(buf, &status_message_action, sm_arg); break; } } void decoder_buffered_metadata_callback (void *arg, int verbosity, char *message, ...) { va_list ap; buf_t *buf = (buf_t *)arg; status_message_arg_t *sm_arg = new_status_message_arg(0); int n, size = 80; /* Guess we need no more than 80 bytes. */ /* Preformat the string and allocate space for it. This code taken straight from the vsnprintf() man page. We do this here because we might need to reinit ap several times. */ if ((sm_arg->message = calloc (size,1)) == NULL) { status_error(_("ERROR: Out of memory in decoder_buffered_metadata_callback().\n")); exit(1); } while (1) { /* Try to print in the allocated space. */ va_start(ap, message); n = vsnprintf (sm_arg->message, size, message, ap); va_end(ap); /* If that worked, return the string. */ if (n > -1 && n < size) break; /* Else try again with more space. */ if (n > -1) /* glibc 2.1 */ size = n+1; /* precisely what is needed */ else /* glibc 2.0 */ size *= 2; /* twice the old size */ if ((sm_arg->message = realloc (sm_arg->message, size)) == NULL) { status_error(_("ERROR: Out of memory in decoder_buffered_metadata_callback().\n")); exit(1); } } sm_arg->verbosity = verbosity; buffer_append_action_at_end(buf, &status_message_action, sm_arg); } vorbis-tools-1.4.2/ogg123/remote.h0000644000175000017500000000210113774147071013554 00000000000000/* remote.h by Richard van Paasen */ /******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2010 * * by Kenneth C. Arnold AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ void remote_mainloop(void); int remote_playloop(void); void remote_time(double current, double total); vorbis-tools-1.4.2/ogg123/transport.h0000644000175000017500000000456013774151002014315 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifndef __TRANSPORT_H__ #define __TRANSPORT_H__ #include #include #include "ogg/os_types.h" #include "buffer.h" #include "ogg123.h" typedef struct data_source_stats_t { ogg_int64_t bytes_read; int input_buffer_used; /* flag to show if this data_source uses an input buffer. Ignore the contents of input_buffer and transfer rate if it is false. */ long transfer_rate; buffer_stats_t input_buffer; } data_source_stats_t; struct transport_t; typedef struct data_source_t { char *source_string; struct transport_t *transport; void *private; } data_source_t; typedef struct transport_t { const char *name; int (* can_transport)(const char *source_string); data_source_t* (* open) (const char *source_string, ogg123_options_t *ogg123_opts); int (* peek) (data_source_t *source, void *ptr, size_t size, size_t nmemb); int (* read) (data_source_t *source, void *ptr, size_t size, size_t nmemb); int (* seek) (data_source_t *source, long offset, int whence); data_source_stats_t * (* statistics) (data_source_t *source); long (* tell) (data_source_t *source); void (* close) (data_source_t *source); } transport_t; const transport_t *get_transport_by_name (const char *name); const transport_t *select_transport (const char *source); data_source_stats_t *malloc_data_source_stats (data_source_stats_t *to_copy); #endif /* __TRANSPORT_H__ */ vorbis-tools-1.4.2/ogg123/transport.c0000644000175000017500000000374113774151002014310 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "transport.h" #include "i18n.h" extern transport_t file_transport; #ifdef HAVE_CURL extern transport_t http_transport; #endif static const transport_t *transports[] = { #ifdef HAVE_CURL &http_transport, #endif &file_transport, NULL }; const transport_t *get_transport_by_name (const char *name) { int i = 0; while (transports[i] != NULL && strcmp(name, transports[i]->name) != 0) i++; return transports[i]; } const transport_t *select_transport (const char *source) { int i = 0; while (transports[i] != NULL && !transports[i]->can_transport(source)) i++; return transports[i]; } data_source_stats_t *malloc_data_source_stats (data_source_stats_t *to_copy) { data_source_stats_t *new_stats; new_stats = malloc(sizeof(data_source_stats_t)); if (new_stats == NULL) { fprintf(stderr, _("ERROR: Could not allocate memory in malloc_data_source_stats()\n")); exit(1); } *new_stats = *to_copy; /* Copy the data */ return new_stats; } vorbis-tools-1.4.2/ogg123/cmdline_options.h0000644000175000017500000000233713774147573015471 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifndef __CMDLINE_OPTIONS_H__ #define __CMDLINE_OPTIONS_H__ #include "ogg123.h" #include "cfgfile_options.h" #include "audio.h" int parse_cmdline_options (int argc, char **argv, ogg123_options_t *ogg123_opts, file_option_t *file_opts); void cmdline_usage (void); #endif /* __CMDLINE_OPTIONS_H__ */ vorbis-tools-1.4.2/ogg123/buffer.c0000644000175000017500000005004713774147573013550 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include "compat.h" #include "buffer.h" #include "i18n.h" #include "ogg123.h" #define MIN(x,y) ( (x) < (y) ? (x) : (y) ) #define MIN3(x,y,z) MIN(x,MIN(y,z)) #define MIN4(w,x,y,z) MIN( MIN(w,x), MIN(y,z) ) #ifdef DEBUG_BUFFER FILE *debugfile; #define DEBUG(x) { fprintf (debugfile, "%d: " x "\n", getpid()); } #define DEBUG1(x, y) { fprintf (debugfile, "%d: " x "\n", getpid(), y); } #define DEBUG2(x, y, z) { fprintf (debugfile, "%d: " x "\n", getpid(), y, z); } #else #define DEBUG(x) #define DEBUG1(x, y) #define DEBUG2(x, y, z) #endif /* Macros that support debugging of threading structures */ #define LOCK_MUTEX(mutex) { DEBUG1("Locking mutex %s.", #mutex); pthread_mutex_lock (&(mutex)); } #define UNLOCK_MUTEX(mutex) { DEBUG1("Unlocking mutex %s", #mutex); pthread_mutex_unlock(&(mutex)); } #define COND_WAIT(cond, mutex) { DEBUG2("Unlocking %s and waiting on %s", #mutex, #cond); pthread_cond_wait(&(cond), &(mutex)); } #define COND_SIGNAL(cond) { DEBUG1("Signalling %s", #cond); pthread_cond_signal(&(cond)); } extern signal_request_t sig_request; /* Need access to global cancel flag */ /* -------------------- Private Functions ------------------ */ void buffer_init_vars (buf_t *buf) { /* Initialize buffer flags */ buf->prebuffering = buf->prebuffer_size > 0; buf->paused = 0; buf->eos = 0; buf->abort_write = 0; buf->cancel_flag = 0; buf->curfill = 0; buf->start = 0; buf->position = 0; buf->position_end = 0; } void buffer_thread_init (buf_t *buf) { sigset_t set; DEBUG("Enter buffer_thread_init"); /* Block signals to this thread */ sigfillset(&set); sigaddset(&set, SIGINT); sigaddset(&set, SIGTSTP); sigaddset(&set, SIGCONT); if (pthread_sigmask(SIG_BLOCK, &set, NULL) != 0) DEBUG("pthread_sigmask failed"); } void buffer_thread_cleanup (void *arg) { buf_t *buf = (buf_t *)arg; (void)buf; DEBUG("Enter buffer_thread_cleanup"); } void buffer_mutex_unlock (void *arg) { buf_t *buf = (buf_t *)arg; UNLOCK_MUTEX(buf->mutex); } action_t *malloc_action (action_func_t action_func, void *action_arg) { action_t *action; action = malloc(sizeof(action_t)); if (action == NULL) { fprintf(stderr, _("ERROR: Out of memory in malloc_action().\n")); exit(1); } action->position = 0; action->action_func = action_func; action->arg = action_arg; action->next = NULL; return action; } /* insert = 1: Make this action the first action associated with this position insert = 0: Make this action the last action associated with this position */ #define INSERT 1 #define APPEND 0 void in_order_add_action (action_t **action_list, action_t *action, int insert) { insert = insert > 0 ? 1 : 0; /* Clamp in case caller messed up */ while (*action_list != NULL && (*action_list)->position <= (action->position + insert)) action_list = &((*action_list)->next); action->next = *action_list; *action_list = action; } void execute_actions (buf_t *buf, action_t **action_list, ogg_int64_t position) { action_t *action; while (*action_list != NULL && (*action_list)->position <= position) { action = *action_list; action->action_func(buf, action->arg); *action_list = (*action_list)->next; free(action); } } void free_action (action_t *action) { free(action); } int compute_dequeue_size (buf_t *buf, int request_size) { ogg_int64_t next_action_pos; /* For simplicity, the number of bytes played must satisfy the following requirements: 1. Do not extract more bytes than are stored in the buffer. 2. Do not extract more bytes than the requested number of bytes. 3. Do not run off the end of the buffer. 4. Do not go past the next action. */ if (buf->actions != NULL) { next_action_pos = buf->actions->position; return MIN4((ogg_int64_t)buf->curfill, (ogg_int64_t)request_size, (ogg_int64_t)(buf->size - buf->start), next_action_pos - buf->position); } else return MIN3(buf->curfill, (long)request_size, buf->size - buf->start); } void *buffer_thread_func (void *arg) { buf_t *buf = (buf_t*) arg; size_t write_amount; DEBUG("Enter buffer_thread_func"); buffer_thread_init(buf); pthread_cleanup_push(buffer_thread_cleanup, buf); DEBUG("Start main play loop"); /* This test is safe since curfill will never decrease and eos will never be unset. */ while ( !(buf->eos && buf->curfill == 0) && !buf->abort_write) { LOCK_MUTEX (buf->mutex); DEBUG("Check for cancelation"); if (buf->cancel_flag || sig_request.cancel) { /* signal empty buffer space, so the main thread can wake up to die in peace */ DEBUG("Abort: Wake up the writer thread"); COND_SIGNAL(buf->write_cond); /* abort this thread, too */ UNLOCK_MUTEX(buf->mutex); break; } DEBUG("Check for something to play"); /* Block until we can play something */ if (buf->prebuffering || buf->paused || (buf->curfill < buf->audio_chunk_size && !buf->eos)) { DEBUG("Waiting for more data to play."); COND_WAIT(buf->playback_cond, buf->mutex); } DEBUG("Check for cancelation"); if (buf->cancel_flag || sig_request.cancel) { /* signal empty buffer space, so the main thread can wake up to die in peace */ DEBUG("Abort: Wake up the writer thread"); COND_SIGNAL(buf->write_cond); /* abort this thread, too */ UNLOCK_MUTEX(buf->mutex); break; } DEBUG("Ready to play"); UNLOCK_MUTEX(buf->mutex); /* Don't need to lock buffer while running actions since position won't change. We clear out any actions before we compute the dequeue size so we don't consider actions that need to run right now. */ execute_actions(buf, &buf->actions, buf->position); LOCK_MUTEX(buf->mutex); /* Need to be locked while we check things. */ write_amount = compute_dequeue_size(buf, buf->audio_chunk_size); UNLOCK_MUTEX(buf->mutex); if(write_amount){ /* we might have been woken spuriously */ /* No need to lock mutex here because the other thread will NEVER reduce the number of bytes stored in the buffer */ DEBUG1("Sending %d bytes to the audio device", write_amount); write_amount = buf->write_func(buf->buffer + buf->start, write_amount, /* Only set EOS if this is the last chunk */ write_amount == buf->curfill ? buf->eos : 0, buf->write_arg); if (!write_amount) { DEBUG("Error writing to the audio device. Aborting."); buffer_abort_write(buf); } LOCK_MUTEX(buf->mutex); buf->curfill -= write_amount; buf->position += write_amount; buf->start = (buf->start + write_amount) % buf->size; DEBUG1("Updated buffer fill, curfill = %ld", buf->curfill); /* If we've essentially emptied the buffer and prebuffering is enabled, we need to do another prebuffering session */ if (!buf->eos && (buf->curfill < buf->audio_chunk_size)) buf->prebuffering = buf->prebuffer_size > 0; }else{ DEBUG("Woken spuriously"); } /* Signal a waiting decoder thread that they can put more audio into the buffer */ DEBUG("Signal decoder thread that buffer space is available"); COND_SIGNAL(buf->write_cond); UNLOCK_MUTEX(buf->mutex); } pthread_cleanup_pop(1); DEBUG("exiting buffer_thread_func"); return 0; } int submit_data_chunk (buf_t *buf, char *data, size_t size) { long buf_write_pos; /* offset of first available write location */ size_t write_size; DEBUG1("Enter submit_data_chunk, size %d", size); pthread_cleanup_push(buffer_mutex_unlock, buf); /* Put the data into the buffer as space is made available */ while (size > 0 && !buf->abort_write) { /* Section 1: Write a chunk of data */ DEBUG("Obtaining lock on buffer"); LOCK_MUTEX(buf->mutex); if (buf->size - buf->curfill > 0) { /* Figure how much we can write into the buffer. Requirements: 1. Don't write more data than we have. 2. Don't write more data than we have room for. 3. Don't write past the end of the buffer. */ buf_write_pos = (buf->start + buf->curfill) % buf->size; write_size = MIN3(size, buf->size - buf->curfill, buf->size - buf_write_pos); memcpy(buf->buffer + buf_write_pos, data, write_size); buf->curfill += write_size; data += write_size; size -= write_size; buf->position_end += write_size; DEBUG1("writing chunk into buffer, curfill = %ld", buf->curfill); } else { if (buf->cancel_flag || sig_request.cancel) { UNLOCK_MUTEX(buf->mutex); break; } /* No room for more data, wait until there is */ DEBUG("No room for data in buffer. Waiting."); COND_WAIT(buf->write_cond, buf->mutex); } /* Section 2: signal if we are not prebuffering, done prebuffering, or paused */ if (buf->prebuffering && (buf->prebuffer_size <= buf->curfill)) { DEBUG("prebuffering done") buf->prebuffering = 0; /* done prebuffering */ } if (!buf->prebuffering && !buf->paused) { DEBUG("Signalling playback thread that more data is available."); COND_SIGNAL(buf->playback_cond); } else DEBUG("Not signalling playback thread since prebuffering or paused."); UNLOCK_MUTEX(buf->mutex); } pthread_cleanup_pop(0); DEBUG("Exit submit_data_chunk"); return !buf->abort_write; } buffer_stats_t *malloc_buffer_stats () { buffer_stats_t *new_stats; new_stats = malloc(sizeof(buffer_stats_t)); if (new_stats == NULL) { fprintf(stderr, _("ERROR: Could not allocate memory in malloc_buffer_stats()\n")); exit(1); } return new_stats; } /* ------------------ Begin public interface ------------------ */ /* --- Buffer allocation --- */ buf_t *buffer_create (long size, long prebuffer, buffer_write_func_t write_func, void *arg, int audio_chunk_size) { buf_t *buf = malloc (sizeof(buf_t) + sizeof (char) * (size - 1)); if (buf == NULL) { perror ("malloc"); exit(1); } #ifdef DEBUG_BUFFER debugfile = fopen ("/tmp/bufferdebug", "w"); setvbuf (debugfile, NULL, _IONBF, 0); #endif /* Initialize the buffer structure. */ DEBUG1("buffer_create, size = %ld", size); memset (buf, 0, sizeof(*buf)); buf->write_func = write_func; buf->write_arg = arg; /* Setup pthread variables */ pthread_mutex_init(&buf->mutex, NULL); pthread_cond_init(&buf->write_cond, NULL); pthread_cond_init(&buf->playback_cond, NULL); /* Correct for impossible prebuffer and chunk sizes */ if (audio_chunk_size > size || audio_chunk_size == 0) audio_chunk_size = size / 2; if (prebuffer > size) prebuffer = prebuffer / 2; buf->audio_chunk_size = audio_chunk_size; buf->prebuffer_size = prebuffer; buf->size = size; buf->actions = 0; /* Initialize flags */ buffer_init_vars(buf); return buf; } void buffer_reset (buf_t *buf) { action_t *action; /* Cleanup pthread variables */ pthread_mutex_destroy(&buf->mutex); pthread_cond_destroy(&buf->write_cond); pthread_cond_destroy(&buf->playback_cond); /* Reinit pthread variables */ pthread_mutex_init(&buf->mutex, NULL); pthread_cond_init(&buf->write_cond, NULL); pthread_cond_init(&buf->playback_cond, NULL); /* Clear old actions */ while (buf->actions != NULL) { action = buf->actions; buf->actions = buf->actions->next; free(action); } buffer_init_vars(buf); } void buffer_destroy (buf_t *buf) { DEBUG("buffer_destroy"); /* Cleanup pthread variables */ pthread_mutex_destroy(&buf->mutex); COND_SIGNAL(buf->write_cond); pthread_cond_destroy(&buf->write_cond); COND_SIGNAL(buf->playback_cond); pthread_cond_destroy(&buf->playback_cond); free(buf); } /* --- Buffer thread control --- */ int buffer_thread_start (buf_t *buf) { DEBUG("Starting new thread."); return pthread_create(&buf->thread, NULL, buffer_thread_func, buf); } /* WARNING: DO NOT call buffer_submit_data after you pause the playback thread, or you run the risk of deadlocking. Call buffer_thread_unpause first. */ void buffer_thread_pause (buf_t *buf) { DEBUG("Pausing playback thread"); pthread_cleanup_push(buffer_mutex_unlock, buf); LOCK_MUTEX(buf->mutex); buf->paused = 1; UNLOCK_MUTEX(buf->mutex); pthread_cleanup_pop(0); } void buffer_thread_unpause (buf_t *buf) { DEBUG("Unpausing playback thread"); pthread_cleanup_push(buffer_mutex_unlock, buf); LOCK_MUTEX(buf->mutex); buf->paused = 0; COND_SIGNAL(buf->playback_cond); UNLOCK_MUTEX(buf->mutex); pthread_cleanup_pop(0); } void buffer_thread_kill (buf_t *buf) { DEBUG("Attempting to kill playback thread."); /* Flag the cancellation */ buf->cancel_flag = 1; /* Signal the playback condition to wake stuff up */ COND_SIGNAL(buf->playback_cond); pthread_join(buf->thread, NULL); buffer_thread_cleanup(buf); DEBUG("Playback thread killed."); } /* --- Data buffering functions --- */ int buffer_submit_data (buf_t *buf, char *data, long nbytes) { return submit_data_chunk (buf, data, nbytes); } size_t buffer_get_data (buf_t *buf, char *data, long nbytes) { int write_amount; int orig_size; orig_size = nbytes; DEBUG("Enter buffer_get_data"); pthread_cleanup_push(buffer_mutex_unlock, buf); LOCK_MUTEX(buf->mutex); /* Put the data into the buffer as space is made available */ while (nbytes > 0) { if (buf->abort_write) break; DEBUG("Obtaining lock on buffer"); /* Block until we can read something */ if (buf->curfill == 0 && buf->eos) break; /* No more data to read */ if (buf->curfill == 0 || (buf->prebuffering && !buf->eos)) { DEBUG("Waiting for more data to copy."); COND_WAIT(buf->playback_cond, buf->mutex); } if (buf->abort_write) break; /* Note: Even if curfill is still 0, nothing bad will happen here */ /* For simplicity, the number of bytes played must satisfy the following three requirements: 1. Do not copy more bytes than are stored in the buffer. 2. Do not copy more bytes than the reqested data size. 3. Do not run off the end of the buffer. */ write_amount = compute_dequeue_size(buf, nbytes); UNLOCK_MUTEX(buf->mutex); execute_actions(buf, &buf->actions, buf->position); /* No need to lock mutex here because the other thread will NEVER reduce the number of bytes stored in the buffer */ DEBUG1("Copying %d bytes from the buffer", write_amount); memcpy(data, buf->buffer + buf->start, write_amount); LOCK_MUTEX(buf->mutex); buf->curfill -= write_amount; data += write_amount; nbytes -= write_amount; buf->start = (buf->start + write_amount) % buf->size; DEBUG1("Updated buffer fill, curfill = %ld", buf->curfill); /* Signal a waiting decoder thread that they can put more audio into the buffer */ DEBUG("Signal decoder thread that buffer space is available"); COND_SIGNAL(buf->write_cond); } UNLOCK_MUTEX(buf->mutex); pthread_cleanup_pop(0); pthread_testcancel(); DEBUG("Exit buffer_get_data"); return orig_size - nbytes; } void buffer_mark_eos (buf_t *buf) { DEBUG("buffer_mark_eos"); pthread_cleanup_push(buffer_mutex_unlock, buf); LOCK_MUTEX(buf->mutex); buf->eos = 1; buf->prebuffering = 0; COND_SIGNAL(buf->playback_cond); UNLOCK_MUTEX(buf->mutex); pthread_cleanup_pop(0); } void buffer_abort_write (buf_t *buf) { DEBUG("buffer_abort_write"); pthread_cleanup_push(buffer_mutex_unlock, buf); LOCK_MUTEX(buf->mutex); buf->abort_write = 1; COND_SIGNAL(buf->write_cond); COND_SIGNAL(buf->playback_cond); UNLOCK_MUTEX(buf->mutex); pthread_cleanup_pop(0); } /* --- Action buffering functions --- */ void buffer_action_now (buf_t *buf, action_func_t action_func, void *action_arg) { action_t *action; action = malloc_action(action_func, action_arg); pthread_cleanup_push(buffer_mutex_unlock, buf); LOCK_MUTEX(buf->mutex); action->position = buf->position; /* Insert this action right at the front */ action->next = buf->actions; buf->actions = action; UNLOCK_MUTEX(buf->mutex); pthread_cleanup_pop(0); } void buffer_insert_action_at_end (buf_t *buf, action_func_t action_func, void *action_arg) { action_t *action; action = malloc_action(action_func, action_arg); pthread_cleanup_push(buffer_mutex_unlock, buf); LOCK_MUTEX(buf->mutex); /* Stick after the last item in the buffer */ action->position = buf->position_end; in_order_add_action(&buf->actions, action, INSERT); UNLOCK_MUTEX(buf->mutex); pthread_cleanup_pop(0); } void buffer_append_action_at_end (buf_t *buf, action_func_t action_func, void *action_arg) { action_t *action; action = malloc_action(action_func, action_arg); pthread_cleanup_push(buffer_mutex_unlock, buf); LOCK_MUTEX(buf->mutex); /* Stick after the last item in the buffer */ action->position = buf->position_end; in_order_add_action(&buf->actions, action, APPEND); UNLOCK_MUTEX(buf->mutex); pthread_cleanup_pop(0); } void buffer_insert_action_at (buf_t *buf, action_func_t action_func, void *action_arg, ogg_int64_t position) { action_t *action; action = malloc_action(action_func, action_arg); pthread_cleanup_push(buffer_mutex_unlock, buf); LOCK_MUTEX(buf->mutex); action->position = position; in_order_add_action(&buf->actions, action, INSERT); UNLOCK_MUTEX(buf->mutex); pthread_cleanup_pop(0); } void buffer_append_action_at (buf_t *buf, action_func_t action_func, void *action_arg, ogg_int64_t position) { action_t *action; action = malloc_action(action_func, action_arg); pthread_cleanup_push(buffer_mutex_unlock, buf); LOCK_MUTEX(buf->mutex); action->position = position; in_order_add_action(&buf->actions, action, APPEND); UNLOCK_MUTEX(buf->mutex); pthread_cleanup_pop(0); } /* --- Buffer status functions --- */ void buffer_wait_for_empty (buf_t *buf) { int empty = 0; DEBUG("Enter buffer_wait_for_empty"); pthread_cleanup_push(buffer_mutex_unlock, buf); LOCK_MUTEX(buf->mutex); while (!empty && !buf->abort_write && !buf->cancel_flag && !sig_request.cancel) { if (buf->curfill > 0) { DEBUG1("Buffer curfill = %ld, going back to sleep.", buf->curfill); COND_WAIT(buf->write_cond, buf->mutex); } else empty = 1; } UNLOCK_MUTEX(buf->mutex); pthread_cleanup_pop(0); DEBUG("Exit buffer_wait_for_empty"); } long buffer_full (buf_t *buf) { return buf->curfill; } buffer_stats_t *buffer_statistics (buf_t *buf) { buffer_stats_t *stats; pthread_cleanup_push(buffer_mutex_unlock, buf); LOCK_MUTEX(buf->mutex); stats = malloc_buffer_stats(); stats->size = buf->size; stats->fill = (double) buf->curfill / (double) buf->size * 100.0; stats->prebuffer_fill = (double) buf->prebuffer_size / (double) buf->size; stats->prebuffering = buf->prebuffering; stats->paused = buf->paused; stats->eos = buf->eos; UNLOCK_MUTEX(buf->mutex); pthread_cleanup_pop(0); return stats; } vorbis-tools-1.4.2/ogg123/vorbis_comments.c0000644000175000017500000001314513775714715015505 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include "format.h" #include "utf8.h" #include "i18n.h" #include "picture.h" #include "vorbis_comments.h" /* Vorbis comment keys that need special formatting. */ static const struct { const char *key; /* includes the '=' for programming convenience */ const char *formatstr; /* formatted output */ } vorbis_comment_keys[] = { {"TRACKNUMBER=", N_("Track number:")}, {"REPLAYGAIN_REFERENCE_LOUDNESS=", N_("ReplayGain (Reference loudness):")}, {"REPLAYGAIN_TRACK_GAIN=", N_("ReplayGain (Track):")}, {"REPLAYGAIN_ALBUM_GAIN=", N_("ReplayGain (Album):")}, {"REPLAYGAIN_TRACK_PEAK=", N_("ReplayGain Peak (Track):")}, {"REPLAYGAIN_ALBUM_PEAK=", N_("ReplayGain Peak (Album):")}, {"COPYRIGHT=", N_("Copyright")}, {"=", N_("Comment:")}, {NULL, N_("Comment:")} }; char *lookup_comment_prettyprint (const char *comment, int *offset) { int i, j; char *s; /* Search for special-case formatting */ for (i = 0; vorbis_comment_keys[i].key != NULL; i++) { if ( !strncasecmp (vorbis_comment_keys[i].key, comment, strlen(vorbis_comment_keys[i].key)) ) { *offset = strlen(vorbis_comment_keys[i].key); s = strdup(vorbis_comment_keys[i].formatstr); if (s == NULL) { fprintf(stderr, _("ERROR: Out of memory.\n")); exit(1); } return s; } } /* Use default formatting */ j = strcspn(comment, "="); if (j) { *offset = j + 1; s = malloc(j + 2); if (s == NULL) { fprintf(stderr, _("ERROR: Out of memory.\n")); exit(1); }; strncpy(s, comment, j); strcpy(s + j, ":"); /* Capitalize */ s[0] = toupper(s[0]); for (i = 1; i < j; i++) { s[i] = tolower(s[i]); } return s; } /* Unrecognized comment, use last format string */ *offset = 0; s = strdup(vorbis_comment_keys[i].formatstr); if (s == NULL) { fprintf(stderr, _("ERROR: Out of memory.\n")); exit(1); } return s; } static void print_vorbis_comment_picture(const char *comment, decoder_callbacks_t *cb, void *callback_arg) { flac_picture_t *picture; comment = strstr(comment, "="); if (!comment || !*comment) return; comment++; picture = flac_picture_parse_from_base64(comment); if (picture) { const char *description = picture->description; char res[64]; if (picture->width && picture->height) { if (picture->colors) { snprintf(res, sizeof(res), " %ux%u@%u/%u", picture->width, picture->height, picture->depth, picture->colors); } else { snprintf(res, sizeof(res), " %ux%u@%u", picture->width, picture->height, picture->depth); } } if (picture->uri) { if (description) { cb->printf_metadata(callback_arg, 1, N_("Picture: Type \"%s\"%s with description \"%s\" and URI %s"), flac_picture_type_string(picture->type), res, description, picture->uri); } else { cb->printf_metadata(callback_arg, 1, N_("Picture: Type \"%s\"%s URI %s"), flac_picture_type_string(picture->type), res, picture->uri); } } else { if (description) { cb->printf_metadata(callback_arg, 1, N_("Picture: Type \"%s\"%s with description \"%s\", %zu bytes %s"), flac_picture_type_string(picture->type), res, description, picture->binary_length, picture->media_type); } else { cb->printf_metadata(callback_arg, 1, N_("Picture: Type \"%s\"%s %zu bytes %s"), flac_picture_type_string(picture->type), res, picture->binary_length, picture->media_type); } } flac_picture_free(picture); } else { cb->printf_metadata(callback_arg, 1, _("Picture: ")); } } void print_vorbis_comment (const char *comment, decoder_callbacks_t *cb, void *callback_arg) { char *comment_prettyprint; char *decoded_value; int offset; if (cb == NULL || cb->printf_metadata == NULL) return; if (strncasecmp(comment, "METADATA_BLOCK_PICTURE=", 23) == 0) { print_vorbis_comment_picture(comment, cb, callback_arg); return; } comment_prettyprint = lookup_comment_prettyprint(comment, &offset); if (utf8_decode(comment + offset, &decoded_value) >= 0) { cb->printf_metadata(callback_arg, 1, "%s %s", comment_prettyprint, decoded_value); free(decoded_value); } else { cb->printf_metadata(callback_arg, 1, "%s %s", comment_prettyprint, comment + offset); } free(comment_prettyprint); } vorbis-tools-1.4.2/ogg123/easyflac.c0000644000175000017500000002773713774147573014100 00000000000000/* EasyFLAC - A thin decoding wrapper around libFLAC and libOggFLAC to * make your code less ugly. See easyflac.h for explanation. * * Copyright 2003 - Stan Seibert * This code is licensed under a BSD style license: * * 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. * * - Neither the name of the Xiph.org Foundation nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * * 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 #endif #include #if !defined(FLAC_API_VERSION_CURRENT) || (FLAC_API_VERSION_CURRENT < 8) #include #include "easyflac.h" FLAC__bool EasyFLAC__is_oggflac(EasyFLAC__StreamDecoder *decoder) { return decoder->is_oggflac; } EasyFLAC__StreamDecoder *EasyFLAC__stream_decoder_new(FLAC__bool is_oggflac) { EasyFLAC__StreamDecoder *decoder = malloc(sizeof(EasyFLAC__StreamDecoder)); if (decoder != NULL) { decoder->is_oggflac = is_oggflac; if (decoder->is_oggflac) decoder->oggflac = OggFLAC__stream_decoder_new(); else decoder->flac = FLAC__stream_decoder_new(); if ( (decoder->is_oggflac && decoder->oggflac == NULL) ||(!decoder->is_oggflac && decoder->flac == NULL) ) { free(decoder); decoder = NULL; } } return decoder; } void EasyFLAC__stream_decoder_delete(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) OggFLAC__stream_decoder_delete(decoder->oggflac); else FLAC__stream_decoder_delete(decoder->flac); free(decoder); } /* Wrappers around the callbacks for OggFLAC */ FLAC__StreamDecoderReadStatus oggflac_read_callback(const OggFLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; return (*e_decoder->callbacks.read)(e_decoder, buffer, bytes, e_decoder->callbacks.client_data); } FLAC__StreamDecoderWriteStatus oggflac_write_callback(const OggFLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; return (*(e_decoder->callbacks.write))(e_decoder, frame, buffer, e_decoder->callbacks.client_data); } void oggflac_metadata_callback(const OggFLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; (*e_decoder->callbacks.metadata)(e_decoder, metadata, e_decoder->callbacks.client_data); } void oggflac_error_callback(const OggFLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; (*e_decoder->callbacks.error)(e_decoder, status, e_decoder->callbacks.client_data); } /* Wrappers around the callbacks for FLAC */ FLAC__StreamDecoderReadStatus flac_read_callback(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; return (*e_decoder->callbacks.read)(e_decoder, buffer, bytes, e_decoder->callbacks.client_data); } FLAC__StreamDecoderWriteStatus flac_write_callback(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; return (*e_decoder->callbacks.write)(e_decoder, frame, buffer, e_decoder->callbacks.client_data); } void flac_metadata_callback(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; (*e_decoder->callbacks.metadata)(e_decoder, metadata, e_decoder->callbacks.client_data); } void flac_error_callback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data) { EasyFLAC__StreamDecoder *e_decoder = (EasyFLAC__StreamDecoder *) client_data; (*e_decoder->callbacks.error)(e_decoder, status, e_decoder->callbacks.client_data); } FLAC__bool EasyFLAC__set_read_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderReadCallback value) { decoder->callbacks.read = value; if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_read_callback(decoder->oggflac, &oggflac_read_callback); else return FLAC__stream_decoder_set_read_callback(decoder->flac, &flac_read_callback); } FLAC__bool EasyFLAC__set_write_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderWriteCallback value) { decoder->callbacks.write = value; if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_write_callback(decoder->oggflac, &oggflac_write_callback); else return FLAC__stream_decoder_set_write_callback(decoder->flac, &flac_write_callback); } FLAC__bool EasyFLAC__set_metadata_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderMetadataCallback value) { decoder->callbacks.metadata = value; if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_callback(decoder->oggflac, &oggflac_metadata_callback); else return FLAC__stream_decoder_set_metadata_callback(decoder->flac, &flac_metadata_callback); } FLAC__bool EasyFLAC__set_error_callback(EasyFLAC__StreamDecoder *decoder, EasyFLAC__StreamDecoderErrorCallback value) { decoder->callbacks.error = value; if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_error_callback(decoder->oggflac, &oggflac_error_callback); else return FLAC__stream_decoder_set_error_callback(decoder->flac, &flac_error_callback); } FLAC__bool EasyFLAC__set_client_data(EasyFLAC__StreamDecoder *decoder, void *value) { decoder->callbacks.client_data = value; if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_client_data(decoder->oggflac, decoder); else return FLAC__stream_decoder_set_client_data(decoder->flac, decoder); } FLAC__bool EasyFLAC__set_metadata_respond(EasyFLAC__StreamDecoder *decoder, FLAC__MetadataType type) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_respond(decoder->oggflac, type); else return FLAC__stream_decoder_set_metadata_respond(decoder->flac, type); } FLAC__bool EasyFLAC__set_metadata_respond_application(EasyFLAC__StreamDecoder *decoder, const FLAC__byte id[4]) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_respond_application(decoder->oggflac, id); else return FLAC__stream_decoder_set_metadata_respond_application(decoder->flac, id); } FLAC__bool EasyFLAC__set_metadata_respond_all(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_respond_all(decoder->oggflac); else return FLAC__stream_decoder_set_metadata_respond_all(decoder->flac); } FLAC__bool EasyFLAC__set_metadata_ignore(EasyFLAC__StreamDecoder *decoder, FLAC__MetadataType type) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_ignore(decoder->oggflac, type); else return FLAC__stream_decoder_set_metadata_ignore(decoder->flac, type); } FLAC__bool EasyFLAC__set_metadata_ignore_application(EasyFLAC__StreamDecoder *decoder, const FLAC__byte id[4]) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_ignore_application(decoder->oggflac, id); else return FLAC__stream_decoder_set_metadata_ignore_application(decoder->flac, id); } FLAC__bool EasyFLAC__set_metadata_ignore_all(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_set_metadata_ignore_all(decoder->oggflac); else return FLAC__stream_decoder_set_metadata_ignore_all(decoder->flac); } FLAC__StreamDecoderState EasyFLAC__get_state(const EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_get_FLAC_stream_decoder_state(decoder->oggflac); else return FLAC__stream_decoder_get_state(decoder->flac); } unsigned EasyFLAC__get_channels(const EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_get_channels(decoder->oggflac); else return FLAC__stream_decoder_get_channels(decoder->flac); } FLAC__ChannelAssignment EasyFLAC__get_channel_assignment(const EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_get_channel_assignment(decoder->oggflac); else return FLAC__stream_decoder_get_channel_assignment(decoder->flac); } unsigned EasyFLAC__get_bits_per_sample(const EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_get_bits_per_sample(decoder->oggflac); else return FLAC__stream_decoder_get_bits_per_sample(decoder->flac); } unsigned EasyFLAC__get_sample_rate(const EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_get_sample_rate(decoder->oggflac); else return FLAC__stream_decoder_get_sample_rate(decoder->flac); } unsigned EasyFLAC__get_blocksize(const EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_get_blocksize(decoder->oggflac); else return FLAC__stream_decoder_get_blocksize(decoder->flac); } FLAC__StreamDecoderState EasyFLAC__init(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) { OggFLAC__stream_decoder_init(decoder->oggflac); return OggFLAC__stream_decoder_get_FLAC_stream_decoder_state(decoder->oggflac); } else return FLAC__stream_decoder_init(decoder->flac); } void EasyFLAC__finish(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) OggFLAC__stream_decoder_finish(decoder->oggflac); else FLAC__stream_decoder_finish(decoder->flac); } FLAC__bool EasyFLAC__flush(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_flush(decoder->oggflac); else return FLAC__stream_decoder_flush(decoder->flac); } FLAC__bool EasyFLAC__reset(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_reset(decoder->oggflac); else return FLAC__stream_decoder_reset(decoder->flac); } FLAC__bool EasyFLAC__process_single(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_process_single(decoder->oggflac); else return FLAC__stream_decoder_process_single(decoder->flac); } FLAC__bool EasyFLAC__process_until_end_of_metadata(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_process_until_end_of_metadata(decoder->oggflac); else return FLAC__stream_decoder_process_until_end_of_metadata(decoder->flac); } FLAC__bool EasyFLAC__process_until_end_of_stream(EasyFLAC__StreamDecoder *decoder) { if (decoder->is_oggflac) return OggFLAC__stream_decoder_process_until_end_of_stream(decoder->oggflac); else return FLAC__stream_decoder_process_until_end_of_stream(decoder->flac); } #endif vorbis-tools-1.4.2/ogg123/flac_format.c0000644000175000017500000004467513774147573014566 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2005 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include "audio.h" #include "format.h" #include "i18n.h" #if !defined(FLAC_API_VERSION_CURRENT) || (FLAC_API_VERSION_CURRENT < 8) #define NEED_EASYFLAC 1 #endif #if NEED_EASYFLAC #include "easyflac.h" #endif #include "vorbis_comments.h" typedef struct { #if NEED_EASYFLAC EasyFLAC__StreamDecoder *decoder; #else FLAC__StreamDecoder *decoder; int is_oggflac; #endif short channels; int rate; int bits_per_sample; long totalsamples; /* per channel, of course */ long currentsample; /* number of samples played, (not decoded, as those may still be buffered in buf) */ /* For calculating bitrate stats */ long samples_decoded; long samples_decoded_previous; long bytes_read; long bytes_read_previous; FLAC__StreamMetadata *comments; int bos; /* At beginning of stream */ int eos; /* End of stream read */ /* Buffer for decoded audio */ FLAC__int32 **buf; /* channels by buf_len array */ int buf_len; int buf_start; /* Offset to start of audio data */ int buf_fill; /* Number of bytes of audio data in buffer */ decoder_stats_t stats; } flac_private_t; /* Forward declarations */ format_t flac_format; format_t oggflac_format; /* Private functions declarations */ #if NEED_EASYFLAC static FLAC__StreamDecoderReadStatus easyflac_read_callback(const EasyFLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data); static FLAC__StreamDecoderWriteStatus easyflac_write_callback(const EasyFLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data); static void easyflac_metadata_callback(const EasyFLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data); static void easyflac_error_callback(const EasyFLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data); #else static FLAC__StreamDecoderReadStatus read_callback(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data); static FLAC__StreamDecoderWriteStatus write_callback(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data); static void metadata_callback(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data); static void error_callback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data); static FLAC__bool eof_callback(const FLAC__StreamDecoder *decoder, void *client_data); #endif void resize_buffer(flac_private_t *flac, int newchannels, int newsamples); /*void copy_comments (vorbis_comment *v_comments, FLAC__StreamMetadata_VorbisComment *f_comments);*/ void print_flac_stream_info (decoder_t *decoder); void print_flac_comments (FLAC__StreamMetadata_VorbisComment *comments, decoder_callbacks_t *cb, void *callback_arg); int flac_can_decode (data_source_t *source) { char buf[4]; int len; len = source->transport->peek(source, buf, sizeof(char), 4); if (len >= 4 && memcmp(buf, "fLaC", 4) == 0) return 1; /* Naked FLAC */ else return 0; } int oggflac_can_decode (data_source_t *source) { char buf[36]; int len; len = source->transport->peek(source, buf, sizeof(char), 36); if (len >= 36 && memcmp(buf, "OggS", 4) == 0 && memcmp(buf+28, "fLaC", 4) == 0) { /* old Ogg FLAC , pre flac 1.1.1 */ return 1; } if (len >= 36 && memcmp(buf, "OggS", 4) == 0 && buf[28] == 0x7F && memcmp(buf+29, "FLAC", 4) == 0 && buf[33] == 1 && buf[34] == 0) { /* Ogg FLAC >= 1.1.1, according to OggFlac mapping 1.0 */ return 1; } return 0; } decoder_t* flac_init (data_source_t *source, ogg123_options_t *ogg123_opts, audio_format_t *audio_fmt, decoder_callbacks_t *callbacks, void *callback_arg) { decoder_t *decoder; flac_private_t *private; /* Allocate data source structures */ decoder = malloc(sizeof(decoder_t)); private = malloc(sizeof(flac_private_t)); if (decoder != NULL && private != NULL) { decoder->source = source; decoder->actual_fmt = decoder->request_fmt = *audio_fmt; /* Set format below when we distinguish which we are doing */ decoder->callbacks = callbacks; decoder->callback_arg = callback_arg; decoder->private = private; private->stats.total_time = 0.0; private->stats.current_time = 0.0; private->stats.instant_bitrate = 0; private->stats.avg_bitrate = 0; } else { fprintf(stderr, _("Error: Out of memory.\n")); exit(1); } private->bos = 1; private->eos = 0; private->comments = NULL; private->samples_decoded = private->samples_decoded_previous = 0; private->bytes_read = private->bytes_read_previous = 0; private->currentsample = 0; /* Setup empty audio buffer that will be resized on first frame callback */ private->channels = 0; private->buf = NULL; private->buf_len = 0; private->buf_fill = 0; private->buf_start = 0; /* Setup FLAC decoder */ #if NEED_EASYFLAC if (oggflac_can_decode(source)) { decoder->format = &oggflac_format; private->decoder = EasyFLAC__stream_decoder_new(1); } else { decoder->format = &flac_format; private->decoder = EasyFLAC__stream_decoder_new(0); } EasyFLAC__set_client_data(private->decoder, decoder); EasyFLAC__set_read_callback(private->decoder, &easyflac_read_callback); EasyFLAC__set_write_callback(private->decoder, &easyflac_write_callback); EasyFLAC__set_metadata_callback(private->decoder, &easyflac_metadata_callback); EasyFLAC__set_error_callback(private->decoder, &easyflac_error_callback); EasyFLAC__set_metadata_respond(private->decoder, FLAC__METADATA_TYPE_STREAMINFO); EasyFLAC__set_metadata_respond(private->decoder, FLAC__METADATA_TYPE_VORBIS_COMMENT); EasyFLAC__init(private->decoder); #else if (oggflac_can_decode(source)) { private->is_oggflac = 1; decoder->format = &oggflac_format; } else { private->is_oggflac = 0; decoder->format = &flac_format; } private->decoder = FLAC__stream_decoder_new(); FLAC__stream_decoder_set_md5_checking(private->decoder, false); FLAC__stream_decoder_set_metadata_respond(private->decoder, FLAC__METADATA_TYPE_STREAMINFO); FLAC__stream_decoder_set_metadata_respond(private->decoder, FLAC__METADATA_TYPE_VORBIS_COMMENT); /*FLAC__stream_decoder_init(private->decoder);*/ if(private->is_oggflac) FLAC__stream_decoder_init_ogg_stream(private->decoder, read_callback, /*seek_callback=*/0, /*tell_callback=*/0, /*length_callback=*/0, eof_callback, write_callback, metadata_callback, error_callback, decoder); else FLAC__stream_decoder_init_stream(private->decoder, read_callback, /*seek_callback=*/0, /*tell_callback=*/0, /*length_callback=*/0, eof_callback, write_callback, metadata_callback, error_callback, decoder); #endif /* Callback will set the total samples and sample rate */ #if NEED_EASYFLAC EasyFLAC__process_until_end_of_metadata(private->decoder); #else FLAC__stream_decoder_process_until_end_of_metadata(private->decoder); #endif /* Callback will set the number of channels and resize the audio buffer */ #if NEED_EASYFLAC EasyFLAC__process_single(private->decoder); #else FLAC__stream_decoder_process_single(private->decoder); #endif /* FLAC API returns signed samples on all streams */ decoder->actual_fmt.signed_sample = 1; decoder->actual_fmt.big_endian = ao_is_big_endian(); return decoder; } int flac_read (decoder_t *decoder, void *ptr, int nbytes, int *eos, audio_format_t *audio_fmt) { flac_private_t *priv = decoder->private; decoder_callbacks_t *cb = decoder->callbacks; FLAC__int8 *buf8 = (FLAC__int8 *) ptr; FLAC__int16 *buf16 = (FLAC__int16 *) ptr; long samples, realsamples = 0; FLAC__bool ret; int i,j; /* Read comments and audio info at the start of a logical bitstream */ if (priv->bos) { decoder->actual_fmt.rate = priv->rate; decoder->actual_fmt.channels = priv->channels; decoder->actual_fmt.word_size = ((priv->bits_per_sample + 7) / 8); switch(decoder->actual_fmt.channels){ case 1: decoder->actual_fmt.matrix="M"; break; case 2: decoder->actual_fmt.matrix="L,R"; break; case 3: decoder->actual_fmt.matrix="L,R,C"; break; case 4: decoder->actual_fmt.matrix="L,R,BL,BR"; break; case 5: decoder->actual_fmt.matrix="L,R,C,BL,BR"; break; case 6: decoder->actual_fmt.matrix="L,R,C,LFE,BL,BR"; break; case 7: decoder->actual_fmt.matrix="L,R,C,LFE,SL,SR,BC"; break; case 8: decoder->actual_fmt.matrix="L,R,C,LFE,SL,SR,BL,BR"; break; default: decoder->actual_fmt.matrix=NULL; break; } print_flac_stream_info(decoder); if (priv->comments != NULL) print_flac_comments(&priv->comments->data.vorbis_comment, cb, decoder->callback_arg); priv->bos = 0; } *audio_fmt = decoder->actual_fmt; /* Validate channels and word_size to avoid div by zero */ if(!(audio_fmt->channels && audio_fmt->word_size)) { fprintf(stderr, _("Error: Corrupt input.\n")); exit(1); } /* Only return whole samples (no channel splitting) */ samples = nbytes / (audio_fmt->channels * audio_fmt->word_size); while (realsamples < samples) { if (priv->buf_fill > 0) { int copy = priv->buf_fill < (samples - realsamples) ? priv->buf_fill : (samples - realsamples); /* Need sample mangling code here! */ if (audio_fmt->word_size == 1) { for (i = 0; i < priv->channels; i++) for (j = 0; j < copy; j++) buf8[(j+realsamples)*audio_fmt->channels+i] = (FLAC__int8) (0xFF & priv->buf[i][j+priv->buf_start]); } else if (audio_fmt->word_size == 2) { for (i = 0; i < priv->channels; i++) for (j = 0; j < copy; j++) buf16[(j+realsamples)*audio_fmt->channels+i] = (FLAC__int16) (0xFFFF & priv->buf[i][j+priv->buf_start]); } priv->buf_start += copy; priv->buf_fill -= copy; realsamples += copy; } else if (!priv->eos) { #if NEED_EASYFLAC ret = EasyFLAC__process_single(priv->decoder); if (!ret || EasyFLAC__get_state(priv->decoder) == FLAC__STREAM_DECODER_END_OF_STREAM) priv->eos = 1; /* Bail out! */ #else ret = FLAC__stream_decoder_process_single(priv->decoder); if (!ret || FLAC__stream_decoder_get_state(priv->decoder) == FLAC__STREAM_DECODER_END_OF_STREAM) priv->eos = 1; /* Bail out! */ #endif } else break; } priv->currentsample += realsamples; return realsamples * audio_fmt->channels * audio_fmt->word_size; } int flac_seek (decoder_t *decoder, double offset, int whence) { return 0; /* No seeking at this time */ } #define AVG_FACTOR 0.5 decoder_stats_t *flac_statistics (decoder_t *decoder) { flac_private_t *priv = decoder->private; long instant_bitrate; /* ov_time_tell() doesn't work on non-seekable streams, so we use ov_pcm_tell() */ priv->stats.total_time = (double) priv->totalsamples / (double) decoder->actual_fmt.rate; priv->stats.current_time = (double) priv->currentsample / (double) decoder->actual_fmt.rate; /* Need this test to prevent averaging in false zeros. */ if ((priv->bytes_read - priv->bytes_read_previous) != 0 && (priv->samples_decoded - priv->samples_decoded_previous) != 0) { instant_bitrate = 8.0 * (priv->bytes_read - priv->bytes_read_previous) * decoder->actual_fmt.rate / (double) (priv->samples_decoded - priv->samples_decoded_previous); /* A little exponential averaging to smooth things out */ priv->stats.instant_bitrate = AVG_FACTOR * instant_bitrate + (1.0 - AVG_FACTOR) * priv->stats.instant_bitrate; priv->bytes_read_previous = priv->bytes_read; priv->samples_decoded_previous = priv->samples_decoded; } // priv->stats.instant_bitrate = 8.0 * priv->bytes_read * decoder->actual_fmt.rate / (double) priv->samples_decoded; /* Don't know unless we seek the stream */ priv->stats.avg_bitrate = 0; return malloc_decoder_stats(&priv->stats); } void flac_cleanup (decoder_t *decoder) { flac_private_t *priv = decoder->private; int i; for (i = 0; i < priv->channels; i++) free(priv->buf[i]); free(priv->buf); #if NEED_EASYFLAC EasyFLAC__finish(priv->decoder); EasyFLAC__stream_decoder_delete(priv->decoder); #else FLAC__stream_decoder_finish(priv->decoder); FLAC__stream_decoder_delete(priv->decoder); #endif free(decoder->private); free(decoder); } format_t flac_format = { "flac", &flac_can_decode, &flac_init, &flac_read, &flac_seek, &flac_statistics, &flac_cleanup, }; format_t oggflac_format = { "oggflac", &oggflac_can_decode, &flac_init, &flac_read, &flac_seek, &flac_statistics, &flac_cleanup, }; #if NEED_EASYFLAC FLAC__StreamDecoderReadStatus easyflac_read_callback(const EasyFLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data) #else FLAC__StreamDecoderReadStatus read_callback(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data) #endif { decoder_t *e_decoder = client_data; flac_private_t *priv = e_decoder->private; int read = 0; read = e_decoder->source->transport->read(e_decoder->source, buffer, sizeof(FLAC__byte), *bytes); *bytes = read; priv->bytes_read += read; /* Immediately return if errors occured */ if(read == 0) return FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM; else return FLAC__STREAM_DECODER_READ_STATUS_CONTINUE; } #if NEED_EASYFLAC FLAC__StreamDecoderWriteStatus easyflac_write_callback(const EasyFLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data) #else FLAC__StreamDecoderWriteStatus write_callback(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data) #endif { decoder_t *e_decoder = client_data; flac_private_t *priv = e_decoder->private; int samples = frame->header.blocksize; int channels = frame->header.channels; int i, j; priv->bits_per_sample = frame->header.bits_per_sample; resize_buffer(priv, channels, samples); for (i = 0; i < channels; i++) for (j = 0; j < samples; j++) priv->buf[i][j] = buffer[i][j]; priv->buf_start = 0; priv->buf_fill = samples; priv->samples_decoded += samples; return FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE; } #if NEED_EASYFLAC void easyflac_metadata_callback(const EasyFLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) #else void metadata_callback(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) #endif { decoder_t *e_decoder = client_data; flac_private_t *priv = e_decoder->private; switch (metadata->type) { case FLAC__METADATA_TYPE_STREAMINFO: priv->totalsamples = metadata->data.stream_info.total_samples; priv->rate = metadata->data.stream_info.sample_rate; break; case FLAC__METADATA_TYPE_VORBIS_COMMENT: priv->comments = FLAC__metadata_object_clone(metadata); break; default: break; } } #if NEED_EASYFLAC void easyflac_error_callback(const EasyFLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data) #else void error_callback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data) #endif { } #if !NEED_EASYFLAC FLAC__bool eof_callback(const FLAC__StreamDecoder *decoder, void *client_data) { decoder_t *e_decoder = client_data; flac_private_t *priv = e_decoder->private; return priv->eos; } #endif void resize_buffer(flac_private_t *flac, int newchannels, int newsamples) { int i; if (newchannels == flac->channels && newsamples == flac->buf_len) { flac->buf_start = 0; flac->buf_fill = 0; return; } /* Not the most efficient approach, but it is easy to follow */ if(newchannels != flac->channels) { /* Deallocate all of the sample vectors */ for (i = 0; i < flac->channels; i++) free(flac->buf[i]); flac->buf = realloc(flac->buf, sizeof(FLAC__int32*) * newchannels); flac->channels = newchannels; } for (i = 0; i < newchannels; i++) flac->buf[i] = malloc(sizeof(FLAC__int32) * newsamples); flac->buf_len = newsamples; flac->buf_start = 0; flac->buf_fill = 0; } void print_flac_stream_info (decoder_t *decoder) { flac_private_t *priv = decoder->private; decoder_callbacks_t *cb = decoder->callbacks; if (cb == NULL || cb->printf_metadata == NULL) return; #if NEED_EASYFLAC if (EasyFLAC__is_oggflac(priv->decoder)) #else if (priv->is_oggflac) #endif cb->printf_metadata(decoder->callback_arg, 2, _("Ogg FLAC stream: %d bits, %d channel, %ld Hz"), priv->bits_per_sample, priv->channels, priv->rate); else cb->printf_metadata(decoder->callback_arg, 2, _("FLAC stream: %d bits, %d channel, %ld Hz"), priv->bits_per_sample, priv->channels, priv->rate); } void print_flac_comments (FLAC__StreamMetadata_VorbisComment *f_comments, decoder_callbacks_t *cb, void *callback_arg) { int i; char *temp = NULL; int temp_len = 0; for (i = 0; i < f_comments->num_comments; i++) { /* Gotta null terminate these things */ if (temp_len < f_comments->comments[i].length + 1) { temp_len = f_comments->comments[i].length + 1; temp = realloc(temp, sizeof(char) * temp_len); } strncpy(temp, (const char *)f_comments->comments[i].entry, f_comments->comments[i].length); temp[f_comments->comments[i].length] = '\0'; print_vorbis_comment(temp, cb, callback_arg); } free(temp); } vorbis-tools-1.4.2/ogg123/callbacks.h0000644000175000017500000000455013774147573014221 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifndef __CALLBACKS_H__ #define __CALLBACKS_H__ #include "audio.h" #include "buffer.h" #include "status.h" #include "format.h" #include "transport.h" /* Audio callbacks */ typedef struct audio_play_arg_t { stat_format_t *stat_format; audio_device_t *devices; } audio_play_arg_t; typedef struct audio_reopen_arg_t { audio_device_t *devices; audio_format_t *format; } audio_reopen_arg_t; int audio_play_callback (void *ptr, int nbytes, int eos, void *arg); void audio_reopen_action (buf_t *buf, void *arg); audio_reopen_arg_t *new_audio_reopen_arg (audio_device_t *devices, audio_format_t *fmt); /* Statisitics callbacks */ typedef struct print_statistics_arg_t { stat_format_t *stat_format; data_source_stats_t *data_source_statistics; decoder_stats_t *decoder_statistics; } print_statistics_arg_t; void print_statistics_action (buf_t *buf, void *arg); print_statistics_arg_t *new_print_statistics_arg ( stat_format_t *stat_format, data_source_stats_t *data_source_statistics, decoder_stats_t *decoder_statistics); /* Decoder callbacks */ void decoder_error_callback (void *arg, int severity, char *message, ...); void decoder_metadata_callback (void *arg, int verbosity, char *message, ...); void decoder_buffered_error_callback (void *arg, int severity, char *message, ...); void decoder_buffered_metadata_callback (void *arg, int verbosity, char *message, ...); #endif /* __CALLBACKS_H__ */ vorbis-tools-1.4.2/ogg123/audio.h0000644000175000017500000000362213774147573013402 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ /* ogg123's audio playback functions */ #ifndef __AUDIO_H__ #define __AUDIO_H__ #include typedef struct audio_format_t { int big_endian; int word_size; int signed_sample; int rate; int channels; char *matrix; } audio_format_t; /* For facilitating output to multiple devices */ typedef struct audio_device_t { int driver_id; ao_device *device; ao_option *options; char *filename; struct audio_device_t *next_device; } audio_device_t; int audio_format_equal (audio_format_t *a, audio_format_t *b); audio_device_t *append_audio_device(audio_device_t *devices_list, int driver_id, ao_option *options, char *filename); void audio_devices_print_info(audio_device_t *d); int audio_devices_write(audio_device_t *d, void *ptr, int nbytes); int add_ao_option(ao_option **op_h, const char *optstring); void close_audio_devices (audio_device_t *devices); void free_audio_devices (audio_device_t *devices); void ao_onexit (void *arg); #endif /* __AUDIO_H__ */ vorbis-tools-1.4.2/ogg123/http_transport.c0000644000175000017500000002155213774151002015347 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef HAVE_CURL #include #include #include #include #include #include #include #include "ogg123.h" #include "transport.h" #include "buffer.h" #include "status.h" #include "callbacks.h" #include "i18n.h" #define INPUT_BUFFER_SIZE 32768 extern stat_format_t *stat_format; /* FIXME Bad hack! Will fix after RC3! */ extern signal_request_t sig_request; /* Need access to global cancel flag */ typedef struct http_private_t { int cancel_flag; buf_t *buf; pthread_t curl_thread; CURL *curl_handle; struct curl_slist *header_list; char error[CURL_ERROR_SIZE]; data_source_t *data_source; data_source_stats_t stats; } http_private_t; transport_t http_transport; /* Forward declaration */ /* -------------------------- curl callbacks ----------------------- */ size_t write_callback (void *ptr, size_t size, size_t nmemb, void *arg) { http_private_t *myarg = arg; if (myarg->cancel_flag || sig_request.cancel) return 0; if (!buffer_submit_data(myarg->buf, ptr, size*nmemb)) return 0; if (myarg->cancel_flag || sig_request.cancel) return 0; return size * nmemb; } int progress_callback (void *arg, size_t dltotal, size_t dlnow, size_t ultotal, size_t ulnow) { http_private_t *myarg = arg; print_statistics_arg_t *pstats_arg; data_source_t *source = myarg->data_source; if (myarg->cancel_flag || sig_request.cancel) return -1; pstats_arg = new_print_statistics_arg(stat_format, source->transport->statistics(source), NULL); print_statistics_action(NULL, pstats_arg); if (myarg->cancel_flag || sig_request.cancel) return -1; return 0; } /* -------------------------- Private functions --------------------- */ void set_curl_opts (http_private_t *private) { CURL *handle = private->curl_handle; curl_easy_setopt(handle, CURLOPT_FILE, private); curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, write_callback); curl_easy_setopt(handle, CURLOPT_URL, private->data_source->source_string); /* if (inputOpts.ProxyPort) curl_easy_setopt(handle, CURLOPT_PROXYPORT, inputOpts.ProxyPort); if (inputOpts.ProxyHost) curl_easy_setopt(handle, CURLOPT_PROXY, inputOpts.ProxyHost); if (inputOpts.ProxyTunnel) curl_easy_setopt (handle, CURLOPT_HTTPPROXYTUNNEL, inputOpts.ProxyTunnel); */ #ifdef CURLOPT_MUTE curl_easy_setopt(handle, CURLOPT_MUTE, 1); #endif curl_easy_setopt(handle, CURLOPT_ERRORBUFFER, private->error); curl_easy_setopt(handle, CURLOPT_PROGRESSFUNCTION, progress_callback); curl_easy_setopt(handle, CURLOPT_PROGRESSDATA, private); curl_easy_setopt(handle, CURLOPT_NOPROGRESS, 0); curl_easy_setopt(handle, CURLOPT_USERAGENT, "ogg123/"VERSION); curl_easy_setopt(handle, CURLOPT_HTTPHEADER, private->header_list); curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1); } void *curl_thread_func (void *arg) { http_private_t *myarg = (http_private_t *) arg; CURLcode ret; sigset_t set; /* Block signals to this thread */ sigfillset (&set); sigaddset (&set, SIGINT); sigaddset (&set, SIGTSTP); sigaddset (&set, SIGCONT); if (pthread_sigmask (SIG_BLOCK, &set, NULL) != 0) status_error(_("ERROR: Could not set signal mask.")); ret = curl_easy_perform((CURL *) myarg->curl_handle); if (myarg->cancel_flag || sig_request.cancel) { buffer_abort_write(myarg->buf); ret = 0; // "error" was on purpose } else buffer_mark_eos(myarg->buf); if (ret != 0) status_error(myarg->error); curl_easy_cleanup(myarg->curl_handle); myarg->curl_handle = 0; curl_slist_free_all(myarg->header_list); myarg->header_list = NULL; return (void *) ret; } /* -------------------------- Public interface -------------------------- */ int http_can_transport (const char *source_string) { int tmp; tmp = strchr(source_string, ':') - source_string; return tmp < 10 && tmp + 2 < strlen(source_string) && !strncmp(source_string + tmp, "://", 3); } data_source_t* http_open (const char *source_string, ogg123_options_t *ogg123_opts) { data_source_t *source; http_private_t *private; /* Allocate data source structures */ source = malloc(sizeof(data_source_t)); private = malloc(sizeof(http_private_t)); if (source != NULL && private != NULL) { source->source_string = strdup(source_string); source->transport = &http_transport; source->private = private; private->buf = buffer_create (ogg123_opts->input_buffer_size, ogg123_opts->input_buffer_size * ogg123_opts->input_prebuffer / 100.0, NULL, NULL, /* No write callback, using buffer in pull mode. */ 0 /* Irrelevant */); if (private->buf == NULL) { status_error(_("ERROR: Unable to create input buffer.\n")); exit(1); } private->curl_handle = NULL; private->header_list = NULL; private->data_source = source; private->stats.transfer_rate = 0; private->stats.bytes_read = 0; private->stats.input_buffer_used = 0; private->cancel_flag = 0; } else { fprintf(stderr, _("ERROR: Out of memory.\n")); exit(1); } /* ogg123 only accepts Ogg files, and optionally FLAC as well */ #ifdef HAVE_LIBFLAC private->header_list = curl_slist_append(NULL, "Accept: application/ogg, audio/ogg, video/ogg, audio/x-flac;q=0.9"); #else private->header_list = curl_slist_append(NULL, "Accept: application/ogg, audio/ogg, video/ogg;q=0.9"); #endif if (private->header_list == NULL) goto fail; /* Open URL */ private->curl_handle = curl_easy_init(); if (private->curl_handle == NULL) goto fail; set_curl_opts(private); /* Start thread */ if (pthread_create(&private->curl_thread, NULL, curl_thread_func, private) != 0) goto fail; stat_format[2].enabled = 0; /* remaining playback time */ stat_format[3].enabled = 0; /* total playback time */ stat_format[6].enabled = 1; /* Input buffer fill % */ stat_format[7].enabled = 1; /* Input buffer state */ return source; fail: if (private->curl_handle != NULL) curl_easy_cleanup(private->curl_handle); if (private->header_list != NULL) curl_slist_free_all(private->header_list); free(source->source_string); free(private); free(source); return NULL; } int http_peek (data_source_t *source, void *ptr, size_t size, size_t nmemb) { /* http_private_t *private = source->private; int items; long start; bytes_read = buffer_get_data(data->buf, ptr, size, nmemb); private->stats.bytes_read += bytes_read; */ return 0; } int http_read (data_source_t *source, void *ptr, size_t size, size_t nmemb) { http_private_t *private = source->private; int bytes_read; if (private->cancel_flag || sig_request.cancel) return 0; bytes_read = buffer_get_data(private->buf, ptr, size * nmemb); private->stats.bytes_read += bytes_read; return bytes_read; } int http_seek (data_source_t *source, long offset, int whence) { return -1; } data_source_stats_t *http_statistics (data_source_t *source) { http_private_t *private = source->private; data_source_stats_t *data_source_stats; buffer_stats_t *buffer_stats; data_source_stats = malloc_data_source_stats(&private->stats); data_source_stats->input_buffer_used = 1; data_source_stats->transfer_rate = 0; buffer_stats = buffer_statistics(private->buf); data_source_stats->input_buffer = *buffer_stats; free(buffer_stats); return data_source_stats; } long http_tell (data_source_t *source) { return 0; } void http_close (data_source_t *source) { http_private_t *private = source->private; private->cancel_flag = 1; buffer_abort_write(private->buf); pthread_join(private->curl_thread, NULL); buffer_destroy(private->buf); private->buf = NULL; free(source->source_string); free(source->private); free(source); } transport_t http_transport = { "http", &http_can_transport, &http_open, &http_peek, &http_read, &http_seek, &http_statistics, &http_tell, &http_close }; #endif /* HAVE_CURL */ vorbis-tools-1.4.2/ogg123/compat.h0000644000175000017500000000261313774147071013554 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifndef __COMPAT_H__ #define __COMPAT_H__ #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef __sun #include #endif /* SunOS 4 does on_exit() and everything else does atexit() */ #ifdef HAVE_ATEXIT #define ATEXIT(x) (atexit(x)) #else #ifdef HAVE_ON_EXIT #define ATEXIT(x) (on_exit( (void (*)(int, void*))(x) , NULL) #else #define ATEXIT(x) #warning "Neither atexit() nor on_exit() is present. Bad things may happen when the application terminates." #endif #endif #endif vorbis-tools-1.4.2/ogg123/format.h0000644000175000017500000000477313774147573013601 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifndef __FORMAT_H__ #define __FORMAT_H__ #include "audio.h" #include "transport.h" #include "ogg123.h" typedef struct decoder_stats_t { double total_time; /* seconds */ double current_time; /* seconds */ long instant_bitrate; long avg_bitrate; } decoder_stats_t; /* Severity constants */ enum { ERROR, WARNING, INFO }; typedef struct decoder_callbacks_t { void (* printf_error) (void *arg, int severity, char *message, ...); void (* printf_metadata) (void *arg, int verbosity, char *message, ...); } decoder_callbacks_t; struct format_t; typedef struct decoder_t { data_source_t *source; audio_format_t request_fmt; audio_format_t actual_fmt; struct format_t *format; decoder_callbacks_t *callbacks; void *callback_arg; void *private; } decoder_t; /* whence constants */ #define DECODER_SEEK_NONE 0 #define DECODER_SEEK_START 1 #define DECODER_SEEK_CUR 2 typedef struct format_t { char *name; int (* can_decode) (data_source_t *source); decoder_t* (* init) (data_source_t *source, ogg123_options_t *ogg123_opts, audio_format_t *audio_fmt, decoder_callbacks_t *callbacks, void *callback_arg); int (* read) (decoder_t *decoder, void *ptr, int nbytes, int *eos, audio_format_t *audio_fmt); int (* seek) (decoder_t *decoder, double offset, int whence); decoder_stats_t* (* statistics) (decoder_t *decoder); void (* cleanup) (decoder_t *decoder); } format_t; format_t *get_format_by_name (char *name); format_t *select_format (data_source_t *source); decoder_stats_t *malloc_decoder_stats (decoder_stats_t *to_copy); #endif /* __FORMAT_H__ */ vorbis-tools-1.4.2/ogg123/cmdline_options.c0000644000175000017500000002672513774147573015473 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include "getopt.h" #include "cmdline_options.h" #include "status.h" #include "i18n.h" #define MIN_INPUT_BUFFER_SIZE 8 extern double strtotime(char *s); extern void set_seek_opt(ogg123_options_t *ogg123_opts, char *buf); struct option long_options[] = { /* GNU standard options */ {"help", no_argument, 0, 'h'}, {"version", no_argument, 0, 'V'}, /* ogg123-specific options */ {"buffer", required_argument, 0, 'b'}, {"config", optional_argument, 0, 'c'}, {"device", required_argument, 0, 'd'}, {"file", required_argument, 0, 'f'}, {"skip", required_argument, 0, 'k'}, {"end", required_argument, 0, 'K'}, {"delay", required_argument, 0, 'l'}, {"device-option", required_argument, 0, 'o'}, {"prebuffer", required_argument, 0, 'p'}, {"quiet", no_argument, 0, 'q'}, {"remote", no_argument, 0, 'R'}, {"verbose", no_argument, 0, 'v'}, {"nth", required_argument, 0, 'x'}, {"ntimes", required_argument, 0, 'y'}, {"shuffle", no_argument, 0, 'z'}, {"random", no_argument, 0, 'Z'}, {"list", required_argument, 0, '@'}, {"audio-buffer", required_argument, 0, 0}, {"repeat", no_argument, 0, 'r'}, {0, 0, 0, 0} }; int parse_cmdline_options (int argc, char **argv, ogg123_options_t *ogg123_opts, file_option_t *file_opts) { int option_index = 1; ao_option *temp_options = NULL; ao_option ** current_options = &temp_options; ao_info *info; int temp_driver_id = -1; audio_device_t *current = NULL; int ret; while (-1 != (ret = getopt_long(argc, argv, "b:c::d:f:hl:k:K:o:p:qrRvVx:y:zZ@:", long_options, &option_index))) { switch (ret) { case 0: if(!strcmp(long_options[option_index].name, "audio-buffer")) { ogg123_opts->buffer_size = 1024 * atoi(optarg); } else { status_error(_("Internal error parsing command line options.\n")); exit(1); } break; case 'b': ogg123_opts->input_buffer_size = atoi(optarg) * 1024; if (ogg123_opts->input_buffer_size < MIN_INPUT_BUFFER_SIZE * 1024) { status_error(_("Input buffer size smaller than minimum size of %dkB."), MIN_INPUT_BUFFER_SIZE); ogg123_opts->input_buffer_size = MIN_INPUT_BUFFER_SIZE * 1024; } break; case 'c': if (optarg) { char *tmp = strdup (optarg); parse_code_t pcode = parse_line(file_opts, tmp); if (pcode != parse_ok) status_error(_("=== Error \"%s\" while parsing config option from command line.\n" "=== Option was: %s\n"), parse_error_string(pcode), optarg); free (tmp); } else { /* not using the status interface here */ fprintf (stdout, _("Available options:\n")); file_options_describe(file_opts, stdout); exit (0); } break; case 'd': temp_driver_id = ao_driver_id(optarg); if (temp_driver_id < 0) { status_error(_("=== No such device %s.\n"), optarg); exit(1); } current = append_audio_device(ogg123_opts->devices, temp_driver_id, NULL, NULL); if(ogg123_opts->devices == NULL) ogg123_opts->devices = current; current_options = ¤t->options; break; case 'f': if (temp_driver_id >= 0) { info = ao_driver_info(temp_driver_id); if (info->type == AO_TYPE_FILE) { free(current->filename); current->filename = strdup(optarg); } else { status_error(_("=== Driver %s is not a file output driver.\n"), info->short_name); exit(1); } } else { status_error(_("=== Cannot specify output file without previously specifying a driver.\n")); exit (1); } break; case 'k': set_seek_opt(ogg123_opts, optarg); break; case 'K': ogg123_opts->endpos = strtotime(optarg); break; case 'l': ogg123_opts->delay = atoi(optarg); break; case 'o': if (optarg && !add_ao_option(current_options, optarg)) { status_error(_("=== Incorrect option format: %s.\n"), optarg); exit(1); } break; case 'h': cmdline_usage(); exit(0); break; case 'p': ogg123_opts->input_prebuffer = atof (optarg); if (ogg123_opts->input_prebuffer < 0.0f || ogg123_opts->input_prebuffer > 100.0f) { status_error (_("--- Prebuffer value invalid. Range is 0-100.\n")); ogg123_opts->input_prebuffer = ogg123_opts->input_prebuffer < 0.0f ? 0.0f : 100.0f; } break; case 'q': ogg123_opts->verbosity = 0; break; case 'r': ogg123_opts->repeat = 1; break; case 'R': ogg123_opts->remote = 1; ogg123_opts->verbosity = 0; break; case 'v': ogg123_opts->verbosity++; break; case 'V': status_error(_("ogg123 from %s %s"), PACKAGE, VERSION); exit(0); break; case 'x': ogg123_opts->nth = atoi(optarg); if (ogg123_opts->nth == 0) { status_error(_("--- Cannot play every 0th chunk!\n")); ogg123_opts->nth = 1; } break; case 'y': ogg123_opts->ntimes = atoi(optarg); if (ogg123_opts->ntimes == 0) { status_error(_("--- Cannot play every chunk 0 times.\n" "--- To do a test decode, use the null output driver.\n")); ogg123_opts->ntimes = 1; } break; case 'z': ogg123_opts->shuffle = 1; break; case 'Z': ogg123_opts->repeat = ogg123_opts->shuffle = 1; break; case '@': if (playlist_append_from_file(ogg123_opts->playlist, optarg) == 0) status_error(_("--- Cannot open playlist file %s. Skipped.\n"), optarg); break; case '?': break; default: cmdline_usage(); exit(1); } } /* Sanity check bad option combinations */ if (ogg123_opts->endpos > 0.0 && ogg123_opts->seekoff > ogg123_opts->endpos) { status_error(_("=== Option conflict: End time is before start time.\n")); exit(1); } /* Add last device to device list or use the default device */ if (temp_driver_id < 0) { /* First try config file setting */ if (ogg123_opts->default_device) { temp_driver_id = ao_driver_id(ogg123_opts->default_device); if (temp_driver_id < 0) status_error(_("--- Driver %s specified in configuration file invalid.\n"), ogg123_opts->default_device); } /* Then try libao autodetect */ if (temp_driver_id < 0) temp_driver_id = ao_default_driver_id(); /* Finally, give up */ if (temp_driver_id < 0) { status_error(_("=== Could not load default driver and no driver specified in config file. Exiting.\n")); exit(1); } ogg123_opts->devices = append_audio_device(ogg123_opts->devices, temp_driver_id, temp_options, NULL); } /* if verbosity has been altered, add options to drivers... */ { audio_device_t *head = ogg123_opts->devices; while (head){ if(ogg123_opts->verbosity>3) ao_append_global_option("debug",NULL); if(ogg123_opts->verbosity>2) ao_append_option(&(head->options),"verbose",NULL); if(ogg123_opts->verbosity==0) ao_append_option(&(head->options),"quiet",NULL); head = head->next_device; } } return optind; } #define LIST_SEP(x) ((x)==0?' ':',') void cmdline_usage (void) { int i, j, driver_count; ao_info **devices = ao_driver_info_list(&driver_count); printf (_("ogg123 from %s %s\n" " by the Xiph.Org Foundation (https://www.xiph.org/)\n"), PACKAGE, VERSION); printf (_(" using decoder %s.\n\n"), vorbis_version_string()); printf (_("Usage: ogg123 [options] file ...\n" "Play Ogg audio files and network streams.\n\n")); printf (_("Available codecs: ")); #ifdef HAVE_LIBFLAC printf (_("FLAC, ")); #endif #ifdef HAVE_LIBSPEEX printf (_("Speex, ")); #endif #ifdef HAVE_LIBOPUSFILE printf (_("Opus, ")); #endif printf (_("Ogg Vorbis.\n\n")); printf (_("Output options\n")); printf (_(" -d dev, --device dev Use output device \"dev\". Available devices:\n")); printf (" "); printf (_("Live:")); for(i = 0, j = 0; i < driver_count; i++) { if (devices[i]->type == AO_TYPE_LIVE) { printf ("%c %s", LIST_SEP(j), devices[i]->short_name); j++; } } printf ("\n "); printf (_("File:")); for(i = 0, j = 0; i < driver_count; i++) { if (devices[i]->type == AO_TYPE_FILE) { printf ("%c %s", LIST_SEP(j), devices[i]->short_name); j++; } } printf ("\n\n"); printf (_(" -f file, --file file Set the output filename for a file device\n" " previously specified with --device.\n")); printf ("\n"); printf (_(" --audio-buffer n Use an output audio buffer of 'n' kilobytes\n")); printf (_(" -o k:v, --device-option k:v\n" " Pass special option 'k' with value 'v' to the\n" " device previously specified with --device. See\n" " the ogg123 man page for available device options.\n")); printf ("\n"); printf (_("Playlist options\n")); printf (_(" -@ file, --list file Read playlist of files and URLs from \"file\"\n")); printf (_(" -r, --repeat Repeat playlist indefinitely\n")); printf (_(" -R, --remote Use remote control interface\n")); printf (_(" -z, --shuffle Shuffle list of files before playing\n")); printf (_(" -Z, --random Play files randomly until interrupted\n")); printf ("\n"); printf (_("Input options\n")); printf (_(" -b n, --buffer n Use an input buffer of 'n' kilobytes\n")); printf (_(" -p n, --prebuffer n Load n%% of the input buffer before playing\n")); printf ("\n"); printf (_("Decode options\n")); printf (_(" -k n, --skip n Skip the first 'n' seconds (or hh:mm:ss format)\n")); printf (_(" -K n, --end n End at 'n' seconds (or hh:mm:ss format)\n")); printf (_(" -x n, --nth n Play every 'n'th block\n")); printf (_(" -y n, --ntimes n Repeat every played block 'n' times\n")); printf ("\n"); printf (_("Miscellaneous options\n")); printf (_(" -l s, --delay s Set termination timeout in milliseconds. ogg123\n" " will skip to the next song on SIGINT (Ctrl-C),\n" " and will terminate if two SIGINTs are received\n" " within the specified timeout 's'. (default 500)\n")); printf ("\n"); printf (_(" -h, --help Display this help\n")); printf (_(" -q, --quiet Don't display anything (no title)\n")); printf (_(" -v, --verbose Display progress and other status information\n")); printf (_(" -V, --version Display ogg123 version\n")); printf ("\n"); } vorbis-tools-1.4.2/ogg123/status.h0000644000175000017500000000463713774147573013633 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifndef __STATUS_H__ #define __STATUS_H__ #include #include "buffer.h" #include "transport.h" #include "format.h" typedef struct { int verbosity; char enabled; const char *formatstr; enum { stat_noarg = 0, stat_intarg, stat_stringarg, stat_floatarg, stat_doublearg } type; union { int intarg; char *stringarg; float floatarg; double doublearg; } arg; } stat_format_t; /* Status options: * stats[0] - currently playing file / stream * stats[1] - current playback time * stats[2] - remaining playback time * stats[3] - total playback time * stats[4] - instantaneous bitrate * stats[5] - average bitrate (not yet implemented) * stats[6] - input buffer fill % * stats[7] - input buffer state * stats[8] - output buffer fill % * stats[9] - output buffer state * stats[10] - Null format string to mark end of array */ stat_format_t *stat_format_create (); void stat_format_cleanup (stat_format_t *stats); void status_init (int verbosity); void status_deinit (); void status_reset_output_lock (); void status_clear_line (); void status_print_statistics (stat_format_t *stats, buffer_stats_t *audio_statistics, data_source_stats_t *data_source_statistics, decoder_stats_t *decoder_statistics); void status_message (int verbosity, const char *fmt, ...); void vstatus_message (int verbosity, const char *fmt, va_list ap); void status_error (const char *fmt, ...); void vstatus_error (const char *fmt, va_list); #endif /* __STATUS_H__ */ vorbis-tools-1.4.2/ogg123/oggvorbis_format.c0000644000175000017500000002326313774147573015650 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2003 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include "transport.h" #include "format.h" #include "vorbis_comments.h" #include "utf8.h" #include "i18n.h" #ifdef HAVE_OV_READ_FILTER #include "vgfilter.h" #endif typedef struct ovf_private_t { OggVorbis_File vf; vorbis_comment *vc; vorbis_info *vi; int current_section; int bos; /* At beginning of logical bitstream */ decoder_stats_t stats; #ifdef HAVE_OV_READ_FILTER vgain_state vg; #endif } ovf_private_t; /* Forward declarations */ format_t oggvorbis_format; ov_callbacks vorbisfile_callbacks; void print_vorbis_stream_info (decoder_t *decoder); void print_vorbis_comments (vorbis_comment *vc, decoder_callbacks_t *cb, void *callback_arg); /* ----------------------------------------------------------- */ int ovf_can_decode (data_source_t *source) { return 1; /* The file transport is tested last, so always try it */ } decoder_t* ovf_init (data_source_t *source, ogg123_options_t *ogg123_opts, audio_format_t *audio_fmt, decoder_callbacks_t *callbacks, void *callback_arg) { decoder_t *decoder; ovf_private_t *private; int ret; /* Allocate data source structures */ decoder = malloc(sizeof(decoder_t)); private = malloc(sizeof(ovf_private_t)); if (decoder != NULL && private != NULL) { decoder->source = source; decoder->actual_fmt = decoder->request_fmt = *audio_fmt; decoder->format = &oggvorbis_format; decoder->callbacks = callbacks; decoder->callback_arg = callback_arg; decoder->private = private; private->bos = 1; private->current_section = -1; private->stats.total_time = 0.0; private->stats.current_time = 0.0; private->stats.instant_bitrate = 0; private->stats.avg_bitrate = 0; #ifdef HAVE_OV_READ_FILTER private->vg.scale_factor = 1.0; private->vg.max_scale = 1.0; #endif } else { fprintf(stderr, _("ERROR: Out of memory.\n")); exit(1); } /* Initialize vorbisfile decoder */ ret = ov_open_callbacks (decoder, &private->vf, NULL, 0, vorbisfile_callbacks); if (ret < 0) { free(private); /* free(source); nope. caller frees. */ return NULL; } return decoder; } int ovf_read (decoder_t *decoder, void *ptr, int nbytes, int *eos, audio_format_t *audio_fmt) { ovf_private_t *priv = decoder->private; decoder_callbacks_t *cb = decoder->callbacks; int bytes_read = 0; int ret; int old_section; /* Read comments and audio info at the start of a logical bitstream */ if (priv->bos) { priv->vc = ov_comment(&priv->vf, -1); priv->vi = ov_info(&priv->vf, -1); decoder->actual_fmt.rate = priv->vi->rate; decoder->actual_fmt.channels = priv->vi->channels; switch(decoder->actual_fmt.channels){ case 1: decoder->actual_fmt.matrix="M"; break; case 2: decoder->actual_fmt.matrix="L,R"; break; case 3: decoder->actual_fmt.matrix="L,C,R"; break; case 4: decoder->actual_fmt.matrix="L,R,BL,BR"; break; case 5: decoder->actual_fmt.matrix="L,C,R,BL,BR"; break; case 6: decoder->actual_fmt.matrix="L,C,R,BL,BR,LFE"; break; case 7: decoder->actual_fmt.matrix="L,C,R,SL,SR,BC,LFE"; break; case 8: decoder->actual_fmt.matrix="L,C,R,SL,SR,BL,BR,LFE"; break; default: decoder->actual_fmt.matrix=NULL; break; } #ifdef HAVE_OV_READ_FILTER vg_init(&priv->vg, priv->vc); #endif print_vorbis_stream_info(decoder); print_vorbis_comments(priv->vc, cb, decoder->callback_arg); priv->bos = 0; } *audio_fmt = decoder->actual_fmt; /* Attempt to read as much audio as is requested */ while (nbytes >= audio_fmt->word_size * audio_fmt->channels) { old_section = priv->current_section; #ifdef HAVE_OV_READ_FILTER ret = ov_read_filter(&priv->vf, ptr, nbytes, audio_fmt->big_endian, audio_fmt->word_size, audio_fmt->signed_sample, &priv->current_section, vg_filter, &priv->vg); #else ret = ov_read(&priv->vf, ptr, nbytes, audio_fmt->big_endian, audio_fmt->word_size, audio_fmt->signed_sample, &priv->current_section); #endif if (ret == 0) { /* EOF */ *eos = 1; break; } else if (ret == OV_HOLE) { if (cb->printf_error != NULL) cb->printf_error(decoder->callback_arg, INFO, _("--- Hole in the stream; probably harmless\n")); } else if (ret < 0) { if (cb->printf_error != NULL) cb->printf_error(decoder->callback_arg, ERROR, _("=== Vorbis library reported a stream error.\n")); /* EOF */ *eos = 1; break; } else { bytes_read += ret; ptr = (void *)((unsigned char *)ptr + ret); nbytes -= ret; /* did we enter a new logical bitstream? */ if (old_section != priv->current_section && old_section != -1) { *eos = 1; priv->bos = 1; /* Read new headers next time through */ break; } } } return bytes_read; } int ovf_seek (decoder_t *decoder, double offset, int whence) { ovf_private_t *priv = decoder->private; int ret; double cur; if (whence == DECODER_SEEK_CUR) { cur = ov_time_tell(&priv->vf); if (cur >= 0.0) offset += cur; else return 0; } ret = ov_time_seek(&priv->vf, offset); if (ret == 0) return 1; else return 0; } decoder_stats_t *ovf_statistics (decoder_t *decoder) { ovf_private_t *priv = decoder->private; long instant_bitrate; long avg_bitrate; /* ov_time_tell() doesn't work on non-seekable streams, so we use ov_pcm_tell() */ priv->stats.total_time = (double) ov_pcm_total(&priv->vf, -1) / (double) decoder->actual_fmt.rate; priv->stats.current_time = (double) ov_pcm_tell(&priv->vf) / (double) decoder->actual_fmt.rate; /* vorbisfile returns 0 when no bitrate change has occurred */ instant_bitrate = ov_bitrate_instant(&priv->vf); if (instant_bitrate > 0) priv->stats.instant_bitrate = instant_bitrate; avg_bitrate = ov_bitrate(&priv->vf, priv->current_section); /* Catch error case caused by non-seekable stream */ priv->stats.avg_bitrate = avg_bitrate > 0 ? avg_bitrate : 0; return malloc_decoder_stats(&priv->stats); } void ovf_cleanup (decoder_t *decoder) { ovf_private_t *priv = decoder->private; ov_clear(&priv->vf); free(decoder->private); free(decoder); } format_t oggvorbis_format = { "oggvorbis", &ovf_can_decode, &ovf_init, &ovf_read, &ovf_seek, &ovf_statistics, &ovf_cleanup, }; /* ------------------- Vorbisfile Callbacks ----------------- */ size_t vorbisfile_cb_read (void *ptr, size_t size, size_t nmemb, void *arg) { decoder_t *decoder = arg; return decoder->source->transport->read(decoder->source, ptr, size, nmemb); } int vorbisfile_cb_seek (void *arg, ogg_int64_t offset, int whence) { decoder_t *decoder = arg; return decoder->source->transport->seek(decoder->source, offset, whence); } int vorbisfile_cb_close (void *arg) { return 1; /* Ignore close request so transport can be closed later */ } long vorbisfile_cb_tell (void *arg) { decoder_t *decoder = arg; return decoder->source->transport->tell(decoder->source); } ov_callbacks vorbisfile_callbacks = { &vorbisfile_cb_read, &vorbisfile_cb_seek, &vorbisfile_cb_close, &vorbisfile_cb_tell }; /* ------------------- Private functions -------------------- */ void print_vorbis_stream_info (decoder_t *decoder) { ovf_private_t *priv = decoder->private; decoder_callbacks_t *cb = decoder->callbacks; if (cb == NULL || cb->printf_metadata == NULL) return; cb->printf_metadata(decoder->callback_arg, 2, _("Ogg Vorbis stream: %d channel, %ld Hz"), priv->vi->channels, priv->vi->rate); cb->printf_metadata(decoder->callback_arg, 3, _("Vorbis format: Version %d"), priv->vi->version); cb->printf_metadata(decoder->callback_arg, 3, _("Bitrate hints: upper=%ld nominal=%ld lower=%ld " "window=%ld"), priv->vi->bitrate_upper, priv->vi->bitrate_nominal, priv->vi->bitrate_lower, priv->vi->bitrate_window); cb->printf_metadata(decoder->callback_arg, 3, _("Encoded by: %s"), priv->vc->vendor); } void print_vorbis_comments (vorbis_comment *vc, decoder_callbacks_t *cb, void *callback_arg) { int i; char *temp = NULL; int temp_len = 0; for (i = 0; i < vc->comments; i++) { /* Gotta null terminate these things */ if (temp_len < vc->comment_lengths[i] + 1) { temp_len = vc->comment_lengths[i] + 1; temp = realloc(temp, sizeof(char) * temp_len); } strncpy(temp, vc->user_comments[i], vc->comment_lengths[i]); temp[vc->comment_lengths[i]] = '\0'; print_vorbis_comment(temp, cb, callback_arg); } free(temp); } vorbis-tools-1.4.2/ogg123/ogg123.h0000644000175000017500000000454413774147071013300 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifndef __OGG123_H__ #define __OGG123_H__ #include #include "audio.h" #include "playlist.h" typedef struct ogg123_options_t { int verbosity; /* Verbose output if > 1, quiet if 0 */ int shuffle; /* Should we shuffle playing? */ int repeat; /* Repeat playlist indefinitely? */ ogg_int64_t delay; /* delay (in millisecs) for skip to next song */ int nth; /* Play every nth chunk */ int ntimes; /* Play every chunk n times */ double seekoff; /* Offset to seek to */ double endpos; /* Position in file to play to (greater than seekpos) */ int seekmode; /* DECODER_SEEK_[NONE | START | CUR */ long buffer_size; /* Size of audio buffer */ float prebuffer; /* Percent of buffer to fill before playing */ long input_buffer_size; /* Size of input audio buffer */ float input_prebuffer; char *default_device; /* Name of default driver to use */ audio_device_t *devices; /* Audio devices to use */ double status_freq; /* Number of status updates per second */ int remote; /* Remotely controlled */ playlist_t *playlist; /* List of files to play */ } ogg123_options_t; typedef struct signal_request_t { int cancel; int skipfile; int exit; int pause; ogg_int64_t last_ctrl_c; } signal_request_t; #endif /* __OGG123_H__ */ vorbis-tools-1.4.2/ogg123/status.c0000644000175000017500000002734413774147573013626 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #ifdef HAVE_UNISTD_H #include #include #endif #ifdef HAVE_FCNTL_H #include #endif #include "status.h" #include "i18n.h" char temp_buffer[200]; int last_line_len = 0; int max_verbosity = 0; int exit_status = EXIT_SUCCESS; pthread_mutex_t output_lock = PTHREAD_MUTEX_INITIALIZER; /* ------------------- Private functions ------------------ */ void unlock_output_lock (void *arg) { pthread_mutex_unlock(&output_lock); } void write_buffer_state_string (char *dest, buffer_stats_t *buf_stats) { char *cur = dest; char *comma = ", "; char *sep = "("; if (buf_stats->prebuffering) { cur += sprintf (cur, _("%sPrebuf to %.1f%%"), sep, 100.0f * buf_stats->prebuffer_fill); sep = comma; } if (buf_stats->paused) { cur += sprintf (cur, _("%sPaused"), sep); sep = comma; } if (buf_stats->eos) { cur += sprintf (cur, _("%sEOS"), sep); sep = comma; } if (cur != dest) cur += sprintf (cur, ")"); else *cur = '\0'; } /* Write a min:sec.msec style string to dest corresponding to time. The time parameter is in seconds. Returns the number of characters written */ int write_time_string (char *dest, double time) { long min = (long) time / (long) 60; double sec = time - 60.0f * min; return sprintf (dest, "%02li:%05.2f", min, sec); } void clear_line (int len) { fputc('\r', stderr); while (len > 0) { fputc (' ', stderr); len--; } fputc ('\r', stderr); } int sprintf_clear_line(int len, char *buf) { int i = 0; buf[i] = '\r'; i++; while (len > 0) { buf[i] = ' '; len--; i++; } buf[i] = '\r'; i++; /* Null terminate just in case */ buf[i] = '\0'; return i; } int print_statistics_line (stat_format_t stats[]) { int len = 0; char *str = temp_buffer; if (max_verbosity == 0) return 0; /* Put the clear line text into the same string buffer so that the line is cleared and redrawn all at once. This reduces flickering. Don't count characters used to clear line in len */ str += sprintf_clear_line(last_line_len, str); while (stats->formatstr != NULL) { if (stats->verbosity > max_verbosity || !stats->enabled) { stats++; continue; } if (len != 0) len += sprintf(str+len, " "); switch (stats->type) { case stat_noarg: len += sprintf(str+len, "%s", stats->formatstr); break; case stat_intarg: len += sprintf(str+len, stats->formatstr, stats->arg.intarg); break; case stat_stringarg: len += sprintf(str+len, stats->formatstr, stats->arg.stringarg); break; case stat_floatarg: len += sprintf(str+len, stats->formatstr, stats->arg.floatarg); break; case stat_doublearg: len += sprintf(str+len, stats->formatstr, stats->arg.doublearg); break; } stats++; } #ifdef HAVE_UNISTD_H /* If the line would break in the console, truncate it to avoid the break, and indicate the truncation by adding points of ellipsis */ struct winsize max; int ioctlError = ioctl(STDERR_FILENO, TIOCGWINSZ, &max); if (!ioctlError) { const int limit = max.ws_col - 1; if (len > limit) { int pointsStart = limit - 3; if (pointsStart < 0) { pointsStart = 0; } int position; for (position = pointsStart; position < limit; position++) { str[position] = '.'; } str[position] = 0; len = position; } } #endif len += sprintf(str+len, "\r"); fprintf(stderr, "%s", temp_buffer); return len; } void vstatus_print_nolock (const char *fmt, va_list ap) { if (last_line_len != 0) fputc ('\n', stderr); vfprintf (stderr, fmt, ap); fputc ('\n', stderr); last_line_len = 0; } /* ------------------- Public interface -------------------- */ #define TIME_STR_SIZE 20 #define STATE_STR_SIZE 25 #define NUM_STATS 10 stat_format_t *stat_format_create () { stat_format_t *stats; stat_format_t *cur; stats = calloc(NUM_STATS + 1, sizeof(stat_format_t)); /* One extra for end flag */ if (stats == NULL) { fprintf(stderr, _("Memory allocation error in stats_init()\n")); exit(1); } cur = stats + 0; /* currently playing file / stream */ cur->verbosity = 3; cur->enabled = 0; cur->formatstr = _("File: %s"); cur->type = stat_stringarg; cur = stats + 1; /* current playback time (preformatted) */ cur->verbosity = 1; cur->enabled = 1; cur->formatstr = _("Time: %s"); cur->type = stat_stringarg; cur->arg.stringarg = calloc(TIME_STR_SIZE, sizeof(char)); if (cur->arg.stringarg == NULL) { fprintf(stderr, _("Memory allocation error in stats_init()\n")); exit(1); } write_time_string(cur->arg.stringarg, 0.0); cur = stats + 2; /* remaining playback time (preformatted) */ cur->verbosity = 1; cur->enabled = 1; cur->formatstr = "[%s]"; cur->type = stat_stringarg; cur->arg.stringarg = calloc(TIME_STR_SIZE, sizeof(char)); if (cur->arg.stringarg == NULL) { fprintf(stderr, _("Memory allocation error in stats_init()\n")); exit(1); } write_time_string(cur->arg.stringarg, 0.0); cur = stats + 3; /* total playback time (preformatted) */ cur->verbosity = 1; cur->enabled = 1; cur->formatstr = _("of %s"); cur->type = stat_stringarg; cur->arg.stringarg = calloc(TIME_STR_SIZE, sizeof(char)); if (cur->arg.stringarg == NULL) { fprintf(stderr, _("Memory allocation error in stats_init()\n")); exit(1); } write_time_string(cur->arg.stringarg, 0.0); cur = stats + 4; /* instantaneous bitrate */ cur->verbosity = 2; cur->enabled = 1; cur->formatstr = " (%5.1f kbps)"; cur->type = stat_doublearg; cur = stats + 5; /* average bitrate (not yet implemented) */ cur->verbosity = 2; cur->enabled = 0; cur->formatstr = _("Avg bitrate: %5.1f"); cur->type = stat_doublearg; cur = stats + 6; /* input buffer fill % */ cur->verbosity = 2; cur->enabled = 0; cur->formatstr = _(" Input Buffer %5.1f%%"); cur->type = stat_doublearg; cur = stats + 7; /* input buffer status */ cur->verbosity = 2; cur->enabled = 0; cur->formatstr = "%s"; cur->type = stat_stringarg; cur->arg.stringarg = calloc(STATE_STR_SIZE, sizeof(char)); if (cur->arg.stringarg == NULL) { fprintf(stderr, _("Memory allocation error in stats_init()\n")); exit(1); } cur = stats + 8; /* output buffer fill % */ cur->verbosity = 2; cur->enabled = 0; cur->formatstr = _(" Output Buffer %5.1f%%"); cur->type = stat_doublearg; cur = stats + 9; /* output buffer status */ cur->verbosity = 1; cur->enabled = 0; cur->formatstr = "%s"; cur->type = stat_stringarg; cur->arg.stringarg = calloc(STATE_STR_SIZE, sizeof(char)); if (cur->arg.stringarg == NULL) { fprintf(stderr, _("Memory allocation error in stats_init()\n")); exit(1); } cur = stats + 10; /* End flag */ cur->formatstr = NULL; return stats; } void stat_format_cleanup (stat_format_t *stats) { free(stats[1].arg.stringarg); free(stats[2].arg.stringarg); free(stats[3].arg.stringarg); free(stats[7].arg.stringarg); free(stats[9].arg.stringarg); free(stats); } void status_init (int verbosity) { #if defined(HAVE_FCNTL) && defined(HAVE_UNISTD_H) fcntl (STDERR_FILENO, F_SETFL, fcntl(STDERR_FILENO, F_GETFL) | O_NONBLOCK); #endif max_verbosity = verbosity; } void status_deinit () { #if defined(HAVE_FCNTL) && defined(HAVE_UNISTD_H) fcntl (STDERR_FILENO, F_SETFL, fcntl(STDERR_FILENO, F_GETFL) & ~O_NONBLOCK); #endif } void status_reset_output_lock () { pthread_mutex_unlock(&output_lock); } void status_clear_line () { pthread_cleanup_push(unlock_output_lock, NULL); pthread_mutex_lock(&output_lock); clear_line(last_line_len); pthread_mutex_unlock(&output_lock); pthread_cleanup_pop(0); } void status_print_statistics (stat_format_t *stats, buffer_stats_t *audio_statistics, data_source_stats_t *transport_statistics, decoder_stats_t *decoder_statistics) { pthread_cleanup_push(unlock_output_lock, NULL); /* Updating statistics is not critical. If another thread is already doing output, we skip it. */ if (pthread_mutex_trylock(&output_lock) == 0) { if (decoder_statistics != NULL) { /* Current playback time */ write_time_string(stats[1].arg.stringarg, decoder_statistics->current_time); /* Remaining playback time */ write_time_string(stats[2].arg.stringarg, decoder_statistics->total_time - decoder_statistics->current_time); /* Total playback time */ write_time_string(stats[3].arg.stringarg, decoder_statistics->total_time); /* Instantaneous bitrate */ stats[4].arg.doublearg = decoder_statistics->instant_bitrate / 1000.0f; /* Instantaneous bitrate */ stats[5].arg.doublearg = decoder_statistics->avg_bitrate / 1000.0f; } if (transport_statistics != NULL && transport_statistics->input_buffer_used) { /* Input buffer fill % */ stats[6].arg.doublearg = transport_statistics->input_buffer.fill; /* Input buffer state */ write_buffer_state_string(stats[7].arg.stringarg, &transport_statistics->input_buffer); } if (audio_statistics != NULL) { /* Output buffer fill % */ stats[8].arg.doublearg = audio_statistics->fill; /* Output buffer state */ write_buffer_state_string(stats[9].arg.stringarg, audio_statistics); } last_line_len = print_statistics_line(stats); pthread_mutex_unlock(&output_lock); } pthread_cleanup_pop(0); } void status_message (int verbosity, const char *fmt, ...) { va_list ap; if (verbosity > max_verbosity) return; pthread_cleanup_push(unlock_output_lock, NULL); pthread_mutex_lock(&output_lock); clear_line(last_line_len); va_start (ap, fmt); vstatus_print_nolock(fmt, ap); va_end (ap); pthread_mutex_unlock(&output_lock); pthread_cleanup_pop(0); } void vstatus_message (int verbosity, const char *fmt, va_list ap) { if (verbosity > max_verbosity) return; pthread_cleanup_push(unlock_output_lock, NULL); pthread_mutex_lock(&output_lock); clear_line(last_line_len); vstatus_print_nolock(fmt, ap); pthread_mutex_unlock(&output_lock); pthread_cleanup_pop(0); } void status_error (const char *fmt, ...) { va_list ap; pthread_cleanup_push(unlock_output_lock, NULL); pthread_mutex_lock(&output_lock); va_start (ap, fmt); clear_line(last_line_len); vstatus_print_nolock (fmt, ap); va_end (ap); pthread_mutex_unlock(&output_lock); pthread_cleanup_pop(0); exit_status = EXIT_FAILURE; } void vstatus_error (const char *fmt, va_list ap) { pthread_cleanup_push(unlock_output_lock, NULL); pthread_mutex_lock(&output_lock); clear_line(last_line_len); vstatus_print_nolock (fmt, ap); pthread_mutex_unlock(&output_lock); pthread_cleanup_pop(0); exit_status = EXIT_FAILURE; } vorbis-tools-1.4.2/ogg123/ogg123.c0000644000175000017500000004752213774327267013305 00000000000000/* ogg123.c by Kenneth Arnold */ /* Maintained by Stan Seibert , Monty */ /******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2005 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include "audio.h" #include "buffer.h" #include "callbacks.h" #include "cfgfile_options.h" #include "cmdline_options.h" #include "format.h" #include "transport.h" #include "status.h" #include "playlist.h" #include "compat.h" #include "remote.h" #include "ogg123.h" #include "i18n.h" extern int exit_status; /* from status.c */ void play (const char *source_string); #define PRIMAGIC (2*2*2*2*3*3*3*5*7) /* take buffer out of the data segment, not the stack */ #define AUDIO_CHUNK_SIZE ((16384 + PRIMAGIC - 1)/ PRIMAGIC * PRIMAGIC) static unsigned char convbuffer[AUDIO_CHUNK_SIZE]; static int convsize = AUDIO_CHUNK_SIZE; ogg123_options_t options; stat_format_t *stat_format; static buf_t *audio_buffer=NULL; static audio_play_arg_t audio_play_arg; /* ------------------------- config file options -------------------------- */ /* This macro is used to create some dummy variables to hold default values for the options. */ #define INIT(type, value) static type type##_##value = value INIT(int, 0); file_option_t file_opts[] = { /* found, name, description, type, ptr, default */ {0, "default_device", N_("default output device"), opt_type_string, &options.default_device, NULL}, {0, "shuffle", N_("shuffle playlist"), opt_type_bool, &options.shuffle, &int_0}, {0, "repeat", N_("repeat playlist forever"), opt_type_bool, &options.repeat, &int_0}, {0, NULL, NULL, 0, NULL, NULL} }; /* Flags set by the signal handler to control the threads */ signal_request_t sig_request = {0, 0, 0, 0, 0}; /* ------------------------------- signal handler ------------------------- */ void signal_handler (int signo) { struct timeval tv; ogg_int64_t now; switch (signo) { case SIGINT: gettimeofday(&tv, 0); /* Units of milliseconds (need the cast to force 64 arithmetics) */ now = (ogg_int64_t) tv.tv_sec * 1000 + tv.tv_usec / 1000; if ( (now - sig_request.last_ctrl_c) <= options.delay) sig_request.exit = 1; else sig_request.skipfile = 1; sig_request.cancel = 1; sig_request.last_ctrl_c = now; break; case SIGTERM: sig_request.exit = 1; break; case SIGTSTP: sig_request.pause = 1; /* buffer_Pause (Options.outputOpts.buffer); buffer_WaitForPaused (Options.outputOpts.buffer); } if (Options.outputOpts.devicesOpen == 0) { close_audio_devices (Options.outputOpts.devices); Options.outputOpts.devicesOpen = 0; } */ /* open_audio_devices(); if (Options.outputOpts.buffer) { buffer_Unpause (Options.outputOpts.buffer); } */ break; case SIGCONT: break; /* Don't need to do anything special to resume */ } } /* -------------------------- util functions ---------------------------- */ void options_init (ogg123_options_t *opts) { opts->verbosity = 2; opts->shuffle = 0; opts->delay = 500; opts->nth = 1; opts->ntimes = 1; opts->seekoff = 0.0; opts->endpos = -1.0; /* Mark as unset */ opts->seekmode = DECODER_SEEK_NONE; opts->buffer_size = 128 * 1024; opts->prebuffer = 0.0f; opts->input_buffer_size = 64 * 1024; opts->input_prebuffer = 50.0f; opts->default_device = NULL; opts->status_freq = 10.0; opts->playlist = NULL; opts->remote = 0; opts->repeat = 0; } double strtotime(char *s) { double time; time = strtod(s, &s); while (*s == ':') time = 60 * time + strtod(s + 1, &s); return time; } void set_seek_opt(ogg123_options_t *ogg123_opts, char *buf) { char *b = buf; /* skip spaces */ while (*b && (*b == ' ')) b++; if (*b == '-') { /* relative seek back */ ogg123_opts->seekoff = -1 * strtotime(b+1); ogg123_opts->seekmode = DECODER_SEEK_CUR; } else if (*b == '+') { /* relative seek forward */ ogg123_opts->seekoff = strtotime(b+1); ogg123_opts->seekmode = DECODER_SEEK_CUR; } else { /* absolute seek */ ogg123_opts->seekoff = strtotime(b); ogg123_opts->seekmode = DECODER_SEEK_START; } } int handle_seek_opt(ogg123_options_t *options, decoder_t *decoder, format_t *format) { float pos=decoder->format->statistics(decoder)->current_time; /* this functions handles a seek request. It prevents seeking out of band, i.e. before the beginning or after the end. Instead, it seeks to the start or near-end resp. */ if (options->seekmode != DECODER_SEEK_NONE) { if (options->seekmode == DECODER_SEEK_START) { pos = options->seekoff; } else { pos += options->seekoff; } if (pos < 0) { pos = 0; } if (pos > decoder->format->statistics(decoder)->total_time) { /* seek to almost the end of the stream */ pos = decoder->format->statistics(decoder)->total_time - 0.01; } if (!format->seek(decoder, pos, DECODER_SEEK_START)) { status_error(_("Could not skip to %f in audio stream."), options->seekoff); #if 0 /* Handle this fatally -- kill the audio thread */ if (audio_buffer != NULL) buffer_thread_kill(audio_buffer); #endif } } options->seekmode = DECODER_SEEK_NONE; return 1; } /* This function selects which statistics to display for our particular configuration. This does not have anything to do with verbosity, but rather with which stats make sense to display. */ void select_stats (stat_format_t *stats, ogg123_options_t *opts, data_source_t *source, decoder_t *decoder, buf_t *audio_buffer) { data_source_stats_t *data_source_stats; if (audio_buffer != NULL) { /* Turn on output buffer stats */ stats[8].enabled = 1; /* Fill */ stats[9].enabled = 1; /* State */ } else { stats[8].enabled = 0; stats[9].enabled = 0; } data_source_stats = source->transport->statistics(source); if (data_source_stats->input_buffer_used) { /* Turn on input buffer stats */ stats[6].enabled = 1; /* Fill */ stats[7].enabled = 1; /* State */ } else { stats[6].enabled = 0; stats[7].enabled = 0; } free(data_source_stats); /* Assume we need total time display, and let display_statistics() determine at what point it should be turned off during playback */ stats[2].enabled = 1; /* Remaining playback time */ stats[3].enabled = 1; /* Total playback time */ } /* Handles printing statistics depending upon whether or not we have buffering going on */ void display_statistics (stat_format_t *stat_format, buf_t *audio_buffer, data_source_t *source, decoder_t *decoder) { print_statistics_arg_t *pstats_arg; buffer_stats_t *buffer_stats; pstats_arg = new_print_statistics_arg(stat_format, source->transport->statistics(source), decoder->format->statistics(decoder)); if (options.remote) { /* Display statistics via the remote interface */ remote_time(pstats_arg->decoder_statistics->current_time, pstats_arg->decoder_statistics->total_time); } else { /* Disable/Enable statistics as needed */ if (pstats_arg->decoder_statistics->total_time < pstats_arg->decoder_statistics->current_time) { stat_format[2].enabled = 0; /* Remaining playback time */ stat_format[3].enabled = 0; /* Total playback time */ } if (pstats_arg->data_source_statistics->input_buffer_used) { stat_format[6].enabled = 1; /* Input buffer fill % */ stat_format[7].enabled = 1; /* Input buffer state */ } if (audio_buffer) { /* Place a status update into the buffer */ buffer_append_action_at_end(audio_buffer, &print_statistics_action, pstats_arg); /* And if we are not playing right now, do an immediate update just the output buffer */ buffer_stats = buffer_statistics(audio_buffer); if (buffer_stats->paused || buffer_stats->prebuffering) { pstats_arg = new_print_statistics_arg(stat_format, NULL, NULL); print_statistics_action(audio_buffer, pstats_arg); } free(buffer_stats); } else print_statistics_action(NULL, pstats_arg); } } void display_statistics_quick (stat_format_t *stat_format, buf_t *audio_buffer, data_source_t *source, decoder_t *decoder) { print_statistics_arg_t *pstats_arg; pstats_arg = new_print_statistics_arg(stat_format, source->transport->statistics(source), decoder->format->statistics(decoder)); if (audio_buffer) { print_statistics_action(audio_buffer, pstats_arg); } else print_statistics_action(NULL, pstats_arg); } double current_time (decoder_t *decoder) { decoder_stats_t *stats; double ret; stats = decoder->format->statistics(decoder); ret = stats->current_time; free(stats); return ret; } void print_audio_devices_info(audio_device_t *d) { ao_info *info; while (d != NULL) { info = ao_driver_info(d->driver_id); status_message(2, _("\nAudio Device: %s"), info->name); status_message(3, _("Author: %s"), info->author); status_message(3, _("Comments: %s"), info->comment); status_message(2, ""); d = d->next_device; } } /* --------------------------- main code -------------------------------- */ int main(int argc, char **argv) { int optind; char **playlist_array; int items; struct stat stat_buf; int i; setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); ao_initialize(); stat_format = stat_format_create(); options_init(&options); file_options_init(file_opts); parse_std_configs(file_opts); options.playlist = playlist_create(); optind = parse_cmdline_options(argc, argv, &options, file_opts); audio_play_arg.devices = options.devices; audio_play_arg.stat_format = stat_format; /* Add remaining arguments to playlist */ for (i = optind; i < argc; i++) { if (stat(argv[i], &stat_buf) == 0) { if (S_ISDIR(stat_buf.st_mode)) { if (playlist_append_directory(options.playlist, argv[i]) == 0) fprintf(stderr, _("WARNING: Could not read directory %s.\n"), argv[i]); } else { playlist_append_file(options.playlist, argv[i]); } } else /* If we can't stat it, it might be a non-disk source */ playlist_append_file(options.playlist, argv[i]); } /* Do we have anything left to play? */ if (playlist_length(options.playlist) == 0) { cmdline_usage(); exit(1); } else { playlist_array = playlist_to_array(options.playlist, &items); playlist_destroy(options.playlist); options.playlist = NULL; } /* Don't use status_message until after this point! */ status_init(options.verbosity); print_audio_devices_info(options.devices); /* Setup buffer */ if (options.buffer_size > 0) { /* Keep sample size alignment for surround sound with up to 10 channels */ options.buffer_size = (options.buffer_size + PRIMAGIC - 1) / PRIMAGIC * PRIMAGIC; audio_buffer = buffer_create(options.buffer_size, options.buffer_size * options.prebuffer / 100, audio_play_callback, &audio_play_arg, AUDIO_CHUNK_SIZE); if (audio_buffer == NULL) { status_error(_("Error: Could not create audio buffer.\n")); exit(1); } } else audio_buffer = NULL; /* Setup signal handlers and callbacks */ signal (SIGINT, signal_handler); signal (SIGTSTP, signal_handler); signal (SIGCONT, signal_handler); signal (SIGTERM, signal_handler); if (options.remote) { /* run the mainloop for the remote interface */ remote_mainloop(); } else { do { /* Shuffle playlist */ if (options.shuffle) { int i; srandom(time(NULL)); for (i = 0; i < items; i++) { int j = i + random() % (items - i); char *temp = playlist_array[i]; playlist_array[i] = playlist_array[j]; playlist_array[j] = temp; } } /* Play the files/streams */ i = 0; while (i < items && !sig_request.exit) { play(playlist_array[i]); i++; } } while (options.repeat); } playlist_array_destroy(playlist_array, items); status_deinit(); if (audio_buffer != NULL) { buffer_destroy (audio_buffer); audio_buffer = NULL; } ao_onexit (options.devices); exit (exit_status); } void play (const char *source_string) { const transport_t *transport; format_t *format; data_source_t *source; decoder_t *decoder; decoder_callbacks_t decoder_callbacks; void *decoder_callbacks_arg; /* Preserve between calls so we only open the audio device when we have to */ static audio_format_t old_audio_fmt = { 0, 0, 0, 0, 0 }; audio_format_t new_audio_fmt; audio_reopen_arg_t *reopen_arg; /* Flags and counters galore */ int eof = 0, eos = 0, ret; int nthc = 0, ntimesc = 0; int next_status = 0; static int status_interval = 0; /* Reset all of the signal flags */ sig_request.cancel = 0; sig_request.skipfile = 0; sig_request.exit = 0; sig_request.pause = 0; /* Set preferred audio format (used by decoder) */ new_audio_fmt.big_endian = ao_is_big_endian(); new_audio_fmt.signed_sample = 1; new_audio_fmt.word_size = 2; /* Select appropriate callbacks */ if (audio_buffer != NULL) { decoder_callbacks.printf_error = &decoder_buffered_error_callback; decoder_callbacks.printf_metadata = &decoder_buffered_metadata_callback; decoder_callbacks_arg = audio_buffer; } else { decoder_callbacks.printf_error = &decoder_error_callback; decoder_callbacks.printf_metadata = &decoder_metadata_callback; decoder_callbacks_arg = NULL; } /* Locate and use transport for this data source */ if ( (transport = select_transport(source_string)) == NULL ) { status_error(_("No module could be found to read from %s.\n"), source_string); return; } if ( (source = transport->open(source_string, &options)) == NULL ) { status_error(_("Cannot open %s.\n"), source_string); return; } /* Detect the file format and initialize a decoder */ if ( (format = select_format(source)) == NULL ) { status_error(_("The file format of %s is not supported.\n"), source_string); return; } if ( (decoder = format->init(source, &options, &new_audio_fmt, &decoder_callbacks, decoder_callbacks_arg)) == NULL ) { /* We may have failed because of user command */ if (!sig_request.cancel) status_error(_("Error opening %s using the %s module." " The file may be corrupted.\n"), source_string, format->name); return; } /* Decide which statistics are valid */ select_stats(stat_format, &options, source, decoder, audio_buffer); /* Start the audio playback thread before we begin sending data */ if (audio_buffer != NULL) { /* First reset mutexes and other synchronization variables */ buffer_reset (audio_buffer); buffer_thread_start (audio_buffer); } /* Show which file we are playing */ decoder_callbacks.printf_metadata(decoder_callbacks_arg, 1, _("Playing: %s"), source_string); /* Skip over audio */ if (options.seekoff > 0.0) { /* Note: it may be simpler to handle this condition by just calling: * handle_seek_opt(&options, decoder, format); * which was introduced with the remote control interface. However, that * function does not call buffer_thread_kill() on error, which is * necessary in this situation. */ if (!format->seek(decoder, options.seekoff, DECODER_SEEK_START)) { status_error(_("Could not skip %f seconds of audio."), options.seekoff); if (audio_buffer != NULL) buffer_thread_kill(audio_buffer); return; } } /* Main loop: Iterates over all of the logical bitstreams in the file */ while (!eof && !sig_request.exit) { /* Loop through data within a logical bitstream */ eos = 0; while (!eos && !sig_request.exit) { /* Check signals */ if (sig_request.skipfile) { eof = eos = 1; break; } if (options.remote) { /* run the playloop for the remote interface */ if (remote_playloop()) { /* end song requested */ eof = eos = 1; break; } /* Skip over audio */ handle_seek_opt(&options, decoder, format); } if (sig_request.pause) { if (audio_buffer) buffer_thread_pause (audio_buffer); kill (getpid(), SIGSTOP); /* We block here until we unpause */ /* Done pausing */ if (audio_buffer) buffer_thread_unpause (audio_buffer); sig_request.pause = 0; } /* Read another block of audio data */ ret = format->read(decoder, convbuffer, convsize, &eos, &new_audio_fmt); /* Bail if we need to */ if (ret == 0) { eof = eos = 1; break; } else if (ret < 0) { status_error(_("ERROR: Decoding failure.\n")); break; } /* Check to see if the audio format has changed */ if (!audio_format_equal(&new_audio_fmt, &old_audio_fmt)) { old_audio_fmt = new_audio_fmt; /* Update our status printing interval */ status_interval = new_audio_fmt.word_size * new_audio_fmt.channels * new_audio_fmt.rate / options.status_freq; next_status = 0; reopen_arg = new_audio_reopen_arg(options.devices, &new_audio_fmt); if (audio_buffer) buffer_insert_action_at_end(audio_buffer, &audio_reopen_action, reopen_arg); else audio_reopen_action(NULL, reopen_arg); } /* Update statistics display if needed */ if (next_status <= 0) { display_statistics(stat_format, audio_buffer, source, decoder); next_status = status_interval; } else next_status -= ret; if (options.endpos > 0.0 && options.endpos <= current_time(decoder)) { eof = eos = 1; break; } /* Write audio data block to output, skipping or repeating chunks as needed */ do { if (nthc-- == 0) { if (audio_buffer) { if (!buffer_submit_data(audio_buffer, convbuffer, ret)) { status_error(_("ERROR: buffer write failed.\n")); eof = eos = 1; break; } } else audio_play_callback(convbuffer, ret, eos, &audio_play_arg); nthc = options.nth - 1; } } while (!sig_request.exit && !sig_request.skipfile && ++ntimesc < options.ntimes); ntimesc = 0; } /* End of data loop */ } /* End of logical bitstream loop */ /* Done playing this logical bitstream. Clean up house. */ if (audio_buffer) { if (!sig_request.exit && !sig_request.skipfile) { buffer_mark_eos(audio_buffer); buffer_wait_for_empty(audio_buffer); } buffer_thread_kill(audio_buffer); } /* Print final stats */ display_statistics_quick(stat_format, audio_buffer, source, decoder); format->cleanup(decoder); transport->close(source); status_reset_output_lock(); /* In case we were killed mid-output */ status_message(1, _("Done.")); if (sig_request.exit) exit (exit_status); } vorbis-tools-1.4.2/ogg123/playlist.h0000644000175000017500000000466513774147573014152 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2002 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifndef __PLAYLIST_H__ #define __PLAYLIST_H__ typedef struct playlist_element_t { char *filename; struct playlist_element_t *next; } playlist_element_t; /* Actual playlist structure */ typedef struct playlist_t { /* Linked list with empty head node */ playlist_element_t *head; /* Keep track of this for speedy appends */ playlist_element_t *last; } playlist_t; playlist_t *playlist_create(); void playlist_destroy(playlist_t *list); /* All of the playlist_append_* functions return 1 if append was successful 0 if failure (either directory could not be accessed or playlist on disk could not be opened) */ /* Add this filename to the playlist. Filename will be strdup()'ed. Note that this function will never fail. */ int playlist_append_file(playlist_t *list, char *filename); /* Recursively adds files from the directory and subdirectories */ int playlist_append_directory(playlist_t *list, char *dirname); /* Opens a file containing filenames, one per line, and adds them to the playlist */ int playlist_append_from_file(playlist_t *list, char *playlist_filename); /* Return the number of items in the playlist */ int playlist_length(playlist_t *list); /* Convert the playlist to an array of strings. Strings are deep copied. Size will be set to the number of elements in the array. */ char **playlist_to_array(playlist_t *list, int *size); /* Deallocate array and all contained strings created by playlist_to_array. */ void playlist_array_destroy(char **array, int size); #endif /* __PLAYLIST_H__ */ vorbis-tools-1.4.2/ogg123/file_transport.c0000644000175000017500000001001013774151002015272 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "transport.h" #include "i18n.h" typedef struct file_private_t { FILE *fp; data_source_stats_t stats; int seekable; } file_private_t; transport_t file_transport; /* Forward declaration */ int file_can_transport (const char *source_string) { return 1; /* The file transport is tested last, so always try it */ } data_source_t* file_open (const char *source_string, ogg123_options_t *ogg123_opts) { data_source_t *source; file_private_t *private; /* Allocate data source structures */ source = malloc(sizeof(data_source_t)); private = malloc(sizeof(file_private_t)); if (source != NULL && private != NULL) { source->source_string = strdup(source_string); source->transport = &file_transport; source->private = private; private->seekable = 1; private->stats.transfer_rate = 0; private->stats.bytes_read = 0; private->stats.input_buffer_used = 0; } else { fprintf(stderr, _("ERROR: Out of memory.\n")); exit(1); } /* Open file */ if (strcmp(source_string, "-") == 0) { private->fp = stdin; private->seekable = 0; } else private->fp = fopen(source_string, "r"); if (private->fp == NULL) { free(source->source_string); free(private); free(source); return NULL; } return source; } int file_peek (data_source_t *source, void *ptr, size_t size, size_t nmemb) { file_private_t *private = source->private; FILE *fp = private->fp; int items; long start; if (!private->seekable) return 0; /* Record where we are */ start = ftell(fp); items = fread(ptr, size, nmemb, fp); /* Now go back so we maintain the peek() semantics */ if (fseek(fp, start, SEEK_SET) != 0) items = 0; /* Flag error condition since we couldn't seek back to the beginning */ return items; } int file_read (data_source_t *source, void *ptr, size_t size, size_t nmemb) { file_private_t *private = source->private; FILE *fp = private->fp; int bytes_read; bytes_read = fread(ptr, size, nmemb, fp); if (bytes_read > 0) private->stats.bytes_read += bytes_read; return bytes_read; } int file_seek (data_source_t *source, long offset, int whence) { file_private_t *private = source->private; FILE *fp = private->fp; if (!private->seekable) return -1; return fseek(fp, offset, whence); } data_source_stats_t * file_statistics (data_source_t *source) { file_private_t *private = source->private; return malloc_data_source_stats(&private->stats); } long file_tell (data_source_t *source) { file_private_t *private = source->private; FILE *fp = private->fp; if (!private->seekable) return -1; return ftell(fp); } void file_close (data_source_t *source) { file_private_t *private = source->private; FILE *fp = private->fp; fclose(fp); free(source->source_string); free(source->private); free(source); } transport_t file_transport = { "file", &file_can_transport, &file_open, &file_peek, &file_read, &file_seek, &file_statistics, &file_tell, &file_close }; vorbis-tools-1.4.2/ogg123/playlist.c0000644000175000017500000002061313774147573014134 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include "playlist.h" #include "i18n.h" /* Work with *BSD differences */ #if !defined(NAME_MAX) && defined(MAXNAMLEN) #define NAME_MAX MAXNAMLEN #endif playlist_element_t *playlist_element_create(char *filename) { playlist_element_t *element = (playlist_element_t *) malloc(sizeof(playlist_t)); if (element == NULL) { fprintf(stderr, _("ERROR: Out of memory in create_playlist_member().\n")); exit(1); } if (filename == NULL) element->filename = NULL; else { element->filename = strdup(filename); if (element->filename == NULL) { fprintf(stderr, _("ERROR: Out of memory in create_playlist_member().\n")); exit(1); } } element->next = NULL; return element; } /* Only destroys the current node. Does not affect linked nodes. */ void playlist_element_destroy(playlist_element_t *element) { free(element->filename); free(element); } playlist_t *playlist_create() { playlist_t *list = (playlist_t *) malloc(sizeof(playlist_t)); if (list != NULL) { list->head = playlist_element_create(NULL); list->last = list->head; } return list; } void playlist_destroy(playlist_t *list) { playlist_element_t *next_element; while (list->head != NULL) { next_element = list->head->next; playlist_element_destroy(list->head); list->head = next_element; } free(list); } /* All of the playlist_append_* functions return 1 if append was successful 0 if failure (either directory could not be accessed or playlist on disk could not be opened) */ /* Add this filename to the playlist. Filename will be strdup()'ed. Note that this function will never fail. */ int playlist_append_file(playlist_t *list, char *filename) { list->last->next = playlist_element_create(filename); list->last = list->last->next; return 1; /* No way to fail */ } /* Recursively adds files from the directory and subdirectories */ #if defined(HAVE_ALPHASORT) && defined(HAVE_SCANDIR) int playlist_append_directory(playlist_t *list, char *dirname) { int dir_len = strlen(dirname); int num_entries = 0, i = 0; struct dirent **entries; struct stat stat_buf; char nextfile[NAME_MAX + 1]; num_entries = scandir(dirname, &entries, 0, alphasort); if (num_entries < 0) { return 0; } for (i=0; id_name); /* Make sure full pathname is within limits and we don't parse the relative directory entries. */ if (dir_len + sub_len + 1 < NAME_MAX && strcmp(entries[i]->d_name, ".") != 0 && strcmp(entries[i]->d_name, "..") != 0 ) { /* Build the new full pathname */ strcpy(nextfile, dirname); strcat(nextfile, "/"); strcat(nextfile, entries[i]->d_name); if (stat(nextfile, &stat_buf) == 0) { /* Decide what type of entry this is */ if (S_ISDIR(stat_buf.st_mode)) { /* Recursively follow directories */ if ( playlist_append_directory(list, nextfile) == 0 ) { fprintf(stderr, _("Warning: Could not read directory %s.\n"), nextfile); } } else { /* Assume everything else is a file of some sort */ playlist_append_file(list, nextfile); } } } free(entries[i]); } free(entries); return 1; } #else int playlist_append_directory(playlist_t *list, char *dirname) { DIR *dir; int dir_len = strlen(dirname); struct dirent *entry; struct stat stat_buf; char nextfile[NAME_MAX + 1]; dir = opendir(dirname); if (dir == NULL) { return 0; } entry = readdir(dir); while (entry != NULL) { int sub_len = strlen(entry->d_name); /* Make sure full pathname is within limits and we don't parse the relative directory entries. */ if (dir_len + sub_len + 1 < NAME_MAX && strcmp(entry->d_name, ".") != 0 && strcmp(entry->d_name, "..") != 0 ) { /* Build the new full pathname */ strcpy(nextfile, dirname); strcat(nextfile, "/"); strcat(nextfile, entry->d_name); if (stat(nextfile, &stat_buf) == 0) { /* Decide what type of entry this is */ if (S_ISDIR(stat_buf.st_mode)) { /* Recursively follow directories */ if ( playlist_append_directory(list, nextfile) == 0 ) { fprintf(stderr, _("Warning: Could not read directory %s.\n"), nextfile); } } else { /* Assume everything else is a file of some sort */ playlist_append_file(list, nextfile); } } } entry = readdir(dir); } closedir(dir); return 1; } #endif /* Opens a file containing filenames, one per line, and adds them to the playlist */ int playlist_append_from_file(playlist_t *list, char *playlist_filename) { FILE *fp; char filename[NAME_MAX+1]; struct stat stat_buf; int length; int i; if (strcmp(playlist_filename, "-") == 0) fp = stdin; else fp = fopen(playlist_filename, "r"); if (fp == NULL) return 0; while (!feof(fp)) { if ( fgets(filename, NAME_MAX+1 /* no, really! */, fp) == NULL ) continue; filename[NAME_MAX] = '\0'; /* Just to make sure */ length = strlen(filename); /* Skip blank lines */ for (i = 0; i < length && isspace(filename[i]); i++); if (i == length) continue; /* Crop off trailing newlines if present. Handle DOS (\r\n), Unix (\n) * and MacOS<9 (\r) line endings. */ if (filename[length - 2] == '\r' && filename[length - 1] == '\n') filename[length - 2] = '\0'; else if (filename[length - 1] == '\n' || filename[length - 1] == '\r') filename[length - 1] = '\0'; if (stat(filename, &stat_buf) == 0) { if (S_ISDIR(stat_buf.st_mode)) { if (playlist_append_directory(list, filename) == 0) fprintf(stderr, _("Warning from playlist %s: " "Could not read directory %s.\n"), playlist_filename, filename); } else { playlist_append_file(list, filename); } } else /* If we can't stat it, it might be a non-disk source */ playlist_append_file(list, filename); } return 1; } /* Return the number of items in the playlist */ int playlist_length(playlist_t *list) { int length; playlist_element_t *element; element = list->head; length = 0; /* don't count head node */ while (element->next != NULL) { length++; element = element->next; } return length; } /* Convert the playlist to an array of strings. Strings are deep copied. Size will be set to the number of elements in the array. */ char **playlist_to_array(playlist_t *list, int *size) { char **array; int i; playlist_element_t *element; *size = playlist_length(list); array = calloc(*size, sizeof(char *)); if (array == NULL) { fprintf(stderr, _("ERROR: Out of memory in playlist_to_array().\n")); exit(1); } for (i = 0, element = list->head->next; i < *size; i++, element = element->next) { array[i] = strdup(element->filename); if (array[i] == NULL) { fprintf(stderr, _("ERROR: Out of memory in playlist_to_array().\n")); exit(1); } } return array; } /* Deallocate array and all contained strings created by playlist_to_array. */ void playlist_array_destroy(char **array, int size) { int i; for (i = 0; i < size; i++) free(array[i]); free(array); } vorbis-tools-1.4.2/ogg123/format.c0000644000175000017500000000430713774147573013565 00000000000000/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY * * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. * * PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001 * * by Stan Seibert AND OTHER CONTRIBUTORS * * http://www.xiph.org/ * * * ******************************************************************** last mod: $Id$ ********************************************************************/ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include "transport.h" #include "format.h" #include "i18n.h" extern format_t oggvorbis_format; extern format_t speex_format; #ifdef HAVE_LIBFLAC extern format_t flac_format; extern format_t oggflac_format; #endif #ifdef HAVE_LIBSPEEX extern format_t speex_format; #endif #ifdef HAVE_LIBOPUSFILE extern format_t opus_format; #endif format_t *formats[] = { #ifdef HAVE_LIBFLAC &flac_format, &oggflac_format, #endif #ifdef HAVE_LIBSPEEX &speex_format, #endif #ifdef HAVE_LIBOPUSFILE &opus_format, #endif &oggvorbis_format, NULL }; format_t *get_format_by_name (char *name) { int i = 0; while (formats[i] != NULL && strcmp(name, formats[i]->name) != 0) i++; return formats[i]; } format_t *select_format (data_source_t *source) { int i = 0; while (formats[i] != NULL && !formats[i]->can_decode(source)) i++; return formats[i]; } decoder_stats_t *malloc_decoder_stats (decoder_stats_t *to_copy) { decoder_stats_t *new_stats; new_stats = malloc(sizeof(decoder_stats_t)); if (new_stats == NULL) { fprintf(stderr, _("ERROR: Could not allocate memory in malloc_decoder_stats()\n")); exit(1); } *new_stats = *to_copy; /* Copy the data */ return new_stats; } vorbis-tools-1.4.2/vcut/0000755000175000017500000000000014002243561012137 500000000000000vorbis-tools-1.4.2/vcut/Makefile.am0000644000175000017500000000101113767140576014127 00000000000000## Process this file with automake to produce Makefile.in mans = vcut.1 vcutsources = vcut.c vcut.h datadir = @datadir@ localedir = $(datadir)/locale DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ bin_PROGRAMS = vcut mandir = @MANDIR@ man_MANS = $(mans) AM_CPPFLAGS = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @SHARE_CFLAGS@ @I18N_CFLAGS@ vcut_LDADD = @VORBIS_LIBS@ @OGG_LIBS@ @I18N_LIBS@ vcut_SOURCES = $(vcutsources) EXTRA_vcut_SOURCES = $(man_MANS) debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" vorbis-tools-1.4.2/vcut/Makefile.in0000644000175000017500000006215514002242753014137 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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@ bin_PROGRAMS = vcut$(EXEEXT) subdir = vcut ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \ $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intl.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/size_max.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ $(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.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)" "$(DESTDIR)$(man1dir)" PROGRAMS = $(bin_PROGRAMS) am__objects_1 = vcut.$(OBJEXT) am_vcut_OBJECTS = $(am__objects_1) vcut_OBJECTS = $(am_vcut_OBJECTS) vcut_DEPENDENCIES = AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(vcut_SOURCES) $(EXTRA_vcut_SOURCES) DIST_SOURCES = $(vcut_SOURCES) $(EXTRA_vcut_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) 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@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AO_CFLAGS = @AO_CFLAGS@ AO_LIBS = @AO_LIBS@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURL_CFLAGS = @CURL_CFLAGS@ CURL_LIBS = @CURL_LIBS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG = @DEBUG@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLAC_LIBS = @FLAC_LIBS@ GENCAT = @GENCAT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIBC2 = @GLIBC2@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WPRINTF = @HAVE_WPRINTF@ I18N_CFLAGS = @I18N_CFLAGS@ I18N_LIBS = @I18N_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KATE_CFLAGS = @KATE_CFLAGS@ KATE_LIBS = @KATE_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBPTH = @LIBPTH@ LIBPTH_PREFIX = @LIBPTH_PREFIX@ LIBS = @LIBS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBC = @LTLIBC@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBPTH = @LTLIBPTH@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ OPT_SUBDIRS = @OPT_SUBDIRS@ OPUSFILE_CFLAGS = @OPUSFILE_CFLAGS@ OPUSFILE_LIBS = @OPUSFILE_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POSUB = @POSUB@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PROFILE = @PROFILE@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHARE_CFLAGS = @SHARE_CFLAGS@ SHARE_LIBS = @SHARE_LIBS@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ SPEEX_LIBS = @SPEEX_LIBS@ STRIP = @STRIP@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISENC_LIBS = @VORBISENC_LIBS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ WINDRES = @WINDRES@ WOE32 = @WOE32@ WOE32DLL = @WOE32DLL@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ 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 = $(datadir)/locale 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@ mans = vcut.1 vcutsources = vcut.c vcut.h man_MANS = $(mans) AM_CPPFLAGS = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @SHARE_CFLAGS@ @I18N_CFLAGS@ vcut_LDADD = @VORBIS_LIBS@ @OGG_LIBS@ @I18N_LIBS@ vcut_SOURCES = $(vcutsources) EXTRA_vcut_SOURCES = $(man_MANS) all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu vcut/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu vcut/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(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 \ || test -f $$p1 \ ; 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) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(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: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list vcut$(EXEEXT): $(vcut_OBJECTS) $(vcut_DEPENDENCIES) $(EXTRA_vcut_DEPENDENCIES) @rm -f vcut$(EXEEXT) $(AM_V_CCLD)$(LINK) $(vcut_OBJECTS) $(vcut_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vcut.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) $(MANS) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-man 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-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \ ctags ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-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-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \ uninstall-binPROGRAMS uninstall-man uninstall-man1 .PRECIOUS: Makefile debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" # 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: vorbis-tools-1.4.2/vcut/vcut.10000644000175000017500000000112313767140576013142 00000000000000.\" Process this file with .\" groff -man -Tascii vcut.1 .\" .TH VCUT 1 "2003 September 1" "Xiph.Org Foundation" "Vorbis Tools" .SH NAME vcut \- cuts Ogg Vorbis files .SH SYNOPSIS .B vcut .I infile.ogg .I outfile1.ogg .I outfile2.ogg .I [ cutpoint | +cutpoint] .SH DESCRIPTION .B vcut reads an Ogg Vorbis audio file and splits it at the given cutpoint, which is a sample number. If the cutpoint is prefixed with '+', the cutpoint is an integer number of seconds. .SH AUTHORS .TP Program Author: Michael Smith .TP Manpage Author: Christoper L Cheney vorbis-tools-1.4.2/vcut/vcut.c0000644000175000017500000003627013770076650013232 00000000000000/* This program is licensed under the GNU General Public License, version 2, * a copy of which is included with this program. * * (c) 2000-2001 Michael Smith * (c) 2008 Michael Gold * * * Simple application to cut an ogg at a specified frame, and produce two * output files. * * last modified: $Id$ */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #ifndef _MSC_VER #include #endif #include "vcut.h" #include #include "i18n.h" #include static void clear_packet(vcut_packet *p) { if(p->packet) free(p->packet); p->packet = NULL; } /* Returns 0 for success, or -1 on failure. */ static void *vcut_malloc(size_t size) { void *ret = malloc(size); /* FIXME: libogg will probably crash if one of its malloc calls fails, * so we can't always catch an OOM error. */ if(!ret) fprintf(stderr, _("Out of memory\n")); return ret; } /* Returns 0 for success, or -1 on failure. */ static int save_packet(ogg_packet *packet, vcut_packet *p) { clear_packet(p); p->length = packet->bytes; p->packet = vcut_malloc(p->length); if(!p->packet) return -1; memcpy(p->packet, packet->packet, p->length); return 0; } static long get_blocksize(vcut_vorbis_stream *vs, ogg_packet *op) { int this = vorbis_packet_blocksize(&vs->vi, op); int ret = (this+vs->prevW)/4; vs->prevW = this; return ret; } static int update_sync(vcut_state *s) { char *buffer = ogg_sync_buffer(&s->sync_in, 4096); int bytes = fread(buffer, 1, 4096, s->in); ogg_sync_wrote(&s->sync_in, bytes); return bytes; } /* Writes pages to the given file, or discards them if file is NULL. * Returns 0 for success, or -1 on failure. */ static int write_pages_to_file(ogg_stream_state *stream, FILE *file, int flush) { ogg_page page; if(flush) { while(ogg_stream_flush(stream, &page)) { if(!file) continue; if(fwrite(page.header,1,page.header_len, file) != page.header_len) return -1; if(fwrite(page.body,1,page.body_len, file) != page.body_len) return -1; } } else { while(ogg_stream_pageout(stream, &page)) { if(!file) continue; if(fwrite(page.header,1,page.header_len, file) != page.header_len) return -1; if(fwrite(page.body,1,page.body_len, file) != page.body_len) return -1; } } return 0; } /* Flushes and closes the output stream, leaving the file open. * Returns 0 for success, or -1 on failure. */ static int close_output_stream(vcut_state *s) { assert(s->output_stream_open); if(write_pages_to_file(&s->stream_out, s->out, 1) != 0) { fprintf(stderr, _("Couldn't flush output stream\n")); return -1; } ogg_stream_clear(&s->stream_out); s->output_stream_open = 0; return 0; } /* Closes the output file and stream. * Returns 0 for success, or -1 on failure. */ static int close_output_file(vcut_state *s) { FILE *out = s->out; if(s->output_stream_open && (close_output_stream(s) != 0)) return -1; s->out = NULL; if(out && fclose(out) != 0) { fprintf(stderr, _("Couldn't close output file\n")); return -1; } s->output_filename = NULL; s->drop_output = 0; return 0; } /* Write out the header packets and reference audio packet. */ static int submit_headers_to_stream(vcut_state *s) { vcut_vorbis_stream *vs = &s->vorbis_stream; int i; for(i=0;i<4;i++) { ogg_packet p; if(i < 3) /* a header packet */ { p.bytes = vs->headers[i].length; p.packet = vs->headers[i].packet; } else /* the reference audio packet */ { if (!vs->last_packet.packet) break; p.bytes = vs->last_packet.length; p.packet = vs->last_packet.packet; } assert(p.packet); p.b_o_s = ((i==0)?1:0); p.e_o_s = 0; p.granulepos = 0; p.packetno = i; if (write_packet(s, &p) != 0) return -1; } return 0; } /* Opens the given output file; or sets s->drop_output if the filename is ".". * Returns 0 for success, or -1 on failure. */ static int open_output_file(vcut_state *s, char *filename) { assert(s->out == NULL); if(strcmp(filename, ".") == 0) { s->out = NULL; s->drop_output = 1; } else { if(strcmp(filename, "-") == 0) s->out = fdopen(1, "wb"); else s->out = fopen(filename, "wb"); s->drop_output = 0; if(!s->out) { fprintf(stderr, _("Couldn't open %s for writing\n"), filename); return -1; } } return 0; } /* Opens an output stream; if necessary, opens the next output file first. * Returns 0 for success, or -1 on failure. */ static int open_output_stream(vcut_state *s) { int rv; if(!s->out && !s->drop_output) { if(open_output_file(s, s->output_filename)!=0) return -1; } /* ogg_stream_init should only fail if stream_out is null */ rv = ogg_stream_init(&s->stream_out, ++s->serial_out); assert(rv == 0); s->output_stream_open = 1; return submit_headers_to_stream(s); } int main(int argc, char **argv) { int ret=0; vcut_state state; vcut_segment *seg; memset(&state, 0, sizeof(state)); setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); if(argc<5) { printf(_("Usage: vcut infile.ogg outfile1.ogg" " outfile2.ogg [cutpoint | +cuttime]\n")); printf(_("To avoid creating an output file," " specify \".\" as its name.\n")); exit(1); } state.in = fopen(argv[1], "rb"); if(strcmp(argv[1], "-") == 0) state.in = fdopen(0, "rb"); else state.in = fopen(argv[1], "rb"); if(!state.in) { fprintf(stderr, _("Couldn't open %s for reading\n"), argv[1]); exit(1); } state.output_filename = argv[2]; seg = vcut_malloc(sizeof(vcut_segment)); if(!seg) exit(1); seg->cuttime = -1; seg->filename = argv[3]; seg->next = NULL; state.next_segment = seg; if(strchr(argv[4], '+') != NULL) { if(sscanf(argv[4], "%lf", &seg->cuttime) != 1) { fprintf(stderr, _("Couldn't parse cutpoint \"%s\"\n"), argv[4]); exit(1); } } else if(sscanf(argv[4], "%" PRId64, &seg->cutpoint) != 1) { fprintf(stderr, _("Couldn't parse cutpoint \"%s\"\n"), argv[4]); exit(1); } if(seg->cuttime >= 0) { printf(_("Processing: Cutting at %lf seconds\n"), seg->cuttime); } else { printf(_("Processing: Cutting at %lld samples\n"), (long long)seg->cutpoint); } /* include the PID in the random seed so two instances of vcut that * run in the same second will use different serial numbers */ srand(time(NULL) ^ getpid()); state.serial_out = rand(); if(vcut_process(&state) != 0) { fprintf(stderr, _("Processing failed\n")); ret = 1; } vcut_clear(&state); fclose(state.in); return ret; } /* Returns 0 for success, or -1 on failure. */ int process_audio_packet(vcut_state *s, vcut_vorbis_stream *vs, ogg_packet *packet) { int bs = get_blocksize(vs, packet); long cut_on_eos = 0; int packet_done = 0; ogg_int64_t packet_start_granpos = vs->granulepos; ogg_int64_t gp_to_global_sample_adj; if(packet->granulepos >= 0) { /* If this is the second audio packet, and our calculated * granule position is greater than the packet's, this means * some audio samples must be discarded from the beginning * when decoding (in this case, the Vorbis I spec. requires * that this be the last packet on its page, so its granulepos * will be available). Likewise, if the last packet's * granulepos is less than expected, samples should be * discarded from the end. */ if(vs->granulepos == 0 && packet->granulepos != bs) { /* this stream starts at a non-zero granulepos */ vs->initial_granpos = packet->granulepos - bs; if(vs->initial_granpos < 0) vs->initial_granpos = 0; } else if(packet->granulepos != (vs->granulepos + bs) && vs->granulepos > 0 && !packet->e_o_s) { fprintf(stderr, _("WARNING: unexpected granulepos " "%" PRId64 " (expected " "%" PRId64 ")\n"), packet->granulepos, (vs->granulepos + bs)); } vs->granulepos = packet->granulepos; } else if(vs->granulepos == -1) { /* This is the first non-header packet. The next packet * will start at granulepos 0, or will be the last packet * on its page (as mentioned above). */ vs->granulepos = 0; /* Don't look for a cutpoint in this packet. */ packet_done = 1; } else { vs->granulepos += bs; } gp_to_global_sample_adj = s->prevstream_samples - vs->initial_granpos; while(!packet_done) { ogg_int64_t rel_cutpoint, rel_sample; vcut_segment *segment = s->next_segment; if(!segment) break; if(segment->cuttime >= 0) { /* convert cuttime to cutpoint (a sample number) */ rel_cutpoint = vs->vi.rate * (s->next_segment->cuttime - s->prevstream_time); } else { rel_cutpoint = (segment->cutpoint - s->prevstream_samples); } rel_sample = vs->granulepos - vs->initial_granpos; if(rel_sample < rel_cutpoint) break; /* reached the cutpoint */ if(rel_sample - bs > rel_cutpoint) { /* We passed the cutpoint without finding it. This could mean * that the granpos values are discontinuous (in which case * we'd have shown an "Unexpected granulepos" error), or that * the cutpoints are not sorted correctly. */ fprintf(stderr, _("Cutpoint not found\n")); return -1; } if(rel_sample < bs && !s->drop_output) { fprintf(stderr, _("Can't produce a file starting" " and ending between sample positions " "%" PRId64 " and " "%" PRId64 "\n"), packet_start_granpos + gp_to_global_sample_adj - 1, vs->granulepos + gp_to_global_sample_adj); return -1; } /* Set it! This 'truncates' the final packet, as needed. */ packet->granulepos = rel_cutpoint; cut_on_eos = packet->e_o_s; packet->e_o_s = 1; if(rel_cutpoint > 0) { if(write_packet(s, packet) != 0) return -1; } if(close_output_file(s) != 0) return -1; vs->samples_cut = rel_cutpoint; packet->e_o_s = cut_on_eos; s->output_filename = segment->filename; s->next_segment = segment->next; free(segment); segment = NULL; if(rel_cutpoint == rel_sample) { /* There's no unwritten data left in this packet. */ packet_done = 1; } } /* Write the audio packet to the output stream, unless it's the * reference packet or we cut it at the last sample. */ if(!packet_done) { packet->granulepos = vs->granulepos - vs->initial_granpos - vs->samples_cut; if(packet->granulepos < bs && cut_on_eos && strcmp(s->output_filename, ".") != 0) { fprintf(stderr, _("Can't produce a file starting between sample" " positions " "%" PRId64 " and " "%" PRId64 ".\n"), packet_start_granpos + gp_to_global_sample_adj - 1, vs->granulepos + gp_to_global_sample_adj); fprintf(stderr, _("Specify \".\" as the second output file" " to suppress this error.\n")); return -1; } if(write_packet(s, packet) != 0) return -1; } /* We need to save the last packet in the first * stream - but we don't know when we're going * to get there. So we have to keep every packet * just in case. */ if(save_packet(packet, &vs->last_packet) != 0) return -1; return 0; } /* Writes a packet, opening an output stream/file if necessary. * Returns 0 for success, or -1 on failure. */ int write_packet(vcut_state *s, ogg_packet *packet) { int flush; if(!s->output_stream_open && open_output_stream(s) != 0) return -1; /* According to the Vorbis I spec, we need to flush the stream after: * - the first (BOS) header packet * - the last header packet (packet #2) * - the second audio packet (packet #4), if the stream starts at * a non-zero granulepos */ flush = (s->stream_out.packetno == 2) || (s->stream_out.packetno == 4 && packet->granulepos != -1) || packet->b_o_s || packet->e_o_s; ogg_stream_packetin(&s->stream_out, packet); if(write_pages_to_file(&s->stream_out, s->out, flush) != 0) { fprintf(stderr, _("Couldn't write packet to output file\n")); return -1; } if(packet->e_o_s && close_output_stream(s) != 0) return -1; return 0; } /* Returns 0 for success, or -1 on failure. */ int process_page(vcut_state *s, ogg_page *page) { int headercount; int result; vcut_vorbis_stream *vs = &s->vorbis_stream; if(!s->vorbis_init) { if(!ogg_page_bos(page)) { fprintf(stderr, _("BOS not set on first page of stream\n")); return -1; } memset(vs, 0, sizeof(*vs)); vs->serial = ogg_page_serialno(page); vs->granulepos = -1; vs->initial_granpos = 0; ogg_stream_init(&vs->stream_in, vs->serial); vorbis_info_init(&vs->vi); vorbis_comment_init(&vs->vc); s->vorbis_init = 1; } else if(vs->serial != ogg_page_serialno(page)) { fprintf(stderr, _("Multiplexed bitstreams are not supported\n")); return -1; } /* count the headers */ for(headercount = 0; headercount < 3; ++headercount) if(!vs->headers[headercount].packet) break; result = ogg_stream_pagein(&vs->stream_in, page); if(result) { fprintf(stderr, _("Internal stream parsing error\n")); return -1; } while(1) { ogg_packet packet; result = ogg_stream_packetout(&vs->stream_in, &packet); if(result==0) break; else if(result==-1) { if(headercount < 3) { fprintf(stderr, _("Header packet corrupt\n")); return -1; } else { if(!s->input_corrupt) fprintf(stderr, _("Bitstream error, continuing\n")); s->input_corrupt = 1; continue; } } if(headercount < 3) /* this is a header packet */ { if(vorbis_synthesis_headerin(&vs->vi, &vs->vc, &packet)<0) { fprintf(stderr, _("Error in header: not vorbis?\n")); return -1; } if(save_packet(&packet, &vs->headers[headercount]) != 0) return -1; ++headercount; } else /* this is an audio (non-header) packet */ { result = process_audio_packet(s, vs, &packet); if(result != 0) return result; } } if(ogg_page_eos(page)) { if(vs->granulepos >= 0) { ogg_int64_t samples = vs->granulepos - vs->initial_granpos; s->prevstream_samples += samples; s->prevstream_time += (double)samples / vs->vi.rate; } vcut_vorbis_clear(vs); s->vorbis_init = 0; } return 0; } /* Returns 0 for success, or -1 on failure. */ int vcut_process(vcut_state *s) { int first_page = 1; do { ogg_page page; int result; while((result = ogg_sync_pageout(&s->sync_in, &page)) == 1) { if(process_page(s, &page) != 0) return -1; } if(result < 0 && !s->input_corrupt) { if(first_page) { fprintf(stderr, _("Input not ogg.\n")); return -1; } fprintf(stderr, _("Page error, continuing\n")); /* continue, but don't print this error again */ s->input_corrupt = 1; } first_page = 0; } while(update_sync(s) > 0); if(s->vorbis_init) { fprintf(stderr, _("WARNING: input file ended unexpectedly\n")); } else if(s->next_segment) { fprintf(stderr, _("WARNING: found EOS before cutpoint\n")); } return close_output_file(s); } void vcut_vorbis_clear(vcut_vorbis_stream *vs) { int i; clear_packet(&vs->last_packet); for(i=0; i < 3; i++) clear_packet(&vs->headers[i]); vorbis_block_clear(&vs->vb); vorbis_dsp_clear(&vs->vd); vorbis_info_clear(&vs->vi); ogg_stream_clear(&vs->stream_in); } /* Full cleanup of internal state and vorbis/ogg structures */ void vcut_clear(vcut_state *s) { if(s->vorbis_init) { vcut_vorbis_clear(&s->vorbis_stream); s->vorbis_init = 0; } ogg_sync_clear(&s->sync_in); } vorbis-tools-1.4.2/vcut/vcut.h0000644000175000017500000000501513767140576013235 00000000000000#ifndef __VCUT_H #define __VCUT_H #include #include #include typedef struct { int length; unsigned char *packet; } vcut_packet; /* this structure stores data associated with a single input stream; it will be cleared between streams if the input file has multiple chained streams */ typedef struct { ogg_stream_state stream_in; vorbis_dsp_state vd; vorbis_block vb; vorbis_info vi; vorbis_comment vc; int prevW; /* granulepos is -1 before any packets are seen, and 0 after the first packet; otherwise it's the GP of the last sample seen */ ogg_int64_t granulepos; /* the granulepos of the first sample (>= 0, since samples with a negative GP are discarded); always 0 for files produced by oggenc or vcut, but may be > 0 for data recorded from a stream (for example) */ ogg_int64_t initial_granpos; /* the number of samples already cut from this stream (all granule positions */ ogg_int64_t samples_cut; unsigned int serial; vcut_packet headers[3]; vcut_packet last_packet; } vcut_vorbis_stream; typedef struct vcut_segment { double cuttime; /* number of seconds at which to cut; -1 if cutting by sample number */ ogg_int64_t cutpoint; /* sample number at which to cut */ char *filename; /* name of the file to contain data after the CP */ struct vcut_segment *next; /* data for next cut, or NULL */ } vcut_segment; typedef struct { /* pointer to a linked list of segments/cutpoints */ vcut_segment *next_segment; /* the input file may have multiple chained streams; these variables store the number of samples and seconds that passed before the beginning of the current stream */ ogg_int64_t prevstream_samples; /* # of samples in prev. streams */ double prevstream_time; /* # of seconds past before this stream */ FILE *in; ogg_sync_state sync_in; int input_corrupt; /* 1 if we've complained about corruption */ int vorbis_init; /* 1 if vorbis_stream initialized */ vcut_vorbis_stream vorbis_stream; FILE *out; char *output_filename; int drop_output; /* 1 if we don't want any output */ int output_stream_open; /* 1 if stream_out initialized */ ogg_stream_state stream_out; unsigned int serial_out; /* serial # for the next output stream */ } vcut_state; int vcut_process(vcut_state *state); void vcut_clear(vcut_state *state); void vcut_vorbis_clear(vcut_vorbis_stream *state); int write_packet(vcut_state *s, ogg_packet *packet); #endif /* __VCUT_H */ vorbis-tools-1.4.2/vorbiscomment/0000755000175000017500000000000014002243561014045 500000000000000vorbis-tools-1.4.2/vorbiscomment/Makefile.am0000644000175000017500000000124613767140576016047 00000000000000## Process this file with automake to produce Makefile.in mans = vorbiscomment.1 vorbiscommentsources = vcedit.c vcedit.h vcomment.c vceditaux.h datadir = @datadir@ localedir = $(datadir)/locale DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ bin_PROGRAMS = vorbiscomment mandir = @MANDIR@ man_MANS = $(mans) AM_CPPFLAGS = @SHARE_CFLAGS@ @I18N_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ vorbiscomment_LDADD = @SHARE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @LIBICONV@ @I18N_LIBS@ vorbiscomment_DEPENDENCIES = @SHARE_LIBS@ vorbiscomment_SOURCES = $(vorbiscommentsources) EXTRA_vorbiscomment_SOURCES = $(man_MANS) debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" vorbis-tools-1.4.2/vorbiscomment/vcedit.c0000644000175000017500000005075513767454611015444 00000000000000/* This program is licensed under the GNU Library General Public License, version 2, * a copy of which is included with this program (LICENCE.LGPL). * * (c) 2000-2001 Michael Smith * (c) 2020 Philipp Schafft * * * Comment editing backend, suitable for use by nice frontend interfaces. * * last modified: $Id$ */ /* Handle muxed streams and the Vorbis renormalization without having * to understand remuxing: * Linked list of buffers (buffer_chain). Start a link and whenever * you encounter an unknown page from the current stream (ie we found * its bos in the bos section) push it onto the current buffer. Whenever * you encounter the stream being renormalized create a new link in the * chain. * On writing, write the contents of the first link before every Vorbis * page written, and move to the next link. Assuming the Vorbis pages * in match vorbis pages out, the order of pages from different logical * streams will be unchanged. * Special case: header. After writing the vorbis headers, and before * starting renormalization, flush accumulated links (takes care of * situations where number of secondary vorbis header pages changes due * to remuxing. Similarly flush links at the end of renormalization * and before the start of the next chain is written. * */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include "vcedit.h" #include "vceditaux.h" #include "i18n.h" #define CHUNKSIZE 4096 #define BUFFERCHUNK CHUNKSIZE /* Helper function, shouldn't need to call directly */ static int page_buffer_push(vcedit_buffer_chain *bufferlink, ogg_page *og) { int result=0; char *tmp; vcedit_page_buffer *buffer; buffer = &bufferlink->buffer; tmp = realloc(buffer->data, buffer->data_len + og->header_len + og->body_len); if (tmp) { buffer->data = tmp; memcpy(buffer->data + buffer->data_len, og->header, og->header_len); buffer->data_len += og->header_len; memcpy(buffer->data + buffer->data_len, og->body, og->body_len); result = 1; buffer->data_len += og->body_len; } else { result = -1; } return result; } /* Write and free the first link using callbacks */ static int buffer_chain_writelink(vcedit_state *state, void *out) { int result = 0; vcedit_buffer_chain *tmpchain; vcedit_page_buffer *tmpbuffer; tmpchain = state->sidebuf; tmpbuffer = &tmpchain->buffer; if (tmpbuffer->data_len) { if (state->write(tmpbuffer->data,1,tmpbuffer->data_len, out) != (size_t) tmpbuffer->data_len) { result = -1; } else { result = 1; } } free(tmpbuffer->data); state->sidebuf = tmpchain->next; free(tmpchain); return result; } static int buffer_chain_newlink(vcedit_state *state) { int result = 1; vcedit_buffer_chain *bufferlink; if (!state->sidebuf) { state->sidebuf = malloc(sizeof *state->sidebuf); if (state->sidebuf) { bufferlink = state->sidebuf; } else { result = -1; } } else { bufferlink=state->sidebuf; while (bufferlink->next) { bufferlink = bufferlink->next; } bufferlink->next = malloc(sizeof *bufferlink->next); if (bufferlink->next) { bufferlink = bufferlink->next; } else { result = -1; } } if (result > 0) { bufferlink->next = 0; bufferlink->buffer.data = 0; bufferlink->buffer.data_len = 0; } else { state->lasterror = _("Couldn't get enough memory for input buffering."); } return result; } /* Push page onto the end of the buffer chain */ static int buffer_chain_push(vcedit_state *state, ogg_page *og) { /* If there is no sidebuffer yet we need to create one, otherwise * traverse to the last buffer and push the new page onto it. */ int result=1; vcedit_buffer_chain *bufferlink; if (!state->sidebuf) { result = buffer_chain_newlink(state); } if (result > 0) { bufferlink = state->sidebuf; while (bufferlink->next) { bufferlink = bufferlink->next; } result = page_buffer_push(bufferlink, og); } if (result < 0) state->lasterror = _("Couldn't get enough memory for input buffering."); return result; } static int vcedit_supported_stream(vcedit_state *state, ogg_page *og) { ogg_stream_state os; vorbis_info vi; vorbis_comment vc; ogg_packet header; int result = 0; ogg_stream_init(&os, ogg_page_serialno(og)); vorbis_info_init(&vi); vorbis_comment_init(&vc); if (!ogg_page_bos(og)) result = -1; if (result >= 0 && ogg_stream_pagein(&os, og) < 0) { state->lasterror = _("Error reading first page of Ogg bitstream."); result = -1; } if (result >= 0 && ogg_stream_packetout(&os, &header) != 1) { state->lasterror = _("Error reading initial header packet."); result = -1; } if (result >= 0 && vorbis_synthesis_headerin(&vi, &vc, &header) >= 0) { result = 1; } else { /* Not vorbis, may eventually become a chain of checks (Speex, * Theora), but for the moment return 0, bos scan will push * the current page onto the buffer. */ } ogg_stream_clear(&os); vorbis_info_clear(&vi); vorbis_comment_clear(&vc); return result; } static int vcedit_contains_serial (vcedit_state *state, int serialno) { int result = 0; size_t count; for (count=0; count < state->serials.streams_len; count++) { if (*(state->serials.streams + count) == serialno) result = 1; } return result; } static int vcedit_add_serial (vcedit_state *state, long serial) { int result = 0; long *tmp; if ( vcedit_contains_serial(state, serial) ) { result = 1; } else { tmp = realloc(state->serials.streams, (state->serials.streams_len + 1) * sizeof *tmp); if (tmp) { state->serials.streams = tmp; *(state->serials.streams + state->serials.streams_len) = serial; state->serials.streams_len += 1; result = 1; } else { state->lasterror = _("Couldn't get enough memory to register new stream serial number."); result = -1; } } return result; } /* For the benefit of the secondary header read only. Quietly creates * newlinks and pushes pages onto the buffer in the right way */ static int vcedit_target_pageout (vcedit_state *state, ogg_page *og) { int result = 0; int pageout_result; pageout_result = ogg_sync_pageout(state->oy, og); if (pageout_result > 0) { if (state->serial == ogg_page_serialno(og)) result = buffer_chain_newlink(state); else result = buffer_chain_push(state, og); } else if (pageout_result < 0) { /* Vorbis comment traditionally ignores the not-synced * error from pageout, so give it a different code. */ result = -2; } return result; } vcedit_state *vcedit_new_state(void) { vcedit_state *state = calloc(1, sizeof(vcedit_state)); return state; } const char *vcedit_error(vcedit_state *state) { return state->lasterror; } vorbis_comment *vcedit_comments(vcedit_state *state) { return state->vc; } static void vcedit_clear_internals(vcedit_state *state) { char *tmp; if (state->vc) { vorbis_comment_clear(state->vc); free(state->vc); } if (state->os) { ogg_stream_clear(state->os); free(state->os); } if (state->oy) { ogg_sync_clear(state->oy); free(state->oy); } if (state->serials.streams_len) { free(state->serials.streams); state->serials.streams_len = 0; state->serials.streams = 0; } while (state->sidebuf) { vcedit_buffer_chain *tmpbuffer; tmpbuffer = state->sidebuf; state->sidebuf = tmpbuffer->next; free(tmpbuffer->buffer.data); free(tmpbuffer); } if (state->vendor) free(state->vendor); if (state->mainbuf) free(state->mainbuf); if (state->bookbuf) free(state->bookbuf); if (state->vi) { vorbis_info_clear(state->vi); free(state->vi); } tmp = state->lasterror; memset(state, 0, sizeof(*state)); state->lasterror = tmp; } void vcedit_clear(vcedit_state *state) { if (state) { vcedit_clear_internals(state); free(state); } } /* Next two functions pulled straight from libvorbis, apart from one change * - we don't want to overwrite the vendor string. */ static void _v_writestring(oggpack_buffer *o, const char *s, size_t len) { while (len--) { oggpack_write(o, *s++ ,8); } } static int _commentheader_out(vorbis_comment *vc, char *vendor, ogg_packet *op) { oggpack_buffer opb; oggpack_writeinit(&opb); /* preamble */ oggpack_write(&opb, 0x03, 8); _v_writestring(&opb, "vorbis", 6); /* vendor */ oggpack_write(&opb, strlen(vendor), 32); _v_writestring(&opb, vendor, strlen(vendor)); /* comments */ oggpack_write(&opb, vc->comments, 32); if (vc->comments) { int i; for (i = 0; i < vc->comments; i++) { if (vc->user_comments[i]){ oggpack_write(&opb,vc->comment_lengths[i], 32); _v_writestring(&opb, vc->user_comments[i], vc->comment_lengths[i]); }else{ oggpack_write(&opb, 0, 32); } } } oggpack_write(&opb, 1, 1); op->packet = malloc(oggpack_bytes(&opb)); memcpy(op->packet, opb.buffer, oggpack_bytes(&opb)); op->bytes = oggpack_bytes(&opb); op->b_o_s = 0; op->e_o_s = 0; op->granulepos = 0; oggpack_writeclear(&opb); return 0; } static int _blocksize(vcedit_state *s, ogg_packet *p) { int this = vorbis_packet_blocksize(s->vi, p); int ret = (this + s->prevW)/4; if (!s->prevW) { s->prevW = this; return 0; } s->prevW = this; return ret; } static int _fetch_next_packet(vcedit_state *s, ogg_packet *p, ogg_page *page) { int result; char *buffer; int bytes; int serialno; result = ogg_stream_packetout(s->os, p); if (result > 0) { return 1; } else { while (1) { if (s->eosin) return 0; while (ogg_sync_pageout(s->oy, page) <= 0) { buffer = ogg_sync_buffer(s->oy, CHUNKSIZE); bytes = s->read(buffer,1, CHUNKSIZE, s->in); ogg_sync_wrote(s->oy, bytes); if (bytes == 0) return 0; } serialno = ogg_page_serialno(page); if (ogg_page_serialno(page) != s->serial) { if (vcedit_contains_serial(s, serialno)) { result = buffer_chain_push(s, page); if (result < 0) return result; } else { s->eosin = 1; s->extrapage = 1; return 0; } } else { ogg_stream_pagein(s->os, page); result = buffer_chain_newlink(s); if (result < 0) return result; if (ogg_page_eos(page)) s->eosin = 1; } result = ogg_stream_packetout(s->os, p); if (result > 0) return 1; } /* Here == trouble */ return 0; } } int vcedit_open(vcedit_state *state, FILE *in) { return vcedit_open_callbacks(state, (void *)in, (vcedit_read_func)fread, (vcedit_write_func)fwrite); } int vcedit_open_callbacks(vcedit_state *state, void *in, vcedit_read_func read_func, vcedit_write_func write_func) { char *buffer; int bytes, i; int chunks = 0; int read_bos, test_supported, page_pending; int have_vorbis; ogg_packet *header; ogg_packet header_main; ogg_packet header_comments; ogg_packet header_codebooks; ogg_page og; state->in = in; state->read = read_func; state->write = write_func; state->oy = malloc(sizeof(ogg_sync_state)); ogg_sync_init(state->oy); while (1) { buffer = ogg_sync_buffer(state->oy, CHUNKSIZE); bytes = state->read(buffer, 1, CHUNKSIZE, state->in); ogg_sync_wrote(state->oy, bytes); if (ogg_sync_pageout(state->oy, &og) == 1) break; if (chunks++ >= 10) { /* Bail if we don't find data in the first 40 kB */ if (byteslasterror = _("Input truncated or empty."); else state->lasterror = _("Input is not an Ogg bitstream."); goto err; } } /* BOS loop, starting with a loaded ogg page. */ if (buffer_chain_newlink(state) < 0) goto err; for (read_bos = 1, have_vorbis = 0; read_bos;) { test_supported = vcedit_supported_stream(state, &og); if (test_supported < 0) { goto err; } else if (test_supported == 0 || have_vorbis) { if (vcedit_add_serial(state, ogg_page_serialno(&og)) < 0) goto err; if (buffer_chain_push(state, &og) < 0) goto err; } else if (test_supported > 0) { if (buffer_chain_newlink(state) < 0) goto err; state->serial = ogg_page_serialno(&og); if (vcedit_add_serial(state, ogg_page_serialno(&og)) < 0) goto err; state->os = malloc(sizeof(ogg_stream_state)); ogg_stream_init(state->os, state->serial); state->vi = malloc(sizeof(vorbis_info)); vorbis_info_init(state->vi); state->vc = malloc(sizeof(vorbis_comment)); vorbis_comment_init(state->vc); if (ogg_stream_pagein(state->os, &og) < 0) { state->lasterror = _("Error reading first page of Ogg bitstream."); goto err; } if (ogg_stream_packetout(state->os, &header_main) != 1) { state->lasterror = _("Error reading initial header packet."); goto err; } if (vorbis_synthesis_headerin(state->vi, state->vc, &header_main) < 0) { state->lasterror = _("Ogg bitstream does not contain Vorbis data."); goto err; } have_vorbis = 1; } while (1) { if (ogg_sync_pageout(state->oy, &og) == 1) break; buffer = ogg_sync_buffer(state->oy, CHUNKSIZE); bytes = state->read(buffer, 1, CHUNKSIZE, state->in); if (bytes == 0) { state->lasterror = _("EOF before recognised stream."); goto err; } ogg_sync_wrote(state->oy, bytes); } if (!ogg_page_bos(&og)) { read_bos = 0; page_pending = 1; } } if (!state->os) { state->lasterror = _("Ogg bitstream does not contain a supported data-type."); goto err; } state->mainlen = header_main.bytes; state->mainbuf = malloc(state->mainlen); memcpy(state->mainbuf, header_main.packet, header_main.bytes); if (ogg_page_serialno(&og) == state->serial) { if (buffer_chain_newlink(state) < 0) goto err; } else { if (buffer_chain_push(state, &og) < 0) goto err; page_pending = 0; } i = 0; header = &header_comments; while (i < 2) { while (i < 2) { int result; if (!page_pending) { result = vcedit_target_pageout(state, &og); } else { result = 1; page_pending = 0; } if (result == 0 || result == -2) { break; /* Too little data so far */ } else if (result == -1) { goto err; } else if (result == 1) { ogg_stream_pagein(state->os, &og); while (i<2) { result = ogg_stream_packetout(state->os, header); if (result == 0) break; if (result == -1) { state->lasterror = _("Corrupt secondary header."); goto err; } vorbis_synthesis_headerin(state->vi, state->vc, header); if (i == 1) { state->booklen = header->bytes; state->bookbuf = malloc(state->booklen); memcpy(state->bookbuf, header->packet, header->bytes); } i++; header = &header_codebooks; } } } buffer = ogg_sync_buffer(state->oy, CHUNKSIZE); bytes = state->read(buffer, 1, CHUNKSIZE, state->in); if (bytes == 0 && i < 2) { state->lasterror = _("EOF before end of Vorbis headers."); goto err; } ogg_sync_wrote(state->oy, bytes); } /* Copy the vendor tag */ state->vendor = malloc(strlen(state->vc->vendor) +1); strcpy(state->vendor, state->vc->vendor); /* Headers are done! */ return 0; err: vcedit_clear_internals(state); return -1; } int vcedit_write(vcedit_state *state, void *out) { ogg_stream_state streamout; ogg_packet header_main; ogg_packet header_comments; ogg_packet header_codebooks; ogg_page ogout, ogin; ogg_packet op; ogg_int64_t granpos = 0; int result; char *buffer; int bytes; int needflush=0, needout=0; state->eosin = 0; state->extrapage = 0; header_main.bytes = state->mainlen; header_main.packet = state->mainbuf; header_main.b_o_s = 1; header_main.e_o_s = 0; header_main.granulepos = 0; header_codebooks.bytes = state->booklen; header_codebooks.packet = state->bookbuf; header_codebooks.b_o_s = 0; header_codebooks.e_o_s = 0; header_codebooks.granulepos = 0; ogg_stream_init(&streamout, state->serial); _commentheader_out(state->vc, state->vendor, &header_comments); ogg_stream_packetin(&streamout, &header_main); ogg_stream_packetin(&streamout, &header_comments); ogg_stream_packetin(&streamout, &header_codebooks); while ((result = ogg_stream_flush(&streamout, &ogout))) { if (state->sidebuf && buffer_chain_writelink(state, out) < 0) goto cleanup; if (state->write(ogout.header, 1, ogout.header_len, out) != (size_t)ogout.header_len) goto cleanup; if (state->write(ogout.body, 1, ogout.body_len, out) != (size_t)ogout.body_len) goto cleanup; } while (state->sidebuf) { if (buffer_chain_writelink(state, out) < 0) goto cleanup; } if (buffer_chain_newlink(state) < 0) goto cleanup; while (_fetch_next_packet(state, &op, &ogin)) { int size; size = _blocksize(state, &op); granpos += size; if (needflush) { if (ogg_stream_flush(&streamout, &ogout)) { if (state->sidebuf && buffer_chain_writelink(state, out) < 0) goto cleanup; if (state->write(ogout.header,1,ogout.header_len, out) != (size_t) ogout.header_len) goto cleanup; if (state->write(ogout.body,1,ogout.body_len, out) != (size_t) ogout.body_len) goto cleanup; } } else if (needout) { if (ogg_stream_pageout(&streamout, &ogout)) { if (state->sidebuf && buffer_chain_writelink(state, out) < 0) goto cleanup; if (state->write(ogout.header,1,ogout.header_len, out) != (size_t) ogout.header_len) goto cleanup; if (state->write(ogout.body,1,ogout.body_len, out) != (size_t) ogout.body_len) goto cleanup; } } needflush=needout=0; if (op.granulepos == -1) { op.granulepos = granpos; ogg_stream_packetin(&streamout, &op); } else { /* granulepos is set, validly. Use it, and force a flush to * account for shortened blocks (vcut) when appropriate */ if (granpos > op.granulepos) { granpos = op.granulepos; ogg_stream_packetin(&streamout, &op); needflush = 1; } else { ogg_stream_packetin(&streamout, &op); needout = 1; } } } streamout.e_o_s = 1; while (ogg_stream_flush(&streamout, &ogout)) { if (state->sidebuf && buffer_chain_writelink(state, out) < 0) goto cleanup; if (state->write(ogout.header, 1, ogout.header_len, out) != (size_t)ogout.header_len) goto cleanup; if (state->write(ogout.body, 1, ogout.body_len, out) != (size_t)ogout.body_len) goto cleanup; } if (state->extrapage) { /* This is the first page of a new chain, get rid of the * sidebuffer */ while (state->sidebuf) if (buffer_chain_writelink(state, out) < 0) goto cleanup; if (state->write(ogin.header, 1, ogin.header_len, out) != (size_t)ogin.header_len) goto cleanup; if (state->write(ogin.body, 1, ogin.body_len, out) != (size_t)ogin.body_len) goto cleanup; } state->eosin = 0; /* clear it, because not all paths to here do */ while (!state->eosin) /* We reached eos, not eof */ { /* We copy the rest of the stream (other logical streams) * through, a page at a time. */ while (1) { result = ogg_sync_pageout(state->oy, &ogout); if (result==0) break; if (result<0) { state->lasterror = _("Corrupt or missing data, continuing..."); } else { /* Don't bother going through the rest, we can just * write the page out now */ if (state->write(ogout.header,1,ogout.header_len, out) != (size_t) ogout.header_len) { goto cleanup; } if (state->write(ogout.body,1,ogout.body_len, out) != (size_t) ogout.body_len) { goto cleanup; } } } buffer = ogg_sync_buffer(state->oy, CHUNKSIZE); bytes = state->read(buffer,1, CHUNKSIZE, state->in); ogg_sync_wrote(state->oy, bytes); if (bytes == 0) { state->eosin = 1; break; } } cleanup: ogg_stream_clear(&streamout); /* We don't ogg_packet_clear() this, because the memory was allocated in _commentheader_out(), so we mirror that here */ _ogg_free(header_comments.packet); free(state->mainbuf); free(state->bookbuf); state->mainbuf = state->bookbuf = NULL; if (!state->eosin) { state->lasterror = _("Error writing stream to output. " "Output stream may be corrupted or truncated."); return -1; } return 0; } vorbis-tools-1.4.2/vorbiscomment/Makefile.in0000644000175000017500000006275514002242753016053 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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@ bin_PROGRAMS = vorbiscomment$(EXEEXT) subdir = vorbiscomment ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \ $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intl.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/size_max.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ $(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.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)" "$(DESTDIR)$(man1dir)" PROGRAMS = $(bin_PROGRAMS) am__objects_1 = vcedit.$(OBJEXT) vcomment.$(OBJEXT) am_vorbiscomment_OBJECTS = $(am__objects_1) vorbiscomment_OBJECTS = $(am_vorbiscomment_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(vorbiscomment_SOURCES) $(EXTRA_vorbiscomment_SOURCES) DIST_SOURCES = $(vorbiscomment_SOURCES) $(EXTRA_vorbiscomment_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) 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@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AO_CFLAGS = @AO_CFLAGS@ AO_LIBS = @AO_LIBS@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURL_CFLAGS = @CURL_CFLAGS@ CURL_LIBS = @CURL_LIBS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG = @DEBUG@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLAC_LIBS = @FLAC_LIBS@ GENCAT = @GENCAT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIBC2 = @GLIBC2@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WPRINTF = @HAVE_WPRINTF@ I18N_CFLAGS = @I18N_CFLAGS@ I18N_LIBS = @I18N_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KATE_CFLAGS = @KATE_CFLAGS@ KATE_LIBS = @KATE_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBPTH = @LIBPTH@ LIBPTH_PREFIX = @LIBPTH_PREFIX@ LIBS = @LIBS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBC = @LTLIBC@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBPTH = @LTLIBPTH@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ OPT_SUBDIRS = @OPT_SUBDIRS@ OPUSFILE_CFLAGS = @OPUSFILE_CFLAGS@ OPUSFILE_LIBS = @OPUSFILE_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POSUB = @POSUB@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PROFILE = @PROFILE@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHARE_CFLAGS = @SHARE_CFLAGS@ SHARE_LIBS = @SHARE_LIBS@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ SPEEX_LIBS = @SPEEX_LIBS@ STRIP = @STRIP@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISENC_LIBS = @VORBISENC_LIBS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ WINDRES = @WINDRES@ WOE32 = @WOE32@ WOE32DLL = @WOE32DLL@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ 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 = $(datadir)/locale 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@ mans = vorbiscomment.1 vorbiscommentsources = vcedit.c vcedit.h vcomment.c vceditaux.h man_MANS = $(mans) AM_CPPFLAGS = @SHARE_CFLAGS@ @I18N_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ vorbiscomment_LDADD = @SHARE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @LIBICONV@ @I18N_LIBS@ vorbiscomment_DEPENDENCIES = @SHARE_LIBS@ vorbiscomment_SOURCES = $(vorbiscommentsources) EXTRA_vorbiscomment_SOURCES = $(man_MANS) all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu vorbiscomment/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu vorbiscomment/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(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 \ || test -f $$p1 \ ; 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) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(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: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list vorbiscomment$(EXEEXT): $(vorbiscomment_OBJECTS) $(vorbiscomment_DEPENDENCIES) $(EXTRA_vorbiscomment_DEPENDENCIES) @rm -f vorbiscomment$(EXEEXT) $(AM_V_CCLD)$(LINK) $(vorbiscomment_OBJECTS) $(vorbiscomment_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vcedit.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vcomment.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) $(MANS) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-man 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-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \ ctags ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-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-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \ uninstall-binPROGRAMS uninstall-man uninstall-man1 .PRECIOUS: Makefile debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" # 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: vorbis-tools-1.4.2/vorbiscomment/vceditaux.h0000644000175000017500000000035013767436421016150 00000000000000typedef struct vcedit_page_buffer { char *data; size_t data_len; } vcedit_page_buffer; typedef struct vcedit_buffer_chain { struct vcedit_buffer_chain *next; struct vcedit_page_buffer buffer; } vcedit_buffer_chain; vorbis-tools-1.4.2/vorbiscomment/vcomment.c0000644000175000017500000006541013767445623016013 00000000000000/* This program is licensed under the GNU General Public License, * version 2, a copy of which is included with this program. * * (c) 2000-2002 Michael Smith * (c) 2001 Ralph Giles * (c) 2017-2020 Philipp Schafft * * Front end to show how to use vcedit; * Of limited usability on its own, but could be useful. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #if HAVE_STAT && HAVE_CHMOD #include #include #include #endif #include "getopt.h" #include "utf8.h" #include "i18n.h" #include "vcedit.h" /* getopt format struct */ static const struct option long_options[] = { {"list", no_argument, 0, 'l'}, {"append", no_argument, 0, 'a'}, {"tag", required_argument, 0, 't'}, {"rm", required_argument, 0, 'd'}, {"write", no_argument, 0, 'w'}, {"help", no_argument, 0, 'h'}, {"quiet", no_argument, 0, 'q'}, /* unused */ {"version", no_argument, 0, 'V'}, {"commentfile", required_argument, 0, 'c'}, {"raw", no_argument, 0, 'R'}, {"escapes", no_argument, 0, 'e'}, {NULL, 0, 0, 0} }; /* local parameter storage from parsed options */ typedef struct { /* mode and flags */ int mode; int raw; int escapes; /* file names and handles */ char *infilename, *outfilename; char *commentfilename; FILE *in, *out, *com; int tempoutfile; /* comments */ int commentcount; char **comments; int *changetypes; } param_t; #define MODE_NONE 0 #define MODE_LIST 1 #define MODE_WRITE 2 #define MODE_APPEND 3 #define CHANGETYPE_ADD 0 #define CHANGETYPE_REMOVE 1 /* prototypes */ void usage(void); void print_comments(FILE *out, vorbis_comment *vc, int raw, int escapes); int alter_comment(char *line, vorbis_comment *vc, int raw, int escapes, int changetype); char *escape(const char *from, int fromsize); char *unescape(const char *from, int *tosize); param_t *new_param(void); void free_param(param_t *param); void parse_options(int argc, char *argv[], param_t *param); void open_files(param_t *p); void close_files(param_t *p, int output_written); static void _vorbis_comment_rm_tag(vorbis_comment *vc, const char *tag, const char *contents); char * read_line (FILE *input) { /* Construct a list of buffers. Each buffer will hold 1024 bytes. If * more is required, it is easier to extend the list than to extend * a massive buffer. When all the bytes up to a newline have been * retrieved, join the buffers together **/ int buffer_count = 0, max_buffer_count = 10, buffer_size = 1024; int ii; char **buffers = 0, *buffer; /* Start with room for 10 buffers */ buffers = malloc (sizeof (char *) * max_buffer_count); while (1) { char *retval; /* Increase the max buffer count in increments of 10 */ if (buffer_count == max_buffer_count) { max_buffer_count = buffer_count + 10; buffers = realloc (buffers, sizeof (char *) * max_buffer_count); } buffer = malloc (sizeof (char) * (buffer_size + 1)); retval = fgets (buffer, (buffer_size + 1), input); if (retval) { buffers[buffer_count] = buffer; buffer_count++; if (retval[strlen (retval) - 1] == '\n') { /* End of the line */ break; } } else { /* End of the file */ free (buffer); break; } } if (buffer_count == 0) { /* No more data to read */ free (buffers); return 0; } /* Create one giant buffer to contain all the retrieved text */ buffer = malloc (sizeof (char) * (buffer_count * (buffer_size + 1))); /* Copy buffer data and free memory */ for (ii = 0; ii < buffer_count; ii++) { strncpy (buffer + (ii * buffer_size), buffers[ii], buffer_size); free (buffers[ii]); } free (buffers); buffer[buffer_count * (buffer_size + 1) - 1] = 0; return buffer; } /********** Delete a comment from the comment list. This deletes a comment from the list. We implement this here as libvorbis does not provide it. Also this is very inefficent as we need to copy the compelet structure. But it is only called once for each file and each deleted key so that is not much of a problem. ***********/ static void _vorbis_comment_rm_tag(vorbis_comment *vc, const char *tag, const char *contents) { vorbis_comment vc_tmp; size_t taglen; int i; const char *p; int match; taglen = strlen(tag); vorbis_comment_init(&vc_tmp); for (i = 0; i < vc->comments; i++) { p = vc->user_comments[i]; match = 0; do { if (strncasecmp(p, tag, taglen) != 0) { break; } p += taglen; if (*p != '=') { break; } p++; if (contents) { if (strcmp(p, contents) != 0) { break; } } match = 1; } while (0); if (!match) { vorbis_comment_add(&vc_tmp, vc->user_comments[i]); } } vorbis_comment_clear(vc); *vc = vc_tmp; } /********** main.c This is the main function where options are read and written you should be able to just read this function and see how to call the vcedit routines. Details of how to pack/unpack the vorbis_comment structure itself are in the following two routines. The rest of the file is ui dressing so make the program minimally useful as a command line utility and can generally be ignored. ***********/ int main(int argc, char **argv) { vcedit_state *state; vorbis_comment *vc; param_t *param; int i; setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); /* initialize the cmdline interface */ param = new_param(); parse_options(argc, argv, param); /* take care of opening the requested files */ /* relevent file pointers are returned in the param struct */ open_files(param); /* which mode are we in? */ if (param->mode == MODE_LIST) { state = vcedit_new_state(); if (vcedit_open(state, param->in) < 0) { fprintf(stderr, _("Failed to open file as Vorbis: %s\n"), vcedit_error(state)); close_files(param, 0); free_param(param); vcedit_clear(state); return 1; } /* extract and display the comments */ vc = vcedit_comments(state); print_comments(param->com, vc, param->raw, param->escapes); /* done */ vcedit_clear(state); close_files(param, 0); free_param(param); return 0; } if (param->mode == MODE_WRITE || param->mode == MODE_APPEND) { state = vcedit_new_state(); if (vcedit_open(state, param->in) < 0) { fprintf(stderr, _("Failed to open file as Vorbis: %s\n"), vcedit_error(state)); close_files(param, 0); free_param(param); vcedit_clear(state); return 1; } /* grab and clear the exisiting comments */ vc = vcedit_comments(state); if (param->mode != MODE_APPEND) { vorbis_comment_clear(vc); vorbis_comment_init(vc); } for (i=0; i < param->commentcount; i++) { if (alter_comment(param->comments[i], vc, param->raw, param->escapes, param->changetypes[i]) < 0) fprintf(stderr, _("Bad comment: \"%s\"\n"), param->comments[i]); } /* build the replacement structure */ if (param->commentcount==0) { char *comment; while ((comment = read_line (param->com))) { if (alter_comment(comment, vc, param->raw, param->escapes, CHANGETYPE_ADD) < 0) { fprintf (stderr, _("bad comment: \"%s\"\n"), comment); } free (comment); } } /* write out the modified stream */ if (vcedit_write(state, param->out) < 0) { fprintf(stderr, _("Failed to write comments to output file: %s\n"), vcedit_error(state)); close_files(param, 0); free_param(param); vcedit_clear(state); return 1; } /* done */ vcedit_clear(state); close_files(param, 1); free_param(param); return 0; } /* should never reach this point */ fprintf(stderr, _("no action specified\n")); free_param(param); return 1; } /********** Print out the comments from the vorbis structure this version just dumps the raw strings a more elegant version would use vorbis_comment_query() ***********/ void print_comments(FILE *out, vorbis_comment *vc, int raw, int escapes) { int i; char *escaped_value, *decoded_value; for (i = 0; i < vc->comments; i++) { if (escapes) { escaped_value = escape(vc->user_comments[i], vc->comment_lengths[i]); } else { escaped_value = vc->user_comments[i]; } if (!raw && utf8_decode(escaped_value, &decoded_value) >= 0) { fprintf(out, "%s\n", decoded_value); free(decoded_value); } else { fprintf(out, "%s\n", escaped_value); } if (escapes) { free(escaped_value); } } } /********** Take a line of the form "TAG=value string", parse it, convert the value to UTF-8, and add or remove it from vc comment block. Error checking is performed (return 0 if OK, negative on error). Note that this assumes a null-terminated string, which may cause problems with > 8-bit character sets! ***********/ int alter_comment(char *line, vorbis_comment *vc, int raw, int escapes, int changetype) { char *mark, *value, *utf8_value, *unescaped_value; int unescaped_len; int allow_empty = 0; int is_empty = 0; if (changetype != CHANGETYPE_ADD && changetype != CHANGETYPE_REMOVE) { return -1; } if (changetype == CHANGETYPE_REMOVE) { allow_empty = 1; } /* strip any terminal newline */ { int len = strlen(line); if (line[len-1] == '\n') line[len-1] = '\0'; } /* validation: basically, we assume it's a tag * if if has an '=' after valid tag characters, * or if it just contains valid tag characters * and we're allowing empty values. */ mark = strchr(line, '='); if (mark == NULL) { if (allow_empty) { mark = line + strlen(line); is_empty = 1; } else { return -1; } } value = line; while (value < mark) { if (*value < 0x20 || *value > 0x7d || *value == 0x3d) return -1; value++; } if (is_empty) { unescaped_value = NULL; } else { /* split the line by turning the '=' in to a null */ *mark = '\0'; value++; if (raw) { if (!utf8_validate(value)) { fprintf(stderr, _("'%s' is not valid UTF-8, cannot add\n"), line); return -1; } utf8_value = value; } else { /* convert the value from the native charset to UTF-8 */ if (utf8_encode(value, &utf8_value) < 0) { fprintf(stderr, _("Couldn't convert comment to UTF-8, cannot add\n")); return -1; } } if (escapes) { unescaped_value = unescape(utf8_value, &unescaped_len); /* NOTE: unescaped_len remains unused; to write comments with embeded \0's one would need to access the vc struct directly -- see vorbis_comment_add() in vorbis/lib/info.c for details, but use mem* instead of str*... */ if (unescaped_value == NULL) { fprintf(stderr, _("Couldn't un-escape comment, cannot add\n")); if (!raw) free(utf8_value); return -1; } } else { unescaped_value = utf8_value; } } /* append or delete the comment and return */ switch (changetype) { case CHANGETYPE_ADD: vorbis_comment_add_tag(vc, line, unescaped_value); break; case CHANGETYPE_REMOVE: _vorbis_comment_rm_tag(vc, line, unescaped_value); break; } if (escapes) free(unescaped_value); if (!raw && !is_empty) free(utf8_value); return 0; } /*** Escaping routines. ***/ /********** Convert raw comment content to a safely escaped single-line 0-terminated string. The raw comment can contain null bytes and thus requires an explicit size argument. The size argument doesn't include a trailing '\0' (the vorbis bitstream doesn't use one). Returns the address of a newly allocated string - caller is responsible to free it. ***********/ char *escape(const char *from, int fromsize) { /* worst-case allocation, will be trimmed when done */ char *to = malloc(fromsize * 2 + 1); char *s; for (s = to; fromsize > 0; fromsize--, from++) { switch (*from) { case '\n': *s++ = '\\'; *s++ = 'n'; break; case '\r': *s++ = '\\'; *s++ = 'r'; break; case '\0': *s++ = '\\'; *s++ = '0'; break; case '\\': *s++ = '\\'; *s++ = '\\'; break; default: /* normal character */ *s++ = *from; break; } } *s++ = '\0'; to = realloc(to, s - to); /* free unused space */ return to; } /********** Convert a safely escaped 0-terminated string to raw comment content. The result can contain null bytes, so the the result's length is written into *tosize. This size doesn't include a trailing '\0' (the vorbis bitstream doesn't use one) but we do append it for convenience since vorbis_comment_add[_tag]() has a null-terminated interface. Returns the address of a newly allocated string - caller is responsible to free it. Returns NULL in case of error (if the input is mal-formed). ***********/ char *unescape(const char *from, int *tosize) { /* worst-case allocation, will be trimmed when done */ char *to = malloc(strlen(from) + 1); char *s; for (s = to; *from != '\0'; ) { if (*from == '\\') { from++; switch (*from++) { case 'n': *s++ = '\n'; break; case 'r': *s++ = '\r'; break; case '0': *s++ = '\0'; break; case '\\': *s++ = '\\'; break; case '\0': /* A backslash as the last character of the string is an error. */ /* FALL-THROUGH */ default: /* We consider any unrecognized escape as an error. This is good in general and reserves them for future expansion. */ free(to); return NULL; } } else { /* normal character */ *s++ = *from++; } } *tosize = s - to; /* excluding '\0' */ *s++ = '\0'; to = realloc(to, s - to); /* free unused space */ return to; } /*** ui-specific routines ***/ /********** Print out to usage summary for the cmdline interface (ui) ***********/ /* XXX: -q is unused printf (_(" -q, --quiet Don't display comments while editing\n")); */ void usage(void) { printf (_("vorbiscomment from %s %s\n" " by the Xiph.Org Foundation (http://www.xiph.org/)\n\n"), PACKAGE, VERSION); printf (_("List or edit comments in Ogg Vorbis files.\n")); printf ("\n"); printf (_("Usage: \n" " vorbiscomment [-Vh]\n" " vorbiscomment [-lRe] inputfile\n" " vorbiscomment <-a|-w> [-Re] [-c file] [-t tag] inputfile [outputfile]\n")); printf ("\n"); printf (_("Listing options\n")); printf (_(" -l, --list List the comments (default if no options are given)\n")); printf ("\n"); printf (_("Editing options\n")); printf (_(" -a, --append Update comments\n")); printf (_(" -t \"name=value\", --tag \"name=value\"\n" " Specify a comment tag on the commandline\n")); printf (_(" -d \"name[=value]\", --rm \"name[=value]\"\n" " Specify a comment tag on the commandline to remove\n" " If no value is given all tags with that name are removed\n" " This implies -a,\n")); printf (_(" -w, --write Write comments, replacing the existing ones\n")); printf ("\n"); printf (_("Miscellaneous options\n")); printf (_(" -c file, --commentfile file\n" " When listing, write comments to the specified file.\n" " When editing, read comments from the specified file.\n")); printf (_(" -R, --raw Read and write comments in UTF-8\n")); printf (_(" -e, --escapes Use \\n-style escapes to allow multiline comments.\n")); printf ("\n"); printf (_(" -h, --help Display this help\n")); printf (_(" -V, --version Output version information and exit\n")); printf ("\n"); printf (_("If no output file is specified, vorbiscomment will modify the input file. This\n" "is handled via temporary file, such that the input file is not modified if any\n" "errors are encountered during processing.\n")); printf ("\n"); printf (_("vorbiscomment handles comments in the format \"name=value\", one per line. By\n" "default, comments are written to stdout when listing, and read from stdin when\n" "editing. Alternatively, a file can be specified with the -c option, or tags\n" "can be given on the commandline with -t \"name=value\". Use of either -c or -t\n" "disables reading from stdin.\n")); printf ("\n"); printf (_("Examples:\n" " vorbiscomment -a in.ogg -c comments.txt\n" " vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n")); printf ("\n"); printf (_("NOTE: Raw mode (--raw, -R) will read and write comments in UTF-8 rather than\n" "converting to the user's character set, which is useful in scripts. However,\n" "this is not sufficient for general round-tripping of comments in all cases,\n" "since comments can contain newlines. To handle that, use escaping (-e,\n" "--escape).\n")); } void free_param(param_t *param) { free(param->infilename); free(param->outfilename); free(param); } /********** allocate and initialize a the parameter struct ***********/ param_t *new_param(void) { param_t *param = (param_t *)malloc(sizeof(param_t)); /* mode and flags */ param->mode = MODE_LIST; param->raw = 0; param->escapes = 0; /* filenames */ param->infilename = NULL; param->outfilename = NULL; param->commentfilename = "-"; /* default */ /* file pointers */ param->in = param->out = NULL; param->com = NULL; param->tempoutfile=0; /* comments */ param->commentcount=0; param->comments=NULL; param->changetypes=NULL; return param; } /********** parse_options() This function takes care of parsing the command line options with getopt() and fills out the param struct with the mode, flags, and filenames. ***********/ void parse_options(int argc, char *argv[], param_t *param) { int ret; int option_index = 1; setlocale(LC_ALL, ""); while ((ret = getopt_long(argc, argv, "alwhqVc:t:d:Re", long_options, &option_index)) != -1) { switch (ret) { case 0: fprintf(stderr, _("Internal error parsing command options\n")); exit(1); break; case 'l': param->mode = MODE_LIST; break; case 'R': param->raw = 1; break; case 'e': param->escapes = 1; break; case 'w': param->mode = MODE_WRITE; break; case 'a': param->mode = MODE_APPEND; break; case 'V': fprintf(stderr, _("vorbiscomment from vorbis-tools " VERSION "\n")); exit(0); break; case 'h': usage(); exit(0); break; case 'q': /* set quiet flag: unused */ break; case 'c': param->commentfilename = strdup(optarg); break; case 't': param->comments = realloc(param->comments, (param->commentcount+1)*sizeof(char *)); param->changetypes = realloc(param->changetypes, (param->commentcount+1)*sizeof(int)); param->comments[param->commentcount] = strdup(optarg); param->changetypes[param->commentcount] = CHANGETYPE_ADD; param->commentcount++; break; case 'd': param->comments = realloc(param->comments, (param->commentcount+1)*sizeof(char *)); param->changetypes = realloc(param->changetypes, (param->commentcount+1)*sizeof(int)); param->comments[param->commentcount] = strdup(optarg); param->changetypes[param->commentcount] = CHANGETYPE_REMOVE; param->commentcount++; param->mode = MODE_APPEND; break; default: usage(); exit(1); } } /* remaining bits must be the filenames */ if ((param->mode == MODE_LIST && (argc-optind) != 1) || ((param->mode == MODE_WRITE || param->mode == MODE_APPEND) && ((argc-optind) < 1 || (argc-optind) > 2))) { usage(); exit(1); } param->infilename = strdup(argv[optind]); if (param->mode == MODE_WRITE || param->mode == MODE_APPEND) { if (argc-optind == 1) { param->tempoutfile = 1; param->outfilename = malloc(strlen(param->infilename)+8); strcpy(param->outfilename, param->infilename); strcat(param->outfilename, ".vctemp"); } else { param->outfilename = strdup(argv[optind+1]); } } } /********** open_files() This function takes care of opening the appropriate files based on the mode and filenames in the param structure. A filename of '-' is interpreted as stdin/out. The idea is just to hide the tedious checking so main() is easier to follow as an example. ***********/ void open_files(param_t *p) { /* for all modes, open the input file */ if (strncmp(p->infilename,"-",2) == 0) { p->in = stdin; } else { p->in = fopen(p->infilename, "rb"); } if (p->in == NULL) { fprintf(stderr, _("Error opening input file '%s'.\n"), p->infilename); exit(1); } if (p->mode == MODE_WRITE || p->mode == MODE_APPEND) { /* open output for write mode */ if (!strcmp(p->infilename, p->outfilename)) { fprintf(stderr, _("Input filename may not be the same as output filename\n")); exit(1); } if (strncmp(p->outfilename,"-",2) == 0) { p->out = stdout; } else { p->out = fopen(p->outfilename, "wb"); } if (p->out == NULL) { fprintf(stderr, _("Error opening output file '%s'.\n"), p->outfilename); exit(1); } /* commentfile is input */ if ((p->commentfilename == NULL) || (strncmp(p->commentfilename,"-",2) == 0)) { p->com = stdin; } else { p->com = fopen(p->commentfilename, "r"); } if (p->com == NULL) { fprintf(stderr, _("Error opening comment file '%s'.\n"), p->commentfilename); exit(1); } } else { /* in list mode, commentfile is output */ if ((p->commentfilename == NULL) || (strncmp(p->commentfilename,"-",2) == 0)) { p->com = stdout; } else { p->com = fopen(p->commentfilename, "w"); } if (p->com == NULL) { fprintf(stderr, _("Error opening comment file '%s'\n"), p->commentfilename); exit(1); } } /* all done */ } /********** close_files() Do some quick clean-up. ***********/ void close_files(param_t *p, int output_written) { if (p->in != NULL && p->in != stdin) fclose(p->in); if (p->out != NULL && p->out != stdout) fclose(p->out); if (p->com != NULL && p->com != stdout && p->com != stdin) fclose(p->com); if (p->tempoutfile) { #if HAVE_STAT && HAVE_CHMOD struct stat st; stat (p->infilename, &st); #endif if (output_written) { /* Some platforms fail to rename a file if the new name already * exists, so we need to remove, then rename. How stupid. */ if (rename(p->outfilename, p->infilename)) { if (remove(p->infilename)) fprintf(stderr, _("Error removing old file %s\n"), p->infilename); else if (rename(p->outfilename, p->infilename)) fprintf(stderr, _("Error renaming %s to %s\n"), p->outfilename, p->infilename); } else { #if HAVE_STAT && HAVE_CHMOD chmod (p->infilename, st.st_mode); #endif } } else { if (remove(p->outfilename)) { fprintf(stderr, _("Error removing erroneous temporary file %s\n"), p->outfilename); } } } } vorbis-tools-1.4.2/vorbiscomment/vorbiscomment.10000644000175000017500000000710713767140576016766 00000000000000.\" Process this file with .\" groff -man -Tascii vorbiscomment.1 .\" .TH VORBISCOMMENT 1 "December 30, 2008" "Xiph.Org Foundation" "Ogg Vorbis Tools" .SH NAME vorbiscomment \- List or edit comments in Ogg Vorbis files .SH SYNOPSIS .B vorbiscomment .B [-l] .RB [ -R ] .RB [ -e ] .I file.ogg .br .B vorbiscomment .B -a .B [ -c commentfile | -t \*(lqname=value\*(rq | -d \*(lqname=value\*(rq ] .RB [ -q ] .RB [ -R ] .RB [ -e ] .I in.ogg .I [out.ogg] .br .B vorbiscomment .B -w .B [ -c commentfile | -t \*(lqname=value\*(rq ] .RB [ -q ] .RB [ -R ] .RB [ -e ] .I in.ogg .I [out.ogg] .SH DESCRIPTION .B vorbiscomment Reads, modifies, and appends Ogg Vorbis audio file metadata tags. .SH OPTIONS .IP "-a, --append" Updates comments. .IP "-c file, --commentfile file" Take comments from a file. The file is the same format as is output by the the -l option or given to the -t option: one element per line in 'tag=value' format. If the file is /dev/null and -w was passed, the existing comments will be removed. .IP "-h, --help" Show command help. .IP "-l, --list" List the comments in the Ogg Vorbis file. .IP "-q, --quiet" Quiet mode. No messages are displayed. .IP "-t 'name=value', --tag 'name=value'" Specify a new tag on the command line. Each tag is given as a single string. The part before the '=' is treated as the tag name and the part after as the value. .IP "-d 'name[=value]', --rm 'name[=value]'" Specify a tag on the command line for removal. Each tag is given as a single string. The part before the '=' is treated as the tag name and the part after as the value. If no value is given all tags are deleted with the given name. Otherwise only those with matching values are deleted. .IP "-w, --write" Replace comments with the new set given either on the command line with -t or from a file with -c. If neither -c nor -t is given, the new set will be read from the standard input. .IP "-R, --raw" Read and write comments in UTF-8, rather than converting to the user's character set. .IP "-e, --escapes" Quote/unquote newlines and backslashes in the comments. This ensures every comment is exactly one line in the output (or input), allowing to filter and round-trip them. Without it, you can only write multi-line comments by using -t and you can't reliably distinguish them from multiple one-line comments. Supported escapes are c-style "\en", "\er", "\e\e" and "\e0". A backslash followed by anything else is an error. Note: currently, anything after the first "\e0" is thrown away while writing. This is a bug -- the Vorbis format can safely store null characters, but most other tools wouldn't handle them anyway. .IP "-V, --version" Display the version of vorbiscomment. .\" Examples go here .SH EXAMPLES To just see what comment tags are in a file: vorbiscomment -l file.ogg To edit those comments: vorbiscomment -l file.ogg > file.txt [edit the comments in file.txt to your satisfaction] vorbiscomment -w -c file.txt file.ogg newfile.ogg To simply add a comment: vorbiscomment -a -t 'ARTIST=No One You Know' file.ogg newfile.ogg To add a set of comments from the standard input: vorbiscomment -a file.ogg ARTIST=No One You Know ALBUM=The Famous Album .SH TAG FORMAT See https://xiph.org/vorbis/doc/v-comment.html for documentation on the Ogg Vorbis tag format, including a suggested list of canonical tag names. .SH AUTHORS .TP Program Authors: .br Michael Smith .br Ralph Giles .br .TP Manpage Author: .br Christopher L Cheney .SH "SEE ALSO" .PP \fBoggenc\fR(1), \fBoggdec\fR(1), \fBogg123\fR(1), \fBogginfo\fR(1) vorbis-tools-1.4.2/vorbiscomment/vcedit.h0000644000175000017500000000361513767447150015442 00000000000000/* This program is licensed under the GNU Library General Public License, version 2, * a copy of which is included with this program (with filename LICENSE.LGPL). * * (c) 2000-2001 Michael Smith * (c) 2020 Philipp Schafft * * VCEdit header. * * last modified: $ID:$ */ #ifndef __VCEDIT_H #define __VCEDIT_H #ifdef __cplusplus extern "C" { #endif #include #include #include typedef size_t (*vcedit_read_func)(void *, size_t, size_t, void *); typedef size_t (*vcedit_write_func)(const void *, size_t, size_t, void *); typedef struct { long *streams; size_t streams_len; } vcedit_serial_nos; typedef struct { ogg_sync_state *oy; ogg_stream_state *os; vorbis_comment *vc; vorbis_info *vi; vcedit_read_func read; vcedit_write_func write; void *in; int serial; vcedit_serial_nos serials; unsigned char *mainbuf; unsigned char *bookbuf; int mainlen; int booklen; char *lasterror; char *vendor; int prevW; int extrapage; int eosin; struct vcedit_buffer_chain *sidebuf; } vcedit_state; extern vcedit_state * vcedit_new_state(void); extern void vcedit_clear(vcedit_state *state); extern vorbis_comment * vcedit_comments(vcedit_state *state); extern int vcedit_open(vcedit_state *state, FILE *in); extern int vcedit_open_callbacks(vcedit_state *state, void *in, vcedit_read_func read_func, vcedit_write_func write_func); extern int vcedit_write(vcedit_state *state, void *out); extern const char * vcedit_error(vcedit_state *state); #ifdef __cplusplus } #endif #endif /* __VCEDIT_H */ vorbis-tools-1.4.2/oggdec/0000755000175000017500000000000014002243561012406 500000000000000vorbis-tools-1.4.2/oggdec/Makefile.am0000644000175000017500000000114313767140576014404 00000000000000## Process this file with automake to produce Makefile.in mans = oggdec.1 oggdecsources = oggdec.c datadir = @datadir@ localedir = $(datadir)/locale DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ bin_PROGRAMS = oggdec AM_CPPFLAGS = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @SHARE_CFLAGS@ @I18N_CFLAGS@ oggdec_LDADD = @LIBICONV@ @SHARE_LIBS@ @VORBISFILE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @I18N_LIBS@ oggdec_DEPENDENCIES = @SHARE_LIBS@ oggdec_SOURCES = $(oggdecsources) man_MANS = $(mans) mandir = @MANDIR@ EXTRA_oggdec_SOURCES = $(man_MANS) debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" vorbis-tools-1.4.2/oggdec/Makefile.in0000644000175000017500000006232514002242752014404 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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@ bin_PROGRAMS = oggdec$(EXEEXT) subdir = oggdec ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc2.m4 \ $(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/intdiv0.m4 \ $(top_srcdir)/m4/intl.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ $(top_srcdir)/m4/inttypes_h.m4 $(top_srcdir)/m4/lcmessage.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/lock.m4 $(top_srcdir)/m4/longlong.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/pkg.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/size_max.m4 \ $(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/uintmax_t.m4 \ $(top_srcdir)/m4/ulonglong.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.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)" "$(DESTDIR)$(man1dir)" PROGRAMS = $(bin_PROGRAMS) am__objects_1 = oggdec.$(OBJEXT) am_oggdec_OBJECTS = $(am__objects_1) oggdec_OBJECTS = $(am_oggdec_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(oggdec_SOURCES) $(EXTRA_oggdec_SOURCES) DIST_SOURCES = $(oggdec_SOURCES) $(EXTRA_oggdec_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) 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@ ALLOCA = @ALLOCA@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AO_CFLAGS = @AO_CFLAGS@ AO_LIBS = @AO_LIBS@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURL_CFLAGS = @CURL_CFLAGS@ CURL_LIBS = @CURL_LIBS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEBUG = @DEBUG@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLAC_LIBS = @FLAC_LIBS@ GENCAT = @GENCAT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GLIBC2 = @GLIBC2@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_PKG_CONFIG = @HAVE_PKG_CONFIG@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ HAVE_WPRINTF = @HAVE_WPRINTF@ I18N_CFLAGS = @I18N_CFLAGS@ I18N_LIBS = @I18N_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ KATE_CFLAGS = @KATE_CFLAGS@ KATE_LIBS = @KATE_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBMULTITHREAD = @LIBMULTITHREAD@ LIBOBJS = @LIBOBJS@ LIBPTH = @LIBPTH@ LIBPTH_PREFIX = @LIBPTH_PREFIX@ LIBS = @LIBS@ LIBTHREAD = @LIBTHREAD@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBC = @LTLIBC@ LTLIBINTL = @LTLIBINTL@ LTLIBMULTITHREAD = @LTLIBMULTITHREAD@ LTLIBOBJS = @LTLIBOBJS@ LTLIBPTH = @LTLIBPTH@ LTLIBTHREAD = @LTLIBTHREAD@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANDIR = @MANDIR@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGFMT_015 = @MSGFMT_015@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OGG_CFLAGS = @OGG_CFLAGS@ OGG_LIBS = @OGG_LIBS@ OPT_SUBDIRS = @OPT_SUBDIRS@ OPUSFILE_CFLAGS = @OPUSFILE_CFLAGS@ OPUSFILE_LIBS = @OPUSFILE_LIBS@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POSUB = @POSUB@ PRI_MACROS_BROKEN = @PRI_MACROS_BROKEN@ PROFILE = @PROFILE@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHARE_CFLAGS = @SHARE_CFLAGS@ SHARE_LIBS = @SHARE_LIBS@ SHELL = @SHELL@ SOCKET_LIBS = @SOCKET_LIBS@ SPEEX_LIBS = @SPEEX_LIBS@ STRIP = @STRIP@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ VORBISENC_LIBS = @VORBISENC_LIBS@ VORBISFILE_LIBS = @VORBISFILE_LIBS@ VORBIS_CFLAGS = @VORBIS_CFLAGS@ VORBIS_LIBS = @VORBIS_LIBS@ WINDRES = @WINDRES@ WOE32 = @WOE32@ WOE32DLL = @WOE32DLL@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ acx_pthread_config = @acx_pthread_config@ 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 = $(datadir)/locale 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@ mans = oggdec.1 oggdecsources = oggdec.c AM_CPPFLAGS = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @SHARE_CFLAGS@ @I18N_CFLAGS@ oggdec_LDADD = @LIBICONV@ @SHARE_LIBS@ @VORBISFILE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @I18N_LIBS@ oggdec_DEPENDENCIES = @SHARE_LIBS@ oggdec_SOURCES = $(oggdecsources) man_MANS = $(mans) EXTRA_oggdec_SOURCES = $(man_MANS) all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu oggdec/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu oggdec/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(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 \ || test -f $$p1 \ ; 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) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(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: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list oggdec$(EXEEXT): $(oggdec_OBJECTS) $(oggdec_DEPENDENCIES) $(EXTRA_oggdec_DEPENDENCIES) @rm -f oggdec$(EXEEXT) $(AM_V_CCLD)$(LINK) $(oggdec_OBJECTS) $(oggdec_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oggdec.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) $(MANS) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-man 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-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \ ctags ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-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-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \ uninstall-binPROGRAMS uninstall-man uninstall-man1 .PRECIOUS: Makefile debug: $(MAKE) all CFLAGS="@DEBUG@" profile: $(MAKE) all CFLAGS="@PROFILE@" # 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: vorbis-tools-1.4.2/oggdec/oggdec.c0000644000175000017500000003225313767140576013752 00000000000000/* OggDec * * This program is distributed under the GNU General Public License, version 2. * A copy of this license is included with this source. * * Copyright 2002, Michael Smith * */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #if defined(_WIN32) || defined(__EMX__) || defined(__WATCOMC__) #include #include #endif #include #include "i18n.h" struct option long_options[] = { {"quiet", no_argument, NULL, 'Q'}, {"help", no_argument, NULL, 'h'}, {"version", no_argument, NULL, 'V'}, {"bits", required_argument, NULL, 'b'}, {"endianness", required_argument, NULL, 'e'}, {"raw", no_argument, NULL, 'R'}, {"sign", required_argument, NULL, 's'}, {"output", required_argument, NULL, 'o'}, {NULL,0,NULL,0} }; static int quiet = 0; static int bits = 16; static int endian = 0; static int raw = 0; static int sign = 1; unsigned char headbuf[44]; /* The whole buffer */ char *outfilename = NULL; static void version (void) { fprintf(stderr, _("oggdec from %s %s\n"), PACKAGE, VERSION); } static void usage(void) { version (); fprintf(stdout, _(" by the Xiph.Org Foundation (https://www.xiph.org/)\n")); fprintf(stdout, _(" using decoder %s.\n\n"), vorbis_version_string()); fprintf(stdout, _("Usage: oggdec [options] file1.ogg [file2.ogg ... fileN.ogg]\n\n")); fprintf(stdout, _("Supported options:\n")); fprintf(stdout, _(" --quiet, -Q Quiet mode. No console output.\n")); fprintf(stdout, _(" --help, -h Produce this help message.\n")); fprintf(stdout, _(" --version, -V Print out version number.\n")); fprintf(stdout, _(" --bits, -b Bit depth for output (8 and 16 supported)\n")); fprintf(stdout, _(" --endianness, -e Output endianness for 16-bit output; 0 for\n" " little endian (default), 1 for big endian.\n")); fprintf(stdout, _(" --sign, -s Sign for output PCM; 0 for unsigned, 1 for\n" " signed (default 1).\n")); fprintf(stdout, _(" --raw, -R Raw (headerless) output.\n")); fprintf(stdout, _(" --output, -o Output to given filename. May only be used\n" " if there is only one input file, except in\n" " raw mode.\n")); } static void parse_options(int argc, char **argv) { int option_index = 1; int ret; while((ret = getopt_long(argc, argv, "QhVb:e:Rs:o:", long_options, &option_index)) != -1) { switch(ret) { case 'Q': quiet = 1; break; case 'h': usage(); exit(0); break; case 'V': version(); exit(0); break; case 's': sign = atoi(optarg); break; case 'b': bits = atoi(optarg); if(bits <= 8) bits = 8; else bits = 16; break; case 'e': endian = atoi(optarg); break; case 'o': outfilename = strdup(optarg); break; case 'R': raw = 1; break; default: fprintf(stderr, _("Internal error: Unrecognised argument\n")); break; } } } #define WRITE_U32(buf, x) *(buf) = (unsigned char)((x)&0xff);\ *((buf)+1) = (unsigned char)(((x)>>8)&0xff);\ *((buf)+2) = (unsigned char)(((x)>>16)&0xff);\ *((buf)+3) = (unsigned char)(((x)>>24)&0xff); #define WRITE_U16(buf, x) *(buf) = (unsigned char)((x)&0xff);\ *((buf)+1) = (unsigned char)(((x)>>8)&0xff); /* Some of this based on ao/src/ao_wav.c */ int write_prelim_header(OggVorbis_File *vf, FILE *out, ogg_int64_t knownlength) { unsigned int size = 0x7fffffff; int channels = ov_info(vf,0)->channels; int samplerate = ov_info(vf,0)->rate; int bytespersec = channels*samplerate*bits/8; int align = channels*bits/8; int samplesize = bits; if(knownlength && knownlength*bits/8*channels < size) size = (unsigned int)(knownlength*bits/8*channels+44) ; memcpy(headbuf, "RIFF", 4); WRITE_U32(headbuf+4, size-8); memcpy(headbuf+8, "WAVE", 4); memcpy(headbuf+12, "fmt ", 4); WRITE_U32(headbuf+16, 16); WRITE_U16(headbuf+20, 1); /* format */ WRITE_U16(headbuf+22, channels); WRITE_U32(headbuf+24, samplerate); WRITE_U32(headbuf+28, bytespersec); WRITE_U16(headbuf+32, align); WRITE_U16(headbuf+34, samplesize); memcpy(headbuf+36, "data", 4); WRITE_U32(headbuf+40, size - 44); if(fwrite(headbuf, 1, 44, out) != 44) { fprintf(stderr, _("ERROR: Failed to write Wave header: %s\n"), strerror(errno)); return 1; } return 0; } int rewrite_header(FILE *out, unsigned int written) { unsigned int length = written; length += 44; WRITE_U32(headbuf+4, length-8); WRITE_U32(headbuf+40, length-44); if(fseek(out, 0, SEEK_SET) != 0) return 1; if(fwrite(headbuf, 1, 44, out) != 44) { fprintf(stderr, _("ERROR: Failed to write Wave header: %s\n"), strerror(errno)); return 1; } return 0; } static FILE *open_input(char *infile) { FILE *in; if(!infile) { #ifdef __BORLANDC__ setmode(fileno(stdin), O_BINARY); #elif _WIN32 _setmode(_fileno(stdin), _O_BINARY); #endif in = stdin; } else { in = fopen(infile, "rb"); if(!in) { fprintf(stderr, _("ERROR: Failed to open input file: %s\n"), strerror(errno)); return NULL; } } return in; } static FILE *open_output(char *outfile) { FILE *out; if(!outfile) { #ifdef __BORLANDC__ setmode(fileno(stdout), O_BINARY); #elif _WIN32 _setmode(_fileno(stdout), _O_BINARY); #endif out = stdout; } else { out = fopen(outfile, "wb"); if(!out) { fprintf(stderr, _("ERROR: Failed to open output file: %s\n"), strerror(errno)); return NULL; } } return out; } static void permute_channels(char *in, char *out, int len, int channels, int bytespersample) { int permute[6][6] = {{0}, {0,1}, {0,2,1}, {0,1,2,3}, {0,1,2,3,4}, {0,2,1,5,3,4}}; int i,j,k; int samples = len/channels/bytespersample; /* Can't handle, don't try */ if (channels > 6) return; for (i=0; i < samples; i++) { for (j=0; j < channels; j++) { for (k=0; k < bytespersample; k++) { out[i*bytespersample*channels + bytespersample*permute[channels-1][j] + k] = in[i*bytespersample*channels + bytespersample*j + k]; } } } } static int decode_file(FILE *in, FILE *out, char *infile, char *outfile) { OggVorbis_File vf; int bs = 0; char buf[8192], outbuf[8192]; char *p_outbuf; int buflen = 8192; unsigned int written = 0; int ret; ogg_int64_t length = 0; ogg_int64_t done = 0; int size = 0; int seekable = 0; int percent = 0; int channels; int samplerate; if (ov_open_callbacks(in, &vf, NULL, 0, OV_CALLBACKS_DEFAULT) < 0) { fprintf(stderr, _("ERROR: Failed to open input as Vorbis\n")); fclose(in); return 1; } channels = ov_info(&vf,0)->channels; samplerate = ov_info(&vf,0)->rate; if(ov_seekable(&vf)) { int link; int chainsallowed = 0; for(link = 0; link < ov_streams(&vf); link++) { if(ov_info(&vf, link)->channels == channels && ov_info(&vf, link)->rate == samplerate) { chainsallowed = 1; } } seekable = 1; if(chainsallowed) length = ov_pcm_total(&vf, -1); else length = ov_pcm_total(&vf, 0); size = bits/8 * channels; if(!quiet) fprintf(stderr, _("Decoding \"%s\" to \"%s\"\n"), infile?infile:_("standard input"), outfile?outfile:_("standard output")); } if(!raw) { if(write_prelim_header(&vf, out, length)) { ov_clear(&vf); return 1; } } while((ret = ov_read(&vf, buf, buflen, endian, bits/8, sign, &bs)) != 0) { if(bs != 0) { vorbis_info *vi = ov_info(&vf, -1); if(channels != vi->channels || samplerate != vi->rate) { fprintf(stderr, _("Logical bitstreams with changing parameters are not supported\n")); break; } } if(ret == OV_HOLE) { if(!quiet) { fprintf(stderr, _("WARNING: hole in data (%d)\n"), ret); } continue; } else if(ret < 0) { if(!quiet) { fprintf(stderr, _("=== Vorbis library reported a stream error.\n")); } ov_clear(&vf); return 1; } if(channels > 2 && !raw) { /* Then permute! */ permute_channels(buf, outbuf, ret, channels, bits/8); p_outbuf = outbuf; } else { p_outbuf = buf; } if(fwrite(p_outbuf, 1, ret, out) != ret) { fprintf(stderr, _("Error writing to file: %s\n"), strerror(errno)); ov_clear(&vf); return 1; } written += ret; if(!quiet && seekable) { done += ret/size; if((double)done/(double)length * 200. > (double)percent) { percent = (int)((double)done/(double)length *200); fprintf(stderr, "\r\t[%5.1f%%]", (double)percent/2.); } } } if(seekable && !quiet) fprintf(stderr, "\n"); if(!raw) rewrite_header(out, written); /* We don't care if it fails, too late */ ov_clear(&vf); return 0; } int main(int argc, char **argv) { int i; setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); if(argc == 1) { usage(); return 1; } parse_options(argc,argv); if(!quiet) version(); if(optind >= argc) { fprintf(stderr, _("ERROR: No input files specified. Use -h for help\n")); return 1; } if(argc - optind > 1 && outfilename && !raw) { fprintf(stderr, _("ERROR: Can only specify one input file if output filename is specified\n")); return 1; } if(outfilename && raw) { FILE *infile, *outfile; char *infilename; if(!strcmp(outfilename, "-")) { free(outfilename); outfilename = NULL; } outfile = open_output(outfilename); if(!outfile) return 1; for(i=optind; i < argc; i++) { if(!strcmp(argv[i], "-")) { infilename = NULL; infile = open_input(NULL); } else { infilename = argv[i]; infile = open_input(argv[i]); } if(!infile) { fclose(outfile); free(outfilename); return 1; } if(decode_file(infile, outfile, infilename, outfilename)) { fclose(outfile); return 1; } } fclose(outfile); } else { for(i=optind; i < argc; i++) { char *in, *out; FILE *infile, *outfile; if(!strcmp(argv[i], "-")) in = NULL; else in = argv[i]; if(outfilename) { if(!strcmp(outfilename, "-")) out = NULL; else out = outfilename; } else { if(!strcmp(argv[i], "-")) { out = NULL; } else { char *end = strrchr(argv[i], '.'); end = end?end:(argv[i] + strlen(argv[i]) + 1); out = malloc(strlen(argv[i]) + 10); strncpy(out, argv[i], end-argv[i]); out[end-argv[i]] = 0; if(raw) strcat(out, ".raw"); else strcat(out, ".wav"); } } infile = open_input(in); if(!infile) { if(outfilename) free(outfilename); return 1; } outfile = open_output(out); if(!outfile) { fclose(infile); return 1; } if(decode_file(infile, outfile, in, out)) { fclose(outfile); return 1; } if(!outfilename && out) free(out); fclose(outfile); } } if(outfilename) free(outfilename); return 0; } vorbis-tools-1.4.2/oggdec/oggdec.10000644000175000017500000000531513767140576013667 00000000000000.TH "oggdec" "1" "2008 September 9" "Xiph.Org Foundation" "Vorbis Tools" .SH "NAME" oggdec - simple decoder, Ogg Vorbis file to PCM audio file (Wave or RAW). .SH "SYNOPSIS" .B oggdec [ .B -Qhv ] [ .B -b bits_per_sample ] [ .B -e endianness ] [ .B -R ] [ .B -s signedness ] [ .B -o outputfile ] .B file ... .SH "DESCRIPTION" .B oggdec decodes Ogg Vorbis files into PCM-encoded ("uncompressed") audio files, either Wave or RAW format. For each input file, .B oggdec writes to a filename based on the input filename, but with the extension changed to ".wav" or ".raw" as appropriate. If the input file is specified as .B "-" , then .B oggdec will read from stdin, and write to stdout unless an output filename is specified. Likewise, an output filename of .B - will cause output to be to stdout. Writing Wave format to stdout is a bad idea. Wave requires a seekable medium for the header to be rewritten after all the data is written out; stdout is not seekable. .SH "OPTIONS" .IP "-Q, --quiet" Suppresses program output. .IP "-h, --help" Print help message. .IP "-V, --version" Display version information. .IP "-b n, --bits=n" Bits per sample. Valid values are 8 or 16. .IP "-e n, --endian=n" Set endianness for 16-bit output. 0 (default) is little-endian (Intel byte order). 1 is big-endian (sane byte order). .IP "-R, --raw" Output in raw format. If not specified, writes Wave file (RIFF headers). .IP "-s n, --sign=n" Set signedness for output. 0 for unsigned, 1 (default) for signed. .IP "-o filename, --output=filename" Write output to specified filename. This option is only valid if one input [file] is specified, or if raw mode is used. .SH "EXAMPLES" Decode a file .B enabler.ogg to .B enabler.wav as little-endian signed 16-bit (default options): .RS oggdec enabler.ogg .RE Decode a file .B enabler.ogg to .B enabler.raw as headerless little-endian signed 16-bit: .RS oggdec --raw enabler.ogg .RE Decode .B enabler.ogg to .B enabler.crazymonkey as unsigned 8-bit: .RS oggdec -b 8 -s 0 -o enabler.crazymonkey enabler.ogg .RE Decode .B enabler.ogg to .B enabler.raw as big-endian signed 16-bit (any of the following): .RS oggdec -R -e 1 -b 16 enabler.ogg .RE .RS oggdec -R -e 1 -b 16 -o enabler.raw - < enabler.ogg .RE .RS oggdec -R -e 1 -b 16 - < enabler.ogg > enabler.raw .RE Mass decoding (foo.ogg to foo.wav, bar.ogg to bar.wav, quux.ogg to quux.wav, etc.): .RS oggdec *.ogg .RE .SH "AUTHORS" .SS "Program Authors" Michael Smith .SS "Manpage Authors" .br Frederick Lee , assisted by a few million monkeys armed with keyboards in irc://irc.openprojects.net/#vorbis .SH "SEE ALSO" .PP \fBogg123\fR(1), \fBoggenc\fR(1), \fBvorbiscomment\fR(1), \fBflac\fR(1), \fBspeexdec\fR(1)